Copy the root file system to the NFS server and make
some changes to adapt it to an individual BladeCenter® server.
Perform the following steps to deploy your root file
system on the NFS server:
- On the POWER-based installation system, enable SSH logins by changing
the entry SELINUX='enforcing' in /etc/selinux/config to SELINUX='permissive'.
- Copy the root file system to the NFS directory by typing the following
command on the NFS server:
# rsync -avp -e ssh -x root@<POWER-server>:/ /<NFS-dir>
where <NFS-dir> is the directory to which
you want to copy the root file system. For example, enter:# rsync -avp -e ssh -x root@192.0.2.20:/ /nfsroot/root_for_192.0.2.10
- Make the following changes to the copy of the root file system
on the NFS server.
- To make this image bootable, edit the /etc/fstab file
and comment out the entries for "/", "/boot"
and "swap". Failure to comment these out will cause errors
on startup.
- Change the first line in /etc/fstab so that it specifies
your NFS directory as the location of the root file system. For example, change
line
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
to
read192.0.2.22:/nfsroot/root_for_192.0.2.10 / nfs tcp,nolock 1 1
- Change the host name in /etc/hosts and /etc/sysconfig/network to
the host name of your BladeCenter
QS21.
- Remove the /dev/VolGroup00/LogVol01 swap line from /etc/fstab.
You now have a root file system in place for your
BladeCenter QS21.
Tip: By
copying this root file system to another directory on your NFS server you
can easily create the root file system for further BladeCenter servers. After creating
a copy you need to change the host name to that of the respective BladeCenter server.