I recently got the opportunity to create an Exadata Cloud Service (ExaCS) instance in Oracle Cloud Infrastructure.
Im not going to go into the details of the network requirements or how to set up the OCI CLI. Details on both of these can be found in the OCI doco
- ExaCS Network requirements – https://docs.cloud.oracle.com/en-us/iaas/Content/Database/Tasks/exanetwork.htm
- OCI CLI Setup – https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm
Once you have the above done, you can then proceed to create an ExaCS. You could do this through the Web Console, but when I was presented with what I assume is a bug in the console, I decided to give the CLI a try.
Before executing the CLI, you need to create two (2) files:
- A JSON formatted file that has the create_db_system payload
- a file referenced in the main file that contains the SSH public key pair(s) you want to associate with the ExaCS instance
An example (based off the file I used) and explanation follows – you can get the json file from here:
(You can also get a possibly easier to read version of the below at https://gist.github.com/alexblyth/acb4d088c480e603646629bb4c4fbedc)
Once you’ve updated the json file, and created a file for your ssh keys, you can run the following from your OS command line
oci db system launch --from-json file://create_exacs_ocicli.json
ExaCS will take a while to create – its doing a fair amount of work – so at this point, grab a coffee (or dinner & a movie depending on the time of day) and keep an eye on the progress through the OCI Console.