Cloud Agent Configuration
The CLOUD_AGENT_CLIENT_API_KEY
and CLOUD_AGENT_HOST_ADDRESS
options enable you to set the Cloud Agent configuration.
CLOUD_AGENT_CLIENT_API_KEY
This option stores the client API key that is used to authenticate Cloud Agent connections. It is generated on the server start-up if there is no value set. Value data type: STRING
.
The current option value can be obtained using the following query:
SELECT * FROM "SYSADMIN.getDefaultOptionValue"("opt" => 'CLOUD_AGENT_CLIENT_API_KEY') ;;
It can be changed via the SYSADMIN_VDB.generateCloudAgentApiKey system procedure or set manually using one of the following methods:
- Via the
SYSADMIN_VDB.generateCloudAgentApiKey
procedure:
CALL "SYSADMIN_VDB.generateCloudAgentApiKey"() ;;
- Via the
SYSADMIN.setDefaultOptionValue
procedure:
CALL "SYSADMIN.setDefaultOptionValue"("opt" => 'CLOUD_AGENT_CLIENT_API_KEY', "val" => '11111111-1111-1111-1111-111111111111') ;;
CLOUD_AGENT_HOST_ADDRESS
The option specifies the host address to which the CData Virtuality Server initiates connections, which are then proxied by the Cloud Agent. Default: localhost
. Value data type: STRING
.
The current option value can be obtained using the following query:
SELECT * FROM "SYSADMIN.getDefaultOptionValue"("opt" => 'CLOUD_AGENT_CLIENT_API_KEY') ;;
It can be changed to another host address if localhost
cannot be resolved as follows:
CALL "SYSADMIN.setDefaultOptionValue"('CLOUD_AGENT_HOST_ADDRESS', 'localhost') ;;
CLOUD_AGENT_CLIENT_API_KEY
and CLOUD_AGENT_HOST_ADDRESS
default options available since v4.1