ID #1061

How do I enable ALUA from the command line

This page describes how to manually enable ALUA support for a two node cluster, using the command line.

Firstly both nodes need to create the config file at path /opt/HAC/RSF-1/etc/.stmf_proxy
This file needs three lines:

  • PROXYHOST should be the network name of the primary node in the cluster. It is not important which node is used for PROXYHOST, as long as it is consistent across both .stmf_proxy files.
  • NODEID should be either '0' or '1'. On the machine used for the proxy host, NODEID should be '0', and for the second machine, it should be '1'.
  • REMOTE should be the network name of the other machine in the cluster.

For example, in a cluster with machines HAC1 and HAC2, the following should be contained in /opt/HAC/RSF-1/etc/.stmf_proxy:
On HAC1:


On HAC2:


Note that the 'PROXYHOST' does not change, this is a common error made when editing these files by hand. One machine should be chosen to be the proxyhost, and both .stmf_proxy files should reflect this. It is not important which machine is chosen to be proxyhost.

Now run 'rsfctl stop' followed by 'rsfctl start'
Upon start you should see the output:

RSF-1: (start) Starting stmfproxy monitor

You can now run 'stmfadm list-state' to confirm that...

Operational Status: online
Config Status     : initialized
ALUA Status       : enabled
ALUA Node         : 0

You can also run 'ps -ef | grep stmfproxy' to confirm that the process is running:

root  8222  8220   0   Oct 19 ?           0:00 /usr/demo/comstar/bin/svc-stmfproxy -f -n 0 nextest1

Tags: ALUA, Comstar, Multipath

Related entries:

Last update: 2012-11-08 12:29
Author: Matt
Revision: 1.0

{writeDiggMsgTag} {writeFacebookMsgTag} {writePrintMsgTag} {writeSend2FriendMsgTag} {writePDFTag}
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry