Configure the primary node and worker nodes
Use the tools/clusterInfo.sh command to determine the values to specify within each section of config/paw.env.
Procedure
-
Run the tools/clusterInfo.sh command to determine the values for each
section of the config/paw.env.
The command returns information on the primary node and worker nodes in the OpenShift® cluster.
For example:
Kubernetes primary is running at https://9.245.133.29:8001 Worker nodes: 10.31.100.101 10.31.100.102 10.31.100.103 10.31.100.104
- Configure the host of the primary node that is returned from step 1 in the COPY_NODE environment variable so that image
archives are placed on the worker nodes.
For example:
export COPY_NODE=(9.245.133.29)
- Copy the list of returned worker nodes that are returned from step 1 to the WORKER_NODES environment variable to specify the
addresses of all worker nodes in the deployment..
For example:
export WORKER_NODES=(10.31.100.101 10.31.100.102 10.31.100.103 10.31.100.104)
- Select three worker nodes to act as storage nodes and specify them within the
STORAGE_NODES environment variable.
Planning Analytics Workspace Distributed pins the storage services to three worker nodes. All other services are distributed across all worker nodes as OpenShift determines.
For example:
export STORAGE_NODES=(10.31.100.101 10.31.100.102 10.31.100.103)