OIC_Scripts

How to Get the OCID of a Compute Node

To access a compute node through the bastion the OCID of the compute nodes needs to be provided.

Find OCID

List all the compute nodes in a gien compartment.

listComputeResources.sh CompartmentName

Listing compute instance from compartment CompartmentName with ID ocid1.compartment.oc1..aaaaaaaacompartment ````

Name InstanceID Linux-UA ocid1.instance.oc1.phx.anyhqcomputenode

The name is the name of the compute node.