+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
Hardware Thread, VMWare ESX 4.0 and S7310 in Technical; --Removed--...
  1. #16

    Join Date
    Sep 2010
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    --Removed--

  2. #17
    apaton's Avatar
    Join Date
    Jun 2009
    Location
    Kings Norton
    Posts
    283
    Thank Post
    54
    Thanked 106 Times in 87 Posts
    Rep Power
    36
    Quote Originally Posted by drLurve View Post
    Hi Tony,
    I used the "iscsiadm list initiator-node" to identify Sun Solaris IQN and used it to create an initiator in S7000 storage. From there, i drag the initiator to iSCSI initiator group and created a LUN. I tried to use auto-discovery and static discovery on Sun Solaris but still nothing.

    Another way i tried is straight to the SAN>Targets>iSCSI Target>Auto Assign IQN+alias>Share>+LUN. Surprisingly the OS recognized the LUN in command "format" but i cant "newfs" or mount it.
    Sound like your close to get it working
    You don't need to do any thing specific for Solaris iSCSI client/Initiator S7000 Config,
    1) On the S7000, create an iSCSI Target Group (Target IQN) and an iSCSI Initiator Group (iSCSI IQN)

    For the iSCSI Initiator you need the Solaris IQN
    Code:
    root@jedi:/> iscsiadm list initiator-node
    Initiator node name: iqn.1986-03.com.sun:01:bad8c4f3ffff.4592afd1
    Initiator node alias: -
            Login Parameters (Default/Configured):
                    Header Digest: NONE/-
                    Data Digest: NONE/-
            Authentication Type: NONE
            RADIUS Server: NONE
            RADIUS access: unknown
            Configured Sessions: 1
    2) On S7000 create and assign a LUN to Target and iSCSI Initiator Group

    3) Configure Solaris iSCSi (I prefer to use Static mode)

    iscsiadm modify discovery --static enable
    iscsiadm add discovery-address <S7000 IP>
    iscsiadm add static-config <Target IQN>,<S7000 IP>:<PORT>

    The <Target IQN> is the one form the S7000 iSCSI Target Group

    Code:
    root@jedi:/> iscsiadm modify discovery --static enable
    root@jedi:/> iscsiadm add discovery-address 192.168.99.246
    root@jedi:/>  iscsiadm add static-config iqn.1986-03.com.sun:02:eb5f63b2-f1f0-c731-f28d-d56664395cfa,192.168.99.246:3260
    
    root@jedi:/> iscsiadm  list target
    Target: iqn.1986-03.com.sun:02:eb5f63b2-f1f0-c731-f28d-d56664395cfa
            Alias: sun-storage
            TPGT: 2
            ISID: 4000002a0000
            Connections: 1
    
    
    root@jedi:/> echo "" | format
    Searching for disks...done
    
    
    AVAILABLE DISK SELECTIONS:
           0. c1t0d0 <DEFAULT cyl 8921 alt 2 hd 255 sec 63>
              /pci@0,0/pci1022,7450@a/pci17c2,10@4/sd@0,0
           1. c2t600144F0D1F98B7300004C93ECB40001d0 <DEFAULT cyl 1302 alt 2 hd 255 sec 63>
              /scsi_vhci/disk@g600144f0d1f98b7300004c93ecb40001
    Specify disk (enter its number):
    4) All Done you will see you new iSCSi Lun with "format", if using Solaris x86 then remember to run "fdisk" as well.


    Code:
    root@jedi:/> newfs /dev/rdsk/c2t600144F0D1F98B7300004C93ECB40001d0s0
    newfs: construct a new file system /dev/rdsk/c2t600144F0D1F98B7300004C93ECB40001d0s0: (y/n)? yes
    Warning: 1324 sector(s) in last cylinder unallocated
    /dev/rdsk/c2t600144F0D1F98B7300004C93ECB40001d0s0:      20900564 sectors in 3402 cylinders of 48 tracks, 128 sectors
            10205.4MB in 213 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
    super-block backups (for fsck -F ufs -o b=#) at:
     32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
    Andy
    Last edited by apaton; 18th September 2010 at 10:59 PM. Reason: ty

  3. #18

    Join Date
    May 2010
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    9
    Quote Originally Posted by drLurve View Post
    Hi Tony,

    Thanks for the info. I have go thru the big admin guide. I found out that we need to identify the initiator IQN from the OS (VM ESX in big admin guide) and create an initiator in the S7000 storage. I used the "iscsiadm list initiator-node" to identify Sun Solaris IQN and used it to create an initiator in S7000 storage. From there, i drag the initiator to iSCSI initiator group and created a LUN. I tried to use auto-discovery and static discovery on Sun Solaris but still nothing.

    Another way i tried is straight to the SAN>Targets>iSCSI Target>Auto Assign IQN+alias>Share>+LUN. Surprisingly the OS recognized the LUN in command "format" but i cant "newfs" or mount it.

    Which is the proper way? The document is showing the storage to use +initiator to accept the initiator IQN. The OS then will detect/rescan the target (storage) automatically. Why the storage have both initiator and target option? Confused admin here.
    Hi drLurve,
    On the S7000 storage I normally set up both initiators and target(s). This is for mapping a initiator/target to a LUN.

    The steps that I have used in the past to set up a static OpenSolaris server was: (should be the same for Solaris apart from the pkg install bit)

    1. Install the SUNWiscsi package

    pkg install SUNWiscsi

    1. svcadm enable svc:/network/iscsi_initiator:default

    2. iscsiadm modify discovery --static enable

    3. iscsiadm list discovery

    4. iscsiadm list initiator-node

    5. iscsiadm add static-config iqn.1986-03.com.sun:02:1effd458-6b1c-6f8d-b1a0-dc5aabbf1f51,10.1.1.70

    6. iscsiadm list static-config

    Static Configuration Target:
    iqn.1986-03.com.sun:02:7136fd12-a275-ecf5-9fb7-c3117f1a5f70,10.1.190.141:3260

    7. devfsadm -i iscsi

    8. format (to check)

    9. fdisk c0t600144F04B8F90D900001517ABDD8E00d0p0 (on x86 only partition the disk)

    Hope this works for you.


    Tonyw.

  4. #19

    Join Date
    Sep 2010
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks guys, i manage to mount it on solaris adi. Anyhow, can multi VMware ESX 4.0 host access to the same LUN? If yes, is it we need to add the initiator to the initiator group?

  5. #20
    apaton's Avatar
    Join Date
    Jun 2009
    Location
    Kings Norton
    Posts
    283
    Thank Post
    54
    Thanked 106 Times in 87 Posts
    Rep Power
    36
    Quote Originally Posted by drLurve View Post
    Anyhow, can multi VMware ESX 4.0 host access to the same LUN? If yes, is it we need to add the initiator to the initiator group?
    Yes, VMware's VMFS is a clustered filesystem.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. VMWare ESX and USB Dongles
    By JamesC in forum Thin Client and Virtual Machines
    Replies: 9
    Last Post: 25th February 2013, 01:39 PM
  2. VMWare ESX NIC Load Balancing problem
    By JamesC in forum Thin Client and Virtual Machines
    Replies: 8
    Last Post: 17th September 2010, 12:16 PM
  3. VMWare ESX Backups
    By techie08 in forum Thin Client and Virtual Machines
    Replies: 10
    Last Post: 21st April 2009, 06:12 PM
  4. VMware ESX / MS Virtual Server 2005
    By Andi in forum Thin Client and Virtual Machines
    Replies: 4
    Last Post: 7th August 2008, 09:40 AM
  5. VMWare ESX 3.5 - book recommendation
    By Paid_Peanuts in forum Thin Client and Virtual Machines
    Replies: 3
    Last Post: 16th April 2008, 10:37 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •