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

vMA 5 to 5.0Patch1 Failing with 403 Error?

$
0
0

Hi all,

I have a vMA 5.0.0.0 installed with PCNS running on it... I have looked around and saw the post about VMtools but I haven't touched VMtools on this app. When I try to use the webportal to update the appliance, it errors out and when I check the logs, the error is:

 

17/04/2012 16:39:11 3188 Download:UA_Network.cpp:526 (update) [ERROR] CURL error: The requested URL returned error: 403
17/04/2012 16:39:11 3188 DownloadPackageSet:UA_DownloadManager.cpp:64 (update) [ERROR] 0x7f06fd4b5b78
17/04/2012 16:39:11 3188 SetUpdateErrorInfo:UpdateAgentInterface.cpp:634 (update) [ERROR] Setting job error information. jobid=24, errorCode=9, errorString=Error during package download.  Please try again.
17/04/2012 16:39:11 3188 setErrorInfo:JobResource.cpp:388 (update) [ERROR] Job <24> failed. Error code:9Error message: Error during package download.  Please try again.

 

 

Not sure what my next action is other than re-deploying :/


32-bit

$
0
0

Don't suppose there is a 32-bit VIMA appliance is there? ( I do not have 64-bit hardware in my dev environment.)

cron + vifpinit

$
0
0

Hi,

 

I've added the required server, and by manually running "vifpinit" am able to run commands against it.

 

What I wish to do is have a crontab task do some of the things, and unfortunately there seems to be an issue with vifpinit persisting.

 

As an example:

 

function enable_passthrough ()
{     HOST=blade304     vifpinit     env | grep -q VI     if [[ $? != 0 ]]; then          echo "Failed"          exit 1     else          echo "Great success"     fi
}

 

 

When I run "enable_passthrough" myself, all is well, and the prompt in bash indicates that blade304 is now active (through PS1)

 

Unfortunately when I run this within a cron-task, "Failed" is the result.

 

Am I missing something basic here?

 

I understand that profile information is disregarded for cronjobs, so I've included the necessary alias form ~/.bashrc as well as the related ones from /etc/bashrc. Still to no avail.

 

Any ideas? Sure am not the first nor last person to try and carry out automated tasks against an ESX machine.

 

Cheers.

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

HowTo set up agents (VCBn Insight...) ?

$
0
0

 

I have 2 ESX 3.5i servers (replacing 2 ESX 3.0 including agents). I've installed VIMA vm and it's look running ok (connection...)

 

 

I wanted to install some agents : Consolidated Backup and HP Insight Manager. I've search the HowTo install new agent on Vmware site and even google but nothing real consistent.

 

 

May someone knows where to find a guide or the syntax to install new agents via VIMA ?

 

 

Thanx for advance.

 

 

K

 

 

vGhetto linked clone script in vMA : Can't locate AppUtil/VMUtil.pm in @INC

$
0
0

 

Hi,

 

 

I'm trying out the new vGhetto linked clone script in th vMA script. I currently got the  "Can't locate AppUtil/VMUtil.pm in @INC" error when i tried the script on n empty vMA appliance.

 

 

When i link the following together it seems to work, so i just wanted to share

 

 

