Adding/Modifying/Deleting a Manager Profile on Unix Environments

Configuring a Manager Profile

To configure a manager profile on Unix environments, do the following:

  1. Login to the eG CLI host.
  2. Execute the following command from the <EGCLI_INSTALL_DIR>/bin directory: ./AddAccount
  3. Upon execution, the command will request you to provide the IP address and port number of the eG manager with which the eG CLI needs to communicate.

    Add New Account

    ~~~~~~~~~~~~~~~

    Please provide the eG Manager IP / Host name :192.168.10.157

    Please provide the port number for the eG Manager [7077]:7077

  4. Then, indicate whether the manager is SSL-enabled or not.

    Is the eG Manager SSL enabled? (yes/no) [no]:no

  5. To login to the eG manager for performing configuration tasks, the eG CLI requires the privileges of a user who is assigned the Admin role. Specify the name and password of such a user.

    Please provide an admin user name for the eG Manager :admin

    Please provide the password for the admin user :

  6. Then, provide a unique manager ID using which the eG CLI commands will identify the eG manager that they need to communicate with.

    The details you just provided will be saved in a profile on this system.

    Please provide a Manager ID for this profile :eGMgr157

  7. Once user registration is successful, the following message will appear:

    ************************************************

    User account has been registered successfully!

    ************************************************

Modifying a Manager Profile

To modify a manager profile, issue the following command from the <EG_INSTALL_DIR>/bin directory of the eG CLI host: ./ModifyAccount -managerid <managerID>

For instance, to modify the details of a manager with the ID mgr135, your command will be: ./ModifyAccount -managerid mgr135

You can then proceed to modify the displayed details.

Deleting a Manager Profile

To delete a manager profile, issue the following command from the <EG_INSTALL_DIR>/bin directory of the eG CLI host: ./eGCLI DeleteAccount -managerid <Comma-separated list of manager IDs>

For example:

eGCLI DeleteAccount -managerid mgr157,100mgr,125manager

Viewing Manager Profiles

To view all manager profiles, issue the following command from the <EG_INSTALL-DIR>/bin directory of the eG CLI host: ./eGCLI ShowAccounts