Sie sind auf Seite 1von 2

target=14 lun=0 name=“sd” class=“scsi” Sun Host Boot and Configuration

2 target=0 lun=7
EMC Symmetrix Hosts 7. There are two parameters that must be set in the (cont)To set the sd_io_time parameter to 120
/etc/system file. These parameters are seconds, edit the /etc/system file and add:
Configuration scsi_options and sd_io_time. set sd:sd_io_time=0x78
a. To set the scsi_options parameter, edit the c. Set sd_max_throttle to 20. This setting
/etc/system file based on the following info: prevents the host from over-sending tag
Attaching Symmetrix to a Sun For Solaris 2.3, add this line to the /etc/system file: queuing commands which may cause scsi
smd timeout and
Server (Solaris 2.X) set scsi_options=0x378 set sd:sd_max_throttle = 20
Verifying Target IDs on Sun SystemsBring 8. You must now reboot the machine and
the system down to run level 0: For hosts configured with the sbus Ultra_Wide reconfigure the kernel. To do this, bring the
Differential SCSI Controller X1062A running Solaris system down to run level 0. This command will
cd / shut down the system in five minutes.
2.4 or higher, add this line to the /etc/system file:
shutdown -y -g300 -10At the OK shutdown -6 -g300 -10On certain Sun
prompt, type probe-scsi-allNote: If the set scsi_options=0x3f8For hosts configured Ultra Sparc series, the following message may be
system hangs after entering the command, verify that with the Sbus Ultra-Wide Differential SCSI displayed when you run probe-scsi-all:
all cables and terminators are properly seated and Controller (X1065A or X6541A) running Solaris 2.5 ok> probe-scsi-all
retry.Verify that there are targets available for use, or higher, add this line to the /etc/system line:
This command may hang the system
then configure the Symmetrix accordingly.
if a STOP-A or halt command has
4. After the Symmetrix has been configured and set scsi_options 0x7f8 been executed. Please type reset-
vtoc’d, go to Sun Host Boot and all to reset the system before
Configuration. executing this command.
Sun Host Boot and ConfigurationOn the Do you wish to continue? (Y/N) N
Sun server, log on as root and verify that the Before running the reset-all command, the auto-
contents of the /kernel/drv/sd.conf file has the boot? parameter must be set to “false” to prevent
correct SCSI targets and LUNs based on the automatic reboot of the system after reset as
Symmetrix configuration you just created. follows:
vi /kernel/drv/sd.confIf not, you will ok> setenv auto-boot? False
have to edit the sd.conf file and add the (use “printenv” command to verify)
necessary LUNs to the existing file. An example Next, run the reset-all command:
of the sd.conf file is shown on the next panel.
ok> reset-all
Sun Host Boot and Configuration
Then, run the probe-scsi-all command
(cont)Example of an sd.conf file:ORIGINAL
CONTENTS ADD THIS TO ORIGINAL\
ok> probe-scsi-all
name=“sd” class=“scsi”
target=0 lun=0 name=“sd” class=“scsi” Sun Host Boot and Configuration
target=0 lun=1
name=“sd” class=“scsi”
(cont)To boot and reconfigure the kernel, at the OK
target=1 lun=0 name=“sd” class=“scsi” prompt, type:boot -r
target=0 lun=2
name=“sd” class=“scsi” The -r option is needed to set up the /dev
target=2 lun=0 name=“sd” class=“scsi”
target=0 lun=3
directory and the kernel for all new services the
~ ~ ~ ~ ~ system sees. Note: If you wish to configure the
name=“sd” class=“scsi” new devices without booting, enter the command:
target=12 lun=0 name=“sd” class=“scsi” drvconfig followed by disks to create the new
target=0 lun=5
name=“sd” class=“scsi”
drives.Log on as root (the customer may have to do
target=13 lun=0 name=“sd” class=“scsi” target=0 this for you).
lun=6 12. At the UNIX prompt, type
name=“sd” class=“scsi”
5-18-01 Page 1
Sun Host Boot and Configuration (cont) /dev/dsk/c1t2d0s1 - - swap - no -
format 15. Type print (or p) to display the current 29. To mount this newly created file system, use the
partition table. mount command:
This command will present you with a list of 16. Select partition #2. mount/dirname
drives. or
17. Keep the same tag (backup). mountall
13. Select the appropriate drive. If this drive is new
to the system, you may have to enter the drive- or
18. Enter a starting cylinder of 0.
specific parameters by selecting Other from the mount -F ufs /dev/dsk/c1t2d0s6
available drive types menu. /dirname
19. Enter the size of the partition. In this case, the
Parameters: Data Cylinders - Based on Symm config 30. To verify that the file system is mounted, enter
total number of blocks ($ = total to end of
mountChange to the directory to which you
Alternate Cylinders - 2 Heads - disk).21. Set up the rest of the partitions as
mounted the file system and list the contents, it
15 Number of sectors - 64 RPM - 7200 specified by the customer. For example, a 2-GB
should contain a lost&found directory.
Label in quotes - “EMC_sizeinMB” drive partition table might look similar to this: cd /dirname ; ls -al
Part Tag Flag Cylinders Size Blocks
Note: Use default values on all other parameters. 0 root wm 0-71 121.50 MB (72/0/0) 32. Check the available space on your file system
14. To partition your drive into usable slices, at the 1 swap wu 72-147 128.25 MB (76/0/0) using the df command.
2 backup wu 0-1127 1.86 GB (1128/0/0) df -k
format> prompt, type
3 home wm 148-503 600.75 MB (356/0/0)
4 unassigned wm 0 0 (0/0/0)
partition 5 unassigned wm 0 0 (0/0/0)
6 usr wm 504-1127 1.03 GB (624/0/0)
7 unassigned wm 0 0
(0/0/0)When finished, select label then quit at the
format> prompt.
23. Create a directory using the mkdir command
(example: mkdir /dirname). This directory
will be used later as a mount point for the file
system you are creating.
24. Create a new file system on some of the
partitions you set up earlier by using the newfs
command: newfs /dev/rdsk/cWtXdYsZ

W = Controller Y = LUN
X = Target ID Z = Slice or partition
25. After creating your file system, check it out with
the fsck command:
fsck /dev/rdsk/cWtXdYsZ
Sun Host Boot and Configuration
(cont)ALWAYS make a backup copy of
/etc/vfstab before you make changes to it.Using vi,
edit the /etc/vfstab file to automatically mount
the newly created file systems at boot-up.
27. File systems show up in the /etc/vfstab file in the
following format:
Devise to Devise to Mount FS fsck Mount Mount
mount fsck Point Type Pass# at boot? Option

/dev/dsk/c1t2d0s6 /dev/rdsk/c1t2d0s6 /dirname ufs 1 yes -


28. Swap space looks like this in the /etc/vfstab file:
5-18-01 Page 2

Das könnte Ihnen auch gefallen