HP Clustered Gateway Device Management Software manual # mxsanlk

Page 35

Chapter 1: Matrix Server Commands

30

membership partition. Before a matrix can begin accessing the SAN, it must first acquire a majority of the SANlocks. The SANlocks are acquired in order.

mxsanlk displays the status of the SANlock stored in each membership partition. It can be used to determine whether any of the membership partitions need to be repaired. Also, if a network partition occurs, mxsanlk can be used to determine which network partition has control of the SAN.

Following is some sample output. The command was issued on host

99.10.30.3.The SDMP administrator is the administrator for the matrix to which the host belongs. There are three membership partitions.

# mxsanlk

99.10.30.3

This host:

This host’s SDMP administrator: 99.10.30.1

Membership Partition

SANlock State

--------------------

-------------

/dev/rpsd/psd1p1

held by SDMP administrator

/dev/rpsd/psd2p1

held by SDMP administrator

/dev/rpsd/psd3p3

held by SDMP administrator

Any of these messages can appear in the “SANlock State” column.

held by SDMP administrator

The SANlock was most recently held by the SDMP administrator of the matrix to which the host where mxsanlk was run belongs.

trying to lock, last held by host X.X.X.X

The SANlock was most recently held by host X.X.X.X and may still be held by that host. The host on which mxsanlk was run is trying to acquire the SANlock.

cannot access

The host on which mxsanlk was run is unable to access the SANlock. The membership partition may need to be repaired.

trying to lock, not yet committed by owner

The SANlock is either not held or has not yet been committed by its holder. The host on which mxsanlk was run is trying to acquire the SANlock.

Copyright © 1999-2006 PolyServe, Inc. All rights reserved.

