HP Clustered Gateway Device Management Software manual Enable or Disable Failover for a PSD Device

Page 27

Chapter 1: Matrix Server Commands

22

Enable or Disable Failover for a PSD Device

When a failure occurs in the I/O path to a particular PSD device, Matrix Server will by default fail over to another I/O path. You can use the following command to control whether this failover behavior can occur for specific PSD devices. Matrix Server starts with failover enabled.

#mxmpio enabledisable [<PSD-device ...>]

Specify the Path for I/O

If you are troubleshooting problems with an I/O path, you may want to direct the I/O to another I/O path. You might also want to manually balance I/O paths on a per-server basis across the cluster. This is possible because mxmpioʹs controls are server specific.

You can use the following command to specify either a particular HBA or a PSD device. Matrix Server will then fail over the I/O to the path that includes the specified device. In the command, PSD-deviceis specified by the base name of the device path, such as psd2p1 (not /dev/psd/psd2p1).

#mxmpio active <target> <PSD-device>

target can be one of the following values:

IA numerical index on the PSD device target array (0..).

M,m A decimal major/minor number identifying the host adapter.

M:m A hexadecimal major/minor number identifying the host adapter.

scsiN/C A scsi bus ID. N is the scsi host adapter ID (0..) and C is the scsi host channel number (0..) as defined in /proc/scsi/scsi and /proc/scsi/*/[0-9].If C is omitted, zero is assumed.

sdNsP A device node in /dev. The value is converted to a major/minor number identifying the corresponding host adapter.

With the exception of I (the array index), the value specified is converted to the corresponding host adapter/channel before being used to select the target.

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

Image 27
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 informationLcl-dump show information about LCL locks Logcollect obtain log filesMkpsfs create a Psfs filesystem Disable-fzbm Enable-quotasUserdefault=size groupdefault=size 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 options Display Add Remove ReplaceMxmpio monitor or manage Mpio devices Clear the Host RegistryThis option removes all entries from the server 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 InformationSyntax is Display General I/O StatisticsDump I/O Statistics in Raw Format Rawstat interval count Opt/polyserve/bin/mxnlmconfig -q-e-d Mxnlmconfig enable or disable NLMMxperftool view performance counters Mxpasswd add users or change passwordsMxsancheck check server’s SAN access Mxsanconf configure FC switchesMxsanlk show SAN ownership locks # mxsanlk Matrix Server Commands Webmgmt Mxsetfence configure fencingFcsan Fabric fencingMxsetsecret set the network secret password Pmxs start or stop Matrix Server or view statusOpt/polyserve/bin/mxsetsecret -f --filename filename secret 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 bindingsCheck filesystem consistency. This is the default action CheckRebuild-tree Interactive,-i Enable-fzbmRebuild-sb Rebuild-quotasSet-udq sizeTGMK Disable the Fzbm feature on the specified filesystemDisable-quotas Psfsdebug get Psfs filesystem imageNext command restores the data to the filesystem Psfsdq save quota dataPsfsinfo report filesystem information 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 Psfsrq restore quota data Psfssema manage matrix-wide file locksOpt/polyserve/sbin/psfsrq -f path filesystem Opt/polyserve/tools/psfssuspend directorymountpoint Psfssuspend suspend a Psfs filesystemPsfsunpack unpack a Psfs filesystem image Psvctl manage dynamic volumesQuota report quota information for a user Repquota report quota information for a filesystemResizepsfs resize a Psfs filesystem Resizepsfs -s +1G /dev/psd/psd6p4 +-sizeKMGTSandiskinfo -i-u-v-f-alr-U-q Sandiskinfo show SAN disk informationDisk Information # sandiskinfo# sandiskinfo -a # sandiskinfo -al# sandiskinfo -f # sandiskinfo --dynvolumes Options for Dynamic VolumesFollowing sandiskinfo options apply only to dynamic volumes --dynvolumesoption lists all dynamic volumesSetquota set quotas Snapctl manage snapshot operationsSpctl dump the SanPulse trace buffer 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 utilityMatrixrc file Mx server statusMx --matrix srv1 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 syntaxMx device device monitor commands Mx application manage applicationsApplication associated with this device monitor 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 NoHeadersEnable quotas on the filesystem Optional arguments areBlock size is always 4 KB Create the directory mount point Mount options areMx matrix matrix commands Optimize file access for database data filesCurrent alert messages appear at the end of the output 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 User ID or range of IDs Value specified for --nameis a regular expressionRange 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 areValue specified for --nameis a group name Mx server server commandsMx server markdown server Mx service service monitor commandsMx server enable server Mx server dumpThis argument applies only to Custom monitors Amount of time to wait for the script to completeType type 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 monitorEnable Status informationMove
Related manuals
Manual 27 pages 48.09 Kb