Go to main content

Oracle® Solaris Cluster Data Service for Oracle TimesTen Guide

Exit Print View

Updated: September 2015
 
 

Example: Enabling TimesTen Software to Run in the Cluster

This example creates the TimesTen resource.

  1. Register the TimesTen resource type.
    phys-schost-1# clresourcetype register ORCL.TimesTen_server
  2. Create the failover resource group access-rg for the shared-address resource.
    phys-schost-1# clresourcegroup create access-rg
    
  3. Create the shared-address resource ha-host-1.
    phys-schost-1# clressharedaddress create -g access-rg ha-host-1
  4. Enable the resource group access-rg.
    phys-schost-1# clresourcegroup online -eM access-rg
  5. Create the resource group server-rg to contain the TimesTen server resource.
    phys-schost-1# clresourcegroup create -p maximum_primaries=2 \
    -p desired_primaries=2 
    server-rg
  6. Create the TimesTen server resource tt-sub-rs.
    phys-host-1# clrs create -g server-rg -t TimesTen_server \
    -p Scalable=true \
    -p Port_list=53889/tcp \
    -p Base_directory=/timesten/TimesTen \
    -p Instance=tt1122 \
    -p datastore=test \
    -p table=sctest \
    -p resource_dependencies=ha-host-1 \
    tt-sub-rs
  7. Enable the resource group server-rg.
    phys-schost-1# clresourcegroup online -eM server-rg