HP Clustered Gateway Device Management Software Add, Remove, Replace, Display, Search, Inactivate

Page 24

Chapter 1: Matrix Server Commands

19

NOTE: If you resilver from a partition that is labeled MISMATCH, the operation may initialize partitions that are not currently membership partitions; any existing data on those partitions will be overwritten. Use the Display option to see the membership partition lists for the current membership partitions.

Add

Allows you to select a new membership partition. This operation configures the new partition as a membership partition, copies the data on the existing membership partitions to the new partition, and updates the local MP list and the lists on the existing membership partitions. This option appears only if there are fewer than three membership partitions. All membership partitions must have a status of OK.

Remove

Allows you to remove an existing membership partition. This operation removes the membership data and formatting from the partition. It also deletes the partition from the local MP list and from the membership partition lists on the remaining membership partitions.

Replace

Allows you to remove an existing membership partition and then to select a partition to replace it. (When you have completed your selections, choose “Done”.) All membership partitions must currently have a status of OK.

Display

Shows the local membership partition list on the server where you are running mxmpconf and also displays the lists located on the disks containing the membership partitions. The output also includes the device database records for the disks containing the membership partitions.

Search

Searches the SAN for all partitions that appear to be membership partitions. The output includes each membership partition found by the search and specifies whether the partition is active or inactive. The output also displays the membership lists from the membership partitions and the database records for the partitions.

Inactivate

Inactivates membership partitions that are marked as active but are not part of the current set defined by the membership partition list. This

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

Image 24
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 informationLcl-dump show information about LCL locks Logcollect obtain log filesMkpsfs create a Psfs filesystem Disable-fzbm Enable-quotasUserdefault=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-status Mxlogger add a log message Eentity Llevel 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 DisplayMxmpio monitor or manage Mpio devices Clear the Host RegistryThis 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 StatisticsSyntax is Display General I/O StatisticsDump 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 countersMxsancheck check server’s SAN access Mxsanconf configure FC switchesMxsanlk show SAN ownership locks # mxsanlk Matrix Server Commands Mxsetfence configure fencing FcsanFabric fencing WebmgmtMxsetsecret set the network secret password Pmxs start or stop Matrix Server or view statusOpt/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 filesystem consistency. This is the default action CheckRebuild-tree Enable-fzbm Rebuild-sbRebuild-quotas Interactive,-iDisable the Fzbm feature on the specified filesystem Disable-quotasPsfsdebug get Psfs filesystem image Set-udq sizeTGMKNext command restores the data to the filesystem Psfsdq save quota dataPsfsinfo 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 Psfsrq restore quota data Psfssema manage matrix-wide file locksOpt/polyserve/sbin/psfsrq -f path filesystem Psfssuspend suspend a Psfs filesystem Opt/polyserve/tools/psfssuspend directorymountpointPsvctl manage dynamic volumes Psfsunpack unpack a Psfs filesystem imageQuota report quota information for a user Repquota report quota information for a filesystemResizepsfs 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 -a # sandiskinfo -al# sandiskinfo -f Options for Dynamic Volumes Following sandiskinfo options apply only to dynamic volumes--dynvolumesoption lists all dynamic volumes # sandiskinfo --dynvolumesSetquota set quotas Snapctl manage snapshot operationsSpctl 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 fileMatrixrc file Mx server statusMx --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 device device monitor commands Mx application manage applicationsApplication 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 CsvEnable quotas on the filesystem Optional arguments areBlock size is always 4 KB Mount options are Create the directory mount pointMx matrix matrix commands Optimize file access for database data filesCurrent 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 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 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 serverThis argument applies only to Custom monitors Amount of time to wait for the script to completeType 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 deleteEnable Status informationMove
Related manuals
Manual 27 pages 48.09 Kb