Hi!
Do you have "node.startup = automatic" and "node.conn[0].startup = automatic"
set everywhere (i.e. where desired)? See also
/usr/share/doc/packages/open-iscsi/README, specifically "-m node
--loginall=[all|manual|automatic]".
Also:
"The init scripts will start the iSCSI daemon and log into any
connections or nodes that are set up for automatic login. If your distro
does not have a init script, then you will have to start the daemon
and log into the targets manually."
And:
"To set the automatic setting to all portals on a target through every
interface setup for each protal, the following can be run:
iscsiadm -m node -T targetname --op update -n node.conn[0].startup -v au
tomatic
Or to set the "node.conn[0].statup" attribute to "startup" as default for
all sessions add the following to the /etc/iscsi/iscsid.conf:
node.conn[0].startup = automatic
Setting this in iscsid.conf, will not affect existing nodes. It will only
affect nodes that are discovered after setting the value.
To login to all the automated nodes, simply restart the iscsi service:
e.g /etc/init.d/open-iscsi restart. On your next startup the nodes will
be logged into autmotically."
Eventually: The list is "[email protected]".
Regards,
Ulrich
>>> "David Corlette" <[email protected]> schrieb am 08.08.2012 um 17:13 in
Nachricht <[email protected]>:
> Hi folks,
>
> I'm having a weird problem with open-iscsi attempting to use it with SBD.
> This is on SLES11 SP2 with the HAE.
>
> I created an iSCSI Target and set up a 1MB device for use with SBD. I then
> used iSCSI Initiator to discover and log in to the iSCSI Target (with no auth
> credentials), found the LUN, and set up SBD to use that device (by ID). This
> all works great.
>
> I set the open-iscsi service to start on boot, and when I logged in to the
> Target I specified 'onboot' as well. The file
> /etc/iscsi/nodes/iqn.2012-07.com.example:ac247b7e-57fd-4abc-9dd5-3b0100f92fd7/10.
> 0.0.3,3260,1/default
> in fact does include the line
> node.startup=onboot
>
> But when I restart, it looks like the service starts but it will NOT log in
> to the target automatically. I'm forced to manually start up YaST and log in
> again. This makes the cluster node essentially useless, since it can't
> automatically rejoin the cluster without manual intervention. Note that this
> same problem exists on every node (approaching about 10, now) that I or my
> team has set up.
>
> I've tried everything I can think of .... help?
>
> P.S. I realize that this may be an open-iscsi issue, but a) I don't know
> where that project is supported and b) I figured you folks may have run into
> this. Any help appreciated!
>
>
>
> ----------------
> David Corlette
> Product Line Lead
> [email protected]
> 703.663.5517
> NetIQ
>
>
>
>
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems