Red Hat SATELLITE 5.3.0 RELEASE NOTES Informações Técnicas Página 85

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 199
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 198 199

Comentários a estes Manuais

Sem comentários