3 Readying Oracle Database Appliance for Deployment

Complete these tasks to prepare to deploy Oracle Database Appliance.

About Interconnect Cabling

Interconnect is reserved for Oracle Grid Infrastructure (GI) and Oracle Relational Database Management System (RDBMS).

Oracle GI includes Oracle Clusterware, Oracle Automatic Storage Management (Oracle ASM), and Oracle Restart. Even if you do not use Oracle Real Application Clusters (RAC), Oracle Database Appliance uses the interconnect for RAC ASM and Oracle GI.

Note:

Do not use interconnect for other applications.

Attaching Network Cables to Oracle Database Appliance X7-2-HA

Connect Oracle Database Appliance X7-2-HA to either a 10GBase-T (copper) or 25GbE SFP28 (fiber) network.

For 10GBase-T public networking, use the Cat-6 network cables. To use the SFP28 ports, use the correct transceivers and cables to meet your switch bandwidth. The following sections show the cabling options for 25GbE SFP28 (fiber) network ports. In the figures, callouts 4 and 5 identify the ports for the 10GBase-T (copper) network. Callout 6 identifies the ports for the 25GbE SFP28 (fiber) network.

Connect the Fiber and Copper Network Cables for Oracle Database Appliance X7-2-HA

Connect the network cables for Oracle Database Appliance X7-2-HA.

Description of GUID-3E386777-EFB4-4E4B-8079-2B3C985A87B0-print.eps follows
Description of the illustration GUID-3E386777-EFB4-4E4B-8079-2B3C985A87B0-print.eps

Location of Network Ports and Power Cabling

Table 3-1 Location of Network Ports and Power Cabling for Oracle Database Appliance X7-2-HA

Callout Number Description

1

Interconnect Port 25GbE p1p1

2

Interconnect Port 25GbE p1p2

3

Dark blue SAS cable between PCIe slot 2 in Node0 (SAS0) and the dark blue port in the top IO module in the storage shelf (port0)

4

Light blue SAS cable between PCIe slot 3 in Node0 (SAS1) and the light blue port in the bottom IO module in the storage shelf (port0)

5

Dark red SAS cable between PCIe slot 2 in Node1 (SAS1) and the dark red port in the top IO module in the storage shelf (port1)

6

Light red SAS cable between PCIe slot 3 in Node1 (SAS0) and the light red port in the bottom IO module in the storage shelf (port1)

Connect the Fiber and Copper Network Cables for Oracle Database Appliance X7-2

Description of GUID-E542EBDC-973D-4692-8818-DEF88E638047-print.eps follows
Description of the illustration GUID-E542EBDC-973D-4692-8818-DEF88E638047-print.eps

Table 3-2 Location of Ports and Power Cabling for Oracle Database Appliance

Callout Number Description

1

Power cables to the power supply unit (PSU)

2

ILOM NET MGT port. Service processor 10/100/1000Base-T network interface

3

(Optional) ILOM SER MGT port. Service processor RJ-45 serial port

4

10 GbE network interface port with RJ-45 connector (btbond1)

5

(Optional) 25 GbE dual-rate SFP28 (fiber network) ports (btbond1)

Fiber Cables

For optical cables, you must purchase either Short Range (SR) or Long Range (LR) SFP transceivers for each of the network ports, and then plug in the appropriate optical cable. Currently, Oracle sells both the SR and LR SFP transceivers. In addition to these transceivers, you must purchase the appropriate LC-LC terminated fiber optic cables from a third-party vendor.

Table 3-3 Transceivers for the SFP Ports - 10GB/1GB

Name Part Number

10Gbps Dual Rate SFP SR Transceiver

2129A

10Gbps SFP LR Transceiver

5562A-Z

Table 3-4 Transceivers for the SFP Ports - 25GB

Name Part Number

SFP short range Transceiver

7118017

SFP long range Transceiver

7118020

Copper Cables

You can purchase the following copper cables from Oracle. These cables have built-in SFP connectors.

Table 3-5 Networking Cables for the SFP Ports - 10GB/1GB

Name Length Part Number

TwinAx passive copper cable: 1 meter

1m

7105137

TwinAx passive copper cable: 3 meter

3m

7105140

TwinAx passive copper cable: 5 meter

5m

7151141

Table 3-6 Networking Cables for the SFP Ports - 25GB

Name Length Part Number

Copper splitter cable assembly: 1 meter QSFP28 to 4 SFP28

1m

7118355

Copper splitter cable assembly: 2 meter QSFP28 to 4 SFP28

2m

7118356

Copper splitter cable assembly: 3 meter QSFP28 to 4 SFP28

3m

7118357

Copper splitter cable assembly: 5 meter QSFP28 to 4 SFP28

5m

7118358

TwinAx passive copper cable: 1 meter

1m

7118359

TwinAx passive copper cable: 3 meter

2m

7118360

TwinAx passive copper cable: 5 meter

3m

7118361

TwinAx passive copper cable: 5 meter

5m

7118362

Attaching Network Cables to Oracle Database Appliance X7-2S or X7-2M

Connect Oracle Database Appliance X7-2S or X7-2M to either a 10GBase-T (copper) or 25GbE SFP28 (fiber) network.

Use standard Cat-6 network cables to connect to the on-board 10GBase-T (copper) network ports. The following sections show the cabling options for 25GbE SFP28 (fiber) network ports. In the figures, callout 4 identifies the ports for the 10GBase-T (copper) network and callout 5 identifies the ports for the 25GbE SFP28 (fiber) network.

Connect the Fiber and Copper Network Cables for Oracle Database Appliance X7-2S or X7-2M

Connect the Fiber and Copper Network Cables for Oracle Database Appliance X7-2S or X7-2M

Description of GUID-E542EBDC-973D-4692-8818-DEF88E638047-print.eps follows
Description of the illustration GUID-E542EBDC-973D-4692-8818-DEF88E638047-print.eps

Location of Network Ports and Power Cabling

Table 3-7 Location of Network Ports and Power Cabling for Oracle Database Appliance

Callout Number Description

1

Power cables to the power supply unit (PSU)

2

ILOM NET MGT port. Service processor 10/100/1000Base-T network interface

3

(Optional) ILOM SER MGT port. Service processor RJ-45 serial port

4

10 GbE network interface port with RJ-45 connector (btbond1)

5

(Optional) 25 GbE dual-rate SFP28 (fiber network) ports (btbond1)

Fiber Cables

For optical cables, you must purchase either Short Range (SR) or Long Range (LR) SFP transceivers for each of the network ports, and then plug in the appropriate optical cable. Currently, Oracle sells both the SR and LR SFP transceivers. In addition to these transceivers, you must purchase the appropriate LC-LC terminated fiber optic cables from a third-party vendor.

Name Part Number

10Gbps Dual Rate SFP SR Transceiver

2129A

10Gbps SFP LR Transceiver

5562A-Z

Copper Cables

You can purchase the following copper cables from Oracle. These cables have built-in SFP connectors:

Name Length Part Number

TwinAx passive copper cable: 1m

1m

7105137

TwinAx passive copper cable: 3m

3m

7105140

TwinAx passive copper cable: 5m

5m

7151141

First Startup of Oracle Database Appliance

Use this procedure to start up either a newly-installed Oracle Database Appliance, or to start up the appliance after you power it down.

To ready Oracle Database Appliance for the powering on the first time, you need to attach all of the required power cords and confirm that initialization completes successfully. You can then start up the system by pushing the power button once.

Attaching Power Cords and Initializing Components

Attach power cords for Oracle Database Appliance.

Caution:

Before plugging in the power cords, ensure that the electrical outlets providing the power are grounded.

If you use only a single AC circuit, then connect both power cords for each component to that circuit. If you want to maintain N+1 power supply redundancy, then use two separate AC circuits. Connect one power cord from each AC circuit into each component.

For more information about cabling with the supplied Cable Management Arm, refer to Oracle Database Appliance Owner’s Guide.

Powering On Oracle Database Appliance the First Time

Use this procedure the first time you power on Oracle Database Appliance.

When you power on Oracle Database Appliance for the first time, the system automatically defines your public network interface based on which of the public interface ports are connected. The onboard 10GBase-T (Copper) ports are used for the interconnect.

Note:

After you connect power cords, the green SP OK light-emitting diode (LED) lights blink for a few minutes, and then turn to steady ON. The cooling fans also may turn on. However, these events do not indicate that the system is started. You must complete all of the steps in this section to turn on the appliance properly. Read through the entire section to understand the sequence required for initial system startup.
  1. (For Oracle Database Appliance X7-2-HA) Turn on the attached storage shelf, or shelves, before powering on the server nodes.
  2. Push the recessed power button to turn on the appliance.

    Note:

    The fully-initialized state is indicated by the green SP OK LEDs staying steadily lit. If any of the green LED lights on the server are still blinking, then wait for them to complete their initialization steps.

    Refer to the figures and to the following callout table to identify the power button and the system initialization status indicator lights.

    Figure 3-1 Front of Oracle Database Appliance Power Panel

    Description of Figure 3-1 follows
    Description of "Figure 3-1 Front of Oracle Database Appliance Power Panel"

    Table 3-8 Description of Callouts for Powering On Oracle Database Appliance

    Callout Function
    1 SP OK LED light, located on the front panel of the appliance.
    2 Recessed On/Off power button, which is located on the front panel of the appliance. Push this button only once. Do not repeatedly push the power button.
    3 Green Power OK LED, located on the front panel. These lights must be in the steady ON position (Green light does not blink) before you log on to the system.

    Oracle Database Appliance does not use the DO NOT SERVICE indicator.

  3. Wait for Oracle Database Appliance to complete startup.

    Note:

    Do not repeatedly push the power buttons. Startup can take several minutes to complete.
Oracle Database Appliance is ready for use when the green Power OK LEDs (callout 3) on the front of the system remains steadily on.

Configuring Oracle Integrated Lights Out Manager

Configure Oracle Integrated Lights Out Manager (Oracle ILOM) to manage Oracle Database Appliance independent of the operating system.

Oracle ILOM provides alternate ways to restart and troubleshoot Oracle Database Appliance.

You must set up the following items first to configure Oracle ILOM:

  • A name and IP address

  • A password to replace the default Oracle ILOM password

  • Access to a management network, using an assigned netmask

  • An Ethernet cable connected from the NET MGT port to the management network

In the default configuration, Dynamic Host Configuration Protocol (DHCP) is enabled in Oracle ILOM and the DHCP server automatically assigns network settings. To determine the IP address or host name assigned by the DHCP server, use the network tools provided with the DHCP server.

If you do not use DHCP, then use the custom option in Oracle Database Appliance Manager Configurator to assign IP addresses and host names to Oracle ILOM when you deploy your database.

Note:

If you have not enabled DHCP, then you must complete Oracle Database Appliance configuration to access Oracle ILOM.

To connect to the Oracle ILOM, use one of the following two methods:

  1. Log in using a web interface by completing these steps:

    1. Using a client system's browser, enter the IP address or host name assigned by DHCP into the browser address field and press Enter.

    2. At the login page, enter the default user name, root and the default password, changeme.

      The Oracle ILOM web interface appears.

  2. Log in using a command-line interface (CLI) by completing these steps:

    1. Using a client system, establish a secure shell (SSH) connection by entering the following on the command line:

      ssh -l root sp_ip_address

      where sp_ip_address is the IP address assigned by DHCP.

    2. Enter the default user name, root, and the default password, changeme.

      The Oracle ILOM CLI prompt appears.

Troubleshooting the ILOM Configuration

If the ILOM is not working, then ensure that the ILOM NIC is enabled and that ipv4 is enabled.

You can configure the ILOM with the IPMI tool or through the BIOS. The following describes how to use the IPMI tool:

  1. Open the IPMI tool.

    # ipmitool –I open sunoem cli
    
  2. Go to SP/network and verify that the port is enabled:

    cd /SP/network
    
  3. If the port is not enabled, then enable the port.

    set state=enabled
    
  4. In SP/network, verify that ipv4 is enabled.

  5. If ipv6 is enabled, then disable ipv6 and enable ipv4

    # ipmitool -I open sunoem cli "set /SP/network/ipv6 state=disabled" 
    # ipmitool -I open sunoem cli "set /SP/network/ipv4 state=enabled" 
    

