PolyServe Matrix Server Command Reference
 Copyright 2004-2006 PolyServe, Inc
 Contents
 Contents
 Index
 Opt/polyserve/sbin/destroypsfs
Destroypsfs destroy a Psfs filesystem
 Dlmdebug debug DLM problems
Diskupdate reattempt to access a disk
Edquota edit user and group quotas
Emulex/dfc, emulex/lpedit Emulex utilities
 Gcstat print grpcommd statistics
Fsprobe report filesystem information
Getfenceidentity get fencing information
Hbaapidump show LUN information
 Logcollect obtain log files
Lcl-dump show information about LCL locks
Mkpsfs create a Psfs filesystem
 Enable-quotas
Disable-fzbm
Userdefault=size groupdefault=size
 Mpdump Save membership partition data
Mpimport Restore membership partition data
Foutputfile
Opt/polyserve/lib/mpdump mpdump -v-F Mpdump -v-f outputfile
 Mpimport --localdevname devname
Mpimport uid uid
Mpimport -ppsdname uid
Mpimport -p psdname --local devname
 Mxcheck verify Matrix Server requirements
Mx Matrix Server command-line interface
Mpimport -s-M-finputfile psdnamepsvname
Mpimport --replace olduid newuid
 Sequence
Ttext-file and/or -hhtml-file
 Mxconfig configure the matrix
Mxcollect collect configuration information
Help
Display a usage message
 Config file
Mxfence verify fencing module configuration
Mxconsole start the Management Console
Matrix matrix
 Vvendor
Mxfencecfg configure the fence agent
Bblade number
For a blade server, specify the blade number
 Ppassword
IIP address of remote controller
Mxinit manage Matrix Server processes
Uusername
 Start
File, --alt-config-file file
Stop
Hard
 Monitor
Version
No-monitor
Hba-status
 Eentity
Mxlogger add a log message
Llevel
Log-text
 Mxmpconf manage membership partitions
Setup Option
Repair Menu
Opt/polyserve/bin/mxmpconf # /etc/init.d/pmxs stop
 Repair Menu Options
Membership Partition Status
Repair Menu includes the following options
Resilver
 Remove
Add
Replace
Display
 Clear the Host Registry
Mxmpio monitor or manage Mpio devices
This option removes all entries from the server registry
 Enableall/disableall
Enable/disable
Timeout value
Active target
 # mxmpio enabledisable PSD-device
Enable or Disable Failover for a PSD Device
 # /opt/polyserve/sbin/mxmpio active 0 psd2p1
An Example of Changing the I/O Path
 Show Number of Transient Errors
Set the Timeout Value
Display Status Information
Show Load Statistics
 Display General I/O Statistics
Syntax is
Dump I/O Statistics in Raw Format
 Rawstat interval count
 Opt/polyserve/bin/mxnlmconfig -q-e-d
Mxnlmconfig enable or disable NLM
 Mxperftool view performance counters
Mxpasswd add users or change passwords
 Mxsanconf configure FC switches
Mxsancheck check server’s SAN access
Mxsanlk show SAN ownership locks
 # mxsanlk
 Matrix Server Commands
 Fcsan
Mxsetfence configure fencing
Fabric fencing
Webmgmt
 Pmxs start or stop Matrix Server or view status
Mxsetsecret set the network secret password
Opt/polyserve/bin/mxsetsecret -f --filename filename secret
 Uswitch
PSANinfo show FC logins, Naming Database
Opt/polyserve/sbin/PSANcfg -hu-lLPort WWN switch
Opt/polyserve/sbin/PSANinfo -n-s-uswitchname
 Psfsck check and repair a Psfs filesystem
Psdctl manage device bindings
 Check
Check filesystem consistency. This is the default action
Rebuild-tree
 Rebuild-sb
Enable-fzbm
Rebuild-quotas
Interactive,-i
 Disable-quotas
Disable the Fzbm feature on the specified filesystem
Psfsdebug get Psfs filesystem image
Set-udq sizeTGMK
 Psfsdq save quota data
Next command restores the data to the filesystem
Psfsinfo report filesystem information
 Enable verbose messages
Feature Feature
Display the version of the on-disk filesystem format
Verbose,-v
 Psfslabel label a Psfs filesystem
