AMCC 9590SE-4ME manual Installing the 3ware CLI on Mac OS, Working with 3ware CLI

Page 11

Installing the 3ware CLI on Mac OS X

Installing the 3ware CLI on Mac OS X

3ware CLI can be installed from the 3ware software CD, or the latest version can be downloaded from the 3ware web site, http://www.3ware.com/support/ download.asp.

To install 3ware CLI on Mac OS X

Run the installer and select CLI as the software to be installed.

Permissions Required to Run CLI

To run CLI, you can be logged onto the Power Mac G5 with one of the following sets of permissions:

Administrator

Root

You can also use SUDO to run CLI.

To start CLI

In a Terminal window, type

sudo ./tw_cli

If prompted, enter your password.

Working with 3ware CLI

You can work with the 3ware CLI in different ways:

Interactively, entering commands at the main prompt

As a series of single commands

By creating a script—an input file with multiple commands

The next few topics shows examples of these different methods.

“Using the command interface interactively” on page 6

“Using a single command with output” on page 6

“Using an input file to execute a script” on page 7

“Outputting the CLI to a Text File” on page 7

Examples shown in the CLI Syntax Reference chapter reflects the interactive method.

www.3ware.com

5

Image 11
Contents 3ware Command Line InterfaceCopyright Table of Contents Page Cx/ux set autoverify=onoff Return Code About this CLI Guide Page Features of the CLI Introduction to the 3ware Command Line InterfaceTerminology Supported Operating SystemsWorking with 3ware CLI Installing the 3ware CLI on Mac OSUsing a single command with output Using the command interface interactivelyOutputting the CLI to a Text File Using an input file to execute a scriptConventions Understanding RAID Levels and ConceptsRAID Concepts RAID Available RAID ConfigurationsRAID 0 Configuration Example RAID 5 Configuration Example Single Disk Determining What RAID Level to UseUsing Drive Capacity Efficiently CLI Syntax Reference Common Tasks Mapped to CLI CommandsCommon Tasks Mapped to CLI Commands Common Tasks Mapped to CLI Commands Syntax Overview Focus Object Shell Object CommandsShow Show ver Show rebuild Show alarms reverseShow diag Show selftest Show verifyCommit Update fw=filenamewithpath forceFlush RescanCx show Controller Object CommandsCx show Typical output looks like Cx show attribute attributeCx show firmware Cx show biosCx show driver Cx show modelCx show achip Cx show serialCx show pcb Cx show pchipCx show exportjbod Cx show numportsCx show numunits Cx show ctlbusCx show autocarve Cx show spinupCx show stagger Cx show ondegradeCx show memory Cx show carvesizeCx show unitstatus Cx show autorebuildCx show drivestatus Cx show allunitstatus3JV3MVTA Cx show allSupported Stripe Sizes Controller Object Commands Supported Model-Unit Types for ignoreECC Cx rescan noscanCx flush Cx update fw=filenamewithpath forceCx commit Cx show diag Cx show alarms reverseCx show rebuild RAID-5 Initializing Cx show verify Cx show selftest Cx add rebuild=dddhhduration Setting Up a Rebuild ScheduleCx add verify=dddhhduration Setting Up a Verify ScheduleCx del rebuild=slotid Cx add selftest=dddhhCx del selftest=slotid Cx set rebuild=enabledisable1..5Cx del verify=slotid Cx set exportjbod=onoff Cx set verify=enabledisable1..5Cx set selftest=enabledisable task=UDMASMART Cx set autocarve=onoff Cx set ondegrade=cacheofffollowCx set spinup=nn Cx set stagger=nnCx set autorebuild=onoff Cx set carvesize=1024..2048Cx stop mediascan Cx start mediascanCx/ux show Unit Object CommandsCx/ux show status Cx/ux show attribute attributeCx/ux show name Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show initializestatusCx/ux show autoverify Cx/ux show qpolicyCx/ux show storsave Cx/ux show identifyCx/ux show all Cx/ux show volumesCx/ux show cache Cx/ux show ignoreECCCx/ux del noscan quiet Cx/ux remove noscan quietCx/ux start verify Cx/ux start rebuild disk=pp-p...ignoreECCCx/ux stop verify Cx/ux pause rebuildCx/ux resume rebuild Cx/ux set cache=onoff quiet Cx/ux flushCx/ux set autoverify=onoff Cx/ux set qpolicy=onoff Cx/ux set identify=onoffCx/ux set ignoreECC=onoff Cx/ux set name=stringCx/ux set storsave=protectbalanceperform quiet By default, qpolicy is offExample Valid Migration Paths Supported Stripe Sizes Migration Process 3JV2Q1VA Cx/px show attribute attribute Port Object CommandsCx/px show Cx/px show firmware Cx/px show statusCx/px show model Cx/px show serialCx/px show smart Cx/px show ncqCx/px show lspeed Cx/px show capacityCx/px show all Cx/px set identify=onoff Cx/px remove noscan quietCx/bbu show BBU Object CommandsCx/bbu show status Cx/bbu show attribute attributeCx/bbu show temp Cx/bbu show batinstCx/bbu show lasttest Cx/bbu show voltCx/bbu show pcb Cx/bbu show bootloaderCx/bbu show serial Cx/bbu show fwCx/bbu disable quiet Cx/bbu enableEx show Enclosure Object CommandsEx show slots Ex show attribute attributeEx show controllers Ex/slotx show Ex show fansEx show temp Ex show allEx/tempx show Ex/slotx show identifyEx/slotx set identify=onoff Ex/fanx showHelp with specific commands Help CommandsHelp with attributes Help flush HelpHelp show Help focus Help updateHelp rescan Help commitReturn Code