Go to main content

Oracle® SuperCluster T5-8 Zones With Oracle Database on Database Domains Configuration Guide

Exit Print View

Updated: April 2020
 
 

Create Additional Links on the IB Storage Network for Zones

  1. Log in to the Database Domain that contains the zones that you created.
  2. Type:
    # dladm show-ib
    

    Output similar to the following appears:

    LINK      HCAGUID           PORTGUID         PORT   STATE  PKEYS
    net24     21280001FCBEBC    21280001FCBEBE   2      up     FFFF
    net22     21280001FCC0EC    21280001FCC0EE   2     up     8503,8504,FFFF
    net23     21280001FCBEBC    21280001FCBEBD   1     up     8503,8504,FFFF
    net21     21280001FCC0EC    21280001FCC0ED   1      up     FFFF
    
  3. Determine which network links are associated with the 8503 PKEY.

    In the example output shown in the previous step, the lines that show the network links associated with the 8503 PKEY are shown in bold. The network links are shown in the LINK column (net22 and net23 in the example output).

  4. Add links to the zones in this Database Domains:
    # zonecfg -z zone_management_hostname
    zonecfg:zone_management_hostname> add anet
    zonecfg:zone_management_hostname:anet> set linkname=first_net_link
    zonecfg:zone_management_hostname:anet> set lower-link=first_net_link
    zonecfg:zone_management_hostname:anet> set pkey=8503
    zonecfg:zone_management_hostname:anet> end
    zonecfg:zone_management_hostname> add anet
    zonecfg:zone_management_hostname:anet> set linkname=second_net_link
    zonecfg:zone_management_hostname:anet> set lower-link=second_net_link
    zonecfg:zone_management_hostname:anet> set pkey=8503
    zonecfg:zone_management_hostname:anet> end
    zonecfg:zone_management_hostname> exit
    

    where:

    • zone_management_hostname is the management host name (or Admin Name that was shown in Oracle Exadata Deployment Assistant) for this zone

    • first_net_link is the first network link shown in the output from Step 2

    • second_net_link is the second network link shown in the output from Step 2

    For example:

    # zonecfg -z zone_management_hostname
    zonecfg:zone_management_hostname> add anet
    zonecfg:zone_management_hostname:anet> set linkname=net22
    zonecfg:zone_management_hostname:anet> set lower-link=net22
    zonecfg:zone_management_hostname:anet> set pkey=8503
    zonecfg:zone_management_hostname:anet> end
    zonecfg:zone_management_hostname> add anet
    zonecfg:zone_management_hostname:anet> set linkname=net23
    zonecfg:zone_management_hostname:anet> set lower-link=net23
    zonecfg:zone_management_hostname:anet> set pkey=8503
    zonecfg:zone_management_hostname:anet> end
    zonecfg:zone_management_hostname> exit
    
  5. Reboot the zone for the changes to take effect:
    # zoneadm -z zone_management_hostname reboot
    

    For example:

    # zoneadm -z osc01zdbadm02 reboot
    
  6. Log in to the zone:
    # zlogin zone_management_hostname
    

    For example:

    # zlogin osc01zdbadm02
    
  7. Create the IP addresses in the zone for the new links:
    # ipadm create-ip first_net_link
    # ipadm create-ip second_net_link
    

    where:

    • first_net_link is the first network link shown in the output from Step 2

    • second_net_link is the second network link shown in the output from Step 2

    For example:

    # ipadm create-ip net22
    # ipadm create-ip net23
    
  8. Find an unused IP address from the same subnet as the stor_ipmp0 interface:
    1. Enter the following command:
      # ipadm show-addr
      

      Output similar to the following appears:

      ADDROBJ           TYPE     STATE        ADDR
      lo0/v4            static   ok           127.0.0.1/8
      net13/v4          static   ok           169.254.182.77/24
      stor_ipmp0/v4     static   ok        
        192.168.28.2/22
      bondeth0/v4       static   ok           10.129.119.1/20
      bondib0/v4        static   ok           192.168.10.1/22
      bondib1/v4        static   ok           192.168.10.2/22
      bondmgt0/v4       static   ok           10.129.104.1/20
      lo0/v6            static   ok           ::1/128
      
    2. Locate the stor_ipmp0 line in the output, highlighted in the example output above.

      In the ADDR column for this line, the subnet is shown as 192.168.28.2, with a subnet mask of 22.

    3. Find an unused IP address from this stor_ipmp0 subnet to use for the new IPMP group.
  9. Create the new IPMP group inside the zone:
    # ipadm create-ipmp -i first_net_link,second_net_link ipmp_group
    # ipadm create-addr -T static -a ip_address/22 ipmp_group/v4
    

    where:

    • first_net_link is the first network link shown in the output from Step 2

    • second_net_link is the second network link shown in the output from Step 2

    • ipmp_group is the name of the IPMP group that you are creating

    • ip_address is an unused IP address from the same subnet as the stor_ipmp0 interface that you picked in Step 8

    For example:

    # ipadm create-ipmp -i net22,net23 stor_ipmp0
    # ipadm create-addr -T static -a 192.168.28.101/22 stor_ipmp0/v4
    
  10. Designate the second network interface as the standby interface:
    # ipadm set-ifprop -p standby=on -m ip second_net_link
    

    where second_net_link is the second network link shown in the output from Step 2.

    For example:

    # ipadm set-ifprop -p standby=on -m ip net23
    
  11. Verify that the second network interface was set up correctly as the standby interface:
    # ipmpstat -g
    

    The second network interface should appear in parenthesis in the output. For example:

    # ipmpstat -g
    GROUP       GROUPNAME   STATE  FDT  INTERFACES
    stor_ipmp0  stor_ipmp0  ok     --   net22  (net23)
    
  12. Repeat Step 4 through Step 11 for each zone that you created in this Database Domain.