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
 
 

Delete a Template Zone From a Database Domain

Follow these procedures if you want to delete the template zone from a Database Domain for any reason.

  1. Locate the ssc_exavm script.

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

  2. Log in to the Database Domain that has the template zone that you want to delete.
  3. Locate the template zone on this Database Domain that you want to delete:
    # zoneadm list -cv
    ID NAME                STATUS    PATH                           BRAND    IP 
    0  global              running   /                              solaris  shared
    -  scm7dbadmin01-01_T installed /zoneHomeT/scm7dbadmin01-01_T solaris  excl
    

    The template zone is shown as DB-domain_T (for example, in the example output above, scm7dbadmin01-01_T).

  4. Destroy the template zone on this Database Domain.

    The output shown is abbreviated from the actual output.


    Note -  You can also destroy zones on Database Domains if necessary, using the command ssc_exavm -destroy -virtualGuest zone-name, where zone-name is the name of the zone. However, use caution when using this command to destroy zones on Database Domains.
    ./ssc_exavm -destroy -template
    INFO: Logging all actions in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/scm7dbadmin01-01-20121130163540.log and traces in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/scm7dbadmin01-01-20121130163540.trc and o/p in /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/scm7dbadmin01-01-20121130163540.out
    INFO: Destroying Template Virtual Guest
    INFO: Destroying Template ...
    INFO: Destroying Virtual Guests ....
    INFO: 2012-11-30 16:35:40 : Executing zoneadm -z scm7dbadmin01-01_T uninstall -F
     
    INFO: Executing /opt/oracle.supercluster/zonetools/ssc_exavm/tmp/vmtrash/24064.SysCall.0.cmd
     
    INFO: Running System command ...
    R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R
    SUCCESS: Done
    INFO: 24 : Completed Command Execution
    INFO: 2012-11-30 16:36:04 : Completed Command Execution
    INFO: 2012-11-30 16:36:04 : Executing sleep 5
     
    ... (OUTPUT ABBREVIATED) ...
     
    INFO: Running System command ...
    R
    SUCCESS: Done
    INFO: 1 : Completed Command Execution
    INFO: 2012-11-30 16:36:10 : Completed Command Execution