Quantcast
Channel: VMware Communities : Popular Discussions - vSphere Management Assistant (vMA)
Viewing all 25377 articles
Browse latest View live

How to reset IP / hostname info in vMA appliance?

$
0
0

 

A while ago, this question was asked and answered (http://communities.vmware.com/message/1020415) for VIMA, but the answer no longer seems to work.

 

 

If you've assigned the wrong IP, or need to change the hostname, it would be great to restart the initial wizard. 

 

 

It used to be that you could run:

 

 

sudo /usr/bin/system-config-network

 

 

But this no longer exists.  Any idea what it is now?

 

 

 

 

 


wsman doesn't start

$
0
0

Hi all,

 

I have vMA fresh download from vmware web site. Then:

$ sudo /etc/init.d/wsman status

openwsmand is stopped

$ sudo /etc/init.d/wsman start

wsman is already running

$ sudo /etc/init.d/wsman status

openwsmand is stopped

$ sudo /etc/init.d/wsman stop

                                                          

$ sudo /etc/init.d/wsman status

openwsmand is stopped

$ sudo /etc/init.d/wsman start

wsman is already running

$ sudo /etc/init.d/wsman status

openwsmand is stopped

 

There isn't service in process list (ps -aef). Any idea?

 

 

Thanks

Kris

vMA 4.1 error Failed to add users.

$
0
0

hi, guys:

I have just installed a new vCenter 4.1 with 1 esxi 4.0u2 and 1 esxi 4.1.

I have downloaded vMA 4.1 and try to use AD auth to connect vCenter.

I have joined the vMA into domain and restarted vMA.

However, when I tried to add vCenter with --authpolicy adauth, it asked me to type in username for vCenter server.

I typed mydomain
myaccount

It gave me Error: Failed to add users

 

Can you tell me why?

 

Thanks alot

 

 






- Silver

 

My Vmware blog: http://geeksilverblog.com

RPM Package on ESXi 4.1

$
0
0

Hello,

 

I'd like to install the package hpsmh-6.2.1-14.x86_64.rpm from

 

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=it&cc=it&prodTypeId=15351&prodSeriesId=3454575&prodNameId=3562405&swEnvOID=4091&swLang=8&mode=2&taskId=135&swItem=MTX-d752ad6a8cb44bebafae8cf8de

 

that is the download page of the drivers for HP proliant servers.

 

In the installation instructions is written:

 

Installation:

Download the rpm package to a directory on your hard drive and change to that directory.

 

Type rpm -ivh hpsmh-< version >.x86_64.rpm to install.

 

 

The problem is that the RPM is not present on my ESXi installation. I tried to use ipkg but the error was:

 

/vmfs/volumes/4c895c80-e7b9fb9a-751b-00237dd0c11a/INST/PATCH # ipkg install hpsmh-6.2.1-14.x86_64.rpm

ipkg: invalid magic

 

 

Any suggestion?

 

 

Thank you in advance,

 

Davide

how to get custom values from vCenter

$
0
0

 

hi guys

I need an idea!

For my monitoring, i have to get some custom information about the vCenter environment, but this info's are not include in VC by default.

So my client is an linux server with installed vSphereCLI and the server an W2k8 with installed vCenter 4.1.

 

 

My idea was to set an custom attribute on the vCenter Server and fill it  with my technical information.

 

 

Is there an option to poll this custom value from vCenter, with the CLI  from the linux server?

 

 

greeds

stony007_de

 

 

Mount a vmdk file

$
0
0

 

How can I use the vMa to mount a vmdk file to read the geometry information? I know I can do this with the VDDK but the call is sorta slow, depending on how the network is.

 

 

 

 

 

I'd like to be able to open up a vmdk file or a -flat file, but I'm not sure how to mount /vmfs/volumes in the vMa?

 

 

 

 

 

thanks,

 

 

- h

 

 

Howto restart vmware-vpxa using the vMA 4.1

$
0
0

I like to know Howto restart vmware-vpxa on an ESXi host using the vMA 4.1

 

Currently i do it with a PowerCLI procedure

Connect-VIServer «hostname»
$vpx = Get-VMHostService | where {$_.Key -eq 'vmware-vpxa'}
Restart-VMHostService $vpx -Confirm

 

But dont know how to do it using the vMA

How can I run the vim-cmd on the ESXi target from vMA?

$
0
0

I need to get some vSwitch specific information like - whether the MAC Address Change, Forged Transmits and Promiscuous Mode policies are set to Accept or reject. I can get the information directly from the host using the vim-cmd. Need to know if I there is a way to run the vim-cmd command from the vMA on the ESXi target to get the vSwitch policies information?

 

Regards,

SK


vMA 5 script command to start up a VM

$
0
0

I've been googling this for a while and just can't seem to find what I'm looking for.

 

Is there a way to use the vMA to start up a powered off or suspended VM?

 

Thanks!

 

h

vMA vi-logger why was it removed?

$
0
0

Does anyone out there know the reason why VMware removed the vi-logger functionality out of the vMA appliance in vSphere 5?

 

I can understand adding an easy to use facility on vCenter as this is a great solution for SMB, but for large corporate's I wouldn't use it as it adds an unnecessary level of complexity for the vCenter server. Think upgrading or reinstalling vCenter servers in a linked mode environment with hundreds of hosts. Needing to add and setup that functionality for logging adds a extra couple of hours to a change that I would really rather not have to do.

 

Also many of the corp or Gov environments I work in have syslog setups, but setting it up requires communicating and liaising with other teams who are often not helpful or co-operative. Having a dedicated syslog system for VMware Admins makes life so much easier but as above I don't want it on my vCenter server and I don't want to pay for another Windows license just to get the seperation I'm looking for.

 

I've seen the the virtuallyGhetto post about re-enabling vi-logger in vMA 5.0 which is great and I'll probably do a blog at some point similar to my end-to-end walkthrough for setting up a vMA 4.1 syslog server. But I would really like to know the logic behind disabling vi-logger in vMA 5.0. Also if people start re-enabling this functionality in vMA 5.0 does that mean VMware will break future releases so that you can't? That would be crazy annoying.

 

Cheers,

Paul

vMA default web and shell login

$
0
0

vMA 5.0.0.0

 

can anyone tell me the vMA's default web and shell login?

 

i tried below username:password combinations but no success so far

 

admin:vmw@re

 

root@vmw@re

 

admin:default

 

how do I reset them?

Cannot install rpm to 5.1 vMA

$
0
0

I'm attempting to install an rpm to 5.1 that I previously installed to 5.0.  On 5.0 it installed without issue.  On 5.1, I get the following errors:

 

Preparing...                ##################################################
opensuse-pasda              ##################################################
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: warning: script 'S01vmware-vifpd' missing LSB tags and overrides
insserv: warning: script 'S01vmware-vma' missing LSB tags and overrides
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: warning: script 'vmware-vma' missing LSB tags and overrides
insserv: warning: script 'vmware-vifpd' missing LSB tags and overrides
insserv: Script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:'  entry: please add even if empty.
pasdad                    0:off  1:off  2:off  3:on   4:off  5:on   6:off

 

The 4 references to vmware scripts are normal, and expected.  The ones for jexec are not.

 

What do I need to do to resolve this.

 

Cheers.

vMA 5.1 with AD

$
0
0

Hello vMA specialists

Today I installed vMA 5.1.

 

What i did:

-    vMA joined in AD
-    vCenter Server added as target with Authpolicy adauth
-    added an ESX 4.1 and two ESXi 5.0 hosts to vMA. All ESX Hosts are joined in the same AD.

 

My goal is:
-    Login to vMA with my personal AD login (not vi-admin) and run all vMA commands in this context.

 

Problem:

-     Although vMA is joined to AD I can't login (ssh) with my persoanl AD account which is member of AD Group "ESX Admins"

-     as William posted on his Blog he logs into vMA using a valid AD account. How can I do this?

-     because I'm only able to login with ssh to vMA using vi-admin I always have to enter root password for each ESX hosts

 

vi-admin@vma51:~> sudo domainjoin-cli query
Name = vma51
Domain = AD.SOMETHING.COM
Distinguished Name = CN=vma51,OU=VMWareESX,OU=Servers,OU=Company,DC=AD,DC=SOMETHING,DC=com

 

vi-admin@vma51:~> vifp listservers -l
vcenter.ad.something.com      vCenter adauth
esx1.company.com             ESXi    adauth                                            
esx2.company.com             ESXi    fpauth                                             
esx3.company.com             ESX     adauth                                           

 

ESX Host with Active Directory Authentication (adauth)
vi-admin@vma51:~> vifptarget -s esx1
vi-admin@vma51:~[esx1.company.com]> esxcli
Enter username: root
Enter password:
Usage: esxcli [options] {namespace}+ {cmd} [cmd options]

 

ESX Host mit fastpass Authentication (fpauth)
vi-admin@vma51:~> vifptarget -s esx2
vi-admin@vma51:~[esx2.company.com]> esxcli
Usage: esxcli [options] {namespace}+ {cmd} [cmd options]

 

What did I miss?

 

Thank you very much for your help.

 

Regards, Manuel

vMA 5 unable to SSH

$
0
0

Hello all,

 

I have been setting up vSphere 5 in my test enviroment and I have run into a problem with the "vSphere Management Assitant (vMA) - 5.0.0.0 build 472630". I have set it up with a static IP address, and I can login to the console just fine. When I try to SSH to the ip address using putty I get an error "server unexpectedly closed network connection". With the vMA 4.x series SSH worked out of the box. I have tried a few thing, even redeloying the VA but SSH still fails. All of the other functions I have tried work just fine in the vMA, i.e. adding servers and hosts, joining domains etc.

 

I am at a bit of a lose as to why this isn't just working. I can SSH to the older vMA 4.0 just fine, so i don't think its a network issue, and the SSHD service is running,

 

Thanks,

Matt Nichols

Shutdown script not working

$
0
0

Hi,

 

I am using an Eaton UPS, and have written a script to shut down all my VM's in case of power loss.

 

When I run the script manually while sshed into the vMA 5 machine it works like a charm, the moment I try to run it from the Eaton IPP when I simulate a power outage (turn the power to the UPS off), it runs the script, but wont run any of the vmware-cmd commands.

 

Have I missed something somewhere?


help with health scripts running using vima

$
0
0

 

I am trying to use the health script which is located at http://communities.vmware.com/docs/DOC-9420

 

 

Using health script version 0.9.4

VIMA 1.0

 

 

The below command runs perfectly for a ESX host and gives me a detailed html report

./vmwareHealthCheck.pl --server esx_server_ip --username esx_username --type host

 

 

However, when I run

./vmwareHealthCheck.pl --server vCenter_IP --username administrator --type vcenter

I get the error

 

 

 

No clusters found.

 

 

 

 

 

Does that mean that I need to create a cluster and then add hosts within it or I am missing something in the command syntax? All I need is a way to get report of all esx hosts which are being managed by my vCenter server.

 

 

Also, is there a script available which lists

1. the virtual machines that are part of DRS/HA enabled cluster

2. orphaned virtual machines in a vCenter.

 

 

Problem with VIMA and APCUPSD

$
0
0

 

I have 2 ESXi 3.5 hosts and APC SmartUPS RT 6000 and i was following the steps in Joseph Holland guide to make VIMA shut down my VM's i case of power failure.So the problem is that when i came to start the apcupsd daemon, VIMA couldn't connect with the UPS. The apcupsd.conf file is same as the guide, then i set up apcupsd on a windows machine and it worked without any issue. So my guess is the problem is somewhere inside the VIMA. i'm not very experienced with VIMA, so if any of could gave me i tip how to work this out i'll be very thankful.

 

 

My apcups.conf file is attached.

 

 

Thanks in advance

 

 

 

 

 

 

 

 

Can we execute commands in VM using VIMA?

$
0
0

Hi,

 

I have downloaded VIMA appliance and booted in ESX server. After booting I have setup hostname and password for it.

 

1. Now in my ESX server I have more Linux and Windows VM's, so using VIMA appliance can I execute commands like process check, disk space check, IP address in those VM's?

2. Also for doing this, do I have to install any agent inside the VM's?

 

Regards,

Ashish

vMA CPU long mode error

$
0
0

Hi

 

I installed vMA and during boot I get the error shown in the attached screenshot. My CPU was identified by the INTEL CPU utility and gave the following:

 

Intel(R) Processor Identification Utility

Version: 4.10.20090310

Time Stamp: 2009/06/19 17:52:03

Number of processors in system: 1

Current processor: #1

Active cores per processor: 1

Disabled cores per processor: 0

Processor Name: Intel(R) Xeon(TM) CPU 3.00GHz

Type: 0

Family: F

Model: 4

Stepping: A

Revision: 2

Maximum CPUID Level: 5

L1 Trace Cache: 12 Kµops

L1 Data Cache: 16 KB

L2 Cache: 2 MB

L3 Cache: None

Packaging: 604 pin µPGA

Enhanced Intel SpeedStep(R) Technology: No

MMX(TM): Yes

Intel(R) SSE: Yes

Intel(R) SSE2: Yes

Intel(R) SSE3: Yes

Intel(R) SSE4: No

Enhanced Halt State: Yes

Execute Disable Bit: No

Intel(R) Hyper-Threading Technology: Yes

Intel(R) 64 Architecture: Yes

Intel(R) Virtualization Technology: No

Expected Processor Frequency: 3.0 GHz

Reported Processor Frequency: 3.0 GHz

Expected System Bus Frequency: 800 MHz

Reported System Bus Frequency: 800 MHz

 

So, it should work, no? If not is there a 32bit version of vMA?

How do i determine my ESX IP with vMA?

$
0
0

 

Hi,

 

 

I'd like to find out what my ESX host's IP is from within vMA but i don't see a esxcfg-vswif command in vMA.  Is there another way when connected to an ESX host via vMA to get the IP of vswif0?

 

 

Thanks in advance

 

 

Viewing all 25377 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>