HP Clustered Gateway Device Management Software manual Index

Page 5

Contents

v

snapctl – manage snapshot operations . . . . . . . . . . . . . . . . . . . . . . . . 51 spctl – dump the SanPulse trace buffer . . . . . . . . . . . . . . . . . . . . . . . . 51 spdebug – obtain SanPulse debug information . . . . . . . . . . . . . . . . . 52 spstat – show matrix state information . . . . . . . . . . . . . . . . . . . . . . . . 52 warnquota – warn users of quota limits . . . . . . . . . . . . . . . . . . . . . . . 52 wmtest – test server-based fencing. . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

2 mx Commands

Using the mx utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 The matrixrc file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 mx syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Class syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 mx application – manage applications. . . . . . . . . . . . . . . . . . . . . . . . . 59 mx device – device monitor commands . . . . . . . . . . . . . . . . . . . . . . . 59 mx disk – disk commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 mx dynvolume – dynamic volume commands . . . . . . . . . . . . . . . . . 64 mx exportgroup – Export Group commands . . . . . . . . . . . . . . . . . . . 65 mx fs – filesystem commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 mx matrix – matrix commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 mx netif – network interface commands . . . . . . . . . . . . . . . . . . . . . . . 72 mx notifier – notifier commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 mx quota – filesystem quota commands . . . . . . . . . . . . . . . . . . . . . . . 74 mx server – server commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 mx service service monitor commands. . . . . . . . . . . . . . . . . . . . . . . 80 mx snapshot – snapshot commands. . . . . . . . . . . . . . . . . . . . . . . . . . . 83 mx vhost – virtual host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 mx vnfs – Virtual NFS Service commands . . . . . . . . . . . . . . . . . . . . . 85 sleep command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Index

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

Image 5
Contents PolyServe Matrix Server Command Reference Copyright 2004-2006 PolyServe, Inc Contents Contents Index Opt/polyserve/sbin/destroypsfs Destroypsfs destroy a Psfs filesystemDlmdebug debug DLM problems Diskupdate reattempt to access a diskEdquota edit user and group quotas Emulex/dfc, emulex/lpedit Emulex utilitiesGcstat print grpcommd statistics Fsprobe report filesystem informationGetfenceidentity get fencing information Hbaapidump show LUN informationMkpsfs create a Psfs filesystem Lcl-dump show information about LCL locksLogcollect obtain log files Userdefault=size groupdefault=size Disable-fzbmEnable-quotas Mpdump Save membership partition data Mpimport Restore membership partition dataFoutputfile Opt/polyserve/lib/mpdump mpdump -v-F Mpdump -v-f outputfileMpimport --localdevname devname Mpimport uid uidMpimport -ppsdname uid Mpimport -p psdname --local devnameMxcheck verify Matrix Server requirements Mx Matrix Server command-line interfaceMpimport -s-M-finputfile psdnamepsvname Mpimport --replace olduid newuidSequence Ttext-file and/or -hhtml-fileMxconfig configure the matrix Mxcollect collect configuration informationHelp Display a usage messageConfig file Mxfence verify fencing module configurationMxconsole start the Management Console Matrix matrixVvendor Mxfencecfg configure the fence agentBblade number For a blade server, specify the blade numberPpassword IIP address of remote controllerMxinit manage Matrix Server processes UusernameStart File, --alt-config-file fileStop HardMonitor VersionNo-monitor Hba-statusEentity Mxlogger add a log messageLlevel Log-textMxmpconf manage membership partitions Setup OptionRepair Menu Opt/polyserve/bin/mxmpconf # /etc/init.d/pmxs stopRepair Menu Options Membership Partition StatusRepair Menu includes the following options ResilverRemove AddReplace DisplayThis option removes all entries from the server registry Mxmpio monitor or manage Mpio devicesClear the Host Registry Enableall/disableall Enable/disableTimeout 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 PathShow Number of Transient Errors Set the Timeout ValueDisplay Status Information Show Load StatisticsDump 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 Fcsan Mxsetfence configure fencingFabric fencing WebmgmtOpt/polyserve/bin/mxsetsecret -f --filename filename secret Mxsetsecret set the network secret passwordPmxs start or stop Matrix Server or view status Uswitch PSANinfo show FC logins, Naming DatabaseOpt/polyserve/sbin/PSANcfg -hu-lLPort WWN switch Opt/polyserve/sbin/PSANinfo -n-s-uswitchnamePsfsck check and repair a Psfs filesystem Psdctl manage device bindingsRebuild-tree Check filesystem consistency. This is the default actionCheck Rebuild-sb Enable-fzbmRebuild-quotas Interactive,-iDisable-quotas Disable the Fzbm feature on the specified filesystemPsfsdebug get Psfs filesystem image Set-udq sizeTGMKPsfsinfo report filesystem information Next command restores the data to the filesystemPsfsdq save quota data Enable verbose messages Feature FeatureDisplay the version of the on-disk filesystem format Verbose,-vPsfslabel label a Psfs filesystem Psfslabel command adds a label to the specified devicePsfsquota manage disk quotas Opt/polyserve/tools/psfslabel device labelPsfsresume 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 +-sizeKMGTDisk 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 --dynvolumesSpctl dump the SanPulse trace buffer Setquota set quotasSnapctl manage snapshot operations Spstat show matrix state information Spdebug obtain SanPulse debug informationWarnquota warn users of quota limits Wmtest test server-based fencingMatrix Server Commands Matrixrc file Using the mx utilityMx --matrix srv1 server status Matrixrc fileMx server status Mx --matrix srv8 server status File file Mx syntaxPrompt prompt Mx --prompt ’%’ --fileNumeric To specify a command affecting a class, use this syntaxClass syntax Mx server status --upApplication associated with this device monitor Mx device device monitor commandsMx application manage applications RecoveryScript script Amount of time to wait for the Recovery script to completeRecoveryTimeout seconds Parameters parametersAmount of time to wait for the Stop script to complete Amount of time to wait for the Start script to completeMx device disable devicename server Mx device enable devicename serverEnabled Disabled Primary Backup Mx device globalsettings --eventdelay secondsMx disk disk commands Mx dynvolume dynamic volume commands Add an Export Group Mx exportgroup Export Group commandsServer to be monitored. The default is all servers Arguments are the same as the exportgroup add commandDo not validate the export records ServersALLSERVERS servernameorIPDatasetsnumber of data sets Unlimited Mx fs filesystem commandsNoHeaders CsvBlock 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 Mx matrix dump backupfile To restore the configuration, use this commandMx --continue --file backupfile Do not display column headers in the outputNetwork interface must be down Mx netif network interface commandsNotifier name can include up to 32 characters Mx notifier notifier commandsDo not display command output Mx quota filesystem quota commandsMx notifier dump notifier ForceDisplay 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 enable server Mx service service monitor commandsMx server dump Mx server markdown serverType type This argument applies only to Custom monitorsAmount of time to wait for the script to complete Mx service disable vhostport server Mx service enable vhostport serverMx service delete vhostport Mx service clear vhostport serverMx vhost virtual host commands Mx snapshot snapshot commandsMx snapshot create --terse options volume Mx snapshot destroy 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