Settings for using vcs, Settings for using vcs -93, For vcs – HP XP Racks User Manual

Page 155

Advertising
background image

6

.

Execute the chdev command to change the reserve_policy attribute to
no_reserve.

# chdev -l hdisk-name -a reserve_policy=no_reserve

7

.

Confirm that the setting was changed to no_reserve.

# lsattr -El hdisk-name -a reserve_policy

reserve_policy no_reserve N/A TRUE

Settings for Using VCS

To use VCS, install HDLM on all of the hosts that comprise the cluster,

and then configure the HDLM devices. Also, carry out the following

procedure before starting VCS:

1

.

Specify the settings for starting the preonline script when VCS starts.
When you have specified the settings for starting the preonline script, go

to step 2.
For details on the setting method, see the VCS documentation.
The following example shows settings for starting the preonline script

when VCS starts:

# haconf -makerw

# hagrp -modify service-group PreOnline 1

# haconf -dump -makero

# cp -r /opt/VRTSvcs/bin/sample_triggers/preonline /opt/VRTSvcs/

bin/triggers

2

.

In the preonline script used when VCS starts, register the script

provided by HDLM.
Add the following code to the line under # put your code here... in the
preonline script.

system("/usr/DynamicLinkManager/cluster/dlm_vcs_pgr_release

$ARGV[1]");

The following shows an example of editing the preonline script. The

shaded portion represents the part to be added.

Creating an HDLM Environment

3-93

Hitachi Dynamic Link Manager User Guide for AIX®

Advertising
This manual is related to the following products: