vSphere 4.1 Remote DCUI to set a Password

In big environments it is preferred to have Host Profiles in place to get new hosts installed quickly! But in this case Host Profiles are not configured and when during my holiday a collaegue rolled out a couple of new hosts he didn’t apply a Password on the ESXi 4.1 hosts. It is in the best interest of all parties involved that this is done, so VMware provided us with the following alarms to make sure we don’t forget to set a Password:

2012-07-23 09h15 46

There are a couple of ways to resolve this issue, but in this post I’ll use the Remote DCUI capabilties of VMware’s ESXi 4.1. To get started select the host in the VMware vSphere Client and (Step 1.) Select the Configuration Tab on the right side of the screen. Step 2 is to select the Security Profile under Software in the left side of the page. The Third Step is to press Properties which will result in a popup. (Click on the image for a larger view)

2012-07-23 09h18 44

In the Remote Access screen Step 1 is select the Remote Tech Support (SSH) service and step 2 is press the Options button. Again a popup will show.

2012-07-23 09h24 52

Step 1 is to check the status of the service (which also could have been done in the Remote Access view). At Step 2 We’ll press the Start button to Start the Service. After a couple of seconds check if the Status changed to Running, and you’ll be able to press OK (Step 3).

Slide5b Slide5c

After these steps have been done, open a Putty session and Step 1 Enter the Host Name (or IP address) of the Host and Press Open (Step 2)

Slide6

The Putty session will start and as Step 1 login as: root with Step 2 root password (nothing) and at step 3 the command line type DCUI and press enter

Slide7

And there you have it! The remote DCUI there is only 1 step here: Press the F2 key

Slide8

In the Authentication Required screen press enter twice as no password at the moment.

Slide9

Step 1 is to select Configure Password and step 2 is to press enter šŸ˜‰

Slide11

Leave the old Password blank and Step 1 Enter your New password. Step 2 is to repeat the same password as provided at Step 1

Slide12

Step 1 make sure that the Configure Password setting is now Set, en for Step 2 just press the Esc button. Close the Putty session and return to the vSphere Client

Slide13

When looking in the vSphere Client there still is a Configuration Issue as shown below

Slide14

To resolve this we need to Stop this service looking at the configured host. Step is to select the Configuration Tab (if you didn’t stay there in the first place..) and step 2 is to select the Security Profile again in the right window press properties and the Remote Access window will popup once again. In this window Step 1 is to Select the Remote Tech Support (SSH) service and step 2 is to press Options

Slide15

Step 1 is to press Stop and a few seconds later the Status will change to Stopped. Step 2 is pressing OK to leave the popup

Slide16

Make sure the Remote Tech Support (SSH) service is stopped and press OK

Slide17

That’s it, problem solved. As I said previous in large environments it is recommended to use Host Profiles. The great thing about it is that you never have to worry that a Host might have a different password or no password at all Ā just because one of your colleagues put in a different one (or no password at all) while installing a host.