Table: cpsadm command environment variables describes the environment variables that are required for the cpsadm command. The cpsadm command detects these environment variables and uses their value when communicating with the CP server. They are used to authenticate and authorize the user.
Note: |
The environment variables are not required when the cpsadm command is run on the CP server. The environment variables are required when the cpsadm command is run on the VCS cluster nodes. |
Table: cpsadm command environment variables
Environment variable |
Description |
---|---|
CPS_USERNAME |
This is the fully qualified username as configured in VxSS (vssat showcred). |
CPS_DOMAINTYPE |
One of the following values:
|
The environment variables must be exported directly on the shell before running the cpsadm command. For example,
# export CPS_USERNAME= # export CPS_DOMAINTYPE=
Additionally, the username and domaintype values are the same as those added onto the CP server. To view these values run the following cpsadm command:
# cpsadm -s cp_server -a list_users
Where cp_server is the CP server's virtual IP address or virtual hostname.