Deploying VMA virtual Machines
Click "Finish" to start the deployment.
VMA Virtual machine settings
When the deployment is complete, turn on the virtual machine power and set IPV4, netmask, hostname, IPV4 gateway, DNS in the console window, respectively. When the settings are complete, press 1 to exit the program. Then change the vi-admin user password. The password requirements are as follows:
9 characters
1 caps
1 lowercase
1 digits
A $ or #
After setting the password, use the Vi-admin account to log in to the system and use the following command to change the root password.
[Email protected]:~> sudo passwd root |
Enable Vi-user Users:
[Email protected]:~> sudo passwd vi-user Vi-admin ' s Password: changing password for Vi-user. New Password: Retype new Password: Password changed. |
Add vcenter, ESXi to VMA:
[Email protected]:~> vifp addserver vcenter.xzxj.edu.cn Enter username for vcenter.xzxj.edu.cn: [email protected] [Email protected] @vcenter. xzxj.edu.cn ' s password: This would store username and password in credential store which is a security risk. Want to continue? (yes/no): Yes [Email protected]:~> vifp listservers--long vcenter.xzxj.edu.cn VCenter Fpauth [Email protected]:~> vifp addserver node01.xzxj.edu.cn [email protected] ' s password: [Email protected]:~> vifp addserver node02.xzxj.edu.cn [email protected] ' s password: List the servers that have been added [Email protected]:~> vifp listservers--long vcenter.xzxj.edu.cn VCenter Fpauth node01.xzxj.edu.cn ESXi Fpauth node02.xzxj.edu.cn ESXi Fpauth |
Set up a health check script
This health check script name is vmwarevspherehealthcheck.pl and its configuration file is healthcheck.conf. It is recommended that this script and configuration file be stored in the/home/vi-admin/bin directory. The properties of the modified file are as follows:
[email protected]:~/bin> chown vi-admin: Root vmwarevspherehealthcheck.pl [email protected]:~/bin> chown vi-admin: Root healthcheck.conf |
Then run the vmwarevspherehealthcheck.pl script as follows:
[Email protected]:~> vmwarevspherehealthcheck.pl--server vcenter.xzxj.edu.cn --username[email Protected] --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 run is complete, the vmware_health_report.html file is generated in the current directory. You can view information about VMware when you open it with a browser. If it is garbled after opening, change the character set of the browser to Unicode.
References: VMware vSphere Management Assistant Guide
Welcome everyone to visit my personal website Meng Meng's IT People
VMware vSphere Management Assistant Guide