/jiu

Guanglei's Oracle Bare Metal Cloud Tool for Demo and for Fun

Primary LanguageJava

Oracle Cloud Infrastructure Tool for Demo Purpose

No file in this repo provides production warranty!! It is just for fun, learning and demo purpose.

Config file ~/.oci/config properties descriptions to run Jiu:

	[DEFAULT]
	tenancy=<tenancy_ocid>
	user=<iam_user_ocid>
	fingerprint=<signing_key_fingerprint>
	key_file=<signing_key_location>
	region=<bmc_region_code>
	compartment=<compartment_ocid>
	namespace=<object_storage_namespace>
	bastionseclist=<bastion_seclist_ocid>
	connectiontimeout=6000
	readtimeout=240000
	public_key_file=<public_key_file_location_for_vm>
	bastion_user_data=<file_location>
	webserver_user_data=<file_location>
	webserver0_user_data=<file_location>
	webserver1_user_data=<file_location>
	webserver2_user_data=<file_location>

	[PHOENIX]
	...

	[ASHBURN]
	...
  • Sample config file provided config-sample.

  • Download Maven.

  • Install Maven.

  • Edit pom-sample.xml to correct the <oci.jar.location> property and rename it to pom.xml.

  • mvn pacakge

  • Replace PATH_TO portions in sample run script runJiu.sh.

  • Run runJiu.sh to show all utilities.

  • Run runJiu.sh [utility_name] -h to show help messasge.