VMware vSphere Management Assistant Guide, vmwarevsphere
Deploy a vMA VM
Click "finish" to start deployment.
VMA Virtual Machine Settings
After the deployment is complete, turn on the Virtual Machine Power, and set IPv4, netmask, hostname, IPv4 gateway, and dns in the console window. After the setting is complete, press 1 to exit the program. Change the password of the vi-admin user. The password requirements are as follows:
9 Characters
1 Capital
1 lower case
1 digit
One $ or #
After setting the password, log on to the system using the vi-admin account and use the following command to change the root password.
Vi-admin @ vma: ~> Sudo passwd root |
Enable vi-user:
Vi-admin @ vma: ~> Sudo passwd vi-user Vi-admin's password: Changing password for vi-user. New password: Retype new password: Password changed. |
Add vCenter and esxi to vMA:
Vi-admin @ vma: ~> Vifp addserver vcenter.xzxj.edu.cn Enter username for vcenter.xzxj.edu.cn: administrator@vsphere.local Administrator@vsphere.local @ vcenter.xzxj.edu.cn's password: This will store username and password in credential store which is a security risk. Do you want to continue? (Yes/no): yes Vi-admin @ vma: ~> Vifp listservers -- long Vcenter.xzxj.edu.cn vCenter fpauth Vi-admin @ vma: ~> Vifp addserver node01.xzxj.edu.cn Root@node01.xzxj.edu.cn's password: Vi-admin @ vma: ~> Vifp addserver node02.xzxj.edu.cn Root@node02.xzxj.edu.cn's password: // List the added servers Vi-admin @ vma: ~> Vifp listservers -- long Vcenter.xzxj.edu.cn vCenter fpauth Node01.xzxj.edu.cn ESXi fpauth Node02.xzxj.edu.cn ESXi fpauth |
Configure the Health Check script
This health check script is named vmwarevSphereHealthCheck. pl and its configuration file is healthCheck. conf. We recommend that you store this script and configuration file in the/home/vi-admin/bin directory. Modify the file attributes as follows:
Vi-admin @ vma :~ /Bin> chown vi-admin: root vmwarevSphereHealthCheck. pl Vi-admin @ vma :~ /Bin> chown vi-admin: root healthCheck. conf |
Run the vmwarevSphereHealthCheck. pl script as follows:
Vi-admin @ vma: ~> VmwarevSphereHealthCheck. pl -- server vcenter.xzxj.edu.cn -- usernameadministrator@vsphere.local -- config bin/healthCheck. conf -- type vcenter Enter password: Generating VMware vSphere Health Report v5.5.0 "vmware_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 Wide character in print at/home/vi-admin/bin/vmwarevSphereHealthCheck. pl line 554. Wide character in print at/home/vi-admin/bin/vmwarevSphereHealthCheck. pl line 3582. Wide character in print at/home/vi-admin/bin/vmwarevSphereHealthCheck. pl line 3896. Start Time: 11-17-2014 21:31:00 End Time: 11-17-2014 21:31:21 Duration: 21 Seconds |
After the task is completed, the vmware_health_report.html file is generated in the current directory. Use a browser to view information about VMware. If garbled characters are displayed, change the character set of the browser to Unicode.
References: VMware vSphere Management Assistant Guide
Welcome to my personal website