autoyast scripting sles11sp2 install boot-from-SAN

I need to build 3 new clusters each of 8 nodes with diskless HP bl460c blades booting from a SAN.

The problem I anticipate is scripting the partitioning of the boot LUNs. On our existing cluster servers with local RAID disks they are addressed as /dev/sda (or /dev/cciss), and this is consistent on all servers in the cluster. Obviously this won’t work when the LUNs have a unique id and are addressed at /dev/.

Does anyone have experience of scripting boot-from-SAN installation?

cheers

Kat

kat888,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team
http://forums.suse.com

hey,

that is a little bit tricky. we actually have the same problems. trying to install on multipathed devices while during installation proces device naming sda,sdb,sdc is changing.
You needn’t to script a way , you can use the multipath DUD ( http://www.novell.com/support/kb/doc.php?id=7009981 )

that give’s you the ability to use /dev/mapper Device or /dev/dm Device inside your autoyast.xml File!

we are dealing with this problem by giving every Server the same luns ( 3 x 17GB ) while it’s initial install . so we always have the same device mapping

(…)
<device_map config:type=“list”>
<device_map_entry>
fd0
/dev/fd0
</device_map_entry>

<device_map_entry>
hd0
/dev/sda
</device_map_entry>

<device_map_entry>
hd1
/dev/sdb
</device_map_entry>

<device_map_entry>
hd2
/dev/sdc
</device_map_entry>
</device_map>
(…)

but be careful, that is only a valid setup when you have an active/active Storage Array. Active/Passive is way more complicated.

hope that helps …


olli

Thanks for the info Olli, that looks very useful. I should be able to test it later on today.

Kat