PolyServe Matrix Server Command Reference
Copyright 2004-2006 PolyServe, Inc
Contents
Contents
Index
Opt/polyserve/sbin/destroypsfs
Destroypsfs destroy a Psfs filesystem
Emulex/dfc, emulex/lpedit Emulex utilities
Diskupdate reattempt to access a disk
Dlmdebug debug DLM problems
Edquota edit user and group quotas
Hbaapidump show LUN information
Fsprobe report filesystem information
Gcstat print grpcommd statistics
Getfenceidentity get fencing 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
Opt/polyserve/lib/mpdump mpdump -v-F Mpdump -v-f outputfile
Mpimport Restore membership partition data
Mpdump Save membership partition data
Foutputfile
Mpimport -p psdname --local devname
Mpimport uid uid
Mpimport --localdevname devname
Mpimport -ppsdname uid
Mpimport --replace olduid newuid
Mx Matrix Server command-line interface
Mxcheck verify Matrix Server requirements
Mpimport -s-M-finputfile psdnamepsvname
Sequence
Ttext-file and/or -hhtml-file
Display a usage message
Mxcollect collect configuration information
Mxconfig configure the matrix
Help
Matrix matrix
Mxfence verify fencing module configuration
Config file
Mxconsole start the Management Console
For a blade server, specify the blade number
Mxfencecfg configure the fence agent
Vvendor
Bblade number
Uusername
IIP address of remote controller
Ppassword
Mxinit manage Matrix Server processes
Hard
File, --alt-config-file file
Start
Stop
Hba-status
Version
Monitor
No-monitor
Log-text
Mxlogger add a log message
Eentity
Llevel
Opt/polyserve/bin/mxmpconf # /etc/init.d/pmxs stop
Setup Option
Mxmpconf manage membership partitions
Repair Menu
Resilver
Membership Partition Status
Repair Menu Options
Repair Menu includes the following options
Display
Add
Remove
Replace
Clear the Host Registry
Mxmpio monitor or manage Mpio devices
This option removes all entries from the server registry
Active target
Enable/disable
Enableall/disableall
Timeout value
# 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 Load Statistics
Set the Timeout Value
Show Number of Transient Errors
Display Status Information
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
Webmgmt
Mxsetfence configure fencing
Fcsan
Fabric fencing
Pmxs start or stop Matrix Server or view status
Mxsetsecret set the network secret password
Opt/polyserve/bin/mxsetsecret -f --filename filename secret
Opt/polyserve/sbin/PSANinfo -n-s-uswitchname
PSANinfo show FC logins, Naming Database
Uswitch
Opt/polyserve/sbin/PSANcfg -hu-lLPort WWN switch
Psfsck check and repair a Psfs filesystem
Psdctl manage device bindings
Check
Check filesystem consistency. This is the default action
Rebuild-tree
Interactive,-i
Enable-fzbm
Rebuild-sb
Rebuild-quotas
Set-udq sizeTGMK
Disable the Fzbm feature on the specified filesystem
Disable-quotas
Psfsdebug get Psfs filesystem image
Psfsdq save quota data
Next command restores the data to the filesystem
Psfsinfo report filesystem information
Verbose,-v
Feature Feature
Enable verbose messages
Display the version of the on-disk filesystem format
Opt/polyserve/tools/psfslabel device label
Psfslabel command adds a label to the specified device
Psfslabel label a Psfs filesystem
Psfsquota manage disk quotas
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
Sandiskinfo -i-u-v-f-alr-U-q
Sandiskinfo show SAN disk information
Disk Information
# sandiskinfo
# sandiskinfo -al
# sandiskinfo -a
# sandiskinfo -f
# sandiskinfo --dynvolumes
Options for Dynamic Volumes
Following sandiskinfo options apply only to dynamic volumes
--dynvolumesoption lists all dynamic volumes
Snapctl manage snapshot operations
Setquota set quotas
Spctl dump the SanPulse trace buffer
Wmtest test server-based fencing
Spdebug obtain SanPulse debug information
Spstat show matrix state information
Warnquota warn users of quota limits
Matrix Server Commands
Matrixrc file
Using the mx utility
Mx server status
Matrixrc file
Mx --matrix srv1 server status
Mx --matrix srv8 server status
Mx --prompt ’%’ --file
Mx syntax
File file
Prompt prompt
Mx server status --up
To specify a command affecting a class, use this syntax
Numeric
Class syntax
Mx application manage applications
Mx device device monitor commands
Application associated with this device monitor
Parameters parameters
Amount of time to wait for the Recovery script to complete
RecoveryScript script
RecoveryTimeout seconds
Amount of time to wait for the Stop script to complete
Amount of time to wait for the Start script to complete
Mx device globalsettings --eventdelay seconds
Mx device enable devicename server
Mx device disable devicename server
Enabled Disabled Primary Backup
Mx disk disk commands
Mx dynvolume dynamic volume commands
Add an Export Group
Mx exportgroup Export Group commands
ServersALLSERVERS servernameorIP
Arguments are the same as the exportgroup add command
Server to be monitored. The default is all servers
Do not validate the export records
Csv
Mx fs filesystem commands
Datasetsnumber of data sets Unlimited
NoHeaders
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
Do not display column headers in the output
To restore the configuration, use this command
Mx matrix dump backupfile
Mx --continue --file backupfile
Network interface must be down
Mx netif network interface commands
Notifier name can include up to 32 characters
Mx notifier notifier commands
Force
Mx quota filesystem quota commands
Do not display command output
Mx notifier dump notifier
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 markdown server
Mx service service monitor commands
Mx server enable server
Mx server dump
Amount of time to wait for the script to complete
This argument applies only to Custom monitors
Type type
Mx service clear vhostport server
Mx service enable vhostport server
Mx service disable vhostport server
Mx service delete vhostport
Mx snapshot destroy volume
Mx snapshot snapshot commands
Mx vhost virtual host commands
Mx snapshot create --terse options 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