Hi, I found another change that needs to be made to the "How to Build
a Netboot Server, Part 2" article.
If an editor can insert the following 3 lines immediately after the "#
sed -i 's/nfs/iscsi/' /etc/dracut.conf.d/netboot.conf" line, it will
improve the netboot client's ability to re-establish its iscsi
connection when it goes down (as can happen if the user lets the
system go into power-save mode):
# sed -i '/^node.conn\[0\].timeo.noop_out_interval /s/=.*$/= 0/'
/fc28/etc/iscsi/iscsid.conf
# sed -i '/^node.conn\[0\].timeo.noop_out_timeout /s/=.*$/= 0/'
/fc28/etc/iscsi/iscsid.conf
# sed -i '/^node.session.timeo.replacement_timeout /s/=.*$/= 86400/'
/fc28/etc/iscsi/iscsid.conf
The timeout values used above are the recommended values to use when
running an iscsi root as explained in section 8.2 of
/usr/share/doc/iscsi-initiator-utils/README.
Also, "Ipdate" should be "Update".
Thanks,
gb
Show replies by thread
Correction to my correction ... those 3 lines need to be:
# sed -i '/^node.conn\[0\].timeo.noop_out_interval /s/=.*$/= 0/'
/etc/iscsi/iscsid.conf
# sed -i '/^node.conn\[0\].timeo.noop_out_timeout /s/=.*$/= 0/'
/etc/iscsi/iscsid.conf
# sed -i '/^node.session.timeo.replacement_timeout /s/=.*$/= 86400/'
/etc/iscsi/iscsid.conf
The difference is that "/fc28" is removed because where I asked them
to be inserted a chroot has already been performed.
Sorry and thanks,
gb
On Mon, Dec 31, 2018 at 5:22 PM Gregory Bartholomew
<gregory.lee.bartholomew(a)gmail.com> wrote:
>
> Hi, I found another change that needs to be made to the "How to Build
> a Netboot Server, Part 2" article.
>
> If an editor can insert the following 3 lines immediately after the "#
> sed -i 's/nfs/iscsi/' /etc/dracut.conf.d/netboot.conf" line, it will
> improve the netboot client's ability to re-establish its iscsi
> connection when it goes down (as can happen if the user lets the
> system go into power-save mode):
>
> # sed -i '/^node.conn\[0\].timeo.noop_out_interval /s/=.*$/= 0/'
> /fc28/etc/iscsi/iscsid.conf
> # sed -i '/^node.conn\[0\].timeo.noop_out_timeout /s/=.*$/= 0/'
> /fc28/etc/iscsi/iscsid.conf
> # sed -i '/^node.session.timeo.replacement_timeout /s/=.*$/= 86400/'
> /fc28/etc/iscsi/iscsid.conf
>
> The timeout values used above are the recommended values to use when
> running an iscsi root as explained in section 8.2 of
> /usr/share/doc/iscsi-initiator-utils/README.
>
> Also, "Ipdate" should be "Update".
>
> Thanks,
> gb
I made this request during the holidays, so "bump" as they say ...