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
 Lcl-dump show information about LCL locks
Logcollect obtain log files
Mkpsfs create a Psfs filesystem
 Disable-fzbm
Enable-quotas
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
 Mxmpio monitor or manage Mpio devices
Clear the Host Registry
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
 Syntax is
Display General I/O Statistics
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
 Mxsancheck check server’s SAN access
Mxsanconf configure FC switches
Mxsanlk show SAN ownership locks
 # mxsanlk
 Matrix Server Commands
 Fcsan
Mxsetfence configure fencing
Fabric fencing
Webmgmt
 Mxsetsecret set the network secret password
Pmxs start or stop Matrix Server or view status
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 filesystem consistency. This is the default action
Check
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
 Next command restores the data to the filesystem
Psfsdq save quota data
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
 Psfsrq restore quota data
Psfssema manage matrix-wide file locks
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
 Quota report quota information for a user
Repquota report quota information for a filesystem
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 -a
# sandiskinfo -al
# sandiskinfo -f
 Following sandiskinfo options apply only to dynamic volumes
Options for Dynamic Volumes
--dynvolumesoption lists all dynamic volumes
# sandiskinfo --dynvolumes
 Setquota set quotas
Snapctl manage snapshot operations
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
 Matrixrc file
Mx server status
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 device device monitor commands
Mx application manage applications
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
 Enable quotas on the filesystem
Optional arguments are
Block size is always 4 KB
 Create the directory mount point
Mount options are
 Mx matrix matrix commands
Optimize file access for database data files
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
 User ID or range of IDs
Value specified for --nameis a regular expression
Range of disk space usage
 Range of percentages of disk space used
PercentUsedRange #%-#%
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
 This argument applies only to Custom monitors
Amount of time to wait for the script to complete
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
 Enable
Status information
Move