Setup VMWare-CLI Perl Kit on CentOS 5.5 x64 (RedHat)
Older Post with Simillar Information
Its a system administrator duty to be sure the ESX servers health and performance are OK.
How to reset ESX password 1. Power on the ESX server. At the Grub boot loader, select the “VMware ESX 4.0” entry and press a to modify the kernel arguments. 2. Add a space and the word single to the end of the list of arguments and press Enter. (Note that the first few arguments will scroll off the left hand side of the console.) 3. At the prompt, type the command passwd and press Enter. 4. Enter the command reboot and press Enter. ESX will boot normally.
VLAN testing in ESX 4, So I need to test lots of VLANs and make sure connectivity is OK.
Well here is quick and easy way to do it?
1. Create a port group on the vSwitch with ID 4095. This will allow the VM
to connect to all available VLANs available to the host.
warning ‘Heartbeat’] Failed to bind heartbeat socket (-1). Using any IP.
HOW TO backup ESX 3.0.1 with vmbk.pl
This nice perl script allows online backup of Virtual Machines to a remote FTP/SMB/NFS
It was written by Massimiliano Daneri, and many other authors contributed
it can be downloaded from here
How to install it:
Download and copy to a the ESX server using WinSCP, copy to /etc/vmbk
Login via SSH into the ESX server:
# cd /etc/vmbk
# bash install.sh
Runing the script from /etc/vmbk/ it will work, since the dependencies are in these folders.
By default this isn’t possible to SSH into VMWare ESXi 3.5 or any ESXi Server.
By enabling this you will also be able to easly copy files into the server by using WINSCP,
not as fast as FTP but it does the job. WinSCP also works under Linux by using Wine.
Reinstall Perl in ESX
Error: Can’t locate VMware/VmPerl.pm
#vmare-cmd stop working along with all scripts that depend on VMware.pm module.
For some reason my perl VMWare::Perl stoped working, so I reinstall perl 5.8.0 version from scratch
first download it, then do:
#sh Configure -Dusethreads -Duseithreads -Dusemultiplicity -Duselargefiles -Dotherlibdirs=/usr/lib/perl5/5.8.0
i was Still getting an error like: