4.0.0 HP Polyserve Matrix Server Installation Guide (T5392-96046, March 2010)

fi
set -x
source cluster.conf
MX="mx --matrix ${MATRIX} --user ${USER} --password ${PASSWORD}"
# Configure cluster.
${MX} config license ${LICENSE} || exit 1
${MX} config secret ${SECRET} || exit 1
${MX} config fcswitch --community ${COMMUNITY} ${SWITCHES} || exit 1
${MX} config mp set ${MP} || exit 1
# Export the config to all the other nodes and start them up.
${MX} server start ${MATRIX} || exit 1
for NODE in ${NODES}; do
${MX} server add ${NODE} || exit 1
${MX} config export ${NODE} || exit 1 done
The cluster.conf file defines the values for the commands in the script.
# Cluster Details
# Start Node
MATRIX="nodeA"
# Other Nodes
NODES="nodeB nodeC nodeD"
# Fibre Channel Switch Information
SWITCHES="99.10.180.253"
# Membership Partitions
MP="6-6005-08B3-0090-A860-22BE-8098-CC0A-0041/1 6-6005-08B3-0090-A860-22BE
-8098-CC0A-0041/2 6-6005-08B3-0090-A860-22BE-8098-CC0A-0041/3"
# License File
LICENSE="permanent.lic"
# Community SNMP String used by Switches
COMMUNITY="public"
# The Secret Network Key
SECRET="secret"
# Authentication Information
USER="Administrator"
PASSWORD="Admin"
Configure the matrix from the command line48