Deploying Oracle

Traditional database VM deployment resembles the diagram below. The process generally starts with a IT ticket for a database (from Dev, Test, QA, Analytics, etc.). Next one or more teams will need to deploy the storage resources and VM(s) required. Once infrastructure is ready, a DBA needs to provision and configure database software. Once provisioned, any best practices and data protection/backup policies need to be applied. Finally the database can be handed over to the end user. That’s a lot of handoffs, and the potential for a lot of friction.

../../../_images/01.png

Whereas with a Nutanix cluster and Era, provisioning and protecting a database should take you no longer than it took to read this intro.

Source Oracle VM

In this lab you will deploy a Oracle VM, by cloning a source Oracle 19c Source VM. This VM will act as a master image to create a profile for deploying additional Oracle VMs using Era.

This VM is running Oracle 19c with April PSU patches applied.

  1. In Prism Central, select > Virtual Infrastructure > VMs.

    ../../../_images/190.png
  2. Select the checkbox for USerXX-Oracle19cSource, and click Actions > Clone.

    ../../../_images/1b2.png
  3. Fill out the following fields:

    • Number Of Clones - 1

    • Name - UserXX-MSSQLSourceVM-Patched

    • Description - (Optional) Description for your VM.

    • vCPU(s) - 2

    • Number of Cores per vCPU - 1

    • Memory - 8 GiB

  4. Click Save to create the VM.

  5. Select VM and click Actions > Power On.

Exploring Era Resources

Era is distributed as a virtual appliance that can be installed on either AHV or ESXi. For the purposes of conserving memory resources, a shared Era server has already been deployed on your cluster.

Note

If you’re interested, instructions for the brief installation of the Era appliance can be found here.

  1. In Prism Central > VMs > List, identify the IP address assigned to the EraServer-* VM using the IP Addresses column.

  2. Open https://ERA-VM-IP:8443/ in a new browser tab.

  3. Login using the following credentials:

    • Username - admin

    • Password - <Cluster Password>

  4. From the Dashboard dropdown, select Administration.

  5. Under Cluster Details, note that Era has already been configured for your assigned cluster.

    ../../../_images/618.png
  6. Select Era Resources from the left-hand menu.

  7. Review the configured Networks. If no Networks show under VLANs Available for Network Profiles, click Add. Select Secondary VLAN and click Add.

    Note

    Leave Manage IP Address Pool unchecked, as we will be leveraging the cluster’s IPAM to manage addresses

    ../../../_images/era_networks_001.png
  8. From the dropdown menu, select SLAs.

    ../../../_images/7a1.png

    Era has five built-in SLAs (Gold, Silver, Bronze, Zero, and Brass). SLAs control how the database server is backed up. This can be with a combination of Continuous Protection, Daily, Weekly Monthly and Quarterly protection intervals.

  9. From the dropdown menu, select Profiles.

    Profiles pre-define resources and configurations, making it simple to consistently provision environments and reduce configuration sprawl. For example, Compute Profiles specifiy the size of the database server, including details such as vCPUs, cores per vCPU, and memory.

  10. If you do not see any networks defined under Network, click + Create.

    ../../../_images/816.png
  11. Fill out the following fields and click Create:

    • Engine - ORACLE

    • Type - Single Instance

    • Name - Primary_ORACLE_NETWORK

    • Public Service VLAN - Secondary

    ../../../_images/916.png

Register Oracle Server with Era

In this exercise, you will register your April PSU VM and register it as version 1.0 of your Oracle 19c Software Profile. The Software Profile is a template containing both the operating system and database software, and can be used to deploy additional database servers.

  1. In Era, select Database Servers from the dropdown menu and List from the lefthand menu.

  2. Click + Register and fill out the following Database Server fields:

    • Engine - Oracle

    • IP Address or Name of VM - UserXX-MSSQLSourceVM

    • Database Version - 19.0.0.0

    • Era Drive User - oracle

    • Oracle Database Home - /u02/app/oracle/product/19.0.0/dbhome_1

    • Grid Infrastructure Home - /u01/app/19.0.0/grid

    • Provide Credentials Through - Password

    • Password - Nutanix/4u

    Note

    The Era Drive User can be any user on the VM that has sudo access with NOPASSWD setting. Era will use this user’s credentials to perform various operations, such as taking snapshots.

    Oracle Database Home is the directory where the Oracle database software is installed, and is a mandatory parameter for registering a database server.

    Grid Infrastructure Home is the directory where the Oracle Grid Infrastructure software is installed. This is only applicable for Oracle RAC or SIHA databases.

    ../../../_images/260.png
  3. Click Register

  4. Select Operations from the dropdown menu to monitor the registration. This process should take approximately 5 minutes. Wait for the registration operation to successfully complete before moving on.

    Once the Initials_oracle_base server has been registered with Era, we need to create a software profile in order to deploy additional Oracle VMs.

  5. Select Profiles from the dropdown menu and Software from the lefthand menu.

  6. Click + Create and fill out the following fields:

    • Engine - Oracle

    • Type - Single Instance

    • Name - Initials_ORACLE_19C

    • Description - (Optional)

    • Database Server - Select your registered UserXX-MSSQLSourceVM

    ../../../_images/348.png
  7. Click Create.

  8. Select Operations from the dropdown menu to monitor the registration. This process should take approximately 5 minutes.

Register Your Database

  1. In Era, select Databases from the dropdown menu and Sources from the lefthand menu.

    ../../../_images/1119.png
  2. Click + Register and fill out the following fields:

    • Engine - ORACLE

    • Database is on a Server that is: - Registered

    • Registered Database Servers - Select your registered UserXX-MSSQLSourceVM

    ../../../_images/1218.png
  3. Click Next

    • Database Name in Era - Initials-orcl

    • SID - orcl19c

    Note

    The Oracle System ID (SID) is used to uniquely identify a particular database on a system. For this reason, one cannot have more than one database with the same SID on a computer system. When using RAC, all instances belonging to the same database must have unique SID’s.

    ../../../_images/1315.png
  4. Click Next

    • Name - Initials-orcl_TM

    • SLA - DEFAULT_OOB_BRASS_SLA (no continuous replay)

    ../../../_images/1414.png
  5. Click Register

  6. Select Operations from the dropdown menu to monitor the registration. This process should take approximately 5 minutes.