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
Mkpsfs create a Psfs filesystem
Lcl-dump show information about LCL locks
Logcollect obtain log files
Userdefault=size groupdefault=size
Disable-fzbm
Enable-quotas
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
This option removes all entries from the server registry
Mxmpio monitor or manage Mpio devices
Clear the Host 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
Dump I/O Statistics in Raw Format
Syntax is
Display General I/O Statistics
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
Mxsanlk show SAN ownership locks
Mxsancheck check server’s SAN access
Mxsanconf configure FC switches
# mxsanlk
Matrix Server Commands
Fcsan
Mxsetfence configure fencing
Fabric fencing
Webmgmt
Opt/polyserve/bin/mxsetsecret -f --filename filename secret
Mxsetsecret set the network secret password
Pmxs start or stop Matrix Server or view status
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
Rebuild-tree
Check filesystem consistency. This is the default action
Check
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
Psfsinfo report filesystem information
Next command restores the data to the filesystem
Psfsdq save quota data
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
Opt/polyserve/sbin/psfsrq -f path filesystem
Psfsrq restore quota data
Psfssema manage matrix-wide file locks
Opt/polyserve/tools/psfssuspend directorymountpoint
Psfssuspend suspend a Psfs filesystem
Psfsunpack unpack a Psfs filesystem image
Psvctl manage dynamic volumes
Resizepsfs resize a Psfs filesystem
Quota report quota information for a user
Repquota report quota information for a 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 -f
# sandiskinfo -a
# sandiskinfo -al
Following sandiskinfo options apply only to dynamic volumes
Options for Dynamic Volumes
--dynvolumesoption lists all dynamic volumes
# sandiskinfo --dynvolumes
Spctl dump the SanPulse trace buffer
Setquota set quotas
Snapctl manage snapshot operations
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 --matrix srv1 server status
Matrixrc file
Mx 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
Application associated with this device monitor
Mx device device monitor commands
Mx application manage applications
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
Block size is always 4 KB
Enable quotas on the filesystem
Optional arguments are
Create the directory mount point
Mount options are
Current alert messages appear at the end of the output
Mx matrix matrix commands
Optimize file access for database data files
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
Range of disk space usage
User ID or range of IDs
Value specified for --nameis a regular expression
MemberOf group name a group name for filtering users
Range of percentages of disk space used
PercentUsedRange #%-#%
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
Type type
This argument applies only to Custom monitors
Amount of time to wait for the script to complete
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
Move
Enable
Status information