Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Service for Oracle TimesTen Guide Oracle Solaris Cluster 4.1 |
1. Installing and Configuring HA for TimesTen
Overview of Installing and Configuring HA for TimesTen
Planning the HA for TimesTen Installation and Configuration
Planning the Resource Group Topology for HA for TimesTen
TimesTen and Solaris Containers
HA for TimesTen and In-Memory Database Cache
Installing and Configuring TimesTen
How to Enable a TimesTen Database to Run in a Global Zone Configuration
How to Install and Configure TimesTen
Verifying the Installation and Configuration of TimesTen
How to Verify Installation and Configuration of TimesTen
Installing the HA for TimesTen Package
How to Install the HA for TimesTen Package
Registering and Configuring HA for TimesTen
Specifying Extension Properties for the TimesTen Resource
Creating and Enabling Resources for TimesTen
How to Create and Enable Resources for TimesTen in a Failover Configuration
How to Create and Enable Resources for TimesTen in a Multiple-Master Configuration
How to Create and Enable Resources for TimesTen in a Scalable Configuration
How to Create and Enable Resources for TimesTen in an Active-Standby Configuration
Verifying the HA for TimesTen Installation and Configuration
How to Verify the HA for TimesTen Installation for Failover Configurations
How to Verify the HA for TimesTen Installation for Scalable or Multiple-Master Configurations
Define the TimesTen Replication
Tuning the HA for TimesTen Fault Monitor
Operation of the Fault Monitor for ORCL.TimesTen_server Resource Type
Operation of the Fault Monitor for the Other HA for TimesTen Resource Types
How to Activate Debugging for HA for TimesTen
A. HA for TimesTen Extension Properties
B. Deployment Example: Installing HA for TimesTen in a Failover Configuration
C. Deployment Example: Installing HA for TimesTen in an Active-Active Configuration
D. Deployment Example: Installing HA for TimesTen in a Scalable Subscriber Configuration
Before you perform the procedures in this section, ensure that the HA for TimesTen data service packages are installed.
This section covers the following main topics:
How to Create and Enable Resources for TimesTen in a Failover Configuration
How to Create and Enable Resources for TimesTen in a Multiple-Master Configuration
How to Create and Enable Resources for TimesTen in a Scalable Configuration
How to Create and Enable Resources for TimesTen in an Active-Standby Configuration
HA for TimesTen provides multiple resource types for configuring TimesTen in the various TimesTen topologies. Except for the ORCL.TimesTen_clag resource type, TimesTen allows you to specify extension properties for a resource type either at resource creation or at resource modification.
For the ORCL.TimesTen_clag resource type, some of its properties you modify with the clresource command. However, other properties you must not modify manually with the clresource command. Instead, you must use the TimesTen utility ttCWadmin.
For a complete description of resource types and properties, including requirements for modifying each property, see Appendix A, HA for TimesTen Extension Properties.
Before You Begin
Ensure that the following prerequisites are met.
The TimesTen software is installed on shared storage.
The TimesTen data store is configured.
The required resource group, storage resource, and logical-hostname resource are created.
The resources in the failover resource group are enabled and the resource group is managed and online.
# clresourcetype register ORCL.TimesTen_server
# clresource create -g tt-resource-group \ -t TimesTen_server \ -p Base_directory=TimesTen-base-directory \ -p Instance=TimesTen-instance-name \ -p Datastore=TimesTen-data-store-name \ -p Table=TimesTen-table-name \ -p Hostname=TimesTen-logical-host-name \ -p Resource_dependencies=logical-host-name \ -p Resource_dependencies_offline_restart=hastorageplus-resource-name \ TimesTen-resource-name
Note - The resource is created in the enabled state.
Specifies the resource group name into which the resource is to be placed
Specifies the resource type for the TimesTen resource
Specifies the directory where TimesTen instances are to be installed
Specifies the TimesTen instance name
Specifies the TimesTen data-store name that will be used for server monitoring
Specifies the table name that is about to be manipulated in the data store for monitoring purpose
Specifies the IP alias name of the logical-hostname resource where the hostname must point to for TimesTen failover configurations
Specifies the list of Oracle Solaris Cluster resources on which TimesTen depends
Sets a resource dependency between tt-resource-group and the HAStoragePlus resource you created in Step 3
Note - The dependency list must include the logical-hostname resource and the storage resource for failover configurations.
Before You Begin
Ensure that the following prerequisites are met.
The TimesTen software is installed on all participating nodes.
The TimesTen data store is configured.
The required resource group is created.
The resources in the failover resource group are enabled and the resource group is managed.
# clresourcetype register ORCL.TimesTen_server
# clresource create -g tt-resource-group \ -t TimesTen_server \ -p Base_directory=TimesTen-base-directory \ -p Instance=TimesTen-instance-name \ -p Datastore=TimesTen-data-store-name \ -p Table=TimesTen-table-name \ TimesTen-resource-name
Note - The resource is created in the enabled state.
Specifies the resource group name into which the resource is to be placed
Specifies the resource type for the TimesTen resource
Specifies the directory where TimesTen instances are to be installed
Specifies the TimesTen instance name
Specifies the TimesTen data-store name that will be used for server monitoring
Specifies the table name that is about to be manipulated in the data store for monitoring purpose
Before You Begin
Ensure that the following prerequisites are met.
The TimesTen software is installed on all participating nodes.
The TimesTen data store is configured.
The required TimesTen resource group, the failover resource group, and the required shared address resource are created.
The shared address resource in the failover resource group is enabled and all resource groups are managed.
# clresourcetype register ORCL.TimesTen_server
# clresource create -g tt-resource-group \ -t TimesTen_server \ -p Scalable=True \ -p Port_List=TimesTen-server-port/tcp \ -p Base_directory=TimesTen-base-directory \ -p Instance=TimesTen-instance-name \ -p Datastore=TimesTen-data-store-name \ -p Table=TimesTen-table-name \ -p Resource_dependencies=shared-address-resource-name \ -p Resource_dependencies_offline_restart=hastorageplus-resource-name \ TimesTen-resource-name
Note - The resource is created in the enabled state.
Specifies the resource group name into which the resource is to be placed
Specifies the resource type for the TimesTen resource
Specifies that the resource is a scalable resource
Specifies the port for incoming sql connections on which the TimesTenserver listens
Specifies the directory where TimesTen instances are to be installed
Specifies the TimesTen instance name
Specifies the TimesTen data-store name that will be used for server monitoring
Specifies the table name that is about to be manipulated in the data store for monitoring purpose
Specifies the list of Oracle Solaris Cluster resources on which TimesTen depends
Sets a resource dependency between tt-resource-group and the HAStoragePlus resource you created.
Note - The dependency list must include the shared-address resource.
Before You Begin
Ensure that the following prerequisites are met.
The TimesTen software is installed on all participating nodes.
The TimesTen data stores are configured.
This resource group contains the HA for TimesTen daemon resource together with the HA for TimesTen cluster agent and the TimesTen database monitor resources.
# clresourcegroup create -p maximum_primaries=2 \ -p desired_primaries=2 \ -n nodelist \ server-resource-group-name
# clresourcegroup create \ -n nodelist \ active-resource-group-name
Note - Ensure that this node list is identical to the node list for the multiple-master resource group.
# clresourcegroup create \ -n nodelist \ standby-resource-group-name
Note - Ensure that this node list is identical to the node list for the multiple-master resource group.
# clresourcegroup online -M server-resource-group-name # clresourcegroup online -M active-resource-group-name # clresourcegroup online -M standby-resource-group-name
Follow procedures in your TimesTen documentation.