Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Service for Oracle TimesTen Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Example: Enabling TimesTen Software to Run in the Cluster

This procedure creates the TimesTen resource.

1. Register the TimesTen resource type.

       phys-schost-1# clresourcetype register ORCL.TimesTen_server

2. Create the failover resource group for the logical host.

       phys-schost-1# clresourcegroup create -app-rg

3. Create the logical-hostname resource `ha-host-1`.

       phys-schost-1# clreslogicalhostname create -g app-rg ha-host-1

4. Enable the resource group `app-rg`.

       phys-schost-1# clresourcegroup online -eM app-rg

5. Create the resource group to contain the TimesTen server resource `server-rg`.

       phys-schost-1# clresourcegroup create \
       -p maximum_primaries=2 \
       -p desired_primaries=2 \
       server-rg

6. Create the TimesTen server resource `tt-rs`.

       phys-host-1# clrs create -g server-rg  \
       -t TimesTen_server \
       -p Base_directory=/timesten/TimesTen \
       -p Instance=tt1122 \
       -p datastore=test \
       -p table=sctest \
       -p resource_dependencies=ha-host-1 tt-rs \

7. Enable the resource group `server-rg`.

       phys-schost-1# clresourcegroup online -eM server-rg

Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices |