Adding/Modifying/Deleting a Manager Profile on Unix Environments
Configuring a Manager Profile
To configure a manager profile on Unix environments, do the following:
- Login to the eG CLI host.
- Execute the following command from the <EGCLI_INSTALL_DIR>/bin directory: ./AddAccount
-
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
-
Then, indicate whether the manager is SSL-enabled or not.
Is the eG Manager SSL enabled? (yes/no) [no]:no
-
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 :
-
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
-
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