Mailinglist Archive: opensuse-autoinstall (50 mails)
| < Previous | Next > |
[opensuse-autoinstall] Strategy for cluster install
- From: "Markus Baertschi" <markus@xxxxxxxxxx>
- Date: Thu, 1 May 2008 08:56:20 +0200
- Message-id: <b08d3e870804302356s2a1af7e4w9ae0353ed5ec6374@xxxxxxxxxxxxxx>
I'm working on the installation for a new linux cluster. All nodes are
identical except for hostname and IP.
Today some scripts generate an individual autoinst.xml and pxe config
file pointing to the autoinst.xml for each node. These files are the
same except for the (static) hostname and IP address. We want to keep
static addresses.
I can reduce the 2 config files per node to two single files if I have
a simple way to assign the correct hostname and static IP address
during installation. We have dhcp set up to assign a fixed IP for each
node.
It looks like during post-install I can access the IP address in the
hostname. (the hostname command returns the ip address). I suppose I
can set the ip address using yast command line tools (yast lan edit
id=0 ip=myip), but there seems to be no way to set the hostname using
the command line. Can I just write the hostname into /etc/HOSTNAME ?
Is there a good reason I should remain with the individual pxe and
autoinstall.xml files per node ?
Markus
--
Markus Baertschi Phone: ++41 (21) 807 1677
Bas du Rossé 16 Fax : ++41 (21) 807 1678
CH-1163, Etoy Email: markus@xxxxxxxxxx
Switzerland Homepage: www.markus.org
identical except for hostname and IP.
Today some scripts generate an individual autoinst.xml and pxe config
file pointing to the autoinst.xml for each node. These files are the
same except for the (static) hostname and IP address. We want to keep
static addresses.
I can reduce the 2 config files per node to two single files if I have
a simple way to assign the correct hostname and static IP address
during installation. We have dhcp set up to assign a fixed IP for each
node.
It looks like during post-install I can access the IP address in the
hostname. (the hostname command returns the ip address). I suppose I
can set the ip address using yast command line tools (yast lan edit
id=0 ip=myip), but there seems to be no way to set the hostname using
the command line. Can I just write the hostname into /etc/HOSTNAME ?
Is there a good reason I should remain with the individual pxe and
autoinstall.xml files per node ?
Markus
--
Markus Baertschi Phone: ++41 (21) 807 1677
Bas du Rossé 16 Fax : ++41 (21) 807 1678
CH-1163, Etoy Email: markus@xxxxxxxxxx
Switzerland Homepage: www.markus.org
| < Previous | Next > |