Plumbing the Network

Configure a temporary network configuration framework to build your network information during deployment.

Oracle Database Appliance X7-2 has two dual-port public network interfaces, a 10GBase-T (copper) and a 25GbE SFP28 (fiber) network interface. By default, the dual-ported interface is bonded and you can only enable one of the interfaces.

Oracle Database Appliance uses the interface to create the initial network connection and to create virtual local area networks (VLANs). The initial network connection enables you to transfer the deployment software to the machine and deploy the appliance with the Web Console.

To deploy the appliance, you must plumb the Oracle Database Appliance network with the public internet protocol (IP) information that is assigned to that node. Plumbing the network enables you to upload the GI and database clone files that are used to deploy Oracle Database Appliance. You must enter the IP information again during the deployment to complete the network configurations.

Use either the 10GBase-T or the 25GbE SFP28 network interface. Use the initial network connection to transfer deployment software to Oracle Database Appliance and deploy the appliance with the Web Console.

To support two separate physical network interfaces in your data center, you can break the bond and create a non-bonded network configuration. The bonded network configuration uses btbond1. The non-bonded network configuration uses em2 and em3 as public interfaces.

Note:

When you use a non-bonded network configuration, VLAN capabilities are disabled.

The option to configure the network as bonded or non-bonded is available when you use the command configure-firstnet .

Caution:

On multi-node systems, you must run the command configure-firstnet on both nodes.

Oracle recommends using the command configure-firstnet only one time on each Oracle Database Appliance node (Node 0 and Node 1). Subsequent use after configuring the initial network can cause unpredictable changes to your network settings.

To change a non-bonded network configuration to a bonded configuration, run the Oracle Database Appliance Cleanup Script and redeploy the appliance.

