Step 1: Start the PromiseUtil to enable the Pegasus command line interface.
- Open a terminal window on your Mac.
- Type promiseutil to start the Promise command line interface for Pegasus.
- You will get an information screen showing each Pegasus system attached to your Mac.
[localhost:~] demo$ promiseutil
-------------------------------------------------------------
Promise Utility
Version: 3.16.0000.53 Build Date: Jun 17, 2011
-------------------------------------------------------------
List available RAID HBAs and Subsystems
=====================================================================
Type # Model Alias WWN
=====================================================================
hba 1 * Pegasus R6 2000-0001-5530-9404
hba 2 Pegasus R6 2000-0001-5530-9416
Totally 2 HBA(s) and 0 Subsystem(s)
-------------------------------------------------------------
The row with '*' sign refers the current working HBA/Subsystem path
To change the current HBA/Subsystem path, you may use the following command:
spath -a chgpath -t hba|subsys -p
Step 2: Choosing which Pegasus is the currently active unit for command line instructions.
- At the cliib> prompt, type: spath.
- You will get an output similiar to this:
cliib> spath ===================================================================== Type # Model Alias WWN ===================================================================== hba 1 * Pegasus R6 2000-0001-5530-9404 hba 2 Pegasus R6 2000-0001-5530-9416 Totally 2 HBA(s) and 0 Subsystem(s) cliib>
- The active Pegasus will be marked with a '*' symbol.
- Use the spath command to change to a different Pegasus. In this example, we're going to choose Pegasus #2 above.
- At the cliib> prompt, type: spath -a chgpath -t hba -p 2
cliib> spath -a chgpath -t hba -p 2
- To verify the change, use the spath command again.
cliib> spath ===================================================================== Type # Model Alias WWN ===================================================================== hba 1 Pegasus R6 2000-0001-5530-9404 hba 2 * Pegasus R6 2000-0001-5530-9416 Totally 2 HBA(s) and 0 Subsystem(s)
- Note now the '*' is on Pegasus #2. Now all command line instructions will operate on Pegasus #2 in the list.