6.2.3.2 chcluster

Shut down the Exascale cluster or modify its attributes.

Syntax

chcluster [ --attributes attribute=value[,attribute=value]... ] 
          [ --shutdown ]

Command Options

The options for the chcluster command are:

  • --attributes: Specifies one or more attribute settings for the cluster.

    Use the describe chcluster command to see details about the cluster attributes you can change. See also Describing Resources and Attributes.

  • --shutdown: Shuts down the Exascale cluster.

    To shut down the Exascale cluster, note that you must:

    • Run ESCLI as the Exascale admin user or as another user with the cl_admin cluster level storage privilege.

    • Connect ESCLI directly to an online Exascale control services (ERS) back-end server process. To do this you must start ESCLI and specify the --ctrl option as follows:

      $ escli --wallet admin-wallet-location --ctrl ERS-server-IP:8080

      To find the IP address for an online ERS server (ERS-server-IP), start a regular ESCLI session and use the following command:

      @> lsservice --filter serviceType=controlServices,status=ONLINE --attributes url

      The command displays the private IP addresses associated with all of the online ERS servers. You can use any of the reported IP addresses.

Examples

Example 6-4 Modify the Cluster

This example shows setting the cluster attribute that specifies the Exascale control services (ERS) REST endpoint.

@> chcluster --attributes restEndPoint="198.51.100.1/24"

Example 6-5 Shut Down the Cluster

This example shows how to shut down the Exascale cluster using the specified wallet and Exascale control services (ERS) IP address.

$ escli --wallet /opt/oracle/cell/cellsrv/deploy/config/security/admwallet --ctrl 198.51.100.1:8080 chcluster --shutdown