IBM Cloud Orchestrator, Version 2.5.0.6

Command-line interface scripts

Command Line Interface (CLI) scripts are available in the /opt/ibm/ico/wlp/usr/servers/pcg directory. These scripts are used for manual tasks, for example, starting the Public Cloud Gateway, encrypting a password, changing port numbers, and so on.

encryptPassword.sh plaintext_password
Writes an encrypted password to stdout. This script is used for encrypting passwords and access keys that are used in the admin.json and credentials.json files, which are located in the /opt/ibm/ico/wlp/usr/servers/pcg directory. The command must be run in the directory where the encryptPassword.sh script is located.
Note: The /opt/ibm/ico/wlp/usr/servers/pcg is the default directory path. However, if you have a customized IBM® Cloud Orchestrator installation directory, use that path instead of the default path.
service pcg start
Starts the Public Cloud Gateway server with the default settings.
service pcg stop
Stops the Public Cloud Gateway server.
service pcg restart
Restarts the Public Cloud Gateway server.
refreshEndpoint.sh admin_userid admin_password bpm_hostname:bpm_port
Refreshes the IBM Cloud Orchestrator endpoint cache, where
  • admin_userid is the user name of the Cloud Administrator user.
  • admin_password is the password of the specified Cloud Administrator user.
  • bpm_hostname is the host name of the Business Process Manager server. Business Process Manager usually runs on the same host as the Public Cloud Gateway.
  • bpm_port is the port of the Business Process Manager server. The default port is 9443.
The refreshEndpoint.sh script must be run if region information is changed within the Public Cloud Gateway config.json file. If the command was successful, the command output includes the following line:
HTTP/1.1 204 No Content
To see any new Regions or Availability Zones in the IBM Cloud Orchestrator user interface lists, users must log out of the user interface and log back in again.