When SCSI devices are used for shared storage, the SCSI address or SCSI initiator ID of each node must be unique. Since each node typically has the default SCSI address of "7," the addresses of one or more nodes must be changed to avoid a conflict. In the following example, two nodes share SCSI devices. The SCSI address of one node is changed to "5" by using nvedit commands to edit the nvramrc script.
If you have more than two systems that share the SCSI bus, do the following:
Use the same procedure to set up shared storage.
To set up shared storage
Refer to the documentation that is shipped with the host adapters, the storage, and the systems.
Note that only one system must run at a time to avoid address conflicts.
{0} ok show-disks ...b) /sbus@6,0/QLGC,isp@2,10000/sd
The example output shows the path to one host adapter. You must include the path information without the "/sd" directory, in the nvramrc script. The path information varies from system to system.
{0} ok nvedit
As you edit the script, note the following points:
Each line is numbered, 0:, 1:, 2:, and so on, as you enter the nvedit commands.
On the line where the scsi-initiator-id is set, insert exactly one space after the first quotation mark and before scsi-initiator-id.
In this example, edit the nvramrc script as follows:
0: probe-all 1: cd /sbus@6,0/QLGC,isp@2,10000 2: 5 " scsi-initiator-id" integer-property 3: device-end 4: install-console 5: banner 6: <CTRL-C>
{0} ok nvstore
If you are not sure of the changes you made, you can re-edit the script without risk before you store it. You can display the contents of the nvramrc script by entering:
{0} ok printenv nvramrc
You can re-edit the file to make corrections:
{0} ok nvedit
Or, discard the changes if necessary by entering:
{0} ok nvquit
{0} ok setenv use-nvramrc? true
{0} ok show-disks ...b) /sbus@6,0/QLGC,isp@2,10000/sd {0} ok cd /sbus@6,0/QLGC,isp@2,10000 {0} ok .properties scsi-initiator-id 00000005
Permit the system to continue booting.
{0} ok show-disks ...b) /sbus@6,0/QLGC,isp@2,10000/sd {0} ok cd /sbus@6,0/QLGC,isp@2,10000 {0} ok .properties scsi-initiator-id 00000007
Permit the system to continue booting.