Change the Cluster Password

Note:

This topic does not apply to clusters that use Oracle Identity Cloud Service (IDCS) for authentication. The IDCS credentials are managed through IDCS. The steps in this topic are only for clusters that use Basic authentication. For information about cluster authentication, see Use Identity Cloud Service for Cluster Authentication.

Credentials used to access a cluster are set when the cluster is created. Administrators can change the cluster password later if necessary. The Ambari server and NGINX must be restarted for the password change to take effect.

To change the cluster password:
  1. SSH to the Ambari server host and change to the otools user (sudo su - otools).
    The IP address for the Ambari server host is listed on the Instance Overview page for a cluster in the service console for Oracle Big Data Cloud. Use this IP address to SSH to the Ambari server host.
  2. Execute the following command, providing the user name and new password when prompted:
    cd /u01/bdcsce/tools/ambari/java; java -cp "bdcsce-java-tools.jar:/usr/hdp/current/hadoop-client/client/* " 
    com.oracle.bdcsce.UpdateBDCSCEAmbariCred

    The password must be 8 or more characters and contain at least 1 uppercase character, 1 lowercase character, and 1 numeric character (0-9).

  3. As root user, restart the Ambari server:
    sudo ambari-server restart
  4. Restart NGINX:
    1. Log in to the Ambari user interface at https://Ambari_server_IP_address:8080 with the new credentials.
    2. Click Nginx Reverse Proxy on the left.
    3. From the Service Actions drop-down menu at the top, select Restart All and Confirm Restart All when prompted.