Skip to content

/AWS1/CL_FNS=>UPDATEKXCLUSTERCODECONF()

About UpdateKxClusterCodeConfiguration

Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.

Method Signature

IMPORTING

Required arguments:

IV_ENVIRONMENTID TYPE /AWS1/FNSKXENVIRONMENTID /AWS1/FNSKXENVIRONMENTID

A unique identifier of the kdb environment.

IV_CLUSTERNAME TYPE /AWS1/FNSKXCLUSTERNAME /AWS1/FNSKXCLUSTERNAME

The name of the cluster.

IO_CODE TYPE REF TO /AWS1/CL_FNSCODECONFIGURATION /AWS1/CL_FNSCODECONFIGURATION

code

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/FNSCLIENTTOKENSTRING /AWS1/FNSCLIENTTOKENSTRING

A token that ensures idempotency. This token expires in 10 minutes.

IV_INITIALIZATIONSCRIPT TYPE /AWS1/FNSINITIALIZATIONSCRIP00 /AWS1/FNSINITIALIZATIONSCRIP00

Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.

You cannot update this parameter for a NO_RESTART deployment.

IT_COMMANDLINEARGUMENTS TYPE /AWS1/CL_FNSKXCMDLINEARGUMENT=>TT_KXCOMMANDLINEARGUMENTS TT_KXCOMMANDLINEARGUMENTS

Specifies the key-value pairs to make them available inside the cluster.

You cannot update this parameter for a NO_RESTART deployment.

IO_DEPLOYMENTCONFIGURATION TYPE REF TO /AWS1/CL_FNSKXCLSTCODEDEPLOY00 /AWS1/CL_FNSKXCLSTCODEDEPLOY00

The configuration that allows you to choose how you want to update the code on a cluster.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FNSUPKXCLSTCODECONF01 /AWS1/CL_FNSUPKXCLSTCODECONF01