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 LUN configuration
SUN1#vi create_GK
Create dev count =1 size=5 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_GK commit –nop
- configuration is saved and six LUNs are created
- phases of this command are preview, prepare and commit
- -v verbose mode
- -f file parameter create_GK 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 address of LUN 0011
10 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
11 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
12 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- 003
- The logical unit address is in hexadecimal number .
13 Create a file to Map the devices and the specifications
SUN1# vi map_GK
Map dev 0011 to dir1c:0, Lun=003;
Map dev 0011 to dir1d:0, Lun=003;
Map dev 0011 to dir16c:0, Lun=003;
Map dev 0011 to dir16d:0, Lun=003;
:wq
- Map the sym devices with the Lun address 001 in sym box through the front end directors port 0
14 Commit the activity
SUN1#symconfigure –sid 277 –v –f map_GK commit –nop
- Configuration is saved and LUN is 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
15 Scan the devices once again at host level
SUN1#devfsadm –Cv
- Scans the changes in hosts
16 Check the controller
SUN1# fcinfo
- Displays controller number and its wwpn address
17 Configure the controller
SUN#cfgadm –c configure C3
- Configure the host controller c3 to map the symdevs with LUN address
18 Discover the sym devices
SUN1#symcfg discover
19 To list the devices
SUN1#symdev list
- Displays the newly added & mapped sym devices
- As the devices are mapped the directors field displays director number and port
If the devices are not mapped properly reboot the host onceLNot Recommended