Setting Up the SCSI-Initiator ID
|
When using SCSI devices for shared storage between nodes, the SCSI-ID of one of the cluster nodes must be changed from its default value to avoid conflicts on a shared SCSI bus. Change host SCSI-ID globally by modifying the OBP
scsi-initiator-id environment variable.
If the host SCSI-ID is modified globally to a value of "6," it will conflict with the internal CD-ROM device. Therefore, change the SCSI-initiator ID
scsi-initiator-id of the motherboard controller back to its original value (7) using an nvram script.
Assigning Global Values
to SCSI-Initiator IDs
To modify the SCSI-initiator ID, enter the following command on the first cluster node:
CODE EXAMPLE 3-1 SCSI Initiator ID
{0} ok setenv scsi-initiator-id 6
scsi-initiator-id = 6
|
Changing the Motherboard SCSI-Initiator ID
Before using the nvedit command, remember the nvram editor is in insert mode; use TABLE 3-1 as a guide to nvram editor keystrokes.
To create the nvram script to reset the motherboard SCSI-initiator ID back to the default value, enter the following commands:
{0} ok nvedit
0: probe-all
1: cd /pci@1f,4000/scsi@3
2: 7 " scsi-initiator-id" integer-property
3: device-end
4: install-console
5: banner
6: <CTRL-C>
{0} ok nvstore
{0} ok setenv use-nvramrc? true
use-nvramrc? = true
{0} ok printenv nvramrc
nvramrc = probe-all
cd /pci@1f,4000/scsi@3
7 " scsi-initiator-id" integer-property
device-end
install-console
banner
{0} ok
|
Note - You must insert a space after the first quotation mark in the
" scsi-initiator-id" string.
|
TABLE 3-1 The nvram Editor Keystroke Commands
Keystroke
|
Function
|
Control-b
|
Moves backward one character.
|
Control-c
|
Exits the nvramrc editor and returns to the OBP command interpreter. The temporary buffer is preserved, but is not written back to the nvramrc (Use nvstore to save changes).
|
Delete
|
Deletes previous character.
|
Control-f
|
Moves forward one character.
|
Control-k
|
Joins the next line to the current line (when the cursor is at the end of a line).
Deletes all characters in the line when cursor is at the beginning of the line.
|
Control-l
|
Lists all lines.
|
Control-n
|
Moves to the next line of the nvramrc editing buffer.
|
Control-o
|
Inserts a new line at the cursor position (the cursor stays on the current line).
|
Control-p
|
Moves to the previous line of the nvramrc editing buffer.
|
<CR>
|
Inserts a new line at the cursor position (the cursor advances to the next line).
|
Keystroke
|
Function
|
Cluster Platform 220/1000 User's Guide
| 806-7408-11
|
|
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.