Re: PXE Nodes

John Hughes <[email protected]> Mon, 06 Apr 2009 16:06:22 +0200
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <[email protected]>
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?

------------------------------------------------------------------------------