~graziano.obertelli/eucalyptus/lp683800

« back to all changes in this revision

Viewing changes to roll/eucalyptus/nodes/eucalyptus-compute.xml

  • Committer: graziano
  • Date: 2009-08-26 19:22:22 UTC
  • Revision ID: graziano@t400s-20090826192222-tk8bq542pgljg0k8
Removed roll related stuff: it was very old and definetely not applicable
to the current source.
Added stubs for the monitoring scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" standalone="no"?>
2
 
 
3
 
<kickstart>
4
 
 
5
 
 
6
 
        <description>
7
 
        EUCALYPTUS is an open source service overlay that implements
8
 
        elastic computing using existing resources. The goal of
9
 
        EUCALYPTUS is to allow sites with existing clusters and server
10
 
        infrastructure to co-host an elastic computing service that is
11
 
        interface-compatible with Amazon's EC2.
12
 
        </description>
13
 
 
14
 
        <copyright>
15
 
        Copyright (c) 2000 - 2008 The Regents of the University of California.
16
 
        </copyright>
17
 
 
18
 
        <changelog>
19
 
        $Log: eucalyptus-compute.xml,v $
20
 
        Revision 1.15  2008-12-09 21:24:33  graziano
21
 
        More tweaking for the new euca_conf
22
 
 
23
 
        Revision 1.14  2008-07-30 02:06:37  graziano
24
 
        moved euca_conf to sbin. We need to create the instance path even when
25
 
        the nc is not running.
26
 
 
27
 
        Revision 1.13  2008-07-29 06:35:41  graziano
28
 
        forgot -d option for euca_conf in the postinstall for the roll.
29
 
 
30
 
        Revision 1.12  2008-07-29 06:29:43  graziano
31
 
        Compatected a bit the roll postinstall. Added creation of the path to the
32
 
        compute node.
33
 
 
34
 
        Revision 1.11  2008-07-29 01:36:44  graziano
35
 
        Let's be sure we leave the configuration file in the better shape we can.
36
 
        Modified the rolls postinstall to accomodate the missing socat and the
37
 
        new way to configure eucalyptus.
38
 
 
39
 
        Revision 1.10  2008-07-27 21:08:03  graziano
40
 
        getting ready for the rolls
41
 
 
42
 
        Revision 1.9  2008-07-26 07:11:32  graziano
43
 
        Squashed the last  few pesky error: got some workable RPMs out of it.
44
 
        Moved euca_conf in the same directory as add_key.sh, and rearranged the
45
 
        spec file to pick it up. Adjusted the rolls to use all the new eucalyptus
46
 
        rpms.
47
 
 
48
 
        Revision 1.8  2008-07-26 05:29:43  graziano
49
 
        Moved to 1.2. Split the eucalyptus package in 4: eucalyptus, -cloud, -cc
50
 
        and -nc, started to rework the roll to accomodate that. Adjusted the
51
 
        dependencies to be more sane. euca_conf could be use to finish the setup
52
 
        (creating repositories and adding default cluster). euca_sync_key can now
53
 
        sync single hosts. The init.d script check to see if the configuration
54
 
        file has indeed been configured, and removed the sync_key script from
55
 
        there.
56
 
 
57
 
        Revision 1.7  2008-07-23 20:23:20  graziano
58
 
        First cut at moving to /opt/eucalyptus. CLeaned up the postinstall script
59
 
        in the rolls and the init.d: we just use whatever directory is in
60
 
        /etc/default/eucalyptus (not hardcoded /opt/eucalyptus ...).
61
 
 
62
 
        Revision 1.6  2008-07-02 03:14:28  graziano
63
 
        need to export EUCALYPTUS variable before calling ant
64
 
 
65
 
        Revision 1.5  2008-07-02 01:35:02  graziano
66
 
        we need to source /etc/default/eucalyptus ...
67
 
 
68
 
        Revision 1.4  2008-07-02 00:42:18  graziano
69
 
        we cannot start after having installed the RPM since we didn't configure
70
 
        yet what to start. We can start after the roll got installed though.
71
 
 
72
 
        Revision 1.3  2008-07-01 21:57:10  graziano
73
 
        moving the rocks command into the roll's postinstall
74
 
 
75
 
        Revision 1.2  2008-05-26 21:56:41  graziano
76
 
        we need out apache2 compile with -DBIG_SECURITY_HOLE to run as root.
77
 
        Added dependency for the roll.
78
 
 
79
 
        Revision 1.1  2008-05-21 04:36:28  graziano
80
 
        Let's try to make different installations for compute and frontend: step
81
 
        towards having more rpms.
82
 
 
83
 
        Revision 1.4  2008-05-20 03:50:07  graziano
84
 
        Put ant jce in the right spot. Added the call to put the runlevels. Added
85
 
        xen-libs to the package list. Added stubs for euca for cluster controller
86
 
        management.
87
 
 
88
 
        Revision 1.3  2008-05-12 19:04:01  graziano
89
 
        added some eucalyptus descriptions: waiting for rich for the copyright
90
 
        part.
91
 
 
92
 
        Revision 1.2  2008-05-11 23:07:34  graziano
93
 
        Modified the copyright (removed for now). Added euca-libvirt and euca-vde
94
 
        into the roll.
95
 
 
96
 
        Revision 1.1.1.1  2008-05-11 23:01:22  graziano
97
 
        I need a place to put the roll source tree
98
 
 
99
 
        </changelog>
100
 
 
101
 
        <package>euca-libvirt</package>
102
 
        <package>euca-axis2c</package>
103
 
        <package>euca-httpd</package>
104
 
        <package>xen-libs</package>
105
 
        <package>eucalyptus</package>
106
 
        <package>eucalyptus-gl</package>
107
 
        <package>eucalyptus-nc</package>
108
 
<post>
109
 
# let's set defaults path for ROCKS V installations
110
 
if [ -d /state/partition1 ]; then
111
 
        INSTANCE_PATH="/state/partition1/eucalyptus/instances"
112
 
else
113
 
        INSTANCE_PATH="/usr/local/eucalyptus/instances"
114
 
fi
115
 
mkdir -p $INSTANCE_PATH
116
 
 
117
 
/opt/eucalyptus/usr/sbin/euca_conf -d /opt/eucalyptus -instances "${INSTANCE_PATH}" /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf
118
 
 
119
 
# now let's be sure we use MANAGED: let's comment out the default
120
 
TMP=`mktemp`
121
 
cp /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf $TMP
122
 
sed "s|[[:blank:]]*\(VNET_MODE.*\)|#\1|" $TMP > /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf 
123
 
rm -f $TMP
124
 
 
125
 
# and now let's add the MANAGED mode lines
126
 
cp /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf $TMP
127
 
echo >> $TMP
128
 
echo "# Added for Rocks" >> $TMP
129
 
echo "VNET_MODE=\"MANAGED\"" >> $TMP
130
 
cp $TMP /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf
131
 
rm -f $TMP
132
 
 
133
 
# start the services
134
 
/etc/init.d/eucalyptus start
135
 
</post>
136
 
 
137
 
</kickstart>