In this video, I'll show you how to provision compute nodes in your Oracle Private Cloud
Appliance.
Before a compute node can be used to host your compute instances, it must be provisioned
by an administrator.
You can provision them from the Service Web User Interface or Service Command Line Interface.
I'll demonstration both interfaces in this video.
To log on to the Service Web UI, from a browser enter https://adminconsole...
Then provide your username and password and click sign in.
To access the Service CLI you establish an SSH connection to TCP port 30006 on one of
the management nodes.
I'll run the command ssh admin@management_node -p 30006 later in this video.
I'm logged on to the Service Web UI as the admin user.
Here I'm showing the adminconsole URL that I mentioned.
To provision the compute nodes, I'll click the Rack Units button to list rack units.
Here we see three Compute nodes.
After day 0 configuration, the appliance software detects the compute nodes that are installed
in the rack and cabled to the switches, and they appear in the Rack Units list as Ready
to Provision.
I'll click the Actions menu for the first compute node.
And from the list of options, I'll click Provision.
I'm prompted to confirm, which I'll do.
An info message appears that my action was a success.
And notice the Provisioning State has changed to Provisioning.
I'll now provision the 2nd compute node and click confirm.
And I'll provision the 3rd compute node and click confirm.
Notice that the Provisioning State of the 1st compute node has changed to Provisioned.
If I view the action menu for this node, I now have an option to Deprovision.
Deprovisioning requires a few intermediate steps.
You first need to select Provisioning Lock for the compute node you want to deprovision.
Next you need to select Migrate All Vms.
The system will then migrate instances on this compute node to other compute nodes.
After migration completes, you can then select Deprovision.
When this completes, the Provisioning State will change to 'Ready to Provision'.
This concludes the Service Web UI demonstration portion of this video.
I'll now demonstrate provisioning compute nodes using the service command-line-interface.
I've opened up a git bash terminal on my laptop and I'll use the ssh command discussed earlier
in this video to establish a connection to TCP port 30006 on one of the management nodes.
I'll run the command list computenode.
This command displays the compute nodes and the provisioning state, which is Provisioned
for each node.
Next I'll run the command showcustomcmds computenode.
This displays a list of commands that I can run against compute nodes.
Notice there is a provision command and a deprovision command.
To provision a compute node, run the command provision id= and include the id of the compute
node.
This command fails because the compute node is already provisioned.
As I mentioned while demonstrating the Service Web UI, deprovisioning requires a few intermediate
steps.
You first need to run the command provisioningLock id= and include the id of the compute node.
I'm not going to execute these commands as I don't want to disrupt other users on this
system.
Next, you would run the command migrateVm id= and provide the id of the compute node.
This command migrates instances on this compute node to other compute nodes.
And now you can run the command deprovision id= and provide the id of the compute node.
Finally, to exit the Service CLI interface, type exit.
This concludes this demonstration.
Thank you for watching.
Please check our additional information on Oracle Private Cloud Appliance in the Oracle
Private Cloud Appliance Documentation or in the Oracle Private Cloud Appliance Learning
Library.