0% found this document useful (0 votes)
18 views15 pages

Provision

This document outlines a workshop for provisioning Oracle Database Cloud Service, providing instructions on creating a new database instance and connecting via SSH. It includes a safe harbor statement, objectives, required artifacts, and detailed steps for service configuration and connection. The lab aims to familiarize users with the Oracle Database Cloud Service capabilities and administration tasks.

Uploaded by

scolomaay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views15 pages

Provision

This document outlines a workshop for provisioning Oracle Database Cloud Service, providing instructions on creating a new database instance and connecting via SSH. It includes a safe harbor statement, objectives, required artifacts, and detailed steps for service configuration and connection. The lab aims to familiarize users with the Oracle Database Cloud Service capabilities and administration tasks.

Uploaded by

scolomaay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Oracle Database

1
Cloud Service
Workshop
Database Cloud Service
Provisioning
January 2017
Page /1 – 2 Oracle Provisioning

Safe Harbor Statement

The following is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be relied upon in making purchasing decisions. The
development, release, and timing of any features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.

Revised: January 12, 2017


Copyright © 2016, Oracle Corporation
Oracle Provisioning Page /1 – 3

Introduction
This is the first of several labs that are part of the Oracle Public Cloud Database Cloud Service
workshop. These labs will give you a basic understanding of the Oracle Database Cloud Service and
many of the capabilities around administration and database development.
This lab will walk you through creating a new Database Cloud Service instance. You will also connect
into a Database image using the SSH private key and familiarize yourself with the image layout.

Objectives
 Create Database Cloud Service
 SSH Configuration

Required Artifacts
 The following lab requires Putty and a browser
 The labkey key pairs created by the instructor is required

Table of Contents
Oracle Database Cloud Service Workshop .............................................................................................. 1
Database Cloud Service ........................................................................................................................... 1
Provisioning ............................................................................................................................................. 1
Introduction ..................................................................... 3
Objectives ....................................................................................................... 3
Required Artifacts ........................................................................................... 3
Table of Contents ............................................................................................ 3
Create Database Cloud Service Instance .......................... 4
SSH Connection and Image Exploration ...........................11
Record IP address of Database Cloud Service............................................... 11
Connect to the Oracle Database Cloud Service .................12

Module /1
Oracle Database Cloud Service Workshop
Page /1 – 4 Oracle Provisioning

Create Database Cloud Service Instance


STEP 1: Login to your Oracle Cloud account

 Open a new private window in Firefox or your favorite browser and go to the following
URL:
https://cloud.oracle.com
 Click on Sign In

 Select the Data Center assigned to you. For example: US Commercial 2 (us2) and click on My
Services

Revised: January 12, 2017


Copyright © 2016, Oracle Corporation
Oracle Provisioning Page /1 – 5

 Provide the Identity Domain information you obtained from your instructor and/or via email,
and click Go

 Once your Identity Domain is set, enter your User Name and Password and click Sign In
NOTE: the Identity Domain, User Name, and Password values will be given to you by your
instructor or you would have received an email from Oracle on this.

 You will be presented with a Dashboard displaying the various cloud services available to this
account.
 From the Cloud My Services Dashboard, click on the hamburger button on the top left corner to
display the menu

Module /1
Oracle Database Cloud Service Workshop
Page /1 – 6 Oracle Provisioning

 , Select Oracle Database Cloud Service

 From the Oracle Database Cloud Service Console click Create Service

Revised: January 12, 2017


Copyright © 2016, Oracle Corporation
Oracle Provisioning Page /1 – 7

STEP 2: Configure the Service Details


This next step is very important when provisioning or creating a service instance. In this step, you will
name the service, shape the service, configure the security, and configure the storage and backup.
When providing a name, please note you may have another service instance already created in your
account, so the name must be unique.
 Enter the following for Service Configuration
Service Name Beta01A-DBCS
Description Beta Cloud Service
Subscription Type Oracle Database Cloud Service
SSH Public Key < ssh public key >

To select the SSH Public Key, Click on the Edit button to Update (ie: locate) the public key labkey.pub
file that you copied from “Scripts and Tools -> Keys” folder.

Module /1
Oracle Database Cloud Service Workshop
Page /1 – 8 Oracle Provisioning

 Click on the Key file name and then Browse.

 Select the public key file labkey.pub in the Scripts and Tools/Keys folder, or alternatively you can
use your own public key if you created one with PuttyGen

 Click Enter button to save your selection and continue to select the remaining options:

Software Release Oracle Database 12c Release 1


