HP Clustered Gateway Device Management Software manual Psdctl manage device bindings

Page 40

Chapter 1: Matrix Server Commands

35

If no options are specified, PSANinfo displays the status of the switch one time only.

Following is a sample snapshot:

Switch 99.10.11.240 : 1588 Fibre Channel Switch.

IP addr 99.10.11.240 WWN 10000060693025CD Fabric ID 10000060693025CD 1 module

Module 1 : 10000060693025CD state 1 has 8 ports

Port

0

: oper 2 admin

1

Fabric ID 0x111100

attached to 210100E08B255640

Port

1

: oper 1 admin

1

Port

2

: oper 1 admin

1

Fabric ID 0x111200

attached to 210000E08B026C65

Port

3

: oper 2 admin

1

Fabric ID 0x111400

attached to 210000E08B056F21

Port

4

: oper 1

admin

1

Port

5

: oper 1

admin

1

Fabric ID 0x111500

attached to 200B00A0B80F2851

Port

6

: oper 2

admin

1

 

 

Port

7

: oper 2

admin

1

 

 

Poll time: 0.37

psdctl – manage device bindings

Synopsis

/opt/polyserve/tools/psdctl

Description

This command should be run only at the request of PolyServe personnel.

psfsck – check and repair a PSFS filesystem

Synopsis

 

 

 

 

/opt/polyserve/sbin/psfsck

[-aixoV][-l<logfilename>]

[--

check] [--rebuild-tree]

[

--rebuild-sb][--

rebuild-quotas]

[--

interactive] [--

quiet] [

--

logfile <filename>]

[--

fix-fixable][--

fix-non-critical] <device>

/opt/polyserve/sbin/psfsck

[

--enable-fzbm][--

disable-fzbm]

[--

enable-quotas] [

--disable-quotas][--set-udq

<size>[TGMK]] [--

set-gdq<size>[TGMK]]<device>

Description

The psfsck utility looks for a PSFS filesystem on a device, replays transactions that are to be replayed, and either checks or repairs the filesystem. This utility

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

