Professional Documents
Culture Documents
Contents
Contents .................................................................................................................................................................. 2
Disclaimer................................................................................................................................................................ 3
About This Hands-On Lab and Workbook .............................................................................................................. 4
Prepare for Workshop Exercises ............................................................................................................................ 5
Review Prerequisites .......................................................................................................................................... 5
Sign Up for a Trial Account ................................................................................................................................. 5
Set Up Lab Workstation ...................................................................................................................................... 6
Set Up Workstation – Windows .................................................................................................................. 6
Set Up Workstation – Mac .......................................................................................................................... 7
Review and Open Hands-On Lab Files .............................................................................................................. 7
Terminology............................................................................................................................................................. 8
Workshop Overview ................................................................................................................................................ 9
Accounts for Hands-On Lab Exercises ............................................................................................................ 10
Exercise 1: Log in to Your Trial Tenancy .............................................................................................................. 11
Exercise 2: Create Oracle Cloud Infrastructure Resources.................................................................................. 12
Exercise 3: Create Oracle E-Business Suite Cloud Manager Compute Instance ................................................ 18
3.1 Sign into the Oracle Cloud Infrastructure Console ..................................................................................... 18
3.2 Create a Compute Instance Using a Marketplace Image .......................................................................... 19
Exercise 4: Configure and Log in to Oracle E-Business Suite Cloud Manager ................................................... 22
4.1 Copy the OCI API Key and Connect to Your Cloud Manager Compute Instance ..................................... 22
4.1.1 For Windows Users ......................................................................................................................... 22
4.1.2 For Mac Users ................................................................................................................................. 28
4.2 Run the Configuration Script ...................................................................................................................... 29
4.3 Create Groups and Users in IDCS ............................................................................................................. 31
4.4 Register Oracle E-Business Suite Cloud Manager as a Confidential Application ..................................... 34
4.5 Finalize the Configuration ........................................................................................................................... 37
Exercise 5: Create the Network for the Oracle E-Business Suite Environments ................................................. 40
5.1 Create Default Network and Network Profiles Using ProvisionOCINetwork.pl ......................................... 40
5.2 Upload Network Profile Definitions Using UploadOCINetworkProfile.pl .................................................... 41
5.3 Subscribe to Marketplace Listing for Vision Demo Image.......................................................................... 42
Exercise 6: Provision Your Oracle E-Business Suite Environment ...................................................................... 43
6.1 Log in to Oracle E-Business Suite Cloud Manager .................................................................................... 43
6.2 Provision an Environment Using One-Click Provisioning........................................................................... 43
Demo 1: Lift and Shift Part 1 ............................................................................................................................ 44
6.3 Configure Local Hosts File and Log in to Oracle E-Business Suite ........................................................... 44
Exercise 7: Clone Your Oracle E-Business Suite Environment............................................................................ 47
7.1 Access the Clone Environment Page ......................................................................................................... 47
7.2 Enter Details on the Clone Environment Page ........................................................................................... 47
7.3 Configure Local Hosts File for the Cloned Environment and Log in to Oracle E-Business Suite .............. 48
Demo 2: Lift and Shift Part 2 ............................................................................................................................ 49
Disclaimer
This 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.
This workshop showcases the use of the Oracle E-Business Suite Cloud Manager graphical user interface to
provision and clone environments on Oracle Cloud Infrastructure. In addition, a demonstration of the lift and shift
of an on-premises Oracle E-Business Suite environment to Oracle Cloud Infrastructure will be conducted.
Notes:
• The workshop is quite detailed and technical. PLEASE take your time and DO NOT skip any steps.
• IP addresses and URLs in the screenshots in this workbook may differ from what you use in the labs as
these are dynamically generated.
• For security purposes, some sensitive text (such as IP addresses) may be redacted in the screenshots in
this workbook.
Text in a blue box such as this includes additional information explaining the exercise or tasks.
UNIX commands (usually executed in an SSH session using PuTTY or Terminal) are displayed in a monospace
font within a gray box, as follows:
2. On the Oracle Cloud Sign Up page, enter your email address and click Next.
3. On the Enter Account Details page, enter your user details and then click Next.
Note: Ensure that you use the same email address used when you registered.
Once you have signed up, you will receive an email which will be used in Exercise 1.
3. Open Windows Explorer and navigate to the mounted USB flash drive or unzipped HOL files.
4. Copy the directory HOL-EBS and all files from the USB flash drive or temporary unzipped file location and
paste to the Desktop\HOL-EBS folder on your workstation.
3. Open Finder and navigate to the mounted USB flash drive or unzipped HOL files.
4. Copy the directory HOL-EBS and all files from the USB flash drive of temporary unzipped file location and
paste to the Desktop/HOL-EBS folder on your workstation.
Terminology
The following terms are commonly employed in Oracle E-Business Suite cloud operations and used throughout
our documentation:
Bucket – A logical container used by Object Storage for storing your data and files. A bucket can contain an
unlimited number of objects.
Compartments – Allows you to organize and control access to your cloud resources. A compartment is a
collection of related resources (such as instances, virtual cloud networks, block volumes) that can be
accessed only by certain groups.
Oracle E-Business Suite Cloud Backup Module – The Oracle E-Business Suite Cloud Backup Module is a
stand-alone tool that interviews the user to establish settings, and then uses those settings to back up an
Oracle E-Business Suite environment to Oracle Cloud Infrastructure Object Storage.
Oracle E-Business Suite Cloud Manager - Oracle E-Business Suite Cloud Manager is a graphical user
interface used for creating, managing, and configuring Oracle E-Business Suite environments on Oracle
Cloud Infrastructure. Oracle E-Business Suite Cloud Manager can be used with the Oracle E-Business Suite
Cloud Backup Module to lift and shift or clone environments from on-premises to Oracle Cloud Infrastructure.
EBS Cloud Manager infrastructure – Virtual network resources, compute resources, and policies required
to run EBS Cloud Manager on Oracle Cloud Infrastructure.
EBS Sandbox Virtual Cloud Network (VCN) – Networking and compute resources required to run EBS on
Oracle Cloud Infrastructure. The EBS Sandbox VCN includes the recommended networking resources (VCN,
subnets routing tables, internet gateway, security lists, and security rules) to run Oracle E-Business Suite on
OCI.
Oracle Cloud Infrastructure Load Balancing Service - The Oracle Cloud Infrastructure Load Balancing
service provides automated traffic distribution from one entry point to multiple servers reachable from your
virtual cloud network (VCN). The service offers a load balancer with your choice of a public or private IP
address, and provisioned bandwidth.
Oracle Cloud Infrastructure (OCI) – Combines the elasticity and utility of public cloud with the granular
control, security, and predictability of on-premises infrastructure to deliver high-performance, high availability,
and cost-effective infrastructure services.
Region – Oracle Cloud Infrastructure are hosted in regions, which are located in different metropolitan areas.
Regions are completely independent of other regions and can be separated by vast distances – across
countries or even continents. Generally, you would deploy an application in the region where it is most heavily
used, since using nearby resources is faster than using distant resources.
Tenancy – When you sign up for Oracle Cloud Infrastructure, Oracle creates a tenancy for your company,
which is a secure and isolated partition within Oracle Cloud Infrastructure where you can create, organize,
and administer your cloud resources.
Virtual Cloud Network (VCN) – A virtual version of a traditional network – including subnets, route tables,
and gateways – on which your instances run. A cloud network resides within a single region, but can cross
multiple availability domains.
Workshop Overview
The Workshop Architecture is shown in Figure W-1.
Figure W-1: Workshop Architecture
The following figure (W-2) describes the exercises that you will perform in this workshop.
Figure W-2: Storyboard
1. In your email, open the message with the subject line: “Get Started Now with Oracle Cloud”. Then, click
the blue button Get Started with Oracle Cloud.
You have now finished Exercise 1. Please wait for the instructor before proceeding with the next exercise.
b. Under Tenancy Information, click the Copy link to copy the OCID to your clipboard. Save this
value in your Key-Data.txt.
2. In the Console navigation menu, select Resource Manager and then click Stacks.
3. In the COMPARTMENT drop-down list on the left side of your screen, select your root compartment.
7. Add the keys and associated values for the Terraform variables referenced in the uploaded bundle, as
follows:
a. region
b. tenancy_ocid
c. Click Create.
8. From the Resource Manager Stacks page, click on the link for your newly created stack.
9. On the Stack details page, click the Terraform Actions drop-down list and select Apply.
10. In the Apply dialog window, leave the default settings as-is and click Apply.
11. On the Stack Details page under Jobs, you will see the job status which will cycle through Accepted, In
Progress, and Succeeded.
After the job succeeds, you will have all the network resources (VCN, load balancer, subnets, and so on)
required to deploy the Oracle E-Business Suite Cloud Manager Compute instance.
12. Now, click on the name of the job to open the Job Details page.
13. On the Job Details page under Logs, scroll through towards the end of the log to “Outputs.”
14. Select the lines below “Output:” and copy the key and paste into your Key-Data.txt. These variables
are needed for the remainder of the procedures in this lab.
You have now finished Exercise 2. Please wait for the instructor before proceeding with the next exercise.
1. If you were logged into the OCI console, logout by clicking on the icon at the top right of your screen and
click Sign Out.
2. Reference your Key-Data.txt file and locate the new Oracle E-Business Suite admin user credentials
created by the Terraform script.
4. Change your password and record your new Cloud_Manager_Admin_Password in the Key-
Data.txt file.
1. In the Console navigation menu, Under Solutions, Platform and Edge, select Marketplace.
c) Under Choose an operating system or image source, you will see the name of the OCI
Console Marketplace image: Oracle E-Business Suite Cloud Manager.
f) Under Configure boot volume, accept the default volume size (46.6 GB).
5. After the instance has been created (provisioned), it will appear in the instance list. To view the full details
of the instance, click the instance name in the list.
6. Copy the public IP address of the newly created instance (as seen in the previous image) and paste it in
your Key-Data.txt file.
You have now finished Exercise 3. Please wait for the instructor before proceeding with the next exercise.
4.1 Copy the OCI API Key and Connect to Your Cloud Manager Compute Instance
4.1.1 For Windows Users
1. Launch WinSCP.
5. Under Authentication parameters, click the ellipses (…) to browse for the private key file (Desktop\HOL-
EBS\artifacts\ssh-keys\ebs_hol_key.ppk).
7. Click Login.
10. Drag and drop the oci_api_key.pem file from the left pane to the right (in the white space underneath
the .. directory). Confirm the location in the pop-up window.
12. In the Category pane and click Session to view “Basic options for your PuTTY session.”
a. Under “Specify the destination you want to connect to,” enter the following:
i. In the Host Name (or IP address) field, enter IP address of the Oracle E-Business Suite
Cloud Manager Compute instance captured in the previous exercise (found in your Key-
Data.txt file).
ii. In the Port field, enter 22.
iii. Ensure under Connection type, the SSH radio button is selected.
13. In the Category pane, click Connection > SSH > Auth to view “Options controlling SSH authentication.”
b. Under “Authentication parameters” click Browse.
c. Navigate to the key files found under Desktop\HOL-EBS\artifacts\ssh-
keys\ebs_hol_key.ppk.
15. Under “Load, save or delete a stored session” in the Saved Sessions field, enter ebscm-instance.
16. Click Save to save the session details for future use.
19. From the PuTTY session window, execute the following commands:
$ sudo mkdir /u01/install/APPS/.oci
$ sudo cp oci_api_key.pem /u01/install/APPS/.oci
$ sudo chown -R oracle:oinstall /u01/install/APPS/.oci
2. Using your Terminal session, go to the directory where the artifact files were extracted.
$ cd ~/Desktop/HOL-EBS/artifacts/ssh-keys
4. Enter the following command to copy the oci-api-key, which will produce the following output.
$ scp -i ebs_hol_key ../oci-api-keys/oci_api_key.pem
opc@<public_ip_EBS_CM>:~/.
oci_api_key.pem 100% 1679 24.2KB/s 00:00
2. Note the creation of the session-specific log file and enter the Cloud_Manager_Admin_Password from
your Key-Data.txt file:
====================================================
Configuring Oracle E-Business Suite Cloud Manager VM
====================================================
This is a fresh install.
3. Enter account and user details required for authentication, substituting values from your Key-Data.txt
file:
Enter OCI User Name : ebscm.admin
Enter Fingerprint of API Public Key : <OCI_API_Fingerprint>
Enter CIDR range to access Load Balancer Port from Internet : 0.0.0.0/0
5. You will now be asked if you wish to use an existing load balancer. Select option 2: No.
Do you wish to use an existing Load Balancer?
1: Yes
2: No
Enter your choice: 2
8. As the Terraform script only created one security list, it is automatically selected. You will then see a
screen containing a success message and the load balancer URL. You will need the load balancer URL
later in this lab, so record this in the Key-Data.txt file under Cloud_Manager_URL.
Checking Security Lists of LBaaS Subnet, EBS Cloud Manager LB Subnet 1
(Public Primary)
Checking Security Lists of Prov VM Subnet, EBS Cloud Manager Subnet with
source CIDR 10.0.2.0/24
Checking Security Lists of Prov VM Subnet, EBS Cloud Manager Subnet with
source CIDR 10.0.3.0/24
========================================================================
Load Balancer ebscm-hol-instance-prov-vm-lbaas configuration completed.
========================================================================
=============================================================================
Register application in IDCS with the URL: https://129.213.14.2:443 and then
re-run this script to update your IDCS configuration.
=============================================================================
Create a new group and user for use with the Oracle E-Business Suite Cloud Manager.
3. On the My Services Dashboard, click on the Users link or icon near the top right corner.
4. Click Identity Console in the top right. This takes you to the IDCS Admin console.
5. From the IDCS Admin console, create your Oracle E-Business Suite Cloud Manager group:
a. Click the navigation menu and select Groups.
b. Click the Add button.
c. In the Add Group dialog box (Step 1: Group Details), supply the following information:
i. Name: Enter the name idcs-ebscm-grp
ii. Description: Enter a description of your choice.
d. Click Finish.
6. While still in the IDCS Admin console, create your Oracle E-Business Suite Cloud Manager Administrator
user:
a. Click the navigation menu and select Users.
b. Click Add.
c. In the Add User dialog box (Step 1: Add User Details), supply the following information:
i. First Name: Enter EBS Cloud Manager
ii. Last Name: Enter Administrator
iii. User Name: Enter ebscm.admin
iv. Email: Use the same email addressed you used when registering.
v. Deselect the check box Use email address as the user name.
d. Click Next.
e. On the Step 2: Assign User to Groups dialog window, select the check box for the group you just
created (idcs-ebscm-grp).
f. Click Finish.
7. From the Console navigation menu, click Security to expand the menu. Then click Administrators.
9. In the Add Users to the Administrator Role dialog box, select the check box for the EBS Cloud Manager
Administrator (ebscm.admin).
Note: The Cloud Manager administrator will register the app as a confidential application in the next
section.
11. Log out of the IDCS console by clicking on your user avatar icon at the top right of your screen. Then,
click Sign Out.
In this section, you will register the Oracle E-Business Suite Cloud Manager as a Confidential Application.
1. Open the Welcome email that was received in the previous section.
3. Enter a new password, confirm, and click Submit. We suggest you reuse the password from Key-
Data.txt, field Cloud_Manager_Admin_Password.
4. Click OK to continue, which will take you to the IDCS Login screen.
5. Enter the EBS Cloud Manager user name (ebscm.admin) and password you just entered in the previous
screen to log in.
6. Click on your user avatar menu in the top right corner. This will display a drop-down menu.
7. Select Admin Console. This will display the IDCS Administration Console.
8. In the top right of the Applications tile, click the icon to Add an Application.
9. Select Confidential Application. This takes you to the Add Confidential Application page.
i. Client Credentials
ii. Refresh Token
iii. Authorization Code
i. Click Add.
ii. Select Identity Domain Administrator and Me in the pop-up window.
iii. Click Add again.
h. Click Next.
15. Make a note of the following values in your Key-Data.txt file (under Client_ID and
Client_Secret, respectively) when they are displayed in a pop-up window:
o Client ID
o Client Secret
18. Identify your IDCS Client Tenant by selecting the first element of the URL in your browser. Record this
URL as Client_Tenant in the Key-Data.txt.
Your IDCS Client Tenant begins with the characters idcs- and then is followed by a string of numbers
and letters, for example, idcs-6572bfeb183b4becad9e649bfa14a488.
3. Enter the details of your application in IDCS. The values you will need to enter for Client ID and Client
Secret were established when you registered the Oracle E-Business Suite Cloud Manager as a
confidential application in the previous exercise (refer to your Key-Data.txt file).
Enter IDCS Client ID : <Client_ID>
Enter IDCS Client Secret : <Client_Secret>
Enter IDCS Client Tenant : <Client_Tenant>
4. A Login URL is then displayed on the screen. This is the URL by which users will access the Oracle E-
Business Suite Cloud Manager UI. Save this Login URL in your Key-Data.txt file.
MySQL Schema is already configured. No action needed.
5. Using the Login URL, log into the Oracle E-Business Suite Cloud Manager using your IDCS credentials
as found in your Key-Data.txt file.
You have now finished Exercise 4. Please wait for the instructor before proceeding with the next exercise.
ebsenvnet_db_routetable
ebsenvnet_dbbackup_subnet_ad1
ebsenvnet_apps_subnet_ad1
ebsenvnet_apps_seclist
ebsenvnet_apps_routetable
1. While still connected as the oracle user, run the UploadOCINetworkProfile.pl script:
$ perl UploadOCINetworkProfile.pl
2. You will now enter your details, substituting your own values for the example values shown:
Enter Network Profile JSON File Absolute Path : <Copy from
OneClick Network Profile JSON Path output by the previous command>
Enter OCI User Name : ebscm.admin
Enter User ocid :
<Cloud_Manager_Admin_User_OCID>
Enter Tenancy OCID : <Tenancy_OCID>
Enter Region : us-ashburn-1
Enter Absolute path of private key of API signing key :
<OCI_API_Key_Path>
Enter Fingerprint of the public key :
<OCI_API_Fingerprint>
Enter Oracle E-Business Suite Cloud Manager Admin Password : <
Cloud_Manager_Admin_Password>
3. When a profile has been updated, you will see a success message.
Executing: ebscm_add_default_network_profile API for DEFAULT_PROFILE_ONECLICK
Executing Stored Procedure: ebscm_add_default_network_profile
RetCode: 0
Row count: 0
3. When prompted for the Compartment OCID, enter the Compartment_OCID value found in your Key-
Data.txt file.
You have now finished Exercise 5. Please wait for the instructor before proceeding with the next exercise.
1. On the Oracle E-Business Suite Cloud Manager Environments page, click Provision Environment and
select One-Click.
3. Click Submit.
You can check the status of the activity to provision the environment in the Activities page. The provisioning
process will take approximately 20-25 minutes.
After the demonstration and provisioning on your machine is successful, you will proceed to section 6.3.
6.3 Configure Local Hosts File and Log in to Oracle E-Business Suite
1. In the Oracle Cloud Infrastructure Console, find the IP address for the Oracle E-Business Suite web entry
point by navigating to Networking > Load Balancers.
2. On the Load Balancers page, you will find a load balancer named ebsholenv1-lbaas. Obtain the public
IP address of this load balancer and record this in your Key-Data.txt file.
3. Edit the local hosts file on your laptop and add an entry.
a. For Windows users:
i. Navigate to Notepad in your start menu.
ii. Hover over Notepad, right-click, and select the option “Run as Administrator.”
iii. In Notepad, navigate to File > Open.
iv. Browse to C:\\Windows\System32\drivers\etc
vi. In the hosts file, scroll down to the end of the content.
vii. Add the following entry to the very end of the file:
<ip_address> <fully_qualified_domain_name>
$ sudo vi /etc/hosts
<ip_address> <fully_qualified_domain_name>
b. When prompted, accept the warning concerning the certificate coming from an unauthorized
certificate authority as we are using a self-signed certificate. (You will change the certificate with
your own when executing this procedure outside of this hands-on lab.)
You have now finished Exercise 6. Please wait for the instructor before proceeding with the next exercise.
2. Select Load Balancer as a Service (LBaaS) by checking the Deploy New Load Balancer check box.
3. Then, you must also select a shape in the Load Balancer Shape field.
4. Select 100Mbps.
6. Click Submit.
7. You can check the status of the activity to clone the environment in the Activities page. The new
environment is listed on the Environments page.
7.3 Configure Local Hosts File for the Cloned Environment and Log in to Oracle E-
Business Suite
1. In the Oracle Cloud Infrastructure Console, find the IP address for the Oracle E-Business Suite web entry
point by navigating to Networking > Load Balancers.
2. On the Load Balancers page, you will find a load balancer named ebsholenv2-lbaas. Obtain the public
IP address of this load balancer and record in your Key-Data.txt file.
3. Edit the local hosts file on your laptop and add an entry.
a. For Windows users:
i. Navigate to Notepad in your start menu.
ii. Hover over Notepad, right-click, and select the option “Run as Administrator.”
iii. In Notepad, navigate to File > Open.
iv. And browse to C:\\Windows\System32\drivers\etc.
v. Find the file hosts.
vi. In the hosts file, scroll down to the end of the content.
vii. Add the following entry to the very end of the file:
<ip_address> <fully_qualified_domain_name>
$ sudo vi /etc/hosts
<ip_address> <fully_qualified_domain_name>
b. When prompted, accept the warning concerning the certificate coming from an unauthorized
certificate authority as we are using a self-signed certificate. (You will change the certificate with
your own when executing this procedure outside of this hands-on lab.)
CONNEC T WITH US
blogs.oracle.com/oracle Copyright © 2019, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the
contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other
facebook.com/oracle warranties or conditions, whether expressed orally or implied in law, did including imply warranties and conditions of merchantability or
fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are
formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means,
twitter.com/oracle electronic or mechanical, for any purpose, without our prior written permission.
oracle.com Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and
are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are
trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0116
Authors:
EBS Development – Santiago Bastidas, Tiffany Morales, Terri Noyes