UEC/Eucalyptus installation test: 20090927.1

Daniel Nurmi nurmi at eucalyptus.com
Sun Sep 27 21:10:42 BST 2009


I'm also going through the 09272009.1 iso install process today on two
dells.  I'll have a more full (probably a similar to those already reported)
summary later today PST.

Regarding the init scripts/ordering; I thought it might help to propose a
solution to the 'java services have to stop/start to be loaded' issue.
Currently, the init scripts maintain a small state file in
/var/run/eucalyptus/ws, which stores the names of the services that are
currently 'started'.  Each of the init scripts (cloud, walrus, sc) uses this
file to determine the correct parameters to send to the actual process
(/usr/sbin/eucalyptus-cloud).  The parameters of interest are
'--disable-cloud', '--disable-walrus' and '--disable-storage'.  Moreover, if
the process is already running, and the services is 'enabled' in
/var/run/eucalyptus/ws, then the script will do nothing, report that the
service is already running, and return 'success'.  All of this is to say, if
something were to write:


into /var/run/eucalyptus/ws, then run 'start' on any of the three init
scripts, all three services will be started, and running 'start' on any of
the other scripts will return success and not stop/start the process.  For
example, if we put a small bit of shell in the cloud init script that
essentially says 'if /var/run/eucalyptus/ws doesn't exist, and we're doing a
start, then write all three services into the file and start', then the
cloud init script will actually start all of the services.  Then, the other
services upon start can just do their auto-registration bits.

I know this probably seems a bit convoluted, but I think it may help to
simplify the auto-registration process for now.  In any case, the ordering,
with auto-reg in the init scripts, should be:

eucalyptus-walrus (requires that 'cloud' and 'walrus' is up in order to
complete walrus registration)
eucalyptus-sc (requires that 'cloud' and 'sc' is up in order to complete sc
eucalyptus-cc (requires that 'cloud' is up in order to complete cluster
registration, and that 'cc' is up to complete node registration)

Hope this helps!

On Sun, Sep 27, 2009 at 12:16 PM, Matt Zimmerman <mdz at canonical.com> wrote:

> On Sun, Sep 27, 2009 at 07:43:40PM +0100, Matt Zimmerman wrote:
> > Next steps:
> >
> > - Confirm MANAGED-NOVLAN configuration of the NC (I don't have the
> >   appropriate virtual networking set up to test the node install yet)
> I've asked Thierry to check this.
> > - Get auto-registration of CC/SC/Walrus working
> Problems I see so far:
>  * eucalyptus-cc is started before eucalyptus-cloud in the rc.d order.
>   Shouldn't this be the other way around?
>  * None of the scripts seem to wait for the service to come up before
> moving
>   on, so the ordering won't help much until that's fixed
> The actual mechanics of registration seem to work fine, as evidenced by the
> fact that it works when run manually.  I think that once the ordering
> problems are fixed, this will work OK.
> --
>  - mdz

Daniel Nurmi
Co-Founder, Engineer
Eucalyptus Systems, Inc.

130 Castilian Dr. | Goleta, CA | 93117
Office: 805-845-8000 | Cell: 805-259-5269
Email: nurmi at eucalyptus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20090927/999b7cfa/attachment-0002.htm 

More information about the ubuntu-devel mailing list