beautypg.com

2 creating the /etc/​hosts file, 3 configuring pdsh, 4 configuring ntp – HP StorageWorks Scalable File Share User Manual

Page 25: 5 configuring user credentials, 2 creating the /etc/hosts file

background image

HOSTNAME=mynode1

3.5.2 Creating the /etc/hosts file

Create an /etc/hosts file with the names and IP addresses of all the Ethernet interfaces on
each system in the file system cluster, including the following:

Internal interfaces

External interface

iLO interfaces

InfiniBand interfaces

Interfaces to the Fibre Channel switches

MSA2000 controllers

InfiniBand switches

Client nodes (optional)

This file should be propagated to all nodes in the file system cluster.

3.5.3 Configuring pdsh

The pdsh command enables parallel shell commands to be run across the file system cluster.
The pdsh RPMs are installed by the HP SFS G3.0-0 Software installation process, but some
additional steps are needed to enable passwordless pdsh and ssh access across the file system
cluster.

1.

Put all host names in /opt/hptc/pdsh/nodes and verify they are also defined with their
IP addresses in /etc/hosts.

2.

Append /root/.ssh/id_rsa.pub from the node where pdsh is run to /root/.ssh/
authorized_keys

on each node.

3.

Enter the following command:

# echo "StrictHostKeyChecking no" >> /root/.ssh/config

.

This completes the process to run pdsh from one node. Repeat steps 1, 2, and 3 for each additional
node you want to use for pdsh.

3.5.4 Configuring ntp

The Network Time Protocol (ntp) should be configured to synchronize the time among all the
Lustre file system servers and the client nodes. This is primarily to facilitate the coordination of
time stamps in system log files to easily trace problems. This should have been performed with
appropriate editing to the initial Kickstart configuration file. But if it is incorrect, manually edit
the /etc/ntp.conf file and restart the ntpd service.

3.5.5 Configuring User Credentials

User IDs (UIDs) and Group IDs (GIDs) must be consistent across all server and client nodes in
an HP SFS G3.0-0 configuration. You can do this by adding user accounts to /etc/passwd and
/etc/shadow

on all file system server nodes, or by configuring Network Information Services

(NIS), or by using another network authentication method. HP recommends that users do not
have direct login access to the file system servers by creating a /etc/nologin file or equivalent
method.

See

“Changing group_upcall Value to Disable Group Validation” (page 45)

for the procedure

to disable group validation.

3.5 Configuration Instructions

25