Red Hat SATELLITE 5.3.0 RELEASE NOTES Technické informace Strana 85

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 84
# Deploy preconfigured cluster configuration file and set SELinux label
/bin/mv /root/cluster.conf /etc/cluster/cluster.conf
/sbin/restorecon /etc/cluster/cluster.conf
# Deactivate the management services volume group on the temporary install
# node, export from mgmt1, import to node mgmt1, and activate volume group
/usr/bin/ssh ${MGMT2_IP} /sbin/vgchange -an MgmtServicesVG
/usr/bin/ssh ${MGMT2_IP} /usr/sbin/vgexport MgmtServicesVG
/usr/sbin/vgimport MgmtServicesVG
/sbin/vgchange -ay MgmtServicesVG
# Restart libvirt to recognize the management services volume group
/sbin/service libvirtd restart
sleep 5
# Start the satellite VM on node mgmt1
/usr/bin/virsh start ${SAT_NAME}
# Create logical volume for use as RHEV NFS storage for ISO Image Library
/usr/sbin/lvcreate -n RHEVNFSvol -L 300G MgmtServicesVG
mkfs -t ext3 /dev/mapper/MgmtServicesVG-RHEVNFSvol
mount /dev/mapper/MgmtServicesVG-RHEVNFSvol /mnt
mkdir /mnt/ISO
chown 36:36 /mnt/ISO
umount /mnt
# Create VMs for JON, MRG, and RHEV-M
/root/createMgmtVMs.sh
# Remove reference to the temporary install node in known hosts
/bin/rm /root/.ssh/known_hosts
# Setup RHEVM monitoring
# since it will modify the cluster.conf via ricci install tools and initial keys
cd /root
wget http://sat-vm.cloud.lab.eng.bos.redhat.com/pub/resources/riccilib-current.noarch.rpm
wget http://sat-vm.cloud.lab.eng.bos.redhat.com/pub/resources/rhevm_mon.sh
chmod +x /root/rhevm_mon.sh
runcon -t rpm_t -- /usr/bin/yum -y --nogpgcheck localinstall /root/riccilib-current.noarch.rpm
echo "*/15 * * * * /root/rhevm_mon.sh >/dev/null 2>/dev/null" >> /var/spool/cron/root
elif [[ "$host" = "${MGMT2_NAME}" ]]
then
# Configure the other cluster member as NTP peer
/bin/echo "peer ${MGMT1_IP}" >> /etc/ntp.conf
# Deploy preconfigured cluster configuration file and set SELinux label
/bin/mv /root/cluster.conf /etc/cluster/cluster.conf
/sbin/restorecon /etc/cluster/cluster.conf
85 www.redhat.com
Zobrazit stránku 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 198 199

Komentáře k této Příručce

Žádné komentáře