Image 35
Contents PolyServe Matrix Server Command Reference Copyright 2004-2006 PolyServe, Inc Contents Contents Index Opt/polyserve/sbin/destroypsfs Destroypsfs destroy a Psfs filesystemEmulex/dfc, emulex/lpedit Emulex utilities Diskupdate reattempt to access a diskDlmdebug debug DLM problems Edquota edit user and group quotasHbaapidump show LUN information Fsprobe report filesystem informationGcstat print grpcommd statistics Getfenceidentity get fencing informationMkpsfs create a Psfs filesystem Lcl-dump show information about LCL locksLogcollect obtain log files Userdefault=size groupdefault=size Disable-fzbmEnable-quotas Opt/polyserve/lib/mpdump mpdump -v-F Mpdump -v-f outputfile Mpimport Restore membership partition dataMpdump Save membership partition data FoutputfileMpimport -p psdname --local devname Mpimport uid uidMpimport --localdevname devname Mpimport -ppsdname uidMpimport --replace olduid newuid Mx Matrix Server command-line interfaceMxcheck verify Matrix Server requirements Mpimport -s-M-finputfile psdnamepsvnameSequence Ttext-file and/or -hhtml-fileDisplay a usage message Mxcollect collect configuration informationMxconfig configure the matrix HelpMatrix matrix Mxfence verify fencing module configurationConfig file Mxconsole start the Management ConsoleFor a blade server, specify the blade number Mxfencecfg configure the fence agentVvendor Bblade numberUusername IIP address of remote controllerPpassword Mxinit manage Matrix Server processesHard File, --alt-config-file fileStart StopHba-status VersionMonitor No-monitorLog-text Mxlogger add a log messageEentity LlevelOpt/polyserve/bin/mxmpconf # /etc/init.d/pmxs stop Setup OptionMxmpconf manage membership partitions Repair MenuResilver Membership Partition StatusRepair Menu Options Repair Menu includes the following optionsDisplay AddRemove ReplaceThis option removes all entries from the server registry Mxmpio monitor or manage Mpio devicesClear the Host Registry Active target Enable/disableEnableall/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 PathShow Load Statistics Set the Timeout ValueShow Number of Transient Errors Display Status InformationDump I/O Statistics in Raw Format Syntax isDisplay General I/O Statistics Rawstat interval count Opt/polyserve/bin/mxnlmconfig -q-e-d Mxnlmconfig enable or disable NLMMxperftool view performance counters Mxpasswd add users or change passwordsMxsanlk show SAN ownership locks Mxsancheck check server’s SAN accessMxsanconf configure FC switches # mxsanlk Matrix Server Commands Webmgmt Mxsetfence configure fencingFcsan Fabric fencingOpt/polyserve/bin/mxsetsecret -f --filename filename secret Mxsetsecret set the network secret passwordPmxs start or stop Matrix Server or view status Opt/polyserve/sbin/PSANinfo -n-s-uswitchname PSANinfo show FC logins, Naming DatabaseUswitch Opt/polyserve/sbin/PSANcfg -hu-lLPort WWN switchPsfsck check and repair a Psfs filesystem Psdctl manage device bindingsRebuild-tree Check filesystem consistency. This is the default actionCheck Interactive,-i Enable-fzbmRebuild-sb Rebuild-quotasSet-udq sizeTGMK Disable the Fzbm feature on the specified filesystemDisable-quotas Psfsdebug get Psfs filesystem imagePsfsinfo report filesystem information Next command restores the data to the filesystemPsfsdq save quota data Verbose,-v Feature FeatureEnable verbose messages Display the version of the on-disk filesystem formatOpt/polyserve/tools/psfslabel device label Psfslabel command adds a label to the specified devicePsfslabel label a Psfs filesystem Psfsquota manage disk quotasPsfsresume resume a suspended Psfs filesystem Opt/polyserve/sbin/psfsrq -f path filesystem Psfsrq restore quota dataPsfssema manage matrix-wide file locks Opt/polyserve/tools/psfssuspend directorymountpoint Psfssuspend suspend a Psfs filesystemPsfsunpack unpack a Psfs filesystem image Psvctl manage dynamic volumesResizepsfs resize a Psfs filesystem Quota report quota information for a userRepquota report quota information for a filesystem Resizepsfs -s +1G /dev/psd/psd6p4 +-sizeKMGTSandiskinfo -i-u-v-f-alr-U-q Sandiskinfo show SAN disk informationDisk Information # sandiskinfo# sandiskinfo -f # sandiskinfo -a# sandiskinfo -al # sandiskinfo --dynvolumes Options for Dynamic VolumesFollowing sandiskinfo options apply only to dynamic volumes --dynvolumesoption lists all dynamic volumesSpctl dump the SanPulse trace buffer Setquota set quotasSnapctl manage snapshot operations Wmtest test server-based fencing Spdebug obtain SanPulse debug informationSpstat show matrix state information Warnquota warn users of quota limitsMatrix Server Commands Matrixrc file Using the mx utilityMx --matrix srv1 server status Matrixrc fileMx server status Mx --matrix srv8 server status Mx --prompt ’%’ --file Mx syntaxFile file Prompt promptMx server status --up To specify a command affecting a class, use this syntaxNumeric Class syntaxApplication associated with this device monitor Mx device device monitor commandsMx application manage applications Parameters parameters Amount of time to wait for the Recovery script to completeRecoveryScript script RecoveryTimeout secondsAmount of time to wait for the Stop script to complete Amount of time to wait for the Start script to completeMx device globalsettings --eventdelay seconds Mx device enable devicename serverMx device disable devicename server Enabled Disabled Primary BackupMx disk disk commands Mx dynvolume dynamic volume commands Add an Export Group Mx exportgroup Export Group commandsServersALLSERVERS servernameorIP Arguments are the same as the exportgroup add commandServer to be monitored. The default is all servers Do not validate the export recordsCsv Mx fs filesystem commandsDatasetsnumber of data sets Unlimited NoHeadersBlock size is always 4 KB Enable quotas on the filesystemOptional arguments are Create the directory mount point Mount options areCurrent alert messages appear at the end of the output Mx matrix matrix commandsOptimize file access for database data files Do not display column headers in the output To restore the configuration, use this commandMx matrix dump backupfile Mx --continue --file backupfileNetwork interface must be down Mx netif network interface commandsNotifier name can include up to 32 characters Mx notifier notifier commandsForce Mx quota filesystem quota commandsDo not display command output Mx notifier dump notifierDisplay the output in comma-separated value format Range of disk space usage User ID or range of IDsValue specified for --nameis a regular expression MemberOf group name a group name for filtering users Range of percentages of disk space usedPercentUsedRange #%-#% Mx quota showuser search-argumentsALLFILESYSTEMSps device Search arguments areValue specified for --nameis a group name Mx server server commandsMx server markdown server Mx service service monitor commandsMx server enable server Mx server dumpType type This argument applies only to Custom monitorsAmount of time to wait for the script to complete Mx service clear vhostport server Mx service enable vhostport serverMx service disable vhostport server Mx service delete vhostportMx snapshot destroy volume Mx snapshot snapshot commandsMx vhost virtual host commands Mx snapshot create --terse options volumeActivity singleactive Policy autofailbacknofailbackMx vnfs Virtual NFS Service commands Arguments are the same as mx vnfs add Sleep commandMx vhost IndexDLM, debug 2 dynamic volume Server add Check SAN access 29 delete Global Event Delay, device monitorMove EnableStatus information
Related manuals
Manual 27 pages 48.09 Kb