Image 40
Contents PolyServe Matrix Server Command Reference Copyright 2004-2006 PolyServe, Inc Contents Contents Index Destroypsfs destroy a Psfs filesystem Opt/polyserve/sbin/destroypsfsDiskupdate reattempt to access a disk Dlmdebug debug DLM problemsEdquota edit user and group quotas Emulex/dfc, emulex/lpedit Emulex utilitiesFsprobe report filesystem information Gcstat print grpcommd statisticsGetfenceidentity get fencing information Hbaapidump show LUN informationLogcollect obtain log files Lcl-dump show information about LCL locksMkpsfs create a Psfs filesystem Enable-quotas Disable-fzbmUserdefault=size groupdefault=size Mpimport Restore membership partition data Mpdump Save membership partition dataFoutputfile Opt/polyserve/lib/mpdump mpdump -v-F Mpdump -v-f outputfileMpimport uid uid Mpimport --localdevname devnameMpimport -ppsdname uid Mpimport -p psdname --local devnameMx Matrix Server command-line interface Mxcheck verify Matrix Server requirementsMpimport -s-M-finputfile psdnamepsvname Mpimport --replace olduid newuidTtext-file and/or -hhtml-file SequenceMxcollect collect configuration information Mxconfig configure the matrixHelp Display a usage messageMxfence verify fencing module configuration Config fileMxconsole start the Management Console Matrix matrixMxfencecfg configure the fence agent VvendorBblade number For a blade server, specify the blade numberIIP address of remote controller PpasswordMxinit manage Matrix Server processes UusernameFile, --alt-config-file file StartStop HardVersion MonitorNo-monitor Hba-statusMxlogger add a log message EentityLlevel Log-textSetup Option Mxmpconf manage membership partitionsRepair Menu Opt/polyserve/bin/mxmpconf # /etc/init.d/pmxs stopMembership Partition Status Repair Menu OptionsRepair Menu includes the following options ResilverAdd RemoveReplace DisplayClear the Host Registry Mxmpio monitor or manage Mpio devicesThis option removes all entries from the server registry Enable/disable Enableall/disableallTimeout value Active targetEnable or Disable Failover for a PSD Device # mxmpio enabledisable PSD-deviceAn Example of Changing the I/O Path # /opt/polyserve/sbin/mxmpio active 0 psd2p1Set the Timeout Value Show Number of Transient ErrorsDisplay Status Information Show Load StatisticsDisplay General I/O Statistics Syntax isDump I/O Statistics in Raw Format Rawstat interval count Mxnlmconfig enable or disable NLM Opt/polyserve/bin/mxnlmconfig -q-e-dMxpasswd add users or change passwords Mxperftool view performance countersMxsanconf configure FC switches Mxsancheck check server’s SAN accessMxsanlk show SAN ownership locks # mxsanlk Matrix Server Commands Mxsetfence configure fencing Fcsan Fabric fencing WebmgmtPmxs start or stop Matrix Server or view status Mxsetsecret set the network secret passwordOpt/polyserve/bin/mxsetsecret -f --filename filename secret PSANinfo show FC logins, Naming Database UswitchOpt/polyserve/sbin/PSANcfg -hu-lLPort WWN switch Opt/polyserve/sbin/PSANinfo -n-s-uswitchnamePsdctl manage device bindings Psfsck check and repair a Psfs filesystemCheck Check filesystem consistency. This is the default actionRebuild-tree Enable-fzbm Rebuild-sbRebuild-quotas Interactive,-iDisable the Fzbm feature on the specified filesystem Disable-quotasPsfsdebug get Psfs filesystem image Set-udq sizeTGMKPsfsdq save quota data Next command restores the data to the filesystemPsfsinfo report filesystem information Feature Feature Enable verbose messagesDisplay the version of the on-disk filesystem format Verbose,-vPsfslabel command adds a label to the specified device Psfslabel label a Psfs filesystemPsfsquota manage disk quotas Opt/polyserve/tools/psfslabel device labelPsfsresume resume a suspended Psfs filesystem Psfssema manage matrix-wide file locks Psfsrq restore quota dataOpt/polyserve/sbin/psfsrq -f path filesystem Psfssuspend suspend a Psfs filesystem Opt/polyserve/tools/psfssuspend directorymountpointPsvctl manage dynamic volumes Psfsunpack unpack a Psfs filesystem imageRepquota report quota information for a filesystem Quota report quota information for a userResizepsfs resize a Psfs filesystem +-sizeKMGT Resizepsfs -s +1G /dev/psd/psd6p4Sandiskinfo show SAN disk information Disk Information# sandiskinfo Sandiskinfo -i-u-v-f-alr-U-q# sandiskinfo -al # sandiskinfo -a# sandiskinfo -f Options for Dynamic Volumes Following sandiskinfo options apply only to dynamic volumes--dynvolumesoption lists all dynamic volumes # sandiskinfo --dynvolumesSnapctl manage snapshot operations Setquota set quotasSpctl dump the SanPulse trace buffer Spdebug obtain SanPulse debug information Spstat show matrix state informationWarnquota warn users of quota limits Wmtest test server-based fencingMatrix Server Commands Using the mx utility Matrixrc fileMx server status Matrixrc fileMx --matrix srv1 server status Mx --matrix srv8 server status Mx syntax File filePrompt prompt Mx --prompt ’%’ --fileTo specify a command affecting a class, use this syntax NumericClass syntax Mx server status --upMx application manage applications Mx device device monitor commandsApplication associated with this device monitor Amount of time to wait for the Recovery script to complete RecoveryScript scriptRecoveryTimeout seconds Parameters parametersAmount of time to wait for the Start script to complete Amount of time to wait for the Stop script to completeMx device enable devicename server Mx device disable devicename serverEnabled Disabled Primary Backup Mx device globalsettings --eventdelay secondsMx disk disk commands Mx dynvolume dynamic volume commands Mx exportgroup Export Group commands Add an Export GroupArguments are the same as the exportgroup add command Server to be monitored. The default is all serversDo not validate the export records ServersALLSERVERS servernameorIPMx fs filesystem commands Datasetsnumber of data sets UnlimitedNoHeaders CsvOptional arguments are Enable quotas on the filesystemBlock size is always 4 KB Mount options are Create the directory mount pointOptimize file access for database data files Mx matrix matrix commandsCurrent alert messages appear at the end of the output To restore the configuration, use this command Mx matrix dump backupfileMx --continue --file backupfile Do not display column headers in the outputMx netif network interface commands Network interface must be downMx notifier notifier commands Notifier name can include up to 32 charactersMx quota filesystem quota commands Do not display command outputMx notifier dump notifier ForceDisplay the output in comma-separated value format Value specified for --nameis a regular expression User ID or range of IDsRange of disk space usage PercentUsedRange #%-#% Range of percentages of disk space usedMemberOf group name a group name for filtering users Search arguments are Mx quota showuser search-argumentsALLFILESYSTEMSps deviceMx server server commands Value specified for --nameis a group nameMx service service monitor commands Mx server enable serverMx server dump Mx server markdown serverAmount of time to wait for the script to complete This argument applies only to Custom monitorsType type Mx service enable vhostport server Mx service disable vhostport serverMx service delete vhostport Mx service clear vhostport serverMx snapshot snapshot commands Mx vhost virtual host commandsMx snapshot create --terse options volume Mx snapshot destroy volumePolicy autofailbacknofailback Activity singleactiveMx vnfs Virtual NFS Service commands Sleep command Arguments are the same as mx vnfs addIndex Mx vhostDLM, debug 2 dynamic volume Global Event Delay, device monitor Server add Check SAN access 29 deleteStatus information EnableMove
Related manuals
Manual 27 pages 48.09 Kb