+ Post New Thread
Results 1 to 15 of 15
Hardware Thread, iSCSI / SUN 7110 Virtual Simulator problem in Technical; Hi folks, I have been busy playing with Sun 7110 Virtual Simulator and have hit what is probably a complete ...
  1. #1
    ArchersIT's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire
    Posts
    114
    Thank Post
    14
    Thanked 24 Times in 20 Posts
    Rep Power
    21

    iSCSI / SUN 7110 Virtual Simulator problem

    Hi folks,

    I have been busy playing with Sun 7110 Virtual Simulator and have hit what is probably a complete newbie problem.

    I have Cifs working fine so I decided to try connecting to it via iSCSI. Please note that as this was just a play, I was using the normal TCP/IP infrastructure which meant that the two devices were not on the same switch.

    I have setup the 7110 to take iSCSI on a project and I have setup an initiator. My Initiator was planned to be one of our test Windows Server 2008 servers so I setup iSCSI initiator. This gave me the IQN for the initiator.

    The problems come with the next steps. I set up the IP address of the 7110 as a Target Portal - I presume this is ok as if I put in the wrong IP address it tells me there is a connection problem. However, if I try to refresh the Target, it gets nothing.

    I am not sure what to do next and how to debug - could anyone give me some starting pointers? I am not using CHAP names or secrets anywhere.

    Many thanks for any help anyone can point at.

    Cheers

    Jonathan
    Last edited by ArchersIT; 14th May 2009 at 04:24 PM. Reason: typing errors

  2. #2
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    58
    Hi Jonathan,

    I've just gone through this on our 7410 and an XP Pro box, hope it helps:

    • Sun Box
    • Login
    • Shares
    • LUNs
    • Click the + to add a LUN
    • Use the default project, unless you’ve configured another project with specific settings
    • Give it a name
    • Volume size – as much as you need for testing
    • Leave sparse un-ticked unless you know you need it
    • 8k block size is fine
    • Apply
    • Mouseover the new LUN and hit the pencil (edit) icon on the right
    • Click protocols
    • Unless you’ve set up a project for something specific, untick ‘Inherit from project’
    • Click the + next to Initiator Access Control
    • Enter an Initiator Alias (name of the Windows server would make sense)
    • Enter the IQN from the Windows server (found via the iSCSI Initiator)
    • Back on the main protocols screen, untick 'Allow any Initiator Access' and tick 'Allow' for your Windows server entry
    • Hit Apply



    • Windows Server
    • Run the iSCSI Initiator
    • Discovery > Add
    • Enter the FQDN of the Sun box, leave the port as it is
    • Targets > Refresh
    • You should see the LUN you just made on the Sun box
    • Select it and hit Log On
    • Go to Computer Management
    • Storage > Disk Management
    • The Disk Wizard should pop up automatically, or if not you'll just see a new unallocated drive you need to partition and format
    • Do with it as you wish!


    EDIT - To use the FQDN, make sure you've got a DNS entry for your SUN box.

    Not sure why you wouldn't be able to see the target LUN if you've done the above. If there is a firewall on the Windows server try disabling it.

    Cheers,
    Chris
    Last edited by Duke; 14th May 2009 at 04:51 PM.

  3. Thanks to Duke from:

    ArchersIT (15th May 2009)

  4. #3
    ArchersIT's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire
    Posts
    114
    Thank Post
    14
    Thanked 24 Times in 20 Posts
    Rep Power
    21
    Quote Originally Posted by Duke View Post
    Hi Jonathan,

    I've just gone through this on our 7410 and an XP Pro box, hope it helps:

    • Sun Box
    • Login
    • Shares
    • LUNs
    • Click the + to add a LUN
    • Use the default project, unless you’ve configured another project with specific settings
    • Give it a name
    • Volume size – as much as you need for testing
    • Leave sparse un-ticked unless you know you need it
    • 8k block size is fine
    • Apply
    • Mouseover the new LUN and hit the pencil (edit) icon on the right
    • Click protocols
    • Unless you’ve set up a project for something specific, untick ‘Inherit from project’
    • Click the + next to Initiator Access Control
    • Enter an Initiator Alias (name of the Windows server would make sense)
    • Enter the IQN from the Windows server (found via the iSCSI Initiator)
    • Back on the main protocols screen, untick 'Allow any Initiator Access' and tick 'Allow' for your Windows server entry
    • Hit Apply

    Okay - on the 7110 simulator the settings are slightly different, and when I look at the protocols for the new filesystem (lun) it does not list iSCSI, this is only listed at the project level - I wonder if I am doing something wrong here - I will have a read of the helpfile.

    Cheers

    Jonathan

  5. #4

    teejay's Avatar
    Join Date
    Apr 2008
    Posts
    3,207
    Thank Post
    286
    Thanked 777 Times in 587 Posts
    Rep Power
    336
    I think what you may have done is created a filesystem rather than a LUN. Click on LUNs first and then click on the + symbol.

  6. 2 Thanks to teejay:

    ArchersIT (15th May 2009), PRicho (3rd June 2009)

  7. #5
    ArchersIT's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire
    Posts
    114
    Thank Post
    14
    Thanked 24 Times in 20 Posts
    Rep Power
    21
    Quote Originally Posted by teejay View Post
    I think what you may have done is created a filesystem rather than a LUN. Click on LUNs first and then click on the + symbol.
    Spot on - many thanks. I knew it must have been something obvious like this because everything else has been really easy!

    Cheers

    Jonathan

  8. #6

    teejay's Avatar
    Join Date
    Apr 2008
    Posts
    3,207
    Thank Post
    286
    Thanked 777 Times in 587 Posts
    Rep Power
    336
    No probs, there are a few areas like that in the interface, scheduled snapshots is another one. Overall an easy interface to navigate, but as with anything there are a few unique ways of doing things!

  9. #7
    Butuz's Avatar
    Join Date
    Feb 2007
    Location
    Wales, UK
    Posts
    1,579
    Thank Post
    211
    Thanked 220 Times in 176 Posts
    Rep Power
    63
    Has anyone got this working on ESXi then? or do you have to use Server/Player.

    I just tried to get on ESCi and it is not working properly - keeps saying the attempted operation cannot be performed in the current state (powered off).

    Butuz

  10. #8
    ArchersIT's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire
    Posts
    114
    Thank Post
    14
    Thanked 24 Times in 20 Posts
    Rep Power
    21
    Quote Originally Posted by Butuz View Post
    Has anyone got this working on ESXi then? or do you have to use Server/Player.

    I just tried to get on ESCi and it is not working properly - keeps saying the attempted operation cannot be performed in the current state (powered off).

    Butuz
    I have been using player as none of my current hardware is supported on ESXi

    Jonathan

  11. #9
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    58
    Quote Originally Posted by Butuz View Post
    Has anyone got this working on ESXi then? or do you have to use Server/Player.
    I tried a while back with an older version and didn't have any luck. Something about the way it was configured and the virtual machine image format it uses. I found a tool to convert between VM disk file formats but it never successfully converted them to something I could use in ESXi.

    Cheers,
    Chris

  12. #10

    Join Date
    Nov 2007
    Location
    Nottingham
    Posts
    118
    Thank Post
    7
    Thanked 23 Times in 14 Posts
    Rep Power
    18
    Been trying to the same this all morning! didn't even know that was button

  13. #11
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    58
    The LUN bit? It threw me when I first saw it as well. Once you realise then it's all fine, but it is one of the few areas of the Fishworks GUI that's not particularly clear.

  14. #12
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,217
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    75
    I'm in the process of creating a couple of LUNs to present to my Xen boxes, do I need an Initiator Alias for each LUN?

    I'm in the play stage at the moment but i'm aiming to create one iSCSI LUN for each physical Xen box that they can then store VMs on. Am I barking up the right tree here?

  15. #13
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    58
    If I'm following you right then you should might want to make a pool of your Xen boxes then all you need to do is create one LUN on the S7000 and add it to the pool. All the Xen hosts can then see it as 'shared' storage and boot VMs from it. You'll need to know the initiators of all the Xen hosts if you're using initiator security so you can add and allow them on the S7000.

    Cheers,
    Chris

  16. #14
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,217
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    75
    Oh ok I was trying to make a LUN for each physical box. I've now added them to the same pool so they should both be able to access it right. I remember reading that devices couldn't share iSCSI LUNs but the Xen pool must sort that then right?

  17. #15
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    58
    Someone please confirm this or correct me if I'm wrong, but generally an iSCSI LUN can only be accessed by one device unless it has a filesystem that's designed to handle multiple access. So while NTFS wouldn't work, the Xen and VMware filesystems (I suppose they're not technically filesystems in the typical sense, but you know what I mean) are designed to handle multiple hosts accessing files on the same LUN. Can someone just confirm that makes sense?

    Assuming you're using initiator security groups then your SAN will need to be told to allow all your Xen hosts iSCSI initiators to be able to access that LUN. After that (going by memory here as I've been playing with ESX more than Xen recently) you just add the LUN to the Xen pool, set it as the default storage, then put your virtual machines it in. If you have failover enabled then the pool will detect when one host goes down and automatically boot the VMs from the SAN on a different host.

    Chris

  18. Thanks to Duke from:

    cookie_monster (16th June 2009)

SHARE:
+ Post New Thread

Similar Threads

  1. Sun Storage 7110
    By Ric_ in forum Hardware
    Replies: 663
    Last Post: 17th August 2012, 07:34 AM
  2. Xenserver 5 and SUN 7110 SAN
    By cookie_monster in forum Thin Client and Virtual Machines
    Replies: 9
    Last Post: 1st June 2009, 06:06 PM
  3. Sun Java Virtual machine
    By wesleyw in forum How do you do....it?
    Replies: 1
    Last Post: 18th May 2009, 02:58 PM
  4. Sun 7110, CIFS share for MSI's
    By cookie_monster in forum Hardware
    Replies: 3
    Last Post: 14th May 2009, 11:33 AM

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
  •