SGI Techpubs Library

Linux  »  Books  »  Administrative  »  
SGI Management Center Quick Start Guide
(document number: 007-5672-002 / published: 2011-08-11)    table of contents  |  additional info  |  download
find in page

Chapter 3. Configuration Tools

This chapter discusses the following configuration tools:

sgi_node-config.py

The sgi_node-config.py Python script configures the following files:

/etc/hosts
/etc/hosts.equiv
/root/.rhosts
/etc/skel/mpd.hosts
/etc/pdsh/machines
/etc/conman.conf
/etc/powerman/powerman.conf
/compute/etc/hosts
/compute/etc/hosts.equiv
/compute/root/.rhosts
/etc/skel/.rhosts
/home/sgi/.rhosts
/root/mpd.hosts
/home/sgi/mpd.hosts
/compute/root/mpd.hosts
/opt/intel/clck/1.6/nodelist-eth
/opt/intel/clck/1.6/nodelist-ib
/opt/intel/clck/1.6/nodelist-ge

The script is located in:

/opt/sgi/Factory-Install/Integration/sgi_node-config.py

The script uses ssh keys and contains information for root and normal users.

The script arguments are as follows:

Option 

Description

-h 

Displays option help information


Note: Alternate arguments, such as --help, are available. Use the -h option for more information.


-T TEMP_DIR 

Runs in test mode and puts output files in a temporary directory (TEMP_DIR)

-v level 

Outputs debug messages of the specified level or lower, from 1 (error messages) through 3 (error, warning, and informational messages)

-n COUNT 

Specifies the number of compute nodes

-g COUNT 

Specifies the number of graphics nodes

-S COUNT 

Specifies the number of service nodes

--nco OFFSET 

Specifies the number from which to start compute node numbering

--gnco OFFSET 

Specifies the number from which to start graphics node numbering

--snco OFFSET 

Specifies the number from which to start service node numbering

-e 

Enables creation of dedicated Gigabit Ethernet entries

-i 

Disables creation of InfiniBand node entries

-b 

Disables creation of BMC entries

-p 

Disables the fixing of user permissions

--gs COUNT 

Specifies the number of Gigabit Ethernet switches in the cluster

--gs_co OFFSET 

Specifies the number from which to start Gigabit Ethernet switch numbering

--is COUNT 

Specifies the number of InfiniBand switches in the cluster

--is_co OFFSET 

Specifies the number from which to start InfiniBand switch numbering

-F 

Creates/updates core system and payload files

-K 

Creates/updates system ssh keys

-P 

Create/update nodes in PBS Pro

-s STAGE_DIR 

Specifies the temporary staging directory ( STAGE_DIR)

--no_cleanup 

Leaves temporary files and directories in place

For example, the following creates a cluster configuration with 32 compute nodes, 2 Gigabit Ethernet switches, and 1 InfiniBand switch, and with SSH keys generated:

# ./sgi_node-config.py -n 32 --gs 2 --is 2 -F -K

sgi_cluster_import.pl

The sgi_cluster_import.pl Python script reads a file that contains MAC addresses and node names and writes out the following files that can be imported into SGI Management Center:

  • nodes.conf

  • nodes.cwhost.sh

  • nodes.dbix

The script is located in:

/opt/sgi/Factory-Install/Integration/CDT/sgi_cluster_import.pl

The file is in the following format:

00:00:00:00:00:00 n001
00:00:00:00:00:00 n002
...


Note: The : delimiters are optional.


The current nodes have already been imported into the cluster. The tool is left for future expansion.

SGI Management Center Quick Start Guide
(document number: 007-5672-002 / published: 2011-08-11)    table of contents  |  additional info  |  download

    Front Matter
    About This Guide
    Chapter 1. SGI Management Center Setup
    Chapter 2. Applications and Services
    Chapter 3. Configuration Tools
    Chapter 4. Rebuilding the Master Host After Failure


home/search | what's new | help