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

Page 166

Advertising
background image

3

.

Execute the following command to unmount the file system used by

HDLM.

# umount file-system-mount-point

4

.

Execute the following command to display all the activated volume

groups.

# lsvg -o

5

.

Among the displayed volume groups, inactivate the volume groups used

by HDLM.

# varyoffvg volume-group-name

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.

3-100

Creating an HDLM Environment

Hitachi Dynamic Link Manager (for AIX) User Guide

Advertising
This manual is related to the following products: