add credential
Adds a credential which can be used by the remote scheduler agent to execute shard jobs.
Syntax
add credential -credential credential_name
-osaccount account_name
-ospassword password
[-windows_domain domain_name]Options
Table 2-4 GDSCTL add credential Options
| Option | Description |
|---|---|
|
|
Specify the name of the credential to add. |
|
|
Specify the operating system account which will be used for remote jobs. |
|
|
Specify the corresponding password for the account. |
|
|
If a Windows account has been specified, specify the corresponding domain name for that account. |
Usage Notes
This command adds a credential which will be used to execute jobs on sharded hosts in response to administrative commands. The operating system account may be any valid account on the remote host which is in the OSDBA group; the account does not need to be enabled for interactive login unless it is used for other purposes. A specific non-interactive account may be created for use with the remote scheduler, if desired. The OS password must be a valid and current password for the specified account.
If the specified credential already exists, the command returns an error.
Examples
Add a credential named east_region_cred.
GDSCTL> add credential –credential east_region_cred –osaccount agent_user
–ospassword password