Scalable Database Server, HiRDB Version 8 System Operation Guide
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.
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.
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.
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.