beautypg.com

HP StorageWorks Scalable File Share User Manual

Page 161

background image

Verifying the system

6–31

CAUTION:

Using NFS on an Object Storage Server is not generally supported, as it may

seriously interfere with Lustre operation. Do not use NFS while Lustre is operating, and do not use

NFS as a general file exchange mechanism between servers.

To run the

qselantest

diagnostics on an Object Storage Server, perform the following steps:

1.

Log in to the Object Storage Server that is to be tested, and connect to the server where the

administration service is running by entering the following command:

# ssh hplsadm

2.

Export the administration server drive by adding a line similar to the following to the

/etc/exports

file:

/ 192.168.0.0/16(no_root_squash)

This line specifies the address/mask of the management network subnet—in this example, the

192.168 subnet; if your management network subnet is different, change the line as necessary.

3.

Start the NFS server by entering the following command:

# service nfs restart

4.

Enter the

exit

command to return to the Object Storage Server.

5.

Connect to the administration server drive, as follows:

# mkdir /mnt/adm
# mount -t nfs -o nolock hplsadm:/ /mnt/adm

6.

Set the PATH and LD_LIBRARY_PATH environment variables, as follows:

# PATH=$PATH:/mnt/adm/usr/bin
# export PATH
# LD_LIBRARY_PATH=/mnt/adm/usr/lib/qsnet/elan4/lib
# export LD_LIBRARY_PATH

7.

Run the diagnostics by entering the following commands:

# cd /mnt/adm/usr/bin
# ./qselantest

See Section 6.1.8.3.3 for an example of output from a

qselantest

test that detected no errors.

8.

When the test is finished, disconnect from the administration server drive by entering the following

commands:

# cd /
# umount /mnt/adm

9.

Stop the NFS server on the administration server by entering the following command (on the Object

Storage Server):

# ssh hplsadm service nfs stop

10.

Enter the

exit

command to quit the Object Storage Server. This automatically sets the

PATH

and

LD_LIBRARY_PATH

environment variables to their original values.

Note that you must quit the Object Storage Server in order to set the

PATH

and

LD_LIBRARY_PATH

environment variables to their original values. If necessary, you can then connect to the Object

Storage Server again.