Creating a Special Role on vCenter and Assigning the Role to a New User

To achieve this, follow the steps below:

  1. Login to a system on which the vSphere Client is installed.
  2. Launch the client. When Figure 12 appears, login to vCenter using administrator credentials.

    Figure 12 : Logging into the vSphere client

  3. Figure 13 then appears.

    Figure 13 : The vSphere client

  4. Click on the Menu option indicated by Figure 13. A menu depicted by Figure 14 will then drop down. From the menu, select the Administration option.

    Figure 14 : Selecting the Administration option

  5. Figure 15 will then appear. From the options listed in the left panel of Figure 15, select Users and Groups by clicking on it.

    Figure 15 : Selecting the Users and Groups option

  6. The right panel will then change to display a Users and Groups section (see Figure 16). Here, select the Domain in which you want to add a new user, and then click on ADD to begin.

    Figure 16 : Clicking on ADD to add a new user

  7. Figure 17 will then appear. Provide the Username and Password of the new user in Figure 17, and confirm the password by retyping it in the Confirm Password text box. Then, click on the ADD button in Figure 17 to save the details of the new user.

    Figure 17 : Adding a new user

  8. Figure 18 will then appear. From the left panel of Figure 18, select the Roles option.

    Figure 18 : Selecting the Roles option

  9. The right panel will then change to display a Roles section (see Figure 19). Click on the '+' button in Figure 19 to create a new role.

    Figure 19 : Clicking on the '+' button in the Roles section

  10. Figure 20 will then appear. Using Figure 20, you can indicate what permissions you want to grant to any user who is assigned the new role. For that, first, from the left panel of Figure 20, choose the Global category of privileges. The right panel will then display all the privileges/permissions that are grouped under the Global category. Select the Diagnostics permission from this list by clicking on the check box alongside that permission (see Figure 20).

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

  11. Next, select the Host category from the left panel, and click on the Change settings check box in the right panel (see Figure 21).

    Figure 21 : Selecting the Change settings permission from the Host category

  12. Next, pick the Sessions category from the left panel, and choose the View and stop sessions privilege from the right panel (see Figure 22).

    Figure 22 : Selecting the View and stop sessions privilege under the Sessions category

  13. Finally, click the Next button in Figure 22 to proceed. Figure 23 will then appear, where you will have to specify the Role name. Finally, click the Finish button in Figure 23, so that a new role with the specified name is created.

    Figure 23 : Specifying the name of the new role

  14. When Figure 24 appears, click on the Global Permissions option in the left panel of Figure 24.

    Figure 24 : Selecting the Global Permissions option

  15. In the Global Permissions section that opens in the right panel, click on the '+' button (see Figure 25).

    Figure 25 : Clicking on the '+' button in the Global Permissions page

  16. From the Domain drop-down in Figure 26 that appears next, select the domain in which you created a new user previously. Then, in the User/Group text box, specify the name of the user you created. Make sure you provide the same Username you specified at the time of user creation (see Figure 17). Alternatively, use the 'magnifying glass' icon against User/Group to browse for the user name. Next, from the Role drop-down, pick the new role you created. This assigns the chosen Role and all permissions included in that role to the specified User/Group.

    Figure 26 : Assigning the new role to the new user

  17. Finally, click the OK button in Figure 26.

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