Scalable Database Server, HiRDB Version 8 System Operation Guide

[Contents][Index][Back][Next]

25.8.2 HiRDB resource type definition

To set up HiRDB as a resource, resource type HiRDB_x for HiRDB must be defined. When a new resource type is created, an agent for monitoring the resource must also be defined. Agent definition is explained in Section 25.8.3 Agent definition pre-preparation.

Organization of this subsection
(1) HiRDB/Single Server
(2) HiRDB/Parallel Server

(1) HiRDB/Single Server

The following is an example of a resource type definition for a HiRDB/Single Server:

 
type HiRDB_S (
     static str ArgList[] = { PdDir, PdConfPath, Ld_Library_Path, DummyFilePath }
     str PdDir
     str PdConfPath
     str Ld_Library_Path
     str DummyFilePath
)
 

Create a file with this contents under the name /etc/VRTSvcs/conf/config/HiRDB_STypes.cf.

(2) HiRDB/Parallel Server

The following is an example of a resource type definition for a HiRDB/Parallel Server:

 
type HiRDB_P (
     static str ArgList[] = { PdDir, PdConfPath, Ld_Library_Path, DummyFilePath }
     str PdDir
     str PdConfPath
     str Ld_Library_Path
     str DummyFilePath
)
 

Create a file with this contents under the name /etc/VRTSvcs/conf/config/HiRDB_PTypes.cf.