ENABLING / DETECTING iscsi ON SOLARIS
Before starting Veritas, Just enable the iscsi on our Solaris boxes,
root@pr-01:>/#
svcadm enable iscsitgt
Service Enabled
root@pr-01:>/# svcs -a |grep iscsitgt
online
14:39:09 svc:/system/iscsitgt:default
root@pr-01:>/# iscsiadm add static-config
iqn.2006-01.com.openfiler:tsn.aeed9c1a441f,192.168.234.170:3260
What was that?
Ok…
Next is the IP of Open Filer and after that the port no
through which they connect
root@pr-01:>/# iscsiadm list static-config [to verify… that what we did]
Static Configuration Target:
iqn.2006-01.com.openfiler:tsn.aeed9c1a441f,192.168.234.170:3260
root@pr-01:>/# iscsiadm modify discovery -s enable
root@pr-01:>/# devfsadm
root@pr-01:>/# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0
<DEFAULT cyl 1563 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@0,0
1. c2t2d0
<DEFAULT cyl 1917 alt 2 hd 128 sec 32>
/iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.aeed9c1a441f0001,0
Specify disk (enter its number): ^C
GOT IT…
The 2nd one is from Storage…
OK>>>DO THE SAME ON dr-01
root@dr-01:>/# svcadm enable iscsitgt
root@dr-01:>/# svcs -a |grep iscsitgt
online
15:19:31 svc:/system/iscsitgt:default
root@dr-01:>/# iscsiadm add static-config
iqn.2006-01.com.openfiler:tsn.aeed9c1a441f,192.168.234.170:3260
root@dr-01:>/# iscsiadm list static-config
Static Configuration Target: iqn.2006-01.com.openfiler:tsn.aeed9c1a441f,192.168.234.170:3260
root@dr-01:>/# iscsiadm modify discovery -s enable
root@dr-01:>/# devfsadm
root@dr-01:>/# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0
<DEFAULT cyl 1563 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@0,0
1. c2t2d0
<DEFAULT cyl 1917 alt 2 hd 128 sec 32>
/iscsi/disk@0000iqn.2006-01.com.openfiler%3Atsn.aeed9c1a441f0001,0
Specify disk (enter its number): ^C
No comments:
Post a Comment