4.0.0 HP Polyserve Matrix Server Installation Guide (T5392-96046, March 2010)
mx --matrix nodeA config snapshot add --method <type>
[--options <method options>]
(This command is needed only if you will be using the snapshot feature.)
mx --matrix nodeA server add nodeA
mx --matrix nodeA server start nodeA
mx --matrix nodeA config description <description>
The matrix is now configured and Matrix Server is running on nodeA. Repeat the
following set of commands to add the remaining nodes to the matrix and export the
configuration to them.
mx --matrix nodeA server add <nodename>
mx --matrix nodeA config export <nodename>
Now configure web management-based fencing on the nodes just added to the
matrix. For each node, specify the appropriate fencing information.
mx --matrix <nodename> config webfencing --ruser <user name>
--vendor <vendor> --mixedvendor yes|no --hostname
<name>|--hostsuffix <suffix> |--ipdelta <delta> [--type
reset|shutdown] [--bladeslot <slot>] [--sharedlogin yes|no]
[--rpassword <password>]
Now start Matrix Server on the servers:
mx --matrix nodeA server start <nodename>
The initial configuration of the matrix is complete.
Sample configuration script
The following example shows how a script can be used to configure the matrix.
Although this is a bash script, the same ideas apply to other scripting methods. Note
the following in the sample script:
• The values for the mx commands are specified in a file named cluster.conf.
• The matrix specified by this script uses Fibre Channel switch-based fencing.
• Some commands such as mx config protocol are not included in the script
because the default values for those commands will be used. Also note that mx
config fcfencing does not need to be specified because that is the default.
#!/bin/bash
if [ ! -f cluster.conf ]; then
echo "you need cluster.conf"
exit 1
HP PolyServe Matrix Server installation guide 47