Hitachi Dynamic Link Manager Software Users Guide for AIX (7.x) (HIT5208-96027, August 2012)

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®