GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sbarberuk/OMC: Oracle Management Cloud Utilities

BranchesTags
Open more actions menu

Latest commit

 

History

30 Commits
30 Commits

Folders and files

NameName
Last commit message
Last commit date
scripts
scripts
 
 
templates
templates
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
set_env.sh
set_env.sh
 
 
setup.sh
setup.sh
 
 

Repository files navigation

Oracle Management Cloud Utilities

This project consists of several utilities to help with maanaging and using Oracle Management Cloud. It is not a replacement for the official utilities, documentation or support. These are just tools that have made my life easier.

Starting at the beginning with some very simple shell/python scripts to do things like getting a list of downloadable agents or installing agents or simply listing entities. The intention is to extend this to more sophisticated tools and utilities.

setup.sh

setup.sh will initialise your environment by creating a hidden omc directory in your home directory ($HOME/.omc)

The initialisation will check for the existance of the $HOME/.omc, if it is not a directory initialisation will fail.

If a directory already exists then the initialisation will check for and source omc.properties and give you the opportunity to edit the values contained within.

You will prompted to enter the following variables;

Variable Description
OCI_TENANT_NAME This is the name of your cloud account, this is the name of the account you used when you signed up for Oracle Cloud
OMC_INSTANCE_NAME This is the name associated with the OMC Instance, this is the name displayed in viewing the instance in the Oracel Cloud MyServices Console which is access via https://myservices-<OCI_TENANT_NAME>.console.oraclecloud.com/mycloud/cloudportal/cloudHome
OMC_INSTANCE_ID This is the value represented in the UI under the Administartion -> Agents -> Download Agent Page
OMC_URL This is the value represented in the UI under the Administartion -> Agents -> Download Agent Page, when entering leave off the https:// as this will get added by the utilities that need it
OMC USERNAME This is the login name for the OMC Instance
OMC_PASSWORD This is the password associated with the OMC_USERNAME parameter

The initialisation script uses the omc.properties.template file and substitues the values entered, creating $HOME/.omc/omc.properties

set_env.sh

set_env.sh is a simple utility script to export the values in $HOME/.omc/omc.properties as environment variables. Execute the script by sourcing it using;

. set_env.sh

or

source set_env.sh

About

Oracle Management Cloud Utilities

Topics

cloudmanagementomcoracleutilities

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.