Thread: [SSI-users] PXE Nodes
Brought to you by:
brucewalker,
rogertsang
|
From: Sergi B. <hi...@li...> - 2009-04-06 13:21:55
|
Hi again!
After installing server node I tried to boot some clients with pxe but
server can't server ip addresses, getting this warning in daemon.log
dhcpd: DHCPDISCOVER from 00:02:b3:16:06:fd via eth0: network 10.0.0/24:
no free leases
The file /etc/dhcp3/dhcpd.conf show like this:
# /etc/dhcp3/dhcpd.conf
#
# Do _not_ edit this file!! It was automatically generated by mkdhcpd.conf.
#
# Section 1 (from /etc/dhcp3/dhcpd.proto)
next-server 10.0.0.1;
# Section 2 (from /etc/clustertab)
subnet 10.0.0.0 netmask 255.255.255.0 {
if substring (option vendor-class-identifier, 0, 9) = "Etherboot" {
filename "/combined";
} else {
filename "/pxelinux.0";
}
host node1 {
hardware ethernet 00:02:B3:B3:63:A9;
fixed-address 10.0.0.1;
}
}
I tried to do ssi-addnode but doesn't add it in list....
Can I edit /etc/clustertab manually?
--
Sergi Barroso
Linux user #313577
PGPID: D318F5E8
http://www.lionclan.org
|
|
From: John H. <jo...@Ca...> - 2009-04-06 13:39:51
|
Sergi Barroso wrote: > I tried to do ssi-addnode but doesn't add it in list.... > Strange. When you sat "doesn't add it in list", which list? dhcpd.conf? clustertab? Are there any error messages? > Can I edit /etc/clustertab manually? > No, because it won't create all the files in /cluster/ that ssi-addnode does. We have to find out why ssi-addnode isn't working for you. |
|
From: Sergi B. <hi...@li...> - 2009-04-06 13:49:49
|
John Hughes escribió:
> Sergi Barroso wrote:
>> I tried to do ssi-addnode but doesn't add it in list....
>>
> Strange.
>
> When you sat "doesn't add it in list", which list? dhcpd.conf?
> clustertab?
>
> Are there any error messages?
>> Can I edit /etc/clustertab manually?
>>
> No, because it won't create all the files in /cluster/ that
> ssi-addnode does.
>
> We have to find out why ssi-addnode isn't working for you.
>
>
Theres the output of ssi-addnode
debsrv:~# ssi-addnode
Enter a node number (2-125) or (?) [2]: 2
Hardware address Time last probed
---------------- ----------------
1) 00:02:B3:16:06:FD Apr 6 14:32:11
Select (1-2), (r)escan, (q)uit or (?) [1]: 1
Do you want to scan for available IP addresses (y/n/?) [n]:
Enter an IP address or (?): 10.0.0.2
Select (P)XE, (E)therboot or (?) [E]: P
Enter a nodename or (?): debnode1
Please make sure that the interface with MAC address 00:02:B3:16:06:FD
is not configured via /etc/network/interfaces
Press Enter to acknowledge:
The following configuration has been entered:
Node number: 2
IP address: 10.0.0.2
Network hardware addr: 00:02:B3:16:06:FD
Network boot protocol: PXE
Local boot device: none
Nodename: debnode1
Potential initnode: No
(W)rite new configuration, (R)econfigure, or (Q)uit without writing [W]:
You should run ssi-create first
ssi-addnode try to find this interface inside
/etc/networking/interfaces? why? this mac it's from client node
interface, not server.
--
Sergi Barroso
Linux user #313577
PGPID: D318F5E8
http://www.lionclan.org
|
|
From: John H. <jo...@Ca...> - 2009-04-06 14:06:35
|
Sergi Barroso wrote:
> Please make sure that the interface with MAC address 00:02:B3:16:06:FD
> is not configured via /etc/network/interfaces
>
This is just a confusing warning, and can be ignored. It means - "don't
configure a node-interconnect nic in /etc/network/interfaces".
> Press Enter to acknowledge:
>
> The following configuration has been entered:
> Node number: 2
> IP address: 10.0.0.2
> Network hardware addr: 00:02:B3:16:06:FD
> Network boot protocol: PXE
> Local boot device: none
> Nodename: debnode1
> Potential initnode: No
>
> (W)rite new configuration, (R)econfigure, or (Q)uit without writing [W]:
>
vvvvvvvvvv
> You should run ssi-create first
>
^^^^ That is an error. I wonder where it comes from.
# man ssi-create
...
NAME
ssi-create - creates a SSI cluster
SYNOPSIS
ssi-create [OPTIONS]
DESCRIPTION
ssi-create creates a single node SSI cluster.
This command does the following :
Creates the /cluster/node# directory
...
Normaly ssi-create is run automatically when openssi is installed. (In
the "preinst" file for linux-ssi-image-2.6-686-smp).
In /cluster/lib/ssi_distro.pm we have:
if ( ! -l "/etc/network" ||
! -l "/var/run" ||
! -l "/var/lock" ||
! -l "/var/log" ||
! -l "/etc/nodename" ||
! -l "/var/lib/urandom" ||
! -l "/etc/blkid.tab"
) {
print "You should run ssi-create first\n";
exit(1);
}
So one of the files & directories above is not a symlink (not a CDSL in
fact).
Which one, and why?
|
|
From: John H. <jo...@Ca...> - 2009-04-06 15:49:44
|
Sergi Barroso wrote:
> John Hughes escribió:
>>
>> Normaly ssi-create is run automatically when openssi is installed.
>> (In the "preinst" file for linux-ssi-image-2.6-686-smp).
>>
>> In /cluster/lib/ssi_distro.pm we have:
>>
>> if ( ! -l "/etc/network" ||
>> ! -l "/var/run" ||
>> ! -l "/var/lock" ||
>> ! -l "/var/log" ||
>> ! -l "/etc/nodename" ||
>> ! -l "/var/lib/urandom" ||
>> ! -l "/etc/blkid.tab"
>>
>> ) {
>> print "You should run ssi-create first\n";
>> exit(1);
>> }
>>
>>
>> So one of the files & directories above is not a symlink (not a CDSL
>> in fact).
>>
>> Which one, and why?
> I tried to run it yet, but it shows this:
>
> debsrv:~# ssi-create
> A file named /etc/clustertab already exists. You have already installed
> this cluster. It is not a good idea to install it again.
>
> These files it's not a symlink:
>
> ls -la /etc/blkid.tab*
> -rw-r--r-- 1 root root 116 abr 6 14:35 /etc/blkid.tab
> -rw-r--r-- 1 root root 116 abr 6 14:25 /etc/blkid.tab.old
>
Well drat.
Ok, do:
mklocalfile "/etc/blkid.tab"
and retry your ssi-addnode.
|
|
From: Sergi B. <hi...@li...> - 2009-04-07 06:01:27
|
John Hughes escribió: > > Well drat. > > Ok, do: > > mklocalfile "/etc/blkid.tab" > > and retry your ssi-addnode. This is the error message I get: /usr/sbin/mklocalfile: ERROR: /cluster/nodetemplate//etc/blkid.tab already exists. Cannot make a CDSL. And this is the diff between two files: diff /etc/blkid.tab /cluster/nodetemplate//etc/blkid.tab 1c1 < <device DEVNO="0x0801" TIME="1239021353" UUID="022bc8e3-cce4-4195-bc49-0888eeec866d" TYPE="ext3">/dev/sda1</device> --- > <device DEVNO="0x0801" TIME="1239006821" UUID="022bc8e3-cce4-4195-bc49-0888eeec866d" TYPE="ext3">/dev/sda1</device> -- Sergi Barroso Linux user #313577 PGPID: D318F5E8 http://www.lionclan.org |
|
From: Sergi B. <hi...@li...> - 2009-04-07 06:05:33
|
John Hughes escribió: > > Well drat. > > Ok, do: > > mklocalfile "/etc/blkid.tab" > > and retry your ssi-addnode. I moved /cluster/nodetemplate//etc/blkid.tab to /cluster/nodetemplate//etc/blkid.tab.old then mklocalfile "/etc/blkid.tab" But ssi-addnode halt again. -- Sergi Barroso Linux user #313577 PGPID: D318F5E8 http://www.lionclan.org |
|
From: Sergi B. <hi...@li...> - 2009-04-07 06:23:59
|
John Hughes escribió: > > Well drat. > > Ok, do: > > mklocalfile "/etc/blkid.tab" > > and retry your ssi-addnode. The script ssi-addnode deletes /etc/blkid.tab simlynk and create this file again. This is the problem. -- Sergi Barroso Linux user #313577 PGPID: D318F5E8 http://www.lionclan.org |
|
From: John H. <jo...@Ca...> - 2009-04-07 08:25:29
|
Sergi Barroso wrote: > John Hughes escribió: >> >> Well drat. >> >> Ok, do: >> >> mklocalfile "/etc/blkid.tab" >> and retry your ssi-addnode. > The script ssi-addnode deletes /etc/blkid.tab simlynk and create this > file again. > > This is the problem. > Bizarro. I'll check this afternoon. |
|
From: jhansen <jef...@gm...> - 2009-04-21 15:31:55
|
what was the final resolution to this thread?
Thanks!
Jeff
Sergi Barroso Terradas wrote:
>
> Hi again!
>
> After installing server node I tried to boot some clients with pxe but
> server can't server ip addresses, getting this warning in daemon.log
>
> dhcpd: DHCPDISCOVER from 00:02:b3:16:06:fd via eth0: network 10.0.0/24:
> no free leases
>
> The file /etc/dhcp3/dhcpd.conf show like this:
>
> # /etc/dhcp3/dhcpd.conf
> #
> # Do _not_ edit this file!! It was automatically generated by
> mkdhcpd.conf.
> #
>
> # Section 1 (from /etc/dhcp3/dhcpd.proto)
>
> next-server 10.0.0.1;
>
> # Section 2 (from /etc/clustertab)
>
> subnet 10.0.0.0 netmask 255.255.255.0 {
> if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
> {
> filename "/combined";
> } else {
> filename "/pxelinux.0";
> }
>
>
> host node1 {
> hardware ethernet 00:02:B3:B3:63:A9;
> fixed-address 10.0.0.1;
> }
>
> }
>
>
> I tried to do ssi-addnode but doesn't add it in list....
>
> Can I edit /etc/clustertab manually?
>
>
> --
> Sergi Barroso
> Linux user #313577
> PGPID: D318F5E8
> http://www.lionclan.org
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ssic-linux-users mailing list
> Ssi...@li...
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
>
>
--
View this message in context: http://www.nabble.com/PXE-Nodes-tp22908653p23158701.html
Sent from the ssic-linux-users mailing list archive at Nabble.com.
|
|
From: John H. <jo...@Ca...> - 2009-04-21 16:47:31
|
jhansen wrote:
> what was the final resolution to this thread?
>
No resolution because I couldn't understand why ssi-addnode was not working.
>
> Sergi Barroso Terradas wrote:
>
>> Hi again!
>>
>> After installing server node I tried to boot some clients with pxe but
>> server can't server ip addresses, getting this warning in daemon.log
>>
>> dhcpd: DHCPDISCOVER from 00:02:b3:16:06:fd via eth0: network 10.0.0/24:
>> no free leases
>>
That is normal, before ssi-addnode is run.
>> The file /etc/dhcp3/dhcpd.conf show like this:
>>
>> # /etc/dhcp3/dhcpd.conf
>> #
>> # Do _not_ edit this file!! It was automatically generated by
>> mkdhcpd.conf.
>> #
>>
>> # Section 1 (from /etc/dhcp3/dhcpd.proto)
>>
>> next-server 10.0.0.1;
>>
>> # Section 2 (from /etc/clustertab)
>>
>> subnet 10.0.0.0 netmask 255.255.255.0 {
>> if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
>> {
>> filename "/combined";
>> } else {
>> filename "/pxelinux.0";
>> }
>>
>>
>> host node1 {
>> hardware ethernet 00:02:B3:B3:63:A9;
>> fixed-address 10.0.0.1;
>> }
>>
>> }
>>
So ssi-addnode hasn't been run yet.
>>
>> I tried to do ssi-addnode but doesn't add it in list....
>>
I've not yet been able to understand why ssi-addnode wasn't working.
>> Can I edit /etc/clustertab manually?
>>
No, ssi-addnode does more than just edit the clustertab, it also creates
the /cluster/nodeXXX directory.
We have to find out why ssi-addnode is not working.
|
|
From: jhansen <jef...@gm...> - 2009-04-22 03:42:53
|
what did you do to add nodes, is there a work around?
Sergi Barroso Terradas wrote:
>
> Hi again!
>
> After installing server node I tried to boot some clients with pxe but
> server can't server ip addresses, getting this warning in daemon.log
>
> dhcpd: DHCPDISCOVER from 00:02:b3:16:06:fd via eth0: network 10.0.0/24:
> no free leases
>
> The file /etc/dhcp3/dhcpd.conf show like this:
>
> # /etc/dhcp3/dhcpd.conf
> #
> # Do _not_ edit this file!! It was automatically generated by
> mkdhcpd.conf.
> #
>
> # Section 1 (from /etc/dhcp3/dhcpd.proto)
>
> next-server 10.0.0.1;
>
> # Section 2 (from /etc/clustertab)
>
> subnet 10.0.0.0 netmask 255.255.255.0 {
> if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
> {
> filename "/combined";
> } else {
> filename "/pxelinux.0";
> }
>
>
> host node1 {
> hardware ethernet 00:02:B3:B3:63:A9;
> fixed-address 10.0.0.1;
> }
>
> }
>
>
> I tried to do ssi-addnode but doesn't add it in list....
>
> Can I edit /etc/clustertab manually?
>
>
> --
> Sergi Barroso
> Linux user #313577
> PGPID: D318F5E8
> http://www.lionclan.org
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ssic-linux-users mailing list
> Ssi...@li...
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
>
>
--
View this message in context: http://www.nabble.com/PXE-Nodes-tp22908653p23169154.html
Sent from the ssic-linux-users mailing list archive at Nabble.com.
|
|
From: Sergi B. <hi...@li...> - 2009-04-22 08:34:36
|
jhansen escribió:
> what did you do to add nodes, is there a work around?
>
>
> Sergi Barroso Terradas wrote:
>
>> Hi again!
>>
>> After installing server node I tried to boot some clients with pxe but
>> server can't server ip addresses, getting this warning in daemon.log
>>
>> dhcpd: DHCPDISCOVER from 00:02:b3:16:06:fd via eth0: network 10.0.0/24:
>> no free leases
>>
>> The file /etc/dhcp3/dhcpd.conf show like this:
>>
>> # /etc/dhcp3/dhcpd.conf
>> #
>> # Do _not_ edit this file!! It was automatically generated by
>> mkdhcpd.conf.
>> #
>>
>> # Section 1 (from /etc/dhcp3/dhcpd.proto)
>>
>> next-server 10.0.0.1;
>>
>> # Section 2 (from /etc/clustertab)
>>
>> subnet 10.0.0.0 netmask 255.255.255.0 {
>> if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
>> {
>> filename "/combined";
>> } else {
>> filename "/pxelinux.0";
>> }
>>
>>
>> host node1 {
>> hardware ethernet 00:02:B3:B3:63:A9;
>> fixed-address 10.0.0.1;
>> }
>>
>> }
>>
>>
>> I tried to do ssi-addnode but doesn't add it in list....
>>
>> Can I edit /etc/clustertab manually?
>>
>>
>> --
>> Sergi Barroso
>> Linux user #313577
>> PGPID: D318F5E8
>> http://www.lionclan.org
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Ssic-linux-users mailing list
>> Ssi...@li...
>> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
>>
>>
>>
>
>
Hi, to resolve this issue, please watch your /etc/blkid.tab simlynk,
run ssi-addnode but before answer the first question recreate de simlynk.
That's all
--
Sergi Barroso
Linux user #313577
PGPID: D318F5E8
http://www.lionclan.org
|