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

how to get hostname by providing VM guest name

$
0
0

Hello

 

I need a Perl script that run on vMA 5.0

 

I need a script that accept VM guest name and returning me which ESX it attached to

 

Can someone help me?

 

Thanks


Navigating ESXi Command Line via VMA

$
0
0

I have VMA 5.0 installed in my ESXi environment and I have added all the ESXisevers via "sudo vifp addserver xxxxxxx" and I see all my ESXi servers when I do "vifp listservers". I just cannot figure out how to navigate the file structure of the ESXi server via the VMA command line. If I do a "vifptarget --set xxxxxxx" the command prompt is appended to include that ESXi server but all of the command line navigation is pointing me to the VMA and not the ESXi server. For example if I do an "ls" I see the file structure for the VMA not the ESXi server.

 

All I am trying to do is install the ACP UPS agents on the ESXi server and I'm supposed to change directories to the location of the install files and execute via 'sudo ./install_en-sh" but I cannot for the life of me figure that out. I have spent the last 4 hours hunting this down to no avail.

READ ONLY

$
0
0

Hi,

 

I try to modify a config file in /var/tripplite/poweralert and the system refuse. ACCESS DENIED. Any idea plz

vCenter running check script

$
0
0

Hi.  Very new to VMA and Perl, just got the appliance installed and want to try writing a simple script to just check if vCenter is actually running - guessing you could simply try to connect to the vcenter, if you get an error generate an email. 

 

Not really had a chance to look at many examples yet so was wondering if anyone had any good pointers?

 

Cheers

Slow vMA - Every vifp command takes 10-15 seconds to run.

$
0
0

The subject says it all.  The vMA VM is fast and responsive but as soon and I run a vifp command or an esxcli command against a target it takes ~10 seconds for a result.  Any thoughts?

vi-fastpass for scripts

$
0
0

hi!

 

How are you? 

 

I have a problem for to do script using vi-fastpass.

 

The first i agree all ESXi with vifp addserver.... but later i dont know how to call this function in a script.

 

i´m sure that it´s easy but in my tests don´t working.

 

 

Many thanks for all.

Error ExecuteVmPowerOnLRO

$
0
0

Hi,

 

When I try to run the VMA we get back the error:

 

ExecuteVmPowerOnLRO

Fault.MissinglpPool.summary

Time:

Target:

vCenter Server:

 

any idea about that?

 

thanks in advance.

 

J.

Command to find vm,host the vm running on, cluster name & data center name the VM is part of

$
0
0

Hi

 

Can anyone pls share vma command if any to to find vm,host the vm running on, cluster name & data center name the VM is part of

 

Thanks in advance


vmware-cmd register command

$
0
0

I have been running the following command successfully in a script for several months now.

 

vmware-cmd --server 192.168.5.29 --vihost 192.168.5.28 -s register "/vmfs/volumes/192.168.5.28/CloneTestBackup/CloneTestBackup.vmx" ".5network" "Resources"

(yes the datastore is named after the ip address of the ESXi host)

 

I upgraded my Vmware vCenter Server Appliance from 5.1 to 5.5 and since then the command has not been working.

 

I get the following error:

 

 

Fault:

SOAP Fault:

-----------

Fault string: A specified parameter was not correct.

 

 

Fault detail: InvalidArgument

A specified parameter was not correct.

 

 

The data center and resource pool are correct because when I change their names I get a different error.

 

I can register the machine successfully from the vSphere Client and the Web Interface but it always fails for any vmx file from the vMA.

 

The unregister command works fine it is only the register command that fails.

 

192.168.5.29 is vCenter Server Appliance 5.5

192.168.5.28 is ESXi 5.1

Getting frustrated trying to get a password in vMA 5.5.0.0-1387931

$
0
0

I'm trying to set up vMA to get the APC Network Shutdown installed, and I'm really getting annoyed here.

I'm on a danish keyboard, so I'm trying to do it as simple as possible, to elimitate problems with keyboard mapping.

 

So after booting the vMA, setting the IP, it prompts me for a password for the va-admin user.

First I enter vmware for the old password, and then I enter Qazx1234! (as ! is mapped the same way on the 1 key on english and danish keyboard).

It accepts the password and boots up.

Then at the blue window, I press enter to login, gives it 'va-admin' as username and Qazx1234! as password, and it fails every time.

I've tried all sorts of tricks, like entering keyboard.typematicMinDelay = "2000000" in the vmx, but that didn't help.

I can't authenticate through the webinterface either.

 

How hard can it be? And why does vmware care what password we use anyways, its up to US to handle security, not them.

VMware vMA and free ESXi - which ESXi license do you need so that vMA is usefull?

$
0
0

I'm just evaluating vMA 5.5 with my home-lab of a few free ESXi 5.5-servers and now after reading some documentations I was trying my first few commands in the vMA-machine.

 

So i registered my first ESXi-server with the vifp command, connected to it and then I just wanted to turn on my test-guest-vm:

 