To configure the initial network, you will use Oracle ILOM to connect to the system and you need the IP address and netmask address. Refer to the network configuration information that you collected in preparation for deployment. The program derives the gateway address using the network information you provided.
  1. Connect to the ILOM remote console, then log into Oracle Database Appliance as root.
  2. Run the command configure-firstnet to configure the initial network. Complete the network information, as prompted. Refer to the network configuration information that you collected in preparation for deployment.

    The default configuration is to create a bonded configuration. The answer to the following question determines the configuration type:

    Using bonding public interface (yes/no) [yes]:
    
    • To create a bonded configuration, answer yes when prompted.

    • To create a non-bonded configuration and disable VLAN capabilities, answer no when prompted.

    Complete the IP address and netmask address based on the network configuration information that you collected in preparation for deployment and accept the Gateway address when prompted. In this example, the IP address is 10.1.10.2 and the Netmask address is 255.255.255.0. The program derives 10.1.10.1 as the Gateway address to configure. The program derives this gateway address using the network information you provided for the other IP addresses. Accept this value, unless your network administrator provides an alternative gateway address that is different from the default that the appliance command-line interface detects.

    The following is an example of a bonded configuration. For a bonded configuration, answer yes to using a bonding public interface and configure the first network to use a btbond1 interface without configuring DHCP.

    # configure-firstnet
    Using bonding public interface (yes/no) [yes]: yes
    Select the Interface to configure the network on (btbond1): btbond1
    Configure DHCP on btbond1 (yes/no): no
    INFO: You have chosen Static configuration
    Enter the IP address to configure: 10.1.10.2
    Enter the Netmask address to configure: 255.255.255.0
    Enter the Gateway address to configure: 10.1.10.1
    INFO: Plumbing the IPs now
    INFO: Restarting the network
    Shutting down interface btbond1: bonding: btbond1: Removing slave em2. 
    bonding: btbond1: releasing active interface em2 
    bonding: btbond1: making interface em3 the new active one. 
    bonding: btbond1: Removing slave em3. 
    bonding: btbond1: releasing active interface em3 
    :::::::::: 
    

    The following is an example of a non-bonded configuration. For a non-bonded configuration, answer no to using a bonding public interface.

    # configure-firstnet
    Using bonding public interface (yes/no) [yes]: no
    INFO: Breaking the bonding on btbond1
    INFO: remove bonding module: rmmod bonding
    INFO: remove slave setup in /etc/sysconfig/network-scripts/ifcfg-em2
    INFO: remove slave setup in /etc/sysconfig/network-scripts/ifcfg-em3
    INFO: Restarting the network
    Shutting down interface em1:                               [  OK  ]
    Shutting down interface p1p1:                              [  OK  ]
    Shutting down interface p1p2:                              [  OK  ]
    Shutting down loopback interface:                          [  OK  ]
    Bringing up loopback interface:                            [  OK  ]
    Bringing up interface em1:                                 [  OK  ]
    Bringing up interface em2:                                 [  OK  ]
    Bringing up interface em3:                                 [  OK  ]
    Bringing up interface p1p1:  Determining if ip address 192.168.16.24 is already in use for device p1p1...
                                                               [  OK  ]
    Bringing up interface p1p2:  Determining if ip address 192.168.17.24 is already in use for device p1p2...
                                                               [  OK  ]
    INFO: Restarting the network
    Select the Interface to configure the network on (em2 em3) [em2]:
    Configure DHCP on em2 (yes/no) [no]:
    INFO: You have chosen Static configuration
    Enter the IP address to configure : 10.1.10.2
    Enter the Netmask address to configure : 255.255.255.0
    Enter the Gateway address to configure[10.1.10.1] :
    INFO: Plumbing the IPs now
    /usr/share/system-config-network/netconfpkg/NCHostsList.py:100: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
      badlines.append((num, value_exception.message))
    /usr/share/system-config-network/netconfpkg/NCHostsList.py:105: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
      """ % (value_exception.message, num)
    /usr/share/system-config-network/netconfpkg/NCProfileList.py:142: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
      self.error = e.message
    INFO: Restarting the network
    Shutting down interface em1:                               [  OK  ]
    Shutting down interface em2:                               [  OK  ]
    Shutting down interface em3:                               [  OK  ]
    Shutting down interface p1p1:                              [  OK  ]
    Shutting down interface p1p2:                              [  OK  ]
    Shutting down loopback interface:                          [  OK  ]
    Bringing up loopback interface:                            [  OK  ]
    Bringing up interface em1:                                 [  OK  ]
    Bringing up interface em2:  Determining if ip address 10.1.10.2 is already in use for device em2...
                                                               [  OK  ]
    Bringing up interface em3:                                 [  OK  ]
    Bringing up interface p1p1:  Determining if ip address 192.0.2.24 is already in use for device p1p1...
                                                               [  OK  ]
    Bringing up interface p1p2:  Determining if ip address 192.0.2.25 is already in use for device p1p2...
                                                               [  OK  ]
    
     
    
  3. Repeat these steps on Node 1.

Related Topics

Downloading the Server, GI and DB Clone Bundles

Download the Oracle Database Appliance Server, GI and DB patches from My Oracle Support and update the patch repository.

After updating the repository, you must apply the patches in the following order:

  1. Server patch: Use the server patch to update Oracle Database Appliance components before deploying Oracle Database Appliance. The patch updates the Oracle Database Appliance server and DCS agent. 

  2. GI Clone: Use the GI Clone patch to deploy the appliance. The patch contains the latest Grid Infrastructure components needed to deploy, or create, an Oracle Database Appliance.

  3. RDBMS Software Clone file: Use the release-specific database clone files to add the components needed to create database homes and databases in Oracle Database Appliance. RDBMS Software is available for Oracle Database 12.2.0.1, 12.1.0.2, and 11.2.0.4.

    • 12.2.0.1 Database: Use the Oracle 12.2.0.1.x RDBMS Software Clone file to create new 12.2.0.1 database homes.

    • 12.1.0.2 Database: Use the Oracle 12.1.0.2.x RDBMS Software Clone file to create new 12.1.0.2 database homes.

    • 11.2.0.4 Database: Use the Oracle 11.2.0.4.x RDBMS Software Clone file to create new 11.2.0.4 database homes.

The patches are available for download in My Oracle Support. Use either a Secure Copy (scp) command or a USB storage device to copy the file from the external client to dom0 on Node0. Use the /tmp directory as the target location. In some cases, there might not be sufficient space in the /tmp directory. Consider creating a /tmp directory in the /u01 directory.

Note:

If you use a USB drive to transfer the file, then format it first as FAT32, ext3, or ext4. NTFS file formats are not supported.

  1. From an external client machine, log on to My Oracle Support.
  2. Locate and download patch the Server patch, the GI Clone patch, and the RDBMS Clone patches that you want. See the Oracle Database Appliance Release Notes for the latest patches.
    In some cases, the patches are release-specific. When selecting a patch, ensure that you select the latest release.
    • Server patch: 28216794
    • GI Clone patch: 27119393
    • RDBMS Clone files for Oracle Database 12.2.0.1: 27119402
    • RDBMS Clone files for Oracle Database 12.1.0.2: 23494992
    • RDBMS Clone files for Oracle Database 11.2.0.4: 23494997
  3. Upload the patches for Oracle Database Appliance to the appliance by using either Secure Copy (scp) command or a USB storage device to copy the file from the external client to dom0 on Node0.

    On multi-node systems, the DCS-Agent copies the patch to Node1 and updates the patch repository on both nodes.

  4. Navigate to the directory and unzip each patch.
  5. Run the command update-repository to unpack the bundle to the correct locations in the file system. You must include the fully qualified directory.
    If you have more than one bundle, you can use a comma-separated list for the filename.
    # odacli update-repository -f /u01/tmp/patch_bundle_name.zip
Ensure the job completes successfully, then apply the server patch.

Updating the dcs-agent to the Latest Version

If an older version of the dcs-agent is installed, then download the latest agent and update the repository, dcs-agent, and server components.

A machine might ship with an older version of the dcs-agent. You should update the agent to the latest version.

  1. Log in to Oracle Database Appliance as a root user.
  2. Download the latest dcs–agent patch from My Oracle Support.
  3. Update the patch repository.

     On multi-node systems, update the patch repository on Node 0, the dcs–agent copies the patch to Node 1 and updates the patch repository on both nodes.

     odacli update-repository -fileName patch bundle
    
  4. Update the dcs-agent.
      odacli update-dcsagent -version version
    
    # odacli update-dcsagent -v 12.2.1.4.0
    {
      "jobId" : "77e454d3-eb68-4130-a247-7633f8d6192b",
      "status" : "Created",
      "message" : null,
      "reports" : [ ],
      "createTimestamp" : "March 26, 2018 14:09:24 PM CST",
      "description" : "DcsAgent patching",
      "updatedTime" : "March 26, 2018 14:09:24 PM CST"
    }
    
    The agent automatically restarts. It may take 1-2 minutes for the dcs-agent to complete restarting.

    Note:

    Wait until the agent completes restarting before updating the server.

Applying the Server Patch

Update the server component to apply patches to various infrastructure components and Oracle Clusterware before deploying the appliance.

As part of readying the system, apply the server patch to update the server component before deploying the appliance. The patch updates the Oracle Database Appliance server and DCS Agent. On multi-node systems, the DCS-Agent copies the patch to Node 1 and updates the patch repository on both nodes.

See the Oracle Database Release Notes for the latest patch information.

Before applying the server patch, you must download the patch and update the repository.
  1. Run the command update-server on Node 0.
    # ./odacli update-server -v 12.2.1.4.0
    {
      "jobId" : "6f27a29a-959f-44e1-b984-7473e3c918ad",
      "status" : "Created",
      "message" : "Success of Server Update may trigger reboot of node after 4-5 minutes. Please wait till node restart",
      "reports" : [ ],
      "createTimestamp" : "March 26, 2018 14:13:45 AM CST",
      "resourceList" : [ ],
      "description" : "Server Patching",
      "updatedTime" : "March 26, 2018 14:13:45 AM CST"
    
  2. After the update is applied, the agent automatically restarts. It will take a few minutes to reconnect to the server. Wait until the agent shuts down and completes restarting before performing any tasks. Allow at least two (2) minutes for the job to complete before running the next command.
  3. Use the command odacli list-jobs to check the status.
    # odacli list-jobs
    
    ID                                    Description       Created                             Status
    ----------------------------          ----------------  ----------------------------        -------
    6f27a29a-959f-44e1-b984-7473e3c918ad  Server Patching   March 26, 2018 14:19:05 AM CST"   Success