You can access the services and resources provided by a service instance's VM by logging into the machine through a secure shell (SSH). You can use any SSH utility you prefer. For example, if you are using Windows, you might use PuTTY; if you are using Linux, you might use OpenSSH.
When accessing a VM through SSH, you need a public/private key pair you obtained here when you provision the service instance for the VM that contains the Oracle WebLogic Administration Server.
For example, to obtain the key pair by using the keygen
utility with the -t rsa
parameter; you would enter:
ssh-keygen -t rsa
You can also use PuTTY to create the key pair.
You must supply the public key you obtained here when you provision the service instance and use its paired private key when you access it. This can be a key that you already created and saved to a file. This file can then be uploaded during VM provisioning.
To access an administration server's VM from a host that is not the VM running WebLogic in Oracle SOA Cloud Service, you must create an SSH tunnel between your local host and the Oracle SOA Cloud Service. With that tunnel in place, you can use the resources of that server, such as the WebLogic Scripting Tool (WLST), as if it were local.
To create an SSH tunnel, use your preferred SSH client to provided the following tunneling information:
The path to the private key corresponding to the public key used at the time of provisioning.
The administration server's IP address.
You can create the tunnel by using the SSH client of your choice. You can also use PuTTY to create the SSH tunnel.
$> ssh -i path to private key opc@ip address of administration server -L 9001:ip address of administration server:9001 -N
For example:
$> ssh -i id_rsa opc@111.111.111.111 -L 9001:111.111.111.111:9001 -N
Note:
Once activity is completed, press <ctrl> C to shut down the SSH tunnel.
You can access a VM or load balancer through a secure shell utility.
To access a VM or load balancer through SSH:
Note:
The examples in this procedure apply to Linux users accessing the VM by using OpenSSH.