2 Deploy Oracle Analytics Server on Oracle Cloud

Let's explore how to deploy Oracle Analytics Server on Oracle Cloud Infrastructure.

Before You Begin

Before you deploy Oracle Analytics Server on Oracle Cloud, you must complete various prerequisite tasks and Oracle recommends that you gather a list of the metadata that you'll need for the quick-deployment process. Oracle provides a checklist to help you plan your deployment.

Subscribe to Oracle Analytics Server on Oracle Cloud

You must have an active Oracle Cloud account (Pay As You Go or Annual Universal Credits) to deploy Oracle Analytics Server - UCM (Universal Credits) on Oracle Cloud Infrastructure and you're charged the UCM (Universal Credits) rate.

If you have an Oracle Middleware on-premises license for Oracle Analytics Server, you can use this license to deploy Oracle Analytics Server - BYOL (Bring Your Own License). You must also have an active Oracle Cloud account.

Set Up Policies in Oracle Cloud Infrastructure

In Oracle Cloud Infrastructure, you use policies to control access to resources in your tenancy.

Before deploying Oracle Analytics Server on a compartment in Oracle Cloud Infrastructure, your tenant administrator must set up policies that enable you (and other users) to access or create the following resources in specific compartments.

  • Marketplace applications
  • Compute instances
  • Network VPNs and subnets
  • Database for storing Oracle Analytics Server schemas
  • Resource manager stacks and jobs
  1. In Oracle Cloud Infrastructure Console, click Navigation menu icon in the top left corner.
  2. Click Identity & Security. Under Identity, select Policies
  3. Select the root compartment, and then click Create Policy.

Set up policies that are appropriate for your organization. Here is a sample policy template, with each row being a policy statement.

allow group mygroup_name to read compartments in tenancy
allow group mygroup_name to manage instance-family in compartment mycompartment_name
allow group mygroup_name to use virtual-network-family in compartment mycompartment_name
allow group mygroup_name to manage orm-family in compartment mycompartment_name

Set Up Users to Deploy Oracle Analytics Server on Oracle Cloud

When you activate your order for Oracle Cloud services, you get the Cloud Account Administrator role. This role gives you full administration privileges in Oracle Cloud Infrastructure so you can complete all aspects of Oracle Analytics Server setup and much more. There’s no need to delegate this responsibility but, if you want to, you can give someone else privileges to deploy or manage Oracle Analytics Server compute instances.

In Oracle Cloud Infrastructure you use IAM security policies to grant permissions. First, you must add the user to a group, and then you create a security policy that grants the group permissions to deploy or manage Oracle Analytics Server on a specific compartment or the tenancy (any compartment in the tenancy). For example, you might create a policy statement that looks like one of these:

allow group MyOASAdminGroup to manage all-resources in tenancy

allow group MyOASAdminGroup to manage all-resources in compartment MyOracleAnalyticsServer

To find out how to create security policy statements, see Set Up Policies in Oracle Cloud Infrastructure.

Create Compartments

When you sign up for Oracle Cloud Infrastructure, Oracle creates your tenancy with a root compartment that holds all your cloud resources. You then create additional compartments within the tenancy (under the root compartment) and corresponding policies to control access to the resources in each compartment.

Before you deploy Oracle Analytics Server on Oracle Cloud, Oracle recommends that you set up the compartment where you want all the resources associated with Oracle Analytics Server to belong.

For example, you might want to set up separate compartments for your stacks, network, database, and Oracle Analytics Server resources. The choice is yours.

Compartment Oracle Cloud Infrastructure Resources
root -
  • MyStacks

Marketplace stacks

Terraform stacks

  • MyNetwork

VCN, subnet, and other network resources

  • MyOracle_Analytics_Server

Compute instance hosting Oracle Analytics Server

  • MyOracle_Database

Oracle Database used by Oracle Analytics Server to host its product schemas

You create compartments in Oracle Cloud Infrastructure Identity and Access Management (IAM). See Setting Up Your Tenancy and Managing Compartments.

Set Up Network Resources