sudo ln -s /usr/lib/vmware-vcli/apps/* /usr/lib/perl5/site_perl/5.8.5

 

 

Failed to add vmkernel nic: A specified parameter was not correct. vSphere CLI + ESXi 4

$
0
0

Hi. I try to add vmknic with Jumbo Frames to my distributed virtual switch.

 

I read the guide vSphere Command-Line Interface Installation and Reference Guide:

"vicfg-vmknic  -a -i DHCP "vmk5"

I see error message:

Failed to add vmkernel nic: A specified parameter was not correct.

Vim.Host.VirtualNic.Specification.Ip

 

What's wrong?

I tried all combinations of parameters with the same result.

domainjoin-cli not found?

$
0
0

 

I'm trying to follow the doc for the vMA guid on page 14. I can't get my vMA to join my AD domain because my shell can't find domainjoin-cli. I've installed vMA 4.0.0-161993. Here's what happens:

 

 

login as: vi-admin

vi-admin@vma's password:

Last login: Sat Jul 31 17:17:34 2010 from atta.home.lan

 

Welcome to vMA

run 'vma-help' or see http://www.vmware.com/go/vma4 for more details.

 

$ sudo domainjoin-cli join home linest

Password:

sudo: domainjoin-cli: command not found

$

 

 

 

 

 


sshd_config + AllowGroups + AD group

$
0
0

I am doing some tests with the AllowGroups settings in sshd_config.

We have a security group which contain all our administrative accounts that should have access to the vMA. I only want to allow this group.

I now have done some tests with the following settings:

 

AllowGroups example\vma_admins

 

and

 

AllowGroups example
vma_admins

 

This does not work as expected, after setting this settings i can't login.

 

Is this a shortcoming of likewise open?

vMA AD integration with ESX fastpass auth

$
0
0

hey,

 

I have vMA 4.1 with AD integration and ESXi 4.1/4.0 with fastpass authentication,

now, when I log in with domain user, I need to enter user name and password for each command.

is this  normal behavior?

I was sure that fastpass save the credentials, and any user that in the sudoers file will be able to run command without entering username and password.

 

thanks.

vMA causes rapid database growth

$
0
0

Hey all.  Have a question and I wanted to see if anyone else is experiencing this.

 

I deployed vMA 4.1 a while back and I believe I followed the deployment guide correctly.  However, I had a problem where my vCenter came to a crashing halt.  I found that the SQL database had grown and filled the partition.  My db is usually around 240 MB and in a few weeks it grew to over 15 GB.  Through some digging I found that the vpx_event and vpx_event_arg tables grew tremendously due to an enormous amount of login and logout events.  After further digging I discovered that it was vMA logging in and out every couple of seconds.  I double checked to make sure all my credetials were correct but I could not find the reason behind the logins and logouts.  I cleaned up my db, removed my servers and shutdown vMA, and my database has remained at 240MB.

 

Now, I really want to get vMA back up and running but I wanted to see if anyone else has had this problem or might have any suggestions as to why this happened.

 

******************************************************************************************************************************************

 

Also, I wanted to add that I see a large amount of idle sessions when I look at the "Session" tab in the vCenter client.  I have seen upwards of 150 at one time.  I can only assume it is related.

kerberos/ktpass/kinit problems

$
0
0

I've set up a version of ghettoHostShutdownESXi41 to shut down my VMs and hosts when my Dell UPS's lose power.  I'm using adauth, and everything works as planned (shuts all VMs, sends email, shuts hosts on UPS power fail) IF I've recently logged in as the active directory user whose credentials are being used to shut down the hosts.  So, my assumption is that my kerberos ticket renewal is not working correctly.  This has taken a ridiculous amount of time, really, and I've gotten many tips from this forum, but now I'm stuck.  Kerberos in Windows is a bit of a mystery to me.

 

If someone knows exactly what is wrong that would be fantastic, but failing that, I'm curious

 

Has ANYONE gotten the kinit renewal working correctly in vMa 4.1?

If so, did you get the "unable to set SPN mapping data" below when you ran ktpass?

Any idea what setting such mapping data via other means entails?

Do I just need to edit the servicePrincipleName ldap attribute for the user in question?  Can you show me an example of a working SPN for this purpose?

What do you see in your /var/log/messages when your cron kinit runs?

 

Details:

 

DCs are Server 2008R2

vMA is 4.1

hosts are ESXi 4.1

 

Here is how I create keytab on 2008R2 domain controller (with ktpass which came with DC):

=============================

C:\Temp>ktpass /out kerbtestadmin.keytab /princ kerbtest@OURDOMAIN.VIRGINIA.EDU /pas
s kerbtestpass /ptype KRB5_NT_PRINCIPAL -mapuser OURDOMAIN\kerbtestadmin

 

Targeting domain controller: DC1.OURDOMAIN.virginia.edu
Failed to set property 'servicePrincipalName' to 'kerbtestadmin' on Dn 'CN=Bob KerbTe
stGuy,OU=Server Users,OU=Servers,DC=OURDOMAIN,DC=virginia,DC=edu': 0x13.
WARNING: Unable to set SPN mapping data.
If kerbtestadmin already has an SPN mapping installed for kerbtestadmin, this is no cause
for concern.
Password succesfully set!
Key created.
Output keytab to kerbtest1.keytab:
Keytab version: 0x502
keysize 65 kerbtestadmin@OURDOMAIN.VIRGINIA.EDU ptype 1 (KRB5_NT_PRINCIPAL) vno 7 ety
pe 0x17 (RC4-HMAC) keylength 16 (0x13b33acd1c17316933ac009712673c27)

 

 

Here is what is in cron.hourly on vMA, note I've included the -V parameter, so I get a result on "success".  The result I get is the apparently positive-looking "Authenticated to Kerberos v5"

=======================================================

 

su - OURDOMAIN\\kerbtestadmin -c '/usr/kerberos/bin/kinit -k -V -t /home/local/OURDOMAIN/kerbtestadmin/kerbtestadmin.keytab kerbtestadmin@OURDOMAIN.VIRGINIA.EDU'

 

Authenticated to Kerberos v5

 

 

But in /var/log/messages, I see this every hour--


Oct 14 10:01:01 law47-s lsassd[2065]: 0x488ec940:Caught LDAP_SERVER_DOWN Error on ldap search
Oct 14 10:01:01 law47-s lsassd[2065]: 0x488ec940:Error code 32902 occurred during attempt 0 of a ldap search. Retrying.
Oct 14 10:01:01 law47-s lsassd[2065]: 0x488ec940:Clearing ldap DC connection list for domain 'OURDOMAIN.VIRGINIA.EDU' du
e to a network error.
Oct 14 10:01:01 law47-s su: [module:pam_lsass]pam_notify_user_logon failed [login:OURDOMAIN\kerbtestadmin][error code: 3282
5]

How to monitor ESXi 4.1 hosts using HP OVO agent

$
0
0

Working on client site upgrading ESX 4 hosts to ESXi 4.1u2.  HP OVO agent connected to ESX via console but this doesn't exist in ESXi 4.1.  Have only found that vMA server is needed  to install OML9 agent.  If anyone has already done this for ESXi 4.1 can you point me to documentation on how to do this?  Any help will be greatly appreciated.

vSphere Management Assistant (vMA) 5 Problem update

$
0
0

Hi to all,

i have a problem when run, via WEB GUI , the update.

 

I check the new updates

 

5.0.0.1 Build 643553

 

But when run Install updates , i have this error;

 

Failed to install updates (Error while running package installation)

 

 

In attach the screen

 

Thanks for the support

cli remote shutdown command not working anymore on esxi 5.1 ?

$
0
0

Hello everybody

 

i'm with the free version of esxi 5.1 and i try to create a ups shutdown script to power off gracefully my vm and my host.

 

On the previous version (5.0) i used the following command which always worked:

 

c:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-hostops.pl --server 192.0.0.1 --username root --password password --operation shutdown –force

 

 

Now with esxi 5.1 , this command is not allowed anymore and return the following error :

 

SOAP Fault:

-----------

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

Fault detail: RestrictedVersionFault

 

Vmware has updated their api and now the esxcli command must be used instead

 

c:\Program Files\VMware\VMware vSphere CLI\bin>esxcli.exe -s 192.0.0.1 -u root -p password system shutdown poweroff -d 10 -r "test shutdown"
System is not in maintenance mode. Cannot perform requested operation.

 

I cannot force the shutdown anymore and let the auto poweroff of the vm operate.

Maintenance mode cannot be set until all vm are powered down , and i did not find proper cli command.

 

Does anyone have written a script for that?


How to find out what is a issue while booting vMA?

$
0
0

I deployed vMA 5.1.0.0 Build 782391. Too long time delay for network to come up while booting vMA.

 

The console screen while vMA is booting.

 

== Provisioning Agent: starting ==


Waiting for network to come up  (attempt 1 of 10)...

No value found

No value found

 

 

How to resolve this issue? Any idea?

TIA

vMA Update Best Practice

$
0
0

Hi everyone,


I apologise if this is a basic question but I had trouble finding any relevant documentation. Simply, what is the best practice for keeping vMA (v5.0+) up-to-date? I'm currently running a vMA 5.0 VM against a vSphere 5.0 infrastructure and understand the VM is a VMware customised SuSE Linux Enterprise Server 11 system. The "zypper" tool is still present and an OpenSuSe repository is present in the repository list (in fact, it's the only listed repository).

 

Is it advisable to install updates which the zypper tool detects via the OpenSuSe repository or is this purely for installing additional utilities that some may need but aren't included with vMA itself? Alterantively, should we generally only install the official VMware patches for updating vMA? I'm currently running vMA 5.0 Patch 2 and have never applied any updates via zypper. If I do run it (but don't proceed) I'm informed there are: "289 packages to upgrade, 82 new, 21 to remove, 289  to change vendor, 13 to change arch."

 

I'm curious to know what is the best approach here and if VMware has any support policy as I don't want to be installing zypper updates if it voids any support from VMware, but at the same time, I run a network with high security requirements so keeping everything up-to-date is desirable.

 

Thanks in advance!

vMA 5.1 fails with fsck problem

$
0
0

I am running a vma 5.1 on  every esx 5.1 host in a local store with installed APC shutdown software. Everything worked fine for some weeks

I did a backup of the vma with veeam after installing every software.

Also after shutdown and rebooting this vma everything works.

So i didnt touch this vma for some while.

Today I go to vma console which was running and made a reboot of the vma

After that the vma is hanging with a fsck error

 

>> Activating swap device in /etc/fstab >> failed

fsck failed. Please repair manuelly.

I tried this but there are so many inode errors, so there is no way to repair.

 

So I tried to restore the vma from veeam backup which was working, but still the same error in this old backuped vma. I am sure that the backup is ok.

.Tried restore to different datastore. Same problem

Datastore are perfect, I have this probem only with vmA´s.

 

I tried to reboot a different vma on a different host and got the same problem

 

It looks like that if the vma is to old or running to long , its damaged after reboot or restore .

Any help ?

 

P.S.

I had the same problem a few monthes ago with vma 5.0.2.

The only solution was to deploy a new vmA an make everything new.

 

But I dont want to make a new vma every 3 month,

 

I found that all my vmA which are running on local store with vmfs-5 have this problem, all other vma´s which are running on a nfs store have no problem

But the local store is ok ,because I have some working windows VMs without problems

vMA 5.5 will not function

$
0
0

I installed the new release of vMA 5.5 and configured the IP address and network configuration through the console on the vm.  When I try to open my browser and browse the site it sits for a while and then says page cannot be displayed.  If I try to connect via SSH it cannot connect.  I can ping the vMA machine as well as ping from it to other servers on the network.  Any help is greatly appreciated.

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.

Viewing all 25377 articles
Browse latest View live


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