
setsebool -P named_write_master_zones on
chmod 770 /var/named
chkconfig named on
# Set NFS daemon ports
cat <<EOF>>/etc/sysconfig/nfs
QUOTAD_PORT=875
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
STATD_PORT=662
STATD_OUTGOING_PORT=2020
EOF
# disable LRO on bnx2x - BZ 518531
echo "options bnx2x disable_tpa=1" >> /etc/modprobe.conf
# update software
yum -y update
# prepare action to be performed on next boot
/bin/cp /etc/rc.d/rc.local /etc/rc.d/rc.local.shipped
cat mgmt.rc.local.add >> /etc/rc.d/rc.local
) >> /root/ks-post.log 2>&1
1. The script that performs actions upon the boot after installation is listed below. There is
some branching as the script performs different actions on each management system.
The first management system:
• installs python based expect commands
• sets presentations and aliases of storage volumes for the system
• configures the previously generated ssh onto the system
• prepares the mount of the GFS2 file system
• uses the other cluster member as an NTP peer
• shuts down satellite on the temporary host
• deploys the cluster configuration file
• exports the LVM volume group used for management services from the
temporary host
• imports and activates the management services volume group on this system
• starts the satellite VM on this system
• creates the NFS volume for RHEV ISO images
• creates the remaining Management Virtual Machines
• starts the monitoring of the RHEV Manager
mgmt.rc.local.add
(
# source env vars
83 www.redhat.com
Comentarios a estos manuales