Go to main content

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

Exit Print View

Updated: April 2020
 
 

Create a Template Zone on a Database Domain

  1. Log in to the first Database Domain in your Oracle SuperCluster T5-8 where you are setting up zones.
  2. Determine if the template zone is already in place on the first Database Domain where you are setting up zones.

    The template zone may already be in place from the initial installation of your system. Type the following command to determine if the template zone is already in place:

    zoneadm list -cv
    
    • If you see the following output, where a file is listed as DB-domain_T (for example, osc01dbadmin01-01_T), then the template file is already in place from the initial installation:

      ID NAME STATUS PATH BRAND IP
      0 global running / solaris shared
      5 osc01dbadmin01.us.oracle.com running
      /zoneHome/osc01dbadmin01.us.oracle.com solaris excl
       - osc01dbadmin01-01_T installed /zoneHomeT/osc01dbadmin01-01_T solaris excl
      

      You do not have to create a template zone on the Database Domain in this case. Go to Creating VNETs.

    • If you do not see a file listed as DB-domain_T, then you do not have the template file in place already. Go to Step 3.

  3. Locate the ssc_exavm script.

    See Verify Configuration Tool Installation for the location of the ssc_exavm script.

  4. Create the template zone on the Database Domain where you are setting up zones.

    The output shown below is abbreviated from the actual output.

    ./ssc_exavm -template
    INFO: Logging all actions in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/osc01dbadmin01-01-20121129093659.log and traces in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/osc01dbadmin01-01-20121129093659.trc and o/p in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/osc01dbadmin01-01-20121129093659.out
    INFO: Begin Template Creation
    INFO: Checking for osc01dbadmin01-01_T
    INFO: Checking for osc01dbadmin01-01_T
    INFO: Creating a template Virtual Guest for future use
    INFO: 2012-11-29 09:37:14 : Executing zfs create rpool/osc01dbadmin01-01_T
     
    INFO: Executing /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/vmtrash/8461.SysCall.0.cmd
     
    INFO: Running System command ... 
    R  R
    SUCCESS: Done
    INFO: 2 : Completed Command Execution
    INFO: 2012-11-29 09:37:16 : Completed Command Execution
    INFO: 2012-11-29 09:37:16 : Executing zfs set quota=6G rpool/osc01dbadmin01-01_T
     
    INFO: Executing /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/vmtrash/8461.SysCall.1.cmd
     
    ... (OUTPUT ABBREVIATED) ...
     
    INFO: Running System command ...
    R
    SUCCESS: Done
    INFO: 1 : Completed Command Execution
    INFO: 2012-11-29 09:51:25 : Completed Command Execution
    SUCCESS: Completed creation of Virtual guests
     
    INFO: Virtual Guest creation Summary :
     
    INFO: Completed : osc01dbadmin01-01_T  Data file :: none
    

    The name for the template zone for this particular domain is DB-domain_T (for example, osc01dbadmin01-01_T).

  5. Repeat Step 1 through Step 4 for every Database Domain where you are setting up zones.

    You must create a separate template zone on each Database Domain where you are setting up zones. Each template zone has its own domain-specific name.