ExaCLI offers a subset of the commands found in the on-premises Exadata command line utility. The utility runs on the database compute nodes in the Exadata Cloud Service.
Find the Name of the VM Cluster
Run the following command as GI user ( grid ).
[grid@racnode1 ~]$ crsctl get cluster name CRS-6724: Current cluster name is 'usa2598clu01cb1'
The password for cloud_user_clustername is initially set to a random value, which you can view by running the following command as as opc user on any cluster node.
[opc@racnode1 ~]$ /opt/exacloud/get_cs_data.py -h usage: get_cs_data.py [-h] [--dataonly] Obtain secrets stored during provisioning optional arguments: -h, --help show this help message and exit --dataonly data only output [opc@racnode1 ~]$ /opt/exacloud/get_cs_data.py --dataonly 5k3ew9qYTnKb#LD
As per Oracle doc, the following command should be run but not working, it seems due to ‘get_cs_data.py’ version difference.
[opc@racnode1 ~]$ /opt/exacloud/get_cs_data.py --data_file /opt/exacloud/cs_data.enc usage: get_cs_data.py [-h] [--dataonly] get_cs_data.py: error: unrecognized arguments: --data_file /opt/exacloud/cs_data.enc
Connect to a Storage Server with ExaCLI
Find Target Storage Server’s IP Address
[root@racnode1 ~]#cat /etc/oracle/cell/network-config/cellip.oracle cell="192.168.136.5;cell="192.168.136.6" cell="192.168.136.7;cell="192.168.136.8" cell="192.168.136.9;cell="192.168.136.10" ... .. .
Run ExaCLI Command
#exacli -c email@example.com -e LIST IORMPLAN DETAIL Password: *************** name: usa2598clu01cb1_IORMPLAN catPlan: dbPlan: clusterPlan: objective: auto status: active
If you are connecting to a storage cell for the first time using ExaCLI, you may be prompted to accept an SSL certificate. The ExaCLI output in this case will look like the following:
#exacli -c firstname.lastname@example.org -e LIST IORMPLAN DETAIL EXA-30016: This connection is not secure. You have asked ExaCLI to connect to cell 192.168.136.6 securely. The identity of 192.168.136.6 cannot be verified. Got certificate from server: C=US,ST=California,L=Redwood City,O=Oracle Corporation,OU=Oracle Exadata,CN=localhost Do you want to accept and store this certificate? (Press y/n)
Accept the self-signed Oracle certificate by pressing “y” to continue using ExaCLI.