3 starting the file system, 4 stopping the file system – HP StorageWorks Scalable File Share User Manual

Page 38

Advertising
background image

Heartbeat uses iLO for STONITH I/O fencing. If a Heartbeat configuration has two nodes
in a failover pair, Heartbeat would like both of those nodes to be up and running Heartbeat.
If a node boots, starts Heartbeat, and does not see Heartbeat running on the other node in
what it thinks is a reasonable time, it will power-cycle it.

5.3 Starting the File System

After the file system has been created, it can be started. At the low level, this is achieved by using
the mount command to mount the various file system server components that were created in
the creation section. However, since the system has been configured to use Heartbeat, use
Heartbeat commands to start the file system server components. This process assumes you have
used the HP recommended configuration with the MGS and MDS nodes as a failover pair, and
additional pairs of OSS nodes where each pair has access to a common set of MSA2000 storage
devices.

This procedure starts with the MGS node booted but the MDS node down.

1.

Start the Heartbeat service on the MGS node:

# service heartbeat start

After a few minutes, you should see the MGS mount active with df.

2.

When this is ready, boot the MDS node.

3.

Start the Heartbeat service on the MDS node:

# service heartbeat start

After a few minutes, you should see the MDS mount active with df.

4.

When this is ready, start the Heartbeat service on the rest of the OSS nodes:

# pdsh -w oss[1-n] service heartbeat start

5.

When the file system has started properly, HP recommends setting the Heartbeat service to
automatically start on boot:

# pdsh -a chkconfig --level 345 heartbeat on

This automatically starts the file system component defined to run on the node when it is
rebooted.

5.4 Stopping the File System

Before the file system is stopped, unmount all client nodes. For example, run the following
command on all client nodes:

# umount /testfs

1.

Stop the Heartbeat service on all the OSS nodes:

# pdsh -w oss[1-n] service heartbeat stop

2.

Stop the Heartbeat service on the MDS and MGS nodes:

# pdsh -w mgs,mds service heartbeat stop

3.

To prevent the file system components and the Heartbeat service from automatically starting
on boot, enter the following command:

# pdsh -a chkconfig --level 345 heartbeat off

This forces you to manually start the Heartbeat service and the file system after a file system
server node is rebooted.

38

Using HP SFS Software

Advertising