initiator-iqn not getting set
|
2015-02-09, 23:36
Post: #1
|
|||
|
|||
initiator-iqn not getting set
Hello,
I'm having some troubles getting a newly purchased machine to boot from an iSCSI LUN served from a NetApp filer. I can do a network install of CentOS6 or CentOS7 to a fresh LUN. The CentOS installer is able to find the iSCSI target and install the OS. Now my problems begin, as I cannot get the new machine to boot off the remote LUN. Here is the relevant portion of my dhcpd.conf file: Code: host blah-iscsi { During boot I see the following in my dhcp log files: Code: Feb 9 14:01:39 dhcpd: DHCPDISCOVER from 00:25:90:fc:3a:af via 192.168.20.1 and if I interrupt the boot process and enter the iPXE command line ping does not work until I type "dhcp" on the command line. if I inspect the config settings prior to manually issing a dhcp command it appears that most values are set except for the iqn-iniiator value. page2. it looks like the iqn-initiator value is not properly set. So clearly dhcp is partially working if I manually issue the dhcp command from iPXE, then inspect the config settings the iqn-initiator value IS getting properly set: page2. But back on the iPXE command line, issuing an autoboot still fails. I'm at a bit of a loss. What to try next? |
|||
2015-02-13, 19:42
Post: #2
|
|||
|
|||
RE: initiator-iqn not getting set
more information from my latest attempts.
Tried the following this morning: 1. boot into iPXE command line 2. issue dhcp command 3. go into config and set iqn-initiator value manually 4. exit config 5. sanhook --drive 0x81 ${root-path} 6. sanboot --drive 0x81 So the SAN device gets registered, but there is a timeout during boot. I guess the next thing to do is examine the packet trace and see who is not playing nice. |
|||
2015-02-19, 22:55
(This post was last modified: 2015-02-19 23:38 by classen.)
Post: #3
|
|||
|
|||
RE: initiator-iqn not getting set
a screenshot from wireshark:
It looks like things are going fine until about packet 128 when 192.168.20.23 decides to logout and close the connection. I turned on SCSI and iSCSI debug messages, and rebuilt undionly.kpxe Code: make bin/undionly.kpxe DEBUG=scsi:3,iscsi Now I'm getting into the weeds. Anyone have a clue what this SCSI error means? |
|||
2015-02-20, 00:03
Post: #4
|
|||
|
|||
RE: initiator-iqn not getting set
What image on the iSCSI LUN are you attempting to boot?
"Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
2015-02-20, 01:35
Post: #5
|
|||
|
|||
RE: initiator-iqn not getting set | |||
2015-02-20, 01:37
Post: #6
|
|||
|
|||
RE: initiator-iqn not getting set
So, you were able to install CentOS over iSCSI? Or, did you DD an existing CentOS installation to the iSCSI LUN?
"Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
2015-02-20, 02:13
Post: #7
|
|||
|
|||
RE: initiator-iqn not getting set
(2015-02-20 01:37)MultimediaMan Wrote: So, you were able to install CentOS over iSCSI? Or, did you DD an existing CentOS installation to the iSCSI LUN? Yes, I just completed a fresh install of CentOS via iSCSI. I use PXE to boot the initrd Code: LABEL CentOS 6 x86_64 Install Once the Anaconda installer is running I can configure the iSCSI LUN as an "advanced storage option" and the install goes smoothly. I've done this for other linux machines that I have, but this new machine is just not behaving, and I'm trying to figure out if it's iPXE or the Supermicro motherboard or the NetApp that is causing the problem. |
|||
2015-02-20, 02:25
Post: #8
|
|||
|
|||
RE: initiator-iqn not getting set
This seems counter-intuitive, but have you tried NOT configuring iSCSI in the advanced setup during the anaconda installation?
"Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
2015-02-20, 17:41
Post: #9
|
|||
|
|||
RE: initiator-iqn not getting set
(2015-02-20 02:25)MultimediaMan Wrote: This seems counter-intuitive, but have you tried NOT configuring iSCSI in the advanced setup during the anaconda installation? I'm not sure what exactly you're suggesting. I am not installing to a local hard drive so my options are to install to a network device such as FCoE or iSCSI. The Anaconda installer is able to discover and use the iSCSI LUN as an installation target, and when the installation is complete and I am required to reboot, the chain of boot utilities is somehow just not working. It looks like iPXE is finding the NetApp and it sees the LUN and checks that it is available and the correct size, but during the next handoff step things fail. Maybe this has nothing to do with iPXE, but I'm running out of ideas. I may just return this unit and ask fro a different motherboard. |
|||
2015-02-20, 20:27
Post: #10
|
|||
|
|||
RE: initiator-iqn not getting set
You are getting the gist of what I'm saying... don't select a an iSCSI target in Anaconda: the iBFT is handed off to the Anaconda and NetworkManager. Just treat it as a local install (but without the local disk).
"Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)