Archive for March, 2011


This is a very nice post from Eric Siebert from his BLOG http://searchvmware.techtarget.com. Helped me a lot and might help you.

 

After considering the security implications of managing a VMware infrastructure with an iPad, it’s time to install vCenter Mobile Access (vCMA) and connect it to the vSphere Client for iPad.

First, download the most recent copy of vCMA from the VMware Labs website. It’s available as either an Open Virtualization Format (OVF) file that can be imported into vCenter Server, or as a ZIP file with the virtual machine (VM) already deployed, which you can copy to a host and register. The OVF file is easier to install, so l will cover that method.

Download the OVF version to your workstation. It contains a small .ovf file and a 300 MB system.vmdk file.

Figure 1
(Click image for an enlarged view.)

Unzip the file and connect to your vCenter Server with the vSphere Client. Select File, then Deploy OVF Template, which will launch a wizard. Step through the various screens by mostly accepting the default configurations. Also, choose a location for the VM and the virtual network where it will reside. The network must have access to your vCenter Server. If you want directly connect to your hosts, the network will also need access to your host management consoles.

Figure 2
(Click image for an enlarged view.)

Once the vCMA is deployed, power on the newly created VM and open a console window. The vCMA appliance uses Dynamic Host Configuration (DHCP) by default. If no DHCP servers are available on the network, you must manually configure the IP information.

To manually configure the IP information, select Configure Network from inside the console window and enter the IP information when prompted.

Figure 3
(Click image for an enlarged view.)

The following step is optional, and it’s only for managing some basic vCMA setup information through a Web browser (not to be confused with mobile browser user interface). The Web management user interface (UI) allows only basic tasks, such as rebooting the appliance or setting network information, which you can also perform with the command-line interface (CLI), so you won’t typically use it.

You will see a URL in the console window with a 5480 port number. Upon visiting the URL, you will be prompted for a username and password. The default username is root, and the default password is vmware. This account is for logging in

through the CLI console and the Web UI. Note that the management UI does not support Mozilla Firefox, and you will get a JavaScript error after logging in. You won’t be able to precede, so use Internet Explorer instead.

Figure 4
(Click image for an enlarged view.)

After you set the network information for the appliance, change the default password for the root account. Select Login from the CLI console window and log in using the username root and password vmware. Then type the command passwd and enter a new root password. Finally, type logout to end the session.

Figure 5
(Click image for an enlarged view.)

The vCMA appliance is now deployed. From any browser, you can access the mobile-browser interface by going to the IP address of the vCMA, followed by /vim (e.g., https://192.168.1.133/vim). Also, you must use HTTPS to connect, not HTTP.

From the vCMA login screen, you can enter any host or vCenter Server name or IP address, along with its login credentials. Once connected, you can use the basic mobile access administration functions. It’s formatted for mobile browsers, and its functionality is similar to the iPad app, with one exception: The mobile UI supports vMotion.

Figure 6
(Click image for an enlarged view.)

Figure 7
(Click image for an enlarged view.)

Connecting the VMware iPad app to vCMA

Now you are ready to connect vSphere Client for iPad to vCenter Mobile Access (vCMA).

First, download the vSphere Client for iPad from Apple’s App Store. Once the VMware iPad app is installed, go the iPad’s settings. Scroll down and tap on vSphere Client. Next, enter vCMA’s IP address in the Web Server field.

Figure 8
(Click image for an enlarged view.)

Ensure that your iPad has connectivity to the vCMA virtual appliance, which may entail configuring the iPad’s built-in VPN client.

Launch the vSphere Client for iPad application and enter the host, username and password for a vCenter Server or vSphere host.

Figure 9
(Click image for an enlarged view.)

After you sign in, a certificate error will pop up. This error is just a warning that the SSL certificate is self-signed, and press Allow to continue. This message will appear every time you log in, unless you replace the self-signed certificate that’s included with the vCMA with a trusted SSL certificate (i.e., Verisign). Once connected, you can use the VMware iPad to manage your hosts and virtual machines, as seen below.

Figure 10
(Click image for an enlarged view.)

Figure 11
(Click image for an enlarged view.)