vmware-cmd /vmfs/volumes/401176d6-90e595dc/test-debian/test-debian.vmx start

Operation cannot be performed:

SOAP Fault:

-----------

Fault string: Current license or ESXi version prohibits execution of the requested operation.

Fault detail: RestrictedVersionFault


So WTF, you even cannot turn on/off a VM with command-line operations with the free version or am I doing it wrong???

 

Which license do you need for ESXi to use even the most itsy bitsy common features with vMA?

What is even possible with vMA 5.5 and the free ESXi, only read-only operations?

 

Have to ask here, because I didn't find anything on vMA with free ESXi license restrictions.

vicfg-hostops -o info returns vmotion disabled...

$
0
0

always, vma 5.5. And vMotion works

 

vi-admin@vma:~[esxi1]> vicfg-hostops -o info

 

Host Name            : esxi1

Manufacturer         : VMware, Inc.

Model                : VMware Virtual Platform

Processor Type       : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz

CPU Cores            : 2 CPUs x 3410 GHz

Memory Capacity      : 8191.48828125 MB

VMotion Enabled      : no

In Maintenance Mode  : no

Last Boot Time       : 2014-03-27T10:44:55.793853Z

 

Where is hostops looking for that info ?

Do I have to use vMA 5.5 for ESXi 5.5?

$
0
0

Hi,

 

We have Powerchute agents in vMAs running vMA 5.0

 

If we upgrade the ESXi to 5.5. does it follow that we must use vMA 5.5? Or will an older vMA still work with a newer ESXi?

 

Thanks,

vMA and apparent firewall issue

$
0
0

I deployed a new copy of the vMA 5.5.0.1.  Immediately after deployment, I was able to ping the vMA and ssh into it.  After running for about 24 hours, I am no longer able to ping or ssh into the appliance.  If I connect to the console, I am able to ping the default gateway and other esxi hosts.  What am I missing here?

 

thanks

vMA 5.1 or 5.5 not pingable from other subnets

$
0
0

Dears,

you know vMA require IP pool, i did it then after deploy vMA 5.1 or 5.5 then the vMA not pingable, its only pingable from same subnet machines.


Error running vsphere healthcheck.pl script on vsphere vma

$
0
0

When I run the vmwarevspherehealthcheck.pl I get

Soap Fault

Fault String: A general system error occurred:

Fault Detail: Systemerrorfaultvi

 

Running vcenter 5.5 and 5.5.0.1 vma

Best way to configure vMA 5.5.0.1 with ESXi cluster inside vCenter?

$
0
0

Hi,

 

Just setup my first vMA box in my environment and I'm having some confusion on how to best set this up to authenticate to ESXi boxes managed by vCenter. I added the vcenter as a AD authentication server and I can connect to it through vMA and send commands to all my hosts. The only problem is that each time I run a command, it will ask for username and password each time. Am I suppose to setup fastpass authentication somewhere as wel?

 

- KJ

New to VMA, question on esxcli

$
0
0

I am new to VMA. I find it is going to be very useful.

 

A question I have is when running esxcli against many hosts, is it possible to just add vcenter as a target? It doesnt appear that is enough, that I have to have each esx host as a target in order to run esxcli commands against a host. Thank you.

vmware-cmd over 15 minutes via vcenter

$
0
0

New to VMA...  Fresh install of the appliance  vMA-5.5.0.1-1663088.

 

Running:

vi-admin@localhost:~> time vmware-cmd -H vcenter.ces.cvnt.net -U root -P xxx -h vm3.ces.cvnt.net -l

...  (about 23 entries)

real    16m24.956s

user    15m35.606s

sys     0m2.792s

 

If I skip vcenter, things are reasonable:

 

 

vi-admin@localhost:~> time vmware-cmd -U root -P yyy -H vm3.ces.cvnt.net -l  

...

real    0m2.423s

user    0m1.996s

sys     0m0.040s

 

Connecting vcenter server with sphere client is fine.  Running the appliance version of vcenter if that makes a difference.

Issue with vmwarevSphereHealthCheck.pl

$
0
0

Hello All,

 

I have downloaded the  vmwarevSphereHealthCheck.pl from vghetto-scripts/vmwarevSphereHealthCheck.pl at master · lamw/vghetto-scripts · GitHub for version 5.5. I have added vCenter and ESXi host running vifp addserver. now when i run the below command, it get killed automatically without any error message. Please help me getting this fixed.

 

 

vi-admin@vlvma:~> ./vmwarevSphereHealthCheck.pl --server <IP> --username <User> --type cluster --cluster <clustername> --report APC_health_report.html
Enter password:
Generating VMware vSphere Health Report v5.5.0 "APC_health_report.html" ...

This can take a few minutes depending on the size of your environment.
Get a cup of coffee/tea/beer and check out http://www.virtuallyghetto.com

 

Killed
vi-admin@vlvma:~>

 

Thanks

Sushil

Viewing all 25377 articles
Browse latest View live


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