STEPS TO CREATE STANDARD DEVICES WITH TWO WAY PROTECTION

  • 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

  • verify any configuration sessions are running

SUN1#symconfigure   -sid  277 verify

  • it verifies if any configurations are running

 

  • 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)

 

  • to release the lock (example 15)

SUN1#syncfg   -sid   277  release  -lockn    15

  • lock released

 

  • now create a text file using vi editor to submit parameters to commit

the LUN configuration

SUN1#vi  create_LUN

Create  dev count =6 size=958 emulation=fba config=2-way-mir;

: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
  1. Commit the configuration

SUN1#symconfigure  -sid   277  -v  -f   create_LUN    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_LUN  LUN specifications are enclosed
  • Commit: to perform the activity
  • -nop: non interactive session and no prompting
  • 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

  • scan for new devices IO level at host

SUN1#devfsadm  -Cv

  • it verifies for newly added devices and also the new device drivers

 

  • 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 6LUNs are 0001 – 0006
  • 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 frontend 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-        001

  • The logical unit address is in hexadecimal number.
  • create a file to Map the devices and the specifications

SUN1# vi map_LUN

Map dev 0001:0006  to dir1c:0, Lun=001;

Map dev 0001:0006  to dir1d:0, Lun=001;

Map dev 0001:0006  to dir16c:0, Lun=001;

Map dev 0001:0006  to dir16d:0, Lun=001;

:wq

  • Map the sym devices with the Lun address 001  in sym box  through the front end directors port 0
  • Commit the activity

SUN1#symconfigure –sid 277 –v –f  map_LUN commit –nop

  • Configuration is saved and six 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
  • Scan the devices once again at host level

SUN1#devfsadm –Cv

  • Scans the changes in hosts
  • Check the controller

SUN1# fcinfo

  • Displays controller number and its wwpn address

 

  • configure the controller

SUN#cfgadm –c configure C3

  • Configure the host controller c3 to map the symdevs with LUN address
  • Discover the sym devices

SUN1#symcfg  discover

  • 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

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA *