1 Verify the free space available in MBs
SUN1#symconfigure -sid 277 list -freespace –unit MB
- Now the free space in SYMM 277 is displayed in MBs example
1278888 MB
2 Verify any configuration sessions are running
SUN1#symconfigure -sid 277 verify
- It verifies if any configurations are running
3 Verify if any locks have been enforced upon SYM
SUN1#symcfg -sid 277 list -lockn
- It displays the lock number if any lock has been enforced locks can be from 0 to 15. (Example : configuration lock =15)
4 To release the lock (example 15)
SUN1#syncfg -sid 277 release -lockn 15
- Lock released
5 Now create a text file using vi editor to submit parameters to commit
the unprotected LUN configuration
SUN1#vi create_BCV
Create dev count =8 size=958 emulation=fba config=unprotected;
:wq
- Count denotes number of devices to be created
- Size mentioned in cylinders one cyl = 0.5x MB
- Emulation refers to fba(fixed block architecture 512 bytes)used in open systems.
- Config refers to the protection enforced on device
6 Commit the configuration
SUN1#symconfigure -sid 277 -v -f create_LUN commit –nop
- Configuration is saved and eight LUNs are created
- Phases of this command are preview, prepare and commit
- -v verbose mode
- -f file parameter create_LUN LUN specifications are enclosed
- Commit: to perform the activity
- -nop: non interactive session and no prompting
7 Discover the sym devices
SUN1#symcfg discover
- Solution enabler in host sends an API call through HBA to sym
- Gate keeper devices receives the API call
- Downloads the configuration of sym in IMPL.bin file to host
- This configuration is stored in /var/sym_api/db directory of host
8 Scan for new devices IO level at host
SUN1#devfsadm -Cv
- It verifies for newly added devices and also the new device drivers
9 To list the devices
SUN1#symdev list
- Displays the newly added devices
- The LUN number is given in hexa decimal code (0000 – ffff)
- As the devices are not mapped the directors field displays ???:???
- in our session let us suppose the addresses of 8LUNs are 0009 – 0010
- 0000 lun is for VCM ,0001- 0006 for protected and in most of the cases 0007 and 0008 are automatically assigned by symm to sfs luns
10 To convert the devices to BCV devices create a configuration file
SUN1#convert_BCV
Convert dev 0009:0010 to BCV;
Wq
- The unprotected standard devices more than 5 cylinders cannot be mapped by front end directors, unless it is converted to BCV device, hence the devices 0009 to 0010 total 8 devices are being converted to BCV devices.
11 Commit the configuration
SUN1#symconfigure -sid 277 -v -f convert_BCV commit –nop
- configuration is saved and eight LUNs are converted
- phases of this command are preview, prepare and commit
- -v verbose mode
- -f file parameter create_LUN, here LUN specifications are enclosed
- Commit: to perform the activity
- -nop: non interactive session and no prompting
12 To display the LUNs which have not been mapped
SUN1#symdev list – noport
- Displays the sym devices which have not been mapped to any of the front-end directors and its ports
- To display the available front end ports
SUN1#symcfg –sid 277 list -connections
- It displays the front end directors and their ports to which the hosts are connected
- To check the available address in sym
SUN1#symcfg -sid 277 list -available -addresses -dir 1c –p 0
SUN1#symcfg -sid 277 list -available -addresses -dir 1d –p 0
SUN1#symcfg -sid 277 list -available -addresses -dir 16c –p 0
SUN1#symcfg -sid 277 list -available -addresses -dir 16d –p 0
-
It shows the available logical unit address to which the sym devices in host can be mapped
- The available logical address to map is seen in the last field which is preceded by status field where it shows available
example :
* – AVAILABLE- 002
- The logical unit address is in hexadecimal number.
15 Create a file to Map the devices and the specifications
SUN1# vi map_BCV
Map dev 0009:0010 to dir1c:0, Lun=002;
Map dev 0009:0010 to dir1d:0, Lun=002;
Map dev 0009:0010 to dir16c:0, Lun=002;
Map dev 0009:0010 to dir16d:0, Lun=002;
:wq
- Map the sym devices with the Lun address 002 in sym box through the front end directors port 0
16 Commit the activity
SUN1#symconfigure –sid 277 –v –f map_BCV commit –nop
- Configuration is saved and eight LUNs are Mapped
- Phases of this command are preview, prepare and commit
- -v verbose mode
- -f file parameter map_LUN LUN specifications are enclosed
- Commit: to perform the activity
- -nop: non interactive session and no prompting
17 Scan the devices once again at host level
SUN1#devfsadm –Cv
- Scans the changes in hosts
13 Check the controller
SUN1# fcinfo
- Displays controller number and its wwpn address
14 configure the controller
SUN#cfgadm –c configure C3
- Configure the host controller c3 to map the symdevs with LUN address
20 Discover the sym devices
SUN1#symcfg discover
21 To list the devices
SUN1#symdev list
- Displays the newly added & mapped sym devices
- As the devices are mapped the directors field displays ***:**
If the devices are not mapped properly reboot the host onceLNot Recommended