Software Edition Enterprise Edition – High Performance
Billing Frequency Monthly

 Click Next button:

Revised: January 12, 2017


Copyright © 2016, Oracle Corporation
Oracle Provisioning Page /1 – 9

 Provide the Service Details:

Service Configuration Compute Shape OC3 – 1 OCPU, 7.5 BG RAM


Timezone (UTC) Coordinated Universal
Database Configuration Usable Database Storage (GB) 40
Administration Password Alpha2016_
Confirm Password Alpha2016_
DB Name (SID) ORCL
PDB Name PDB1
StandBy Database Configuration Standby DB with Data Guard Leave Unselected
Backup and Recovery Config Backup Destination None
Create Instance from Backup No
Character Set AL32UTF8
National Character Set AL16UTF16
Enable Oracle GoldenGate No
Include”Demos” PDB Selected/Checked

 After all fields have been correctly entered, and click on Next

 Confirm everything is correct and click Create.

Module /1
Oracle Database Cloud Service Workshop
Page /1 – 10 Oracle Provisioning

 You should now see your new Database Cloud Service instance Beta01A-DBCS being created.

 The creation of the DBCS instance will take approximately 60 minutes. While your DBCS instance
is being created, you can monitor the progress by clicking on the In Progress link, and view the
current status.

We will now continue with the lab by using the Alpha01A-DBCS database.

Revised: January 12, 2017


Copyright © 2016, Oracle Corporation
Oracle Provisioning Page /1 – 11

SSH Connection and Image Exploration


Record IP address of Database Cloud Service
In the upcoming steps you will record the IP addresses of the prebuilt Database Cloud Service
Instance Alpha01A-DBCS.

STEP 3: Record the IP address of the Database Cloud Service


 Click on Alpha01A-DBCS from the list of Database Services

 Note the Public IP address of Alpha01A-DBCS. You will need this later to connect using SSH.

Module /1
Oracle Database Cloud Service Workshop
Page /1 – 12 Oracle Provisioning

Connect to the Oracle Database Cloud Service


The Database Cloud Service is secure by default for connections. Only the management port 22
used by SSH is open. All other ports are disabled, such as the SQL Net port 1521. In this exercise
we are going to use the management port 22 to explore the virtual image the Database Cloud
Service is running on.

STEP 1: (For Windows client) SSH to the Database Cloud Service with Putty
 Run Putty.exe from your laptop.
 Enter the public IP address of your AlphaDBCS-01A Database Cloud Service, and Port 22 for SSH.

 From the Connection category, expand SSH and select Auth, and browse for your private key
labkey.ppk that is provided by your instructor or copied from the Scripts and Tools folder. The
labkey.ppk has previously been created by the instructor.

Revised: January 12, 2017


Copyright © 2016, Oracle Corporation
Oracle Provisioning Page /1 – 13

 Click Open and Login as oracle.

 You may be prompted for a passphrase when logging in. If not proceed.

If you are prompted for the passphrase, it is in the password file on the Beehive Workspace or
your instructor will have provided it for you. Type the passphrase and you will be logged in.

Module /1
Oracle Database Cloud Service Workshop
Page /1 – 14 Oracle Provisioning

STEP 2: (For Linux clients) Run SSH from your terminal prompt
This step is for Linux users connecting with SSH to the AlphaDBCS-01A Service. Proceed to the
next step if you are not running a Linux client on your computer.

 Open your Linux terminal window

 In the terminal window enter the following command using the IP address for your Database
cloud service instance. The –o ServerAliveInterval=60 keeps your connection up even if there is
no activity. labkey is the private key for AlphaDBCS-01A, which was previously created by the
instructor. The example below shows the labkey is in the current directory. Change directory if
needed to where your labkey is.
ssh –o ServerAliveInterval=100 –i labkey oracle@< DBCS IP >

 Login as oracle
 You may be prompted for a passphrase when logging in. This passphrase is in the password file
on the Beehive Workspace or your instructor will have provided it for you. Type the passphrase
and you will be logged in.

STEP 3: Explore the Database Cloud Service Image


 Now that you are connected to Alpha01A-DBCS let’s look around. Issue a df command to see
mounted disks.

 Issue the following command to view the Database environment variable.


env | grep ORA

Revised: January 12, 2017


Copyright © 2016, Oracle Corporation
Oracle Provisioning Page /1 – 15

 Now let’s change directories to the Oracle Home and list the directories.
cd $ORACLE_HOME
ls

 Type exit to close the session or explore some more.


 This lab is completed. Proceed to the next lab.

Module /1
Oracle Database Cloud Service Workshop

You might also like