Psfslabel command adds a label to the specified device
Psfsquota manage disk quotas
Opt/polyserve/tools/psfslabel device label
 Psfsresume resume a suspended Psfs filesystem
 Psfssema manage matrix-wide file locks
Psfsrq restore quota data
Opt/polyserve/sbin/psfsrq -f path filesystem
 Opt/polyserve/tools/psfssuspend directorymountpoint
Psfssuspend suspend a Psfs filesystem
 Psfsunpack unpack a Psfs filesystem image
Psvctl manage dynamic volumes
 Repquota report quota information for a filesystem
Quota report quota information for a user
Resizepsfs resize a Psfs filesystem
 Resizepsfs -s +1G /dev/psd/psd6p4
+-sizeKMGT
 Disk Information
Sandiskinfo show SAN disk information
# sandiskinfo
Sandiskinfo -i-u-v-f-alr-U-q
 # sandiskinfo -al
# sandiskinfo -a
# sandiskinfo -f
 Following sandiskinfo options apply only to dynamic volumes
Options for Dynamic Volumes
--dynvolumesoption lists all dynamic volumes
# sandiskinfo --dynvolumes
 Snapctl manage snapshot operations
Setquota set quotas
Spctl dump the SanPulse trace buffer
 Spstat show matrix state information
Spdebug obtain SanPulse debug information
Warnquota warn users of quota limits
Wmtest test server-based fencing
 Matrix Server Commands
 Matrixrc file
Using the mx utility
 Mx server status
Matrixrc file
Mx --matrix srv1 server status
 Mx --matrix srv8 server status
 File file
Mx syntax
Prompt prompt
Mx --prompt ’%’ --file
 Numeric
To specify a command affecting a class, use this syntax
Class syntax
Mx server status --up
 Mx application manage applications
Mx device device monitor commands
Application associated with this device monitor
 RecoveryScript script
Amount of time to wait for the Recovery script to complete
RecoveryTimeout seconds
Parameters parameters
 Amount of time to wait for the Stop script to complete
Amount of time to wait for the Start script to complete
 Mx device disable devicename server
Mx device enable devicename server
Enabled Disabled Primary Backup
Mx device globalsettings --eventdelay seconds
 Mx disk disk commands
 Mx dynvolume dynamic volume commands
 Add an Export Group
Mx exportgroup Export Group commands
 Server to be monitored. The default is all servers
Arguments are the same as the exportgroup add command
Do not validate the export records
ServersALLSERVERS servernameorIP
 Datasetsnumber of data sets Unlimited
Mx fs filesystem commands
NoHeaders
Csv
 Optional arguments are
Enable quotas on the filesystem
Block size is always 4 KB
 Create the directory mount point
Mount options are
 Optimize file access for database data files
Mx matrix matrix commands
Current alert messages appear at the end of the output
 Mx matrix dump backupfile
To restore the configuration, use this command
Mx --continue --file backupfile
Do not display column headers in the output
 Network interface must be down
Mx netif network interface commands
 Notifier name can include up to 32 characters
Mx notifier notifier commands
 Do not display command output
Mx quota filesystem quota commands
Mx notifier dump notifier
Force
 Display the output in comma-separated value format
 Value specified for --nameis a regular expression
User ID or range of IDs
Range of disk space usage
 PercentUsedRange #%-#%
Range of percentages of disk space used
MemberOf group name a group name for filtering users
 Mx quota showuser search-argumentsALLFILESYSTEMSps device
Search arguments are
 Value specified for --nameis a group name
Mx server server commands
 Mx server enable server
Mx service service monitor commands
Mx server dump
Mx server markdown server
 Amount of time to wait for the script to complete
This argument applies only to Custom monitors
Type type
 Mx service disable vhostport server
Mx service enable vhostport server
Mx service delete vhostport
Mx service clear vhostport server
 Mx vhost virtual host commands
Mx snapshot snapshot commands
Mx snapshot create --terse options volume
Mx snapshot destroy volume
 Activity singleactive
Policy autofailbacknofailback
 Mx vnfs Virtual NFS Service commands
 Arguments are the same as mx vnfs add
Sleep command
 Mx vhost
Index
 DLM, debug 2 dynamic volume
 Server add Check SAN access 29 delete
Global Event Delay, device monitor
 Status information
Enable
Move