Step 1: Start the PromiseUtil to enable the Pegasus command line interface.

  1. Open a terminal window on your Mac.
  2. Type promiseutil to start the Promise command line interface for Pegasus.
  3. 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.

  1. At the cliib> prompt, type: spath.
  2. 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>

  1. The active Pegasus will be marked with a '*' symbol.
  2. Use the spath command to change to a different Pegasus. In this example, we're going to choose Pegasus #2 above.
  3. At the cliib> prompt, type: spath -a chgpath -t hba -p 2

cliib> spath -a chgpath -t hba -p 2

  1. 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)

  1. Note now the '*' is on Pegasus #2. Now all command line instructions will operate on Pegasus #2 in the list.