Go to main content

Oracle® Solaris Cluster Data Service for Oracle TimesTen Guide

Exit Print View

Updated: September 2015
 
 

How to Enable a TimesTen Database to Run in a Global Zone Configuration

This procedure creates the cluster infrastructure, such as resource groups, storage resources, and IP resources, according to your TimesTen configuration. For complete deployment examples, see Appendix B, Deployment Example: Installing HA for TimesTen in a Failover Configuration, Appendix C, Deployment Example: Installing HA for TimesTen in an Active-Active Configuration or Appendix D, Deployment Example: Installing HA for TimesTen in a Scalable Subscriber Configuration.


Note -  If you are deploying an active-standby configuration, do not perform this procedure. Instead, install TimesTen software and proceed to How to Create and Enable Resources for TimesTen in an Active-Standby Configuration.

Before You Begin

Ensure that the /etc/netmasks file has IP-address subnet and netmask entries for all logical hostnames. If necessary, edit the /etc/netmasks file to add any missing entries.

  1. (Optional) Assume the root role and register the SUNW.HAStoragePlus resource type.
    # clresourcetype register SUNW.HAStoragePlus
  2. Create a failover or multiple-master resource group.
    • For a failover resource group, perform the following command:
      # clresourcegroup create TimesTen-resource-group
    • For a multiple-master resource group, perform the following command:
      # clresourcegroup create -p maximum_primaries=2 \
      -p desired_primaries=2 \
      TimesTen-resource-group
  3. (Optional) For a failover configuration, create a resource for the TimesTen disk storage.
    # clresource create -t SUNW.HAStoragePlus \
    -p FileSystemMountPoints=TimesTen-instance-mount-points \
    TimesTen-has-resource
  4. Create a logical-hostname or shared-address resource group.
    • To access the database from a logical host, perform the following command:
      # clreslogicalhostname create -g TimesTen-resource-group \
      TimesTen-logical-hostname-resource-name
    • To access the database from a shared address, perform the following commands:
      # clresourcegroup create TimesTen-access-group
      # clressharedaddress create -g TimesTen-access-group \
      TimesTen-shared-address-resource-name
  5. Enable the resource groups.
    # clresourcegroup online -eM TimesTen-resource-group
    # clresourcegroup online -eM TimesTen-access-group