Creating a Special Role on an ESX Server and Assigning the Role to a New User

  1. Login to a system on which the vSphere Client is installed.
  2. Launch the client. When Figure 16 appears, login to the target vSphere server using root user credentials.

    Figure 16 : Logging into the vSphere client

  3. Figure 17 then appears.

    Figure 17 : The vSphere console

  4. In the left panel of Figure 17, expand the Host node, and select the Manage option (as depicted by Figure 18).

    Figure 18 : Selecting the Manage option under the Host node in the left panel

  5. Manage page will then appear (see Figure 19). From the list of options that you see in the left panel of the Manage page, select the Users option.

    Figure 19 : Selecting the Users option from the Manage page

  6. Then, to add a new user, click on Add user in the right panel of Figure 19. Figure 20 will then appear.

    Figure 20 : Adding a new user

  7. In Figure 20, specify the User name and Password of the new user. Confirm the password by retyping it in the Confirm Password text box. Then, click the Add button in Figure 20 to save the details of the new user.

  8. Then, when you return to the Manage page (see Figure 21), click on the Roles option in the left panel.

    Figure 21 : Selecting the Roles option

  9. Next, to create a new role, click on Add role in the right panel of Figure 21. Figure 22 will then appear. In Figure 22, specify the Role name. Then, expand the Global node in the Privileges section, and select the Diagnostics permission within (as depicted by Figure 22).

    Figure 22 : Adding the Diagnostics permission to the new role

  10. Then, expand the Sessions node in the Privileges section, and select the TerminateSession permission within (see Figure 23).

    Figure 23 : Adding the TerminateSession permission to the new role

  11. Finally, click the Add button in Figure 23. This will create the new role, with the Diagnostics and TerminateSession permission. When you return to the Manage page, right-click on the Manage option in the left-most panel of the page, and pick the Permissions option (see Figure 24).

    Figure 24 : Selecting the Permissions option

  12. Figure 25 will then appear. Click on Add user in the left panel of Figure 25.

    Figure 25 : Clicking on Add user in the left panel of the Manage permissions page

  13. Figure 26 will then appear. From the first drop-down in Figure 26, select the new user you created at step 7 above. From the next drop-down, pick the new role you created at step 9 above. This way, the new role and the permissions included in that role will get assigned to the new user. Finally, click the Add user button in Figure 26.

    Figure 26 : Selecting the Diagnostics permission under the Global category of privileges

You can now proceed to configure the ESX USER and ESX PASSWORD parameters of all eG tests with the User name and Password (respectively) of the new user you created (see Figure 20).