beautypg.com

HP Insight Cluster Management Utility User Manual

Page 158

background image

#
INTEL_MIC_FS=${CMU_RCFG_PATH}/opt/intel/mic/filesystem.default
# configure micX/etc/sysconfig/hostname files
MIC0_HOSTFILE=${INTEL_MIC_FS}/mic0/etc/sysconfig/.hostname.${CMU_RCFG_HOSTNAME}
MIC1_HOSTFILE=${INTEL_MIC_FS}/mic1/etc/sysconfig/.hostname.${CMU_RCFG_HOSTNAME}
echo "HOSTNAME=${MIC0_HOSTNAME}" > ${MIC0_HOSTFILE}
echo "HOSTNAME=${MIC1_HOSTNAME}" > ${MIC1_HOSTFILE}

# configure the micX/etc/sysconfig/network/ifcfg-mic0 files
MIC0_NETDIR=${INTEL_MIC_FS}/mic0/etc/sysconfig/network
MIC1_NETDIR=${INTEL_MIC_FS}/mic1/etc/sysconfig/network
echo "IPADDR=${MIC0_IP}" > ${MIC0_NETDIR}/.ifcfg-mic0.${CMU_RCFG_HOSTNAME}
echo "PREFIX=16" >> ${MIC0_NETDIR}/.ifcfg-mic0.${CMU_RCFG_HOSTNAME}
echo "MTU=1500" >> ${MIC0_NETDIR}/.ifcfg-mic0.${CMU_RCFG_HOSTNAME}

echo "IPADDR=${MIC1_IP}" > ${MIC1_NETDIR}/.ifcfg-mic0.${CMU_RCFG_HOSTNAME}
echo "PREFIX=16" >> ${MIC1_NETDIR}/.ifcfg-mic0.${CMU_RCFG_HOSTNAME}
echo "MTU=1500" >> ${MIC1_NETDIR}/.ifcfg-mic0.${CMU_RCFG_HOSTNAME}

exit 0

158

Advanced topics