You or your network administrator must set up a virtual cloud network (VCN) and a subnet for your Oracle Analytics Server compute instance before you start.

The subnet can be public or private. If you want to deploy Oracle Analytics Server on a private subnet you must set up a separate public subnet, with a bastion compute instance or load balancer to provide administrative access. See Overview of Networking in Oracle Cloud Infrastructure documentation.

Ensure that you (or whoever plans to deploy Oracle Analytics Server) has the required policies to access the VCN and subnet you plan to use.

See Overview of VCNs and Subnets.

Set Up an Oracle Cloud Database

Oracle Analytics Server needs access to a database deployed on Oracle Cloud in which it can install various required database schemas. The database must be deployed in the same region as Oracle Analytics Server and accessible from the VCN where you plan to deploy Oracle Analytics Server. The database edition must be Oracle Database Enterprise Edition (EE) version 12.1, 12.2, 18+, or 19+.

When you deploy Oracle Analytics Server on Oracle Cloud using Oracle Cloud Marketplace, you're asked to provide the database connection string and database administrator credentials for the database you want to use. The database must be a pluggable database (PDB) on an Oracle Cloud virtual machine DB system. See Overview for Bare Metal and Virtual Machine DB Systems.

You must use the database connection string format:<hostname or IP address>:<port>:<PDB_name>.<DB_domain>

For example: oasdb.sub12345678901.oasvcn.oraclevcn.com:1512:OASDB1213_pdb1.sub12345678901.oasvcn.oraclevcn.com

Tip:

To ensure Oracle Analytics Server deployment goes smoothly, test the database connection and database administrator credentials before you start.

Product Schemas

Oracle Analytics Server installs several schemas on the Oracle Cloud Database and uses them to store various product metadata.

  • <YourSchemaPrefix>_BIPLATFORM - Oracle Analytics
  • <YourSchemaPrefix>_IAU - Audit Service
  • <YourSchemaPrefix>_IAU_APPEND- Audit Service Append
  • <YourSchemaPrefix>_IAU_VIEWER- Audit Service Viewer
  • <YourSchemaPrefix>_MDS - Metadata Services
  • <YourSchemaPrefix>_OPSS - Oracle Platform Security Services
  • <YourSchemaPrefix>_STB - Service Table
  • <YourSchemaPrefix>_WLS - WebLogic services

When you deploy Oracle Analytics Server on Oracle Cloud using Oracle Cloud Marketplace, you're asked to provide a prefix for these database schemas and a suitable password to access them.

  • Database Schema Prefix - Prefix added to the name of each database schema created for Oracle Analytics Server. For example, MyOAS.
  • Database Schema Password - Password to access the database schemas used by Oracle Analytics Server. This is a new password so you can enter any suitable value that satisfies the password policy of database you want to use.

    For example, a pluggable database (PDB) on an Oracle Cloud virtual machine DB system has the following password policy:

    • A minimum of 9 and a maximum of 30 characters.
    • At least two uppercase characters.
    • At least two lowercase characters.
    • At least two special characters. The valid special characters are: underscore ( _ ), a pound or hash sign (#) and dash (-). You can use two of the same characters or any combination of two of the same characters.
    • At least two numeric characters (0 - 9).

Plan Compute Shape and Boot Volume Size

When you deploy Oracle Analytics Server on Oracle Cloud, you're offered a range of compute shapes to suit different scenarios. The larger the compute size (OCPUs and memory), the greater the processing power. You can also select the boot volume size. If you're not sure which sizes to use, contact your sales team to discuss sizing guidelines.

Compute Shape

Oracle Analytics Server can be Oracle Compute Unit (OCPU)-intensive depending on your application. To help you decide which compute size best suits your deployment, consider how many active users you expect to perform concurrent activities.

Oracle Analytics Server supports a range of compute shapes, including:

  • VM.Standard.2.*: The default shape is VM.Standard.2.1.
  • VM.Standard.E4.Flex and VM.Standard.E3.Flex: With these flexible shapes, you can customize the number of OCPUs and the amount of memory.

The exact list of shapes available to you depends on your region. For a description of the difference between VM Standard shapes and a discussion on how to decide which to use, see Standard Shapes.

Boot Volume Size

A boot volume contains the image used to boot the compute instance. Volume performance varies with volume size. The default boot volume for an Oracle Analytics Server compute instance is 400 GB, and this is the minimum size available. You can increase this value up to 32768 GB.

See Overview of Boot Volume.

All the requested boot volume space, beyond what is needed for the core Oracle Analytics Server binaries, is available under the Oracle Analytics Server folder /u01/data.

Generate SSH Keys

You must generate a SSH public key and corresponding private key to access the Oracle Analytics Server compute instance on Oracle Cloud using a Secure Shell (SSH) connection.

When you deploy Oracle Analytics Server using Oracle Cloud Marketplace, you're asked to provide the public key you plan to use. See Creating a Key Pair on the Command Line.

Complete Predeployment Checklist

Use a checklist similar to this one to help plan your deployment and make sure you've completed all the prerequisite tasks. The checklist contains all the information you'll need for the quick-deployment process.

My Deployment Checklist

Information Required Value
Oracle Cloud Infrastructure
License Type (UCM or BYOL) ….….….….….….….….….….….….….….
Tenancy ….….….….….….….….….….….….….….
Region ….….….….….….….….….….….….….….
Availability Domain ….….….….….….….….….….….….….….

Network

Virtual Cloud Network (VCN) and subnet where the compute instance for Oracle Analytics Server is deployed

Compartment for VCN ….….….….….….….….….….….….….….
VCN ….….….….….….….….….….….….….….
Compartment for Subnet ….….….….….….….….….….….….….….
Subnet ….….….….….….….….….….….….….….

Database

Oracle Cloud database where schemas for Oracle Analytics Server are installed

Connect String ….….….….….….….….….….….….….….
Database Administrator Username ….….….….….….….….….….….….….….
Database Administrator Password ….….….….….….….….….….….….….….
Prefix for Oracle Analytics Server database schemas ….….….….….….….….….….….….….….
Password to access Oracle Analytics Server database schemas ….….….….….….….….….….….….….….

Compute Instance

Details about the compute instance on which Oracle Analytics Server is deployed

Compartment ….….….….….….….….….….….….….….
Shape

Shape: ….….….….….….….….….….….

OCPU: ….….….….….….….….….….….

Memory: ….….….….….….….….….….

Boot Volume ….….….….….….….….….….….….….….
SSH Key Pair

Public Key: ….….….….….….….….……

Path to Private Key: ….….….….….…

Oracle Analytics Server Domain

Administrator access details for the Oracle Analytics Server deployment

Analytics Administrator Username ….….….….….….….….….….….….….….
Analytics Administrator Password ….….….….….….….….….….….….….….

Deploy Oracle Analytics Server Using Oracle Cloud Marketplace

If you subscribe to Oracle Cloud with Universal Credits or have an Oracle Fusion Middleware on-premises license for Oracle Analytics Server, you can deploy Oracle Analytics Server on Oracle Cloud using Oracle Cloud Marketplace. Two quick-deploy templates are available. Select the one that matches your subscription with Oracle: Universal Credits (UCM) or Bring Your Own License (BYOL).

  1. Complete the prerequisites tasks and record all the information you need in the checklist provided. See Before You Begin.
  2. Sign into Oracle Cloud Infrastructure Console.
    Ensure that you have all the required security policies to deploy Oracle Analytics Server, and access to the compartments containing the prerequisite network and database infrastructure.
  3. In Oracle Cloud Infrastructure Console, click Navigation menu icon in the top left corner.
  4. Click Marketplace. Under Marketplace, click All Applications.
  5. Search for Oracle Analytics Server.
  6. Click Oracle Analytics Server - UCM or Oracle Analytics Server - BYOL.
  7. On Oracle Analytics Server's Marketplace page, select the version of Oracle Analytics Server you want to deploy.
  8. Select the compartment in which to deploy and run the stack. For example, MyStacks.
    This is where you want to store Oracle Resource Manager (ORM) stack and jobs.
  9. Review the Oracle standard terms and restrictions, and then select I have reviewed and accept the Oracle Standard Terms and Restrictions.
  10. Click Launch Stack.
  11. On the Create Stack page, enter details for your stack.
    1. Enter a name for your Oracle Analytics Server stack. For example, My-OAS-Marketplace-Stack.
    2. Add your own description or leave the default. For example, Stack to install Oracle Analytics Server on my TEST compute instance.
    3. Add tags to organize and track resources within your tenancy.
    4. Click Next.
  12. In Oracle Analytics Server Compute Instance, set values for the compute instance on which Oracle Analytics Server will be deployed.
    • Display Name - Enter a name for the compute instance. For example, MyTestOAS.
    • Target Compartment - Select the compartment in which to deploy the Oracle Analytics Server compute instance that this stack generates. For example, MyOracle_Analytics_Server.

      If you want Oracle Analytics Server to use resources located in a different compartment, ensure that you have the required policies to access them. For example, the VCN, subnet, and database you plan to use.

    • Availability Domain - Select the domain in which to create the compute instance. Required only if your tenancy has more than one availability domain.
    • Shape - Select a shape for the compute instance.

      If you select a flexible shape, you can specify the number of OCPUs and the amount of Memory (GB) that you want for the compute instance.

      OCPUs - Enter a value between 1 and 64. The default is 1 OCPU.

      Memory - Enter a value between 1 and 1024 GB. The default is 15 GB.

    • Boot Volume Size - Select the size of the boot volume in GB. The minimum volume is 400 GB.
    • SSH Public Key - Browse and select the public SSH key file or paste the value of the SSH key that you created to access the compute instance.
  13. In Network Configuration, select the network on which you want to deploy the compute instance for Oracle Analytics Server.
    • VCN Compartment - Select the compartment containing the Virtual Cloud Network (VCN) you want to use. For example, MyNetwork.
    • Virtual Cloud Network - Select the Virtual Cloud Network (VCN) where you want to create the compute instance.- Select the compartment containing the Virtual Cloud Network (VCN) you want to use. For example, MyNetwork.
    • Subnet Compartment - Select the compartment containing the subnet you want to use. For example, MySubnet.
    • Subnet - Select a subnet for the compute instance.

      Note:

      If you select a private subnet, you must set up a separate public subnet and a bastion compute instance (or load balancer) to provide administrative access to the compute instance. See Set Up Network Resources.
    • Assign a Public IP Address - Generates a public IP address for the compute instance. Only applicable if you select a public subnet. Don’t select this option if the subnet is private.

    If you can't see the compartment, VCN, or subnet you want, check you have the required permissions.

  14. In Oracle Analytics Server Domain Configuration, select Create Oracle Analytics Server Domain and provide the details for Oracle Analytics Server domain configuration.

    Note:

    Don't select Create Oracle Analytics Server Domain, if you're creating an additional Oracle Analytics Server compute instance to scale out an existing Oracle Analytics Server deployment.
    • Analytics Administrator Username - Name of the user who will administer Oracle Analytics Server. Because this is a new user, you can enter any suitable username. For example, myoasadmin.
    • Analytics Administrator Password - Password for the Oracle Analytics Server administrator. Because this is a new password, enter any suitable password. The password must be at least 8 characters long and contain only alphanumeric, underscore (_), dollar ($) or pound (#) characters.
    • Database Connection String - Connect string for the database you want to use to store Oracle Analytics Server product schemas. The database must be a pluggable database (PDB) on an Oracle Cloud virtual machine DB system. Use the format: <hostname or IP address>:<port>:<PDB_name>.<DB_domain>

      For example: oasdb.sub12345678901.oasvcn.oraclevcn.com:1512:OASDB1213_pdb1.sub12345678901.oasvcn.oraclevcn.com

    • Database Administrator Username - Name of an existing user with database administration privileges. For example, myoasdba.
    • Database Administrator Password - Password of the user with database administration privileges.
    • Database Schema Prefix - Prefix added to the name of each database schema created for Oracle Analytics Server. For example, MyOAS.
    • Database Schema Password - Password to access the database schemas used by Oracle Analytics Server. This is a new password so you can enter any suitable value that satisfies the password policy of database you want to use.

      Note:

      For example, a pluggable database (PDB) on an Oracle Cloud virtual machine DB system, has the following password policy:

      • A minimum of 9 and a maximum of 30 characters.
      • At least two uppercase characters.
      • At least two lowercase characters.
      • At least two special characters. The valid special characters are: underscore ( _ ), a pound or hash sign (#) and dash (-). You can use two of the same characters or any combination of two of the same characters.
      • At least two numeric characters (0 - 9).

    Tip:

    To ensure Oracle Analytics Server deployment goes smoothly, test the database connection and database administrator credentials before you create the stack.
  15. Click Next.
  16. Review the information you provided for the compute instance.
  17. Make sure that Run Apply is selected, and then click Create.

    Monitor progress on the Job Details page. When the stack job finishes, the state changes from In Progress to Succeeded.

    If you opted to create and configure a domain, the process takes about 30 - 40 minutes to complete and starts in the background immediately after the stack job finishes. The exact time depends on multiple factors, including the current load on your network and database.

  18. To track the deployment process, use SSH to connect to the compute instance and monitor the deployment logs in the /var/log directory (oas_cloudinit.log and oas_create_domain.log). When Oracle Analytics Server is ready to use, you see the file /u01/app/oas-scripts/oas_install.finish.
  19. In the Job Details page, click Job Resources to access the compute instance (oci_core_instance) generated by the stack.

    Click the name of the compute instance to navigate to more detail and bookmark this page because you might need this page later.

    Description of oas_oc_stack_resources.jpg follows
    Description of the illustration oas_oc_stack_resources.jpg

  20. In the Job Details page, click Outputs to see the public IP address assigned to the compute instance (if any).

    If available, copy the public IP address. You can use the public IP to sign-in and verify your Oracle Analytics Server deployment. See Sign-in and Verify Oracle Analytics Server.

    Description of oas_oc_ip_sj_output.jpg follows
    Description of the illustration oas_oc_ip_sj_output.jpg

  21. In the Job Details page, click View State to review the Terraform state file for this stack.

    Resource Manager stores the Terraform state file (.tfstate) for the stack in JSON format. This file maps your stack's resources to your configuration and maintains essential configuration metadata, such as resource dependencies. See also To view the state of a stack.

    The Terraform state file contains all the data you provided, including the passwords you specified for the domain creation phase. If you don’t want these passwords to be visible to anyone who has access to this job, you should skip the domain creation. Instead, you can add all the information required to create the domain to the files on the compute instance, and create the domain manually using the scripts provided. See How do I create the Oracle Analytics Server domain manually?.

Complete Post Deployment Tasks

After you deploy Oracle Analytics Server on Oracle Cloud Infrastructure using Oracle Marketplace, complete the following tasks.

Test Connectivity to Oracle Analytics Server

Use Secure Shell (SSH) client software to connect to the Oracle Analytics Server compute instance deployed on Oracle Cloud Infrastructure to perform administrative tasks.

You need the public IP address of the compute instance to use SSH. See Connecting to a Compute Instance on Oracle Cloud Infrastructure.

Note:

The way you access a private compute node depends on your environment. For example, you might decide to deploy a bastion host (see Oracle Technical Brief on post-deployment bastion host setup). If your network configuration uses FastConnection or VPN with IPSec, you must provide the network setup that allows you to use SSH to connect to the private compute node.

  1. Open any SSL utility, for example openSSL.
  2. Connect to your Oracle Analytics Server compute instance and log in.
    $ ssh -i path_to_private_key_file opc@oas_public_ip

    path_to_private_key_file is the full path and name of the file that contains the private key associated with the instance you want to access. This is the private key from the public-private key pair that you generated and specified when you deployed Oracle Analytics Server using Oracle Cloud Marketplace.

    opc is the default user for the compute instance opc.

    oas_public_ip is the public IP address for the compute instance that you obtained from the Console.

  3. Optional: Switch to the oracle user to explore the Oracle Analytics Server compute instance and perform administrative tasks.

Install Additional Libraries for Machine Learning in Oracle Analytics Server

If you want to use automated machine learning features in Oracle Analytics Server on Oracle Cloud you must install some additional libraries.

You must have system administrator privileges to install these libraries.

At the command line, run the following command to install the libraries:

(Linux) sudo yum install -y libgfortran

Sign-in and Verify Oracle Analytics Server

If you opted to create and configure a domain for Oracle Analytics Server, it takes another 30 - 40 minutes after the stack job finishes to create the domain and deploy Oracle Analytics Server. The exact time depends on multiple factors, including the current load on your network and database. After checking the logs, you can sign in.

  1. If you haven't done so already, verify that Oracle Analytics Server installation is complete.
    1. Open any SSL utility and log in to the compute instance as the opc user.
      Use the SSH private key (path_to_private_key and the public IP address of the Oracle Analytics Server (oas_public_ip).
      $ ssh -i path_to_private_key opc@oas_public_ip
    2. Switch to the oracle user.
      sudo su oracle
    3. Navigate to the /u01/app/oas-scripts directory and look for the file oas_install.finish. This file indicates that the installation is complete.
    4. Navigate to the /var/log directory and check the log files oas_cloudinit.log and oas_create_domain.log to verify that the domain created successfully.
  2. If you haven't done so already, obtain the public IP address of your Oracle Analytics Server compute instance.
    Earlier, we showed you how to access the IP information from the Job Outputs tab in Resource Manager (see step 20 Deploy Oracle Analytics Server Using Oracle Cloud Marketplace). You can also access the public IP address from the Compute Instance Details page:
    1. In Oracle Cloud Infrastructure Console, click Navigation menu icon in the top left corner.
    2. Click Compute and then click Instances.
    3. Under List Scope on the left side of the page, select the compartment where you deployed Oracle Analytics Server.
    4. Select the name of the compute instance.
    5. Under Primary VNIC Information, find and copy Public IP Address.
  3. To verify Oracle Analytics Server, access the following URL and sign in.
    http://OAS_Public_IP_Address:port/analytics

    For example: http://123.45.67.890:9502/analytics

    If you selected the Create Oracle Analytics Server Domain stack option, Oracle Analytics Server is set up with the default ports, and you can access Oracle Analytics Server on port 9502. If you configured the Oracle Analytics Server domain separately, use the port number you specified for the Managed Server.

    Sign in using the administrator credentials you provided to deploy the stack, that is, the values for Analytics Administrator Username and Analytics Administrator Password.

    When the home page displays, Oracle Analytics Server is ready to use!

  4. To verify Oracle Analytics Publisher, access the following URL and sign in.
    http://OAS_IP_address:Port/xmlpserver

    For example: http://123.45.67.890:9502/xmlpserver

    Oracle Analytics Publisher displays and is ready to use!

Complete Cleanup Tasks

After you deploy Oracle Analytics Server using Oracle Cloud Marketplace and verify your setup, Oracle recommends that you delete the domain configuration file biconfig.rsp. This file contains sensitive configuration information and since it's no longer required, you're advised to delete it.

  1. Use your favorite SSH client to connect to the compute instance for Oracle Analytics Server. Log in as the opc user.
    ssh -i path_to_private_key opc@oas_public_ip
  2. Switch to the oracle user to perform administrative tasks.
    sudo su oracle
  3. Navigate to /u01/data.
  4. Delete the file biconfig.rsp.

Set Up SSL in Oracle Analytics Server

Oracle highly recommends that you configure Oracle Analytics Server components to communicate over SSL and update the SSL certificates to one that has been signed with a trusted certificate authority.

To do this, follow the same steps as Oracle Analytics Server on premises. See Configure SSL in Oracle Analytics Server in Managing Security for Oracle Analytics Server.

Secure Your Network

After you deploy the Oracle Analytics Server stack on Oracle Cloud Infrastructure, take steps to secure your network.