- 论坛徽章:
- 0
|
Veritas Cluster Server
目前正在学习VCS,有些概念不是很明白。
再问一个:
资源类型配置文件中的ArgList属性的具体含义,手册上是这么说的:
The second critical piece of information provided by the type definition is the ArgList
attribute. The line static str ArgList[] = { xxx, yyy, zzz } defines the order
in which parameters are passed to the agents for starting, stopping and monitoring
resources. For example, when VCS wants to online the disk group “shared_dg1”, it passes
the online command to the DiskGroup agent with the following arguments:
shared_dg1 shared_dg1 1 1 <null>;
The sequence of arguments indicates the online command, the name of the resource, then
the contents of the ArgList. Since MonitorOnly is not set, it is passed as a null. This is
always the order: command, resource name, ArgList.
手册上的上段话是以下面这个例子说的:
type DiskGroup (
static int NumThreads = 1
static int OnlineRetryLimit = 1
static str ArgList[] = { DiskGroup, StartVolumes, StopVolumes,
MonitorOnly }
NameRule = resource.DiskGroup
str DiskGroup
str StartVolumes = 1
str StopVolumes = 1
不是太理解,烦请高人指点。
另请问一下,国内是否有VCS的论坛? |
|