HP XC System Software Installation Guide Version 4.0

# shownode servers lvs
n[135-136]
9. Create a symbolic link from the node names of the login nodes to the newly created master
autoinstallation script. Note that the node name is appended with a .sh extension:
for i in n135 n136
do
ln -sf login.master.0 $i.sh
done
10. Do one of the following to install the client nodes:
If the client nodes were not previously installed with the HP XC System Software, see
“Running the startsys Utility to Start the System and Propagate the Golden Image”
(page 117) to continue the initial installation procedure.
If the client nodes were previously installed, issue the following sequence of commands
to set the nodes to network boot and reboot the client nodes (wait until the stopsys
command completes before invoking the startsys command):
# setnode --resync n[135-136]
# stopsys n[135-136]
# startsys --image_and_boot n[135-136]
E.2.5 Example 4: Customizing Partition Sizes to Maximize File System Performance
This example describes how to configure a set of compute nodes to maximize file system
performance and create a large /scratch partition for computational work. All of the options
described in this section will take effect the next time the system is imaged.
1. Use the text editor of your choice to create the following file to define the partition format
for compute nodes:
/var/lib/systemimager/scripts/compute.part
The file name must contain the .part suffix. The remainder of the file name can be anything
you want.
2. Add the following lines to the file to minimize the required XC partitions and create a
/scratch partition equal to the remaining disk:
BOOT_SIZE="150"
ROOT_SIZE="5000"
VAR_SIZE="6000"
TMP_PERCENTAGE=".99"
TMP_NAME="/scratch"
NOTE: This allocates 150 MB to /boot, 5000 MB to / (root), 6000 MB to /var, 6144 MB
to a swap partition, and the remainder of the disk to a /scratch partition.
3. Save the changes to the file and exit the text editor.
4. Create links to all nodes you want to image with these partition sizes. For example, to
partition node n7 with these partition sizes, enter the following command, appending .part
to the node name:
# cd /var/lib/systemimager/scripts
# ln -s compute.part n7.part
5. If the node has two disks, you can also configure the node with software RAID0 (striping)
for maximum file system throughput. To do this, edit the /etc/systemimager/
systemimager.conf file, and the following line to the end of the file:
SOFTWARE_RAID0_NODES = n[5,7-9]
Then, rerun the /opt/hptc/config/sbin/cluster_config utility, which configures
nodes n5, n7, n8 and n9 with software RAID0 when they are reimaged.
210 Customizing Client Node Disks