The nz instance scale down [pause] command
Run the nz instance scale down command to pause a Netezza Performance Server for Cloud Pak for Data instance and shut down its compute nodes as described in Pausing instances with the nz command line.
Syntax
nz instance scale down -apiserver <apiserver_url> -u <user> -pw <password> -host <HOSTURL> -namespace <ns>
Inputs
| Option | Description |
|---|---|
| -h | --help | Displays help for the command. |
| -force |
Proceeds with the scaling down procedure without prompting you for confirmation. |
| -host |
Required. Specifies the Cloud Pak for Data hostname of a cluster. |
| -instance-id |
Specifies the instance ID that you want to target. |
| -name | Specifies the display name of the namespace that you want to target. When you specify this option, multiple instances might be shown. |
| -namespace |
Specifies the namespace name that you want to target. |
| -pw |
Required. Specifies the Cloud Pak for Data user password. |
| -u | -user |
Required. Specifies the Cloud Pak for Data user of a cluster. |
| -apiserver | Required. Specifies Netezza Performance Server hostname. |
- CPD_HOST
- The Cloud Pak for Data endpoint or hostname.
- CPD_USER
- This value is usually the same as the privileged Netezza user or admin.
- CPD_PASSWORD
- The password for the
CPD_USER.
Examples
- Scaling down an instance without specifying the -force
option:
nz instance scale down -u <user> -pw <password> -host <host> -instance-id <instace_id> Are you sure you want to scale the system down [y/N]: y Scaling down initiated. - Getting status for the pausing
operation:
nz instance scale down -u <user> -pw <password> -host <host> -instance-id <instace_id> ID OPERATION NAME NAMESPACE CONFIG TARGET CONFIG SCALING STATUS ------------------------------------------------------------------------------------------------------------------ 1612296916469 nk-upgrade-test nk-upgrade-test-ns 36 vpc 2.4 TB - PAUSED