Go to main content

Oracle® SuperCluster M8 and SuperCluster M7 Zones With Oracle Database on Database Domains Configuration Guide

Exit Print View

Updated: June 2020
 
 

Create a Template Zone on a Database Domain

  1. Log in to the first Database Domain in your Oracle SuperCluster M8 or Oracle SuperCluster M7 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, scm7dbadmin01-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 scm7dbadmin01.us.example.com running
      /zoneHome/scm7dbadmin01.us.example.com solaris excl
       - scm7dbadmin01-01_T installed /zoneHomeT/scm7dbadmin01-01_T solaris excl
      

      You do not have to create a template zone on the Database Domain in this case. Go to Running the install.sh Script.

    • 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/scm7dbadmin01-01-20121129093659.log and traces in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/scm7dbadmin01-01-20121129093659.trc and o/p in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/scm7dbadmin01-01-20121129093659.out
    INFO: Begin Template Creation
    INFO: Checking for scm7dbadmin01-01_T
    INFO: Checking for scm7dbadmin01-01_T
    INFO: Creating a template Virtual Guest for future use
    INFO: 2012-11-29 09:37:14 : Executing zfs create rpool/scm7dbadmin01-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/scm7dbadmin01-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 : scm7dbadmin01-01_T  Data file :: none
    

    The name for the template zone for this particular domain is DB-domain_T (for example, scm7dbadmin01-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.