You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
(886) |
Apr
(141) |
May
(30) |
Jun
(86) |
Jul
(23) |
Aug
(33) |
Sep
|
Oct
(21) |
Nov
(30) |
Dec
(811) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(184) |
Feb
(137) |
Mar
(519) |
Apr
(1298) |
May
(180) |
Jun
(71) |
Jul
(35) |
Aug
(90) |
Sep
(48) |
Oct
(86) |
Nov
(159) |
Dec
(55) |
| 2009 |
Jan
(57) |
Feb
(60) |
Mar
(53) |
Apr
(43) |
May
(32) |
Jun
(89) |
Jul
(83) |
Aug
(47) |
Sep
(74) |
Oct
(88) |
Nov
(72) |
Dec
(56) |
| 2010 |
Jan
(33) |
Feb
(20) |
Mar
(17) |
Apr
|
May
(3) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(66) |
Oct
(16) |
Nov
(6) |
Dec
(11) |
| 2011 |
Jan
(6) |
Feb
|
Mar
(49) |
Apr
(5) |
May
(1) |
Jun
(2) |
Jul
(3) |
Aug
(2) |
Sep
(1) |
Oct
(62) |
Nov
(4) |
Dec
(1) |
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(81) |
Sep
(4) |
Oct
(3) |
Nov
(1) |
Dec
(3) |
| 2013 |
Jan
(8) |
Feb
(1) |
Mar
(3) |
Apr
|
May
(33) |
Jun
(8) |
Jul
|
Aug
|
Sep
(76) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
(17) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(3) |
2
(3) |
3
(4) |
4
|
5
(5) |
6
|
7
|
|
8
(5) |
9
|
10
|
11
|
12
|
13
|
14
|
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
|
22
|
23
|
24
|
25
|
26
(3) |
27
|
28
|
|
29
|
30
|
31
|
|
|
|
|
|
From: Matt <mat...@us...> - 2007-07-26 12:23:53
|
Update of /cvsroot/openqrm/base/openqrm-3.1.4/src/build In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4485/base/openqrm-3.1.4/src/build Modified Files: create_deb.bash Log Message: applied fix from Thomas -> fixed package deps Index: create_deb.bash =================================================================== RCS file: /cvsroot/openqrm/base/openqrm-3.1.4/src/build/create_deb.bash,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** create_deb.bash 22 Mar 2007 15:46:35 -0000 1.2 --- create_deb.bash 26 Jul 2007 12:23:54 -0000 1.3 *************** *** 25,29 **** VERSION_FILE=${SOURCE_ROOT}/build/versions.xml RPM_DIRECTORY=${SOURCE_ROOT}/../out/ ! NAME_PREFIX=openqrm_ COMP_NAME=$1 PACKAGE_GROUP=$2 --- 25,29 ---- VERSION_FILE=${SOURCE_ROOT}/build/versions.xml RPM_DIRECTORY=${SOURCE_ROOT}/../out/ ! NAME_PREFIX=openqrm- COMP_NAME=$1 PACKAGE_GROUP=$2 |
|
From: Matt <mat...@us...> - 2007-07-26 10:59:27
|
Update of /cvsroot/openqrm/base/openqrm-3.1.4/src/base/tftpboot/build In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4659/base/openqrm-3.1.4/src/base/tftpboot/build Modified Files: syslinux.conf Log Message: increase syslinux version to fix compiliation Index: syslinux.conf =================================================================== RCS file: /cvsroot/openqrm/base/openqrm-3.1.4/src/base/tftpboot/build/syslinux.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** syslinux.conf 22 Mar 2007 14:48:51 -0000 1.1 --- syslinux.conf 26 Jul 2007 10:59:28 -0000 1.2 *************** *** 26,30 **** #conf PACKAGE_NAME="syslinux" ! PACKAGE_VERSION="3.31" PACKAGE_MODE="source" # source, binary, userctl BINS="pxelinux.0:com32/modules/mboot.c32" --- 26,30 ---- #conf PACKAGE_NAME="syslinux" ! PACKAGE_VERSION="3.51" PACKAGE_MODE="source" # source, binary, userctl BINS="pxelinux.0:com32/modules/mboot.c32" |
|
From: Matt <mat...@us...> - 2007-07-26 10:59:06
|
Update of /cvsroot/openqrm/base/openqrm-3.1.4/src/plugins/dhcpd/build In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4408/base/openqrm-3.1.4/src/plugins/dhcpd/build Modified Files: dhcpd.conf Log Message: increased dhcpd-versoin to fix compilation Index: dhcpd.conf =================================================================== RCS file: /cvsroot/openqrm/base/openqrm-3.1.4/src/plugins/dhcpd/build/dhcpd.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dhcpd.conf 22 Mar 2007 14:48:29 -0000 1.1 --- dhcpd.conf 26 Jul 2007 10:59:03 -0000 1.2 *************** *** 26,30 **** #conf PACKAGE_NAME="dhcp" ! PACKAGE_VERSION="3.0.5" PACKAGE_MODE="source" # source, binary, userctl BINS="work.linux-2.2/server/dhcpd" --- 26,30 ---- #conf PACKAGE_NAME="dhcp" ! PACKAGE_VERSION="3.0.6" PACKAGE_MODE="source" # source, binary, userctl BINS="work.linux-2.2/server/dhcpd" |
|
From: Matt <mat...@us...> - 2007-07-08 16:37:02
|
Update of /cvsroot/openqrm/plugins/linuxcoe In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24952/plugins/linuxcoe Modified Files: README.preseed-installations Log Message: fully fixed suse + debian installations increased version number for new release Index: README.preseed-installations =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/README.preseed-installations,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.preseed-installations 29 Jun 2007 21:52:47 -0000 1.1 --- README.preseed-installations 8 Jul 2007 16:36:52 -0000 1.2 *************** *** 1,2 **** ! The Debian-based "preseed" installations are not yet fully working ! ! -> patches and fixes are more than welcome \ No newline at end of file --- 1,4 ---- ! The Debian-based "preseed" installations are working now. ! ! Tested installations : ! Debian Etch (i386) \ No newline at end of file |
|
From: Matt <mat...@us...> - 2007-07-08 16:37:02
|
Update of /cvsroot/openqrm/plugins/linuxcoe/sbin In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24952/plugins/linuxcoe/sbin Modified Files: qrm-linuxcoe-manage Log Message: fully fixed suse + debian installations increased version number for new release Index: qrm-linuxcoe-manage =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/sbin/qrm-linuxcoe-manage,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** qrm-linuxcoe-manage 5 Jul 2007 16:23:03 -0000 1.12 --- qrm-linuxcoe-manage 8 Jul 2007 16:36:52 -0000 1.13 *************** *** 167,171 **** # add the post section ! cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed | sed -e "s#.*late_command.*#d-i preseed/late_command string mkdir -p /root \&\& wget -O /root/$LINUXCOE_PROFILE.post http://$QRM_SERVER_IP_ADDRESS/plugins/linuxcoe/inst/$LINUXCOE_PROFILE.post \&\& chmod +x /root/$LINUXCOE_PROFILE.post \&\& /root/$LINUXCOE_PROFILE.post#g" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed.pluspost /bin/cp -f $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed.pluspost $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed --- 167,171 ---- # add the post section ! cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed | sed -e "s#.*late_command.*#d-i preseed/late_command string wget -O /target/etc/init.d/$LINUXCOE_PROFILE.post http://$QRM_SERVER_IP_ADDRESS/plugins/linuxcoe/inst/$LINUXCOE_PROFILE.post \&\& chmod +x /target/etc/init.d/$LINUXCOE_PROFILE.post \&\& chroot /target update-rc.d $LINUXCOE_PROFILE.post start 99 2 \.#g" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed.pluspost /bin/cp -f $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed.pluspost $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed |
|
From: Matt <mat...@us...> - 2007-07-08 16:37:02
|
Update of /cvsroot/openqrm/plugins/linuxcoe/include In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24952/plugins/linuxcoe/include Modified Files: linuxcoe-functions linuxcoe-info.xml Log Message: fully fixed suse + debian installations increased version number for new release Index: linuxcoe-info.xml =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/include/linuxcoe-info.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** linuxcoe-info.xml 22 Jun 2007 14:48:28 -0000 1.1 --- linuxcoe-info.xml 8 Jul 2007 16:36:52 -0000 1.2 *************** *** 28,32 **** <version>0</version> <type>plugin</type> ! <release>1</release> <license>Qlusters Public License Version 1.1</license> <group>QRM/plugins</group> --- 28,32 ---- <version>0</version> <type>plugin</type> ! <release>2</release> <license>Qlusters Public License Version 1.1</license> <group>QRM/plugins</group> Index: linuxcoe-functions =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/include/linuxcoe-functions,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** linuxcoe-functions 5 Jul 2007 16:23:02 -0000 1.7 --- linuxcoe-functions 8 Jul 2007 16:36:52 -0000 1.8 *************** *** 222,225 **** --- 222,231 ---- done + # fix openSuse osvendor if needed + if [ -f $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/systemdesigner/osvend.d/OpenSUSE ]; then + echo "Fixing os-vendor for openSuse" + cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/systemdesigner/osvend.d/OpenSUSE | sed -e "s#download.opensuse.org#ftp.opensuse.org#g" | sed -e "s#HTTP.*/distribution#HTTP /pub/opensuse/distribution#g" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/systemdesigner/osvend.d/OpenSUSE.fix.osvend + /bin/mv -f $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/systemdesigner/osvend.d/OpenSUSE.fix.osvend $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/systemdesigner/osvend.d/OpenSUSE + fi } |
|
From: Matt <mat...@us...> - 2007-07-08 16:37:02
|
Update of /cvsroot/openqrm/plugins/linuxcoe/etc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24952/plugins/linuxcoe/etc Modified Files: linuxcoe.xml pxe-template.autoyast post-install-openqrm.preseed Log Message: fully fixed suse + debian installations increased version number for new release Index: post-install-openqrm.preseed =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/post-install-openqrm.preseed,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** post-install-openqrm.preseed 5 Jul 2007 16:23:03 -0000 1.2 --- post-install-openqrm.preseed 8 Jul 2007 16:36:52 -0000 1.3 *************** *** 6,10 **** OPENQRM_NODES_BASE_DIR="/opt" OPENQRM_RESOURCE_CONF="/var/qrm/conf/qrm.conf" - LINUXCOE_INSTALL_CONF="/etc/opt/LinuxCOE/args" # package selection --- 6,9 ---- *************** *** 23,34 **** } ! # needed for gathering the openQRM interface ! if [ ! -f $LINUXCOE_INSTALL_CONF ]; then ! linuxcoe_log "ERROR: Could not find installation config file $LINUXCOE_INSTALL_CONF" ! exit 1 ! fi ! # really Suse based ? ! if [ ! -f /etc/SuSE-release ]; then ! linuxcoe_log "ERROR: Could not find /etc/SuSE-release" exit 1 fi --- 22,28 ---- } ! # really Debian based ? ! if [ ! -f /etc/debian_version ]; then ! linuxcoe_log "ERROR: Could not find /etc/debian_version" exit 1 fi *************** *** 41,47 **** fi ! . $LINUXCOE_INSTALL_CONF ! OPENQRM_CLIENT_INTERFACE=$NETDEV ! if [ "$NETDEV" == "" ]; then linuxcoe_log "ERROR: Could not find the network-interface to use for the openQRM integration!" exit 1 --- 35,41 ---- fi ! ! OPENQRM_CLIENT_INTERFACE=`cat /etc/network/run/ifstate | grep -v lo | head -n1 | cut -d'=' -f1` ! if [ "$OPENQRM_CLIENT_INTERFACE" == "" ]; then linuxcoe_log "ERROR: Could not find the network-interface to use for the openQRM integration!" exit 1 *************** *** 124,125 **** --- 118,126 ---- done + ln -sf $OPENQRM_NODES_BASE_DIR/qrm/etc/init.d/qrm /etc/init.d/qrm-node-agents + update-rc.d qrm-node-agents start 99 2 . + + # here we remove the post entry + update-rc.d -f ZZZ_LINUXCOE_PROFILE_ZZZ.post remove + + Index: linuxcoe.xml =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/linuxcoe.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** linuxcoe.xml 22 Jun 2007 14:48:27 -0000 1.1 --- linuxcoe.xml 8 Jul 2007 16:36:52 -0000 1.2 *************** *** 26,30 **** <properties> <name>linuxcoe</name> ! <version>0.1</version> <description>linuxcoe Plugin for openQRM</description> <schema_version>0.2</schema_version> --- 26,30 ---- <properties> <name>linuxcoe</name> ! <version>0.2</version> <description>linuxcoe Plugin for openQRM</description> <schema_version>0.2</schema_version> Index: pxe-template.autoyast =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/pxe-template.autoyast,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pxe-template.autoyast 3 Jul 2007 13:40:16 -0000 1.4 --- pxe-template.autoyast 8 Jul 2007 16:36:52 -0000 1.5 *************** *** 3,5 **** label linux kernel boot/res-${LINUXCOE_RESOURCE_ID}-kernel ! append ramdisk_size=65536 initrd=boot/res-${LINUXCOE_RESOURCE_ID}-initrd.img autoyast=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/autoyast${LINUXCOE_PROFILE}.xml info=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/info${LINUXCOE_PROFILE} --- 3,5 ---- label linux kernel boot/res-${LINUXCOE_RESOURCE_ID}-kernel ! append ramdisk_size=65536 initrd=boot/res-${LINUXCOE_RESOURCE_ID}-initrd.img acpi=off apm=off autoyast=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/autoyast${LINUXCOE_PROFILE}.xml info=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/info${LINUXCOE_PROFILE} |
|
From: Matt <mat...@us...> - 2007-07-08 16:37:02
|
Update of /cvsroot/openqrm/plugins/linuxcoe/doc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24952/plugins/linuxcoe/doc Modified Files: Changelog Log Message: fully fixed suse + debian installations increased version number for new release Index: Changelog =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/doc/Changelog,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Changelog 2 Jul 2007 10:58:39 -0000 1.3 --- Changelog 8 Jul 2007 16:36:52 -0000 1.4 *************** *** 29,32 **** --- 29,37 ---- + linuxcoe-plugin version 0.2 for openQRM 3.1.4 + - fixed Suse-based automatic autoyast-installations + - fixed Debian-based automatic preseed-installations + + linuxcoe-plugin version 0.1 for openQRM 3.1.4 - initial release |
|
From: Matt <mat...@us...> - 2007-07-05 16:23:15
|
Update of /cvsroot/openqrm/plugins/linuxcoe/build In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8032/plugins/linuxcoe/build Added Files: linuxcoe-debian-netboot-installer-sarge.conf linuxcoe-debian-netboot-installer-etch.conf Log Message: progressing with debian auto-installations :) --- NEW FILE: linuxcoe-debian-netboot-installer-etch.conf --- ################################################################################ # The contents of this file are subject to the Qlusters Public License # Version 1.1 (the License); you may not use this file except in compliance # with the License. # You may obtain a copy of the License at # http://www.openqrm.org/content/view/33/69/. # # Software distributed under the License is distributed on an AS IS basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for # the specific language governing rights and limitations under the License. # # The Original Code is openQRM. # # The Initial Developer of the Original Code is Qlusters Corporation. Portions # created by Qlusters Corporation are Copyright (C) 2006. All Rights # Reserved. # # Contributor(s): # # Description: # # Comments: ################################################################################ #conf PACKAGE_NAME="etch" PACKAGE_VERSION="4.0" PACKAGE_MODE="binary" # source, binary, userctl FILE="netboot.tar.gz" BINS="/linuxcoe-debian-etch-net-installer/$FILE" # urls SOURCE="http://http.us.debian.org/debian/dists/etch/main/installer-i386/current/images/netboot/$FILE" BINARY_DEFAULT="" BINARY_REDHAT_73_i686="" BINARY_REDHAT_9_i686="" BINARY_REDHAT_AS3_i686="" BINARY_REDHAT_AS3_i686="" BINARY_FEDORA_CORE3_i686="" BINARY_FEDORA_CORE4_i686="" BINARY_SUSE_91_i686="" BINARY_SUSE_92_i686="" --- NEW FILE: linuxcoe-debian-netboot-installer-sarge.conf --- ################################################################################ # The contents of this file are subject to the Qlusters Public License # Version 1.1 (the License); you may not use this file except in compliance # with the License. # You may obtain a copy of the License at # http://www.openqrm.org/content/view/33/69/. # # Software distributed under the License is distributed on an AS IS basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for # the specific language governing rights and limitations under the License. # # The Original Code is openQRM. # # The Initial Developer of the Original Code is Qlusters Corporation. Portions # created by Qlusters Corporation are Copyright (C) 2006. All Rights # Reserved. # # Contributor(s): # # Description: # # Comments: ################################################################################ #conf PACKAGE_NAME="sarge" PACKAGE_VERSION="3.1" PACKAGE_MODE="binary" # source, binary, userctl FILE="netboot.tar.gz" BINS="/linuxcoe-debian-sarge-net-installer/$FILE" # urls SOURCE="http://http.us.debian.org/debian/dists/sarge/main/installer-i386/current/images/netboot/$FILE" BINARY_DEFAULT="" BINARY_REDHAT_73_i686="" BINARY_REDHAT_9_i686="" BINARY_REDHAT_AS3_i686="" BINARY_REDHAT_AS3_i686="" BINARY_FEDORA_CORE3_i686="" BINARY_FEDORA_CORE4_i686="" BINARY_SUSE_91_i686="" BINARY_SUSE_92_i686="" |
|
From: Matt <mat...@us...> - 2007-07-05 16:23:14
|
Update of /cvsroot/openqrm/plugins/linuxcoe/include In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8032/plugins/linuxcoe/include Modified Files: linuxcoe-functions Log Message: progressing with debian auto-installations :) Index: linuxcoe-functions =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/include/linuxcoe-functions,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** linuxcoe-functions 27 Jun 2007 15:53:49 -0000 1.6 --- linuxcoe-functions 5 Jul 2007 16:23:02 -0000 1.7 *************** *** 41,44 **** --- 41,50 ---- LINUXCOE_POST_INSTALL_TEMPLATE_AUTOYAST="${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/etc/post-install-openqrm.autoyast" + # debian net-installer support + LINUXCOE_DEBIAN_SARGE_NETINSTALL_KERNEL="vmlinuz-debian-sarge-netinstaller" + LINUXCOE_DEBIAN_SARGE_NETINSTALL_INITRD="initrd-debian-sarge-netinstaller.img" + LINUXCOE_DEBIAN_ETCH_NETINSTALL_KERNEL="vmlinuz-debian-etch-netinstaller" + LINUXCOE_DEBIAN_ETCH_NETINSTALL_INITRD="initrd-debian-etch-netinstaller.img" + # management *************** *** 141,145 **** --- 147,160 ---- /bin/ln -sf ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/include/linuxcoe-plugins-1.0.jar ${QRM_SERVER_BASE_DIR}/qrm/java/webapp/WEB-INF/lib/ + # unpack the debian support packages containing the net-installers + tar -C ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-sarge/ -xf ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-sarge/netboot.tar.gz + tar -C ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-etch/ -xf ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-etch/netboot.tar.gz + # copy the installer kernels + initrds to the boot-image dir + /bin/cp -f ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-sarge/debian-installer/i386/2.6/linux ${QRM_SERVER_BASE_DIR}/qrm/tftpboot/boot/$LINUXCOE_DEBIAN_SARGE_NETINSTALL_KERNEL + /bin/cp -f ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-sarge/debian-installer/i386/2.6/initrd.gz ${QRM_SERVER_BASE_DIR}/qrm/tftpboot/boot/$LINUXCOE_DEBIAN_SARGE_NETINSTALL_INITRD + /bin/cp -f ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-etch/debian-installer/i386/linux ${QRM_SERVER_BASE_DIR}/qrm/tftpboot/boot/$LINUXCOE_DEBIAN_ETCH_NETINSTALL_KERNEL + /bin/cp -f ${QRM_SERVER_BASE_DIR}/qrm/plugins/linuxcoe/support/debian-etch/debian-installer/i386/initrd.gz ${QRM_SERVER_BASE_DIR}/qrm/tftpboot/boot/$LINUXCOE_DEBIAN_ETCH_NETINSTALL_INITRD + # get addtional distribution install-packages for linuxcoe LINUXCOE_DISTRIBUTION_PACKAGE_URL=`cat $LINUXCOE_DISTRIBUTION_PACKAGES | head -n1 | sed -e "s#systemdesigner-.*##g"` echo |
|
From: Matt <mat...@us...> - 2007-07-05 16:23:10
|
Update of /cvsroot/openqrm/plugins/linuxcoe In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8032/plugins/linuxcoe Modified Files: Makefile Log Message: progressing with debian auto-installations :) Index: Makefile =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 29 Jun 2007 21:52:47 -0000 1.3 --- Makefile 5 Jul 2007 16:23:03 -0000 1.4 *************** *** 51,54 **** --- 51,59 ---- PACKAGE_CONFIG_FILE_LINUXCOE=$(SOURCEDDIR)/plugins/linuxcoe/build/linuxcoe.conf + + PACKAGE_CONFIG_FILE_LINUXCOE_DEBIAN_SARGE_INSTALLER=$(SOURCEDDIR)/plugins/linuxcoe/build/linuxcoe-debian-netboot-installer-sarge.conf + PACKAGE_CONFIG_FILE_LINUXCOE_DEBIAN_ETCH_INSTALLER=$(SOURCEDDIR)/plugins/linuxcoe/build/linuxcoe-debian-netboot-installer-etch.conf + + QRM_CACHE_DIR=$(shell $(SOURCEDDIR)/make_helper get_cache_dir) QRM_ROOT_DIR=$(shell $(SOURCEDDIR)/make_helper get_root_dir) *************** *** 64,67 **** --- 69,86 ---- export httpd_user=nobody && export httpd_group=nobody && $(SOURCE_ROOT)/make_helper build_package $(PACKAGE_CONFIG_FILE_LINUXCOE) + # get the debian sarge net-installer + mkdir -p $(QRM_CACHE_DIR)/linuxcoe-debian-sarge-net-installer/ + @if [ ! -f `. $(PACKAGE_CONFIG_FILE_LINUXCOE_DEBIAN_SARGE_INSTALLER) && $(SOURCE_ROOT)/make_helper qrm_cache $$FILE $$SOURCE /linuxcoe-debian-sarge-net-installer/` ]; then \ + @echo "ERROR: "; \ + exit 1; \ + fi + mkdir -p $(QRM_CACHE_DIR)/linuxcoe-debian-etch-net-installer/ + # and the debian etch net-installer too + @if [ ! -f `. $(PACKAGE_CONFIG_FILE_LINUXCOE_DEBIAN_ETCH_INSTALLER) && $(SOURCE_ROOT)/make_helper qrm_cache $$FILE $$SOURCE /linuxcoe-debian-etch-net-installer/` ]; then \ + @echo "ERROR: "; \ + exit 1; \ + fi + + install: @echo "Creating LinuxCoe integration pack" *************** *** 69,72 **** --- 88,95 ---- @echo "installing the linuxcoe plugin for openQRM" /bin/cp -aRv $(QRM_CACHE_DIR)/linuxcoe/systemdesigner $(OUTDIR)/qrm/plugins/linuxcoe/ + # debian net-installers + mkdir -p $(OUTDIR)/qrm/plugins/linuxcoe/support/debian-sarge $(OUTDIR)/qrm/plugins/linuxcoe/support/debian-etch + . $(PACKAGE_CONFIG_FILE_LINUXCOE_DEBIAN_SARGE_INSTALLER) && /bin/cp -f $(QRM_CACHE_DIR)/linuxcoe-debian-sarge-net-installer/$$FILE $(OUTDIR)/qrm/plugins/linuxcoe/support/debian-sarge/ + . $(PACKAGE_CONFIG_FILE_LINUXCOE_DEBIAN_ETCH_INSTALLER) && /bin/cp -f $(QRM_CACHE_DIR)/linuxcoe-debian-etch-net-installer/$$FILE $(OUTDIR)/qrm/plugins/linuxcoe/support/debian-etch/ java: |
|
From: Matt <mat...@us...> - 2007-07-05 16:23:08
|
Update of /cvsroot/openqrm/plugins/linuxcoe/etc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8032/plugins/linuxcoe/etc Modified Files: pxe-template.preseed post-install-openqrm.preseed Log Message: progressing with debian auto-installations :) Index: post-install-openqrm.preseed =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/post-install-openqrm.preseed,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** post-install-openqrm.preseed 27 Jun 2007 15:53:49 -0000 1.1 --- post-install-openqrm.preseed 5 Jul 2007 16:23:03 -0000 1.2 *************** *** 1,26 **** #!/bin/bash ! # TODO ! OPENQRM_CLIENT_INTERFACE=`` ! # check which rpm will fit best ! OPENQRM_RESOURCE_RPM="" ! echo "using $OPENQRM_CLIENT_INTERFACE for $LOCAL_VE_NAME" ! echo "installing $OPENQRM_RESOURCE_RPM" ! while ! wget http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_RPM?; do ! echo "retrying ..." ! sleep 2 ! if wget http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_RPM?; then ! echo "success ..." break fi done ! rpm -ihv $OPENQRM_RESOURCE_RPM ! echo "y" | /opt/qrm/resource/sbin/qrm-bootstrap integrate -q ${QRM_SERVER_IP_ADDRESS} -v ${LOCAL_VE_NAME} -i $OPENQRM_CLIENT_INTERFACE -t "" --- 1,125 ---- #!/bin/bash ! INSTALL_TIME=`date +%D-%T | sed -e "s#/#.#g" | sed -e "s#:#.#g"` ! LOCAL_VE_NAME="linuxcoeZZZ_LINUXCOE_PROFILE_ZZZ-$INSTALL_TIME" ! OPENQRM_BOOTSTRAP="/opt/qrm/resource/sbin/qrm-bootstrap" ! OPENQRM_NODES_BASE_DIR="/opt" ! OPENQRM_RESOURCE_CONF="/var/qrm/conf/qrm.conf" ! LINUXCOE_INSTALL_CONF="/etc/opt/LinuxCOE/args" ! # package selection ! OPENQRM_RESOURCE_DEB_PACKAGE="openqrm-core-resource-3.1.4-2_i386.deb" ! # retry config ! RETRY_DELAY=10 ! RETRY_COUNT=10 ! RETRY_LOOP=0 ! DOWNLOAD_RETRY=5 ! DOWNLOAD_LOOP=0 ! function linuxcoe_log() { ! echo $@ ! echo $@ | logger ! } ! # needed for gathering the openQRM interface ! if [ ! -f $LINUXCOE_INSTALL_CONF ]; then ! linuxcoe_log "ERROR: Could not find installation config file $LINUXCOE_INSTALL_CONF" ! exit 1 ! fi ! # really Suse based ? ! if [ ! -f /etc/SuSE-release ]; then ! linuxcoe_log "ERROR: Could not find /etc/SuSE-release" ! exit 1 ! fi ! # is network already up ? ! # since this is started from rc.local it may run ! # before the network is initialysed. ! if ! ping -c 1 -W 1 ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ 1>/dev/null; then ! linuxcoe_log "NOTICE: Network not initialysed yet. Running again later." ! exit 0 ! fi ! ! . $LINUXCOE_INSTALL_CONF ! OPENQRM_CLIENT_INTERFACE=$NETDEV ! if [ "$NETDEV" == "" ]; then ! linuxcoe_log "ERROR: Could not find the network-interface to use for the openQRM integration!" ! exit 1 ! fi ! ! ! linuxcoe_log "using $OPENQRM_CLIENT_INTERFACE for $LOCAL_VE_NAME" ! linuxcoe_log "installing $OPENQRM_RESOURCE_DEB_PACKAGE" ! ! if [ ! -d /root ]; then ! mkdir -p /root ! fi ! while (true); do ! /bin/rm -f $OPENQRM_RESOURCE_DEB_PACKAGE ! if wget -O /root/$OPENQRM_RESOURCE_DEB_PACKAGE http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_DEB_PACKAGE?; then ! linuxcoe_log "NOTICE: Successfully downloaded $OPENQRM_RESOURCE_DEB_PACKAGE" break + else + linuxcoe_log "WARNING: Could not download $OPENQRM_RESOURCE_DEB_PACKAGE, retrying ..." + DOWNLOAD_LOOP=$(( DOWNLOAD_LOOP + 1 )) + if [ "$DOWNLOAD_LOOP" == "$DOWNLOAD_RETRY" ]; then + linuxcoe_log "ERROR: Max. download-retry count is reached. Exiting !" + linuxcoe_log "ERROR: Please try to integrate it manually." + exit 1 + fi + sleep $RETRY_DELAY fi done ! linuxcoe_log "NOTICE: installing $OPENQRM_RESOURCE_DEB_PACKAGE" ! dpkg -i /root/$OPENQRM_RESOURCE_DEB_PACKAGE ! # before we integrate the debian system we need to make sure we have the "ip" utils ! # so we "apt-get install iproute" ! linuxcoe_log "NOTICE: Installing iproute ! Required for the openQRM-agents." ! echo y | apt-get install iproute + # trying hard to integrate the node + linuxcoe_log "NOTICE: Starting the openQRM-integration" + while (true); do + while (true); do + echo "y" | $OPENQRM_BOOTSTRAP integrate -q ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ -v $LOCAL_VE_NAME -i $OPENQRM_CLIENT_INTERFACE -t "" + if [ -f "$OPENQRM_RESOURCE_CONF" ]; then + . $OPENQRM_RESOURCE_CONF + if [ "$CR_ID" != "" ]; then + linuxcoe_log "NOTICE: Successfully added the new resource with CR_ID $CR_ID" + break + else + linuxcoe_log "WARNING: Could not receive valid resource parameters ! Retrying ..." + fi + else + linuxcoe_log "WARNING: Could not add new resource, ... retrying, removing first." + $OPENQRM_BOOTSTRAP remove + sleep $RETRY_DELAY + fi + done + # start the openQRM node-agents + linuxcoe_log "NOTICE: openQRM-integration complete. Starting the openQRM node-agents" + $OPENQRM_NODES_BASE_DIR/qrm/etc/init.d/qrm start + sleep 2 + + # check if everything is running ok + if ps ax | grep qrm-infod 1>/dev/null; then + linuxcoe_log "NOTICE: Successfully started the openQRM node-agents" + break + else + linuxcoe_log "ERROR: Could not start the openQRM node-agents!" + linuxcoe_log "ERROR: ... retrying to integrate the resource, removing first." + $OPENQRM_BOOTSTRAP remove + sleep $RETRY_DELAY + fi + + RETRY_LOOP=$(( RETRY_LOOP + 1 )) + if [ "$RETRY_LOOP" == "$RETRY_COUNT" ]; then + linuxcoe_log "ERROR: Max. retry-count is reached. Could not integrate the resource into openQRM!" + linuxcoe_log "ERROR: Please try to integrate it manually." + exit 1 + fi + + done Index: pxe-template.preseed =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/pxe-template.preseed,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pxe-template.preseed 29 Jun 2007 21:52:47 -0000 1.3 --- pxe-template.preseed 5 Jul 2007 16:23:02 -0000 1.4 *************** *** 3,6 **** label linux kernel boot/res-${LINUXCOE_RESOURCE_ID}-kernel ! append ramdisk_size=131072 initrd=boot/res-${LINUXCOE_RESOURCE_ID}-initrd.img preseed/url=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/preseed${LINUXCOE_PROFILE}.cfg root=/dev/ram rw debconf/priority=critical debian-installer/framebuffer=false --- 3,6 ---- label linux kernel boot/res-${LINUXCOE_RESOURCE_ID}-kernel ! append ramdisk_size=131072 initrd=boot/res-${LINUXCOE_RESOURCE_ID}-initrd.img languagechooser/language-name=${LINUXCOE_INSTALL_LANGUAGE} auto=true preseed/url=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/preseed${LINUXCOE_PROFILE}.cfg root=/dev/ram rw debconf/priority=critical debian-installer/framebuffer=false |
|
From: Matt <mat...@us...> - 2007-07-05 16:23:08
|
Update of /cvsroot/openqrm/plugins/linuxcoe/sbin In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8032/plugins/linuxcoe/sbin Modified Files: qrm-linuxcoe-manage Log Message: progressing with debian auto-installations :) Index: qrm-linuxcoe-manage =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/sbin/qrm-linuxcoe-manage,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** qrm-linuxcoe-manage 3 Jul 2007 17:11:30 -0000 1.11 --- qrm-linuxcoe-manage 5 Jul 2007 16:23:03 -0000 1.12 *************** *** 166,186 **** ln -sf $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/web/secure/inst/preseed""$LINUXCOE_PROFILE"".cfg ! # prepare the kernel + initrd for the resource ! if [ ! -f $QRM_SERVER_BASE_DIR/qrm/tftpboot/boot/vmlinuz-""$LINUXCOE_PROFILE ]; then ! /bin/cp -f $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/install.386/vmlinuz $QRM_SERVER_BASE_DIR/qrm/tftpboot/boot/vmlinuz-""$LINUXCOE_PROFILE ! fi ! if [ ! -f $QRM_SERVER_BASE_DIR/qrm/tftpboot/boot/initrd-""$LINUXCOE_PROFILE"".img ]; then ! /bin/cp -f $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/install.386/initrd.gz $QRM_SERVER_BASE_DIR/qrm/tftpboot/boot/initrd-""$LINUXCOE_PROFILE"".img ! fi # adjust the kernel link cd $QRM_SERVER_BASE_DIR/qrm/tftpboot/boot/ /bin/rm -f res-""$LINUXCOE_RESOURCE_ID""-initrd.img res-""$LINUXCOE_RESOURCE_ID""-kernel ! ln -sf initrd-""$LINUXCOE_PROFILE"".img res-""$LINUXCOE_RESOURCE_ID""-initrd.img ! ln -sf vmlinuz-""$LINUXCOE_PROFILE res-""$LINUXCOE_RESOURCE_ID""-kernel # get the whole server-config qrm_get_server_config 1>/dev/null export LINUXCOE_PROFILE # create the new pxe configuration file --- 166,196 ---- ln -sf $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/web/secure/inst/preseed""$LINUXCOE_PROFILE"".cfg ! # add the post section ! cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed | sed -e "s#.*late_command.*#d-i preseed/late_command string mkdir -p /root \&\& wget -O /root/$LINUXCOE_PROFILE.post http://$QRM_SERVER_IP_ADDRESS/plugins/linuxcoe/inst/$LINUXCOE_PROFILE.post \&\& chmod +x /root/$LINUXCOE_PROFILE.post \&\& /root/$LINUXCOE_PROFILE.post#g" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed.pluspost ! /bin/cp -f $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed.pluspost $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed # adjust the kernel link cd $QRM_SERVER_BASE_DIR/qrm/tftpboot/boot/ /bin/rm -f res-""$LINUXCOE_RESOURCE_ID""-initrd.img res-""$LINUXCOE_RESOURCE_ID""-kernel ! # sarge or etch ? ! if grep -i sarge $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed 1>/dev/null; then ! linuxcoe_log qrm-linuxcoe-manage "NOTICE : Found Debian Sarge installation for resource $LINUXCOE_RESOURCE_ID" ! ln -sf $LINUXCOE_DEBIAN_SARGE_NETINSTALL_INITRD res-""$LINUXCOE_RESOURCE_ID""-initrd.img ! ln -sf $LINUXCOE_DEBIAN_SARGE_NETINSTALL_KERNEL res-""$LINUXCOE_RESOURCE_ID""-kernel ! elif grep -i etch $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed 1>/dev/null; then ! linuxcoe_log qrm-linuxcoe-manage "NOTICE : Found Debian Etch installation for resource $LINUXCOE_RESOURCE_ID" ! ln -sf $LINUXCOE_DEBIAN_ETCH_NETINSTALL_INITRD res-""$LINUXCOE_RESOURCE_ID""-initrd.img ! ln -sf $LINUXCOE_DEBIAN_ETCH_NETINSTALL_KERNEL res-""$LINUXCOE_RESOURCE_ID""-kernel ! else ! linuxcoe_log qrm-linuxcoe-manage "NOTICE : Could not find Debian net-installer version for resource $LINUXCOE_RESOURCE_ID !" ! exit 1 ! fi # get the whole server-config qrm_get_server_config 1>/dev/null export LINUXCOE_PROFILE + # get the install-language conf + LINUXCOE_INSTALL_LANGUAGE=`cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/iso""$LINUXCOE_PROFILE"".iso_unpacked/preseed | grep languagechooser/language-name | sed -e "s/.*select //g" | awk {' print $1 '}` + export LINUXCOE_INSTALL_LANGUAGE # create the new pxe configuration file *************** *** 188,191 **** --- 198,205 ---- chmod 777 $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/res-""$LINUXCOE_RESOURCE_ID"".netboot.linuxcoe + # create the post-installation script + cat $LINUXCOE_POST_INSTALL_TEMPLATE_PRESEED | sed -e "s#ZZZ_LINUXCOE_PROFILE_ZZZ#$LINUXCOE_PROFILE#g" | sed -e "s#ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ#$QRM_SERVER_IP_ADDRESS#g" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/web/secure/inst/""$LINUXCOE_PROFILE"".post + chmod 777 $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/web/secure/inst/""$LINUXCOE_PROFILE"".post + # adjust the pxe link cd $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/ |
|
From: Matt <mat...@us...> - 2007-07-03 17:26:19
|
Update of /cvsroot/openqrm/plugins/linuxcoe In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12101/plugins/linuxcoe Modified Files: README.autoyast-installations Log Message: update info Index: README.autoyast-installations =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/README.autoyast-installations,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.autoyast-installations 29 Jun 2007 21:52:47 -0000 1.1 --- README.autoyast-installations 3 Jul 2007 17:26:20 -0000 1.2 *************** *** 1,2 **** ! The Suse-based "autoyast" installations are not yet fully working ! ! -> patches and fixes are more than welcome \ No newline at end of file --- 1,4 ---- ! The Suse-based "autoyast" installations working now. ! ! Tested installations : ! openSuse 10.2 (i386) \ No newline at end of file |
|
From: Matt <mat...@us...> - 2007-07-03 17:11:30
|
Update of /cvsroot/openqrm/plugins/linuxcoe/sbin In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6142/plugins/linuxcoe/sbin Modified Files: qrm-linuxcoe-manage Log Message: suse based autoyast installations are working now :) Index: qrm-linuxcoe-manage =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/sbin/qrm-linuxcoe-manage,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** qrm-linuxcoe-manage 1 Jul 2007 18:14:17 -0000 1.10 --- qrm-linuxcoe-manage 3 Jul 2007 17:11:30 -0000 1.11 *************** *** 199,202 **** --- 199,235 ---- autoyast) + + # get the whole server-config + qrm_get_server_config 1>/dev/null + export LINUXCOE_PROFILE + + # fix/enhance the info file + if ! grep autoyast $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/info 1>/dev/null; then + SUSE_INSTALL_SERVER_DIR=`cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/info | grep Serverdir | awk {' print $2 '}` + SUSE_INSTALL_SERVER_IP=`cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/info | grep Server: | awk {' print $2 '}` + # add install + autoyast parameters + echo "install: http://$SUSE_INSTALL_SERVER_IP/$SUSE_INSTALL_SERVER_DIR" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/info + echo "autoyast: http://$QRM_SERVER_IP_ADDRESS/plugins/linuxcoe/inst/autoyast$LINUXCOE_PROFILE.xml" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/info + fi + + # create post section if not already in autoyast config file + if ! grep openQRM $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml 1>/dev/null; then + linuxcoe_log qrm-linuxcoe-manage "NOTICE : Adding openQRM post-section to autoyast.xml for profile $LINUXCOE_PROFILE." + # split + cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml | grep -B 1000 "^echo REAL_NAME" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml.first-part + cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml | grep -A 1000 "^echo REAL_NAME" | grep -v "^echo REAL_NAME" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml.second-part + # cat together again + cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml.first-part > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + echo "" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + echo "# openQRM post section" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + echo "mkdir -p /root" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + echo "wget -O /root/$LINUXCOE_PROFILE.post http://$QRM_SERVER_IP_ADDRESS/plugins/linuxcoe/inst/$LINUXCOE_PROFILE.post" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + echo "chmod +x /root/$LINUXCOE_PROFILE.post" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + echo "/root/$LINUXCOE_PROFILE.post" >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + cat $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml.second-part >> $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/scratch_monkey/systemdesigner/img""$LINUXCOE_PROFILE"".iso_unpacked/autoyast.xml + else + linuxcoe_log qrm-linuxcoe-manage "NOTICE : openQRM post-section already in autoyast.xml for profile $LINUXCOE_PROFILE" + fi + linuxcoe_log qrm-linuxcoe-manage "NOTICE : Preparing $LINUXCOE_INSTALL_METHOD pxe-configuration for resource $LINUXCOE_RESOURCE_ID" # get the autoyast + info files in a short http-path *************** *** 218,229 **** ln -sf vmlinuz-""$LINUXCOE_PROFILE res-""$LINUXCOE_RESOURCE_ID""-kernel - # get the whole server-config - qrm_get_server_config 1>/dev/null - export LINUXCOE_PROFILE - # create the new pxe configuration file interpolate $LINUXCOE_PXE_TEMPLATE_AUTOYAST > $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/res-""$LINUXCOE_RESOURCE_ID"".netboot.linuxcoe chmod 777 $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/res-""$LINUXCOE_RESOURCE_ID"".netboot.linuxcoe # adjust the pxe link cd $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/ --- 251,262 ---- ln -sf vmlinuz-""$LINUXCOE_PROFILE res-""$LINUXCOE_RESOURCE_ID""-kernel # create the new pxe configuration file interpolate $LINUXCOE_PXE_TEMPLATE_AUTOYAST > $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/res-""$LINUXCOE_RESOURCE_ID"".netboot.linuxcoe chmod 777 $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/res-""$LINUXCOE_RESOURCE_ID"".netboot.linuxcoe + # create the post-installation script + cat $LINUXCOE_POST_INSTALL_TEMPLATE_AUTOYAST | sed -e "s#ZZZ_LINUXCOE_PROFILE_ZZZ#$LINUXCOE_PROFILE#g" | sed -e "s#ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ#$QRM_SERVER_IP_ADDRESS#g" > $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/web/secure/inst/""$LINUXCOE_PROFILE"".post + chmod 777 $QRM_SERVER_BASE_DIR/qrm/plugins/linuxcoe/web/secure/inst/""$LINUXCOE_PROFILE"".post + # adjust the pxe link cd $QRM_SERVER_BASE_DIR/qrm/tftpboot/pxelinux.cfg/ |
|
From: Matt <mat...@us...> - 2007-07-03 17:11:30
|
Update of /cvsroot/openqrm/plugins/linuxcoe/etc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6142/plugins/linuxcoe/etc Modified Files: post-install-openqrm.autoyast Log Message: suse based autoyast installations are working now :) Index: post-install-openqrm.autoyast =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/post-install-openqrm.autoyast,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** post-install-openqrm.autoyast 27 Jun 2007 15:53:49 -0000 1.1 --- post-install-openqrm.autoyast 3 Jul 2007 17:11:29 -0000 1.2 *************** *** 1,27 **** #!/bin/bash ! # TODO ! OPENQRM_CLIENT_INTERFACE=`` # check which rpm will fit best ! OPENQRM_RESOURCE_RPM="" ! echo "using $OPENQRM_CLIENT_INTERFACE for $LOCAL_VE_NAME" ! echo "installing $OPENQRM_RESOURCE_RPM" ! while ! wget http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_RPM?; do ! echo "retrying ..." ! sleep 2 ! if wget http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_RPM?; then ! echo "success ..." break fi done ! rpm -ihv $OPENQRM_RESOURCE_RPM ! echo "y" | /opt/qrm/resource/sbin/qrm-bootstrap integrate -q ${QRM_SERVER_IP_ADDRESS} -v ${LOCAL_VE_NAME} -i $OPENQRM_CLIENT_INTERFACE -t "" --- 1,124 ---- #!/bin/bash ! INSTALL_TIME=`date +%D-%T | sed -e "s#/#.#g" | sed -e "s#:#.#g"` ! LOCAL_VE_NAME="linuxcoeZZZ_LINUXCOE_PROFILE_ZZZ-$INSTALL_TIME" ! OPENQRM_BOOTSTRAP="/opt/qrm/resource/sbin/qrm-bootstrap" ! OPENQRM_RESOURCE_CONF="/var/qrm/conf/qrm.conf" ! LINUXCOE_INSTALL_CONF="/etc/opt/LinuxCOE/args" ! # package selection ! OPENQRM_RESOURCE_RPM_SUSE="openqrm-core-resource-3.1.4-2.SUSE10.i586.rpm" ! OPENQRM_RESOURCE_RPM_DEFAULT="$OPENQRM_RESOURCE_RPM_SUSE" ! ! # retry config ! RETRY_DELAY=10 ! RETRY_COUNT=10 ! RETRY_LOOP=0 ! DOWNLOAD_RETRY=5 ! DOWNLOAD_LOOP=0 ! ! function linuxcoe_log() { ! echo $@ ! echo $@ | logger ! } ! ! # needed for gathering the openQRM interface ! if [ ! -f $LINUXCOE_INSTALL_CONF ]; then ! linuxcoe_log "ERROR: Could not find installation config file $LINUXCOE_INSTALL_CONF" ! exit 1 ! fi ! # really Suse based ? ! if [ ! -f /etc/SuSE-release ]; then ! linuxcoe_log "ERROR: Could not find /etc/SuSE-release" ! exit 1 ! fi ! # is network already up ? ! # since this is started from rc.local it may run ! # before the network is initialysed. ! if ! ping -c 1 -W 1 ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ 1>/dev/null; then ! linuxcoe_log "NOTICE: Network not initialysed yet. Running again later." ! exit 0 ! fi ! ! . $LINUXCOE_INSTALL_CONF ! OPENQRM_CLIENT_INTERFACE=$NETDEV ! if [ "$NETDEV" == "" ]; then ! linuxcoe_log "ERROR: Could not find the network-interface to use for the openQRM integration!" ! exit 1 ! fi # check which rpm will fit best ! OPENQRM_RESOURCE_RPM="$OPENQRM_RESOURCE_RPM_DEFAULT" ! linuxcoe_log "using $OPENQRM_CLIENT_INTERFACE for $LOCAL_VE_NAME" ! linuxcoe_log "installing $OPENQRM_RESOURCE_RPM" ! if [ ! -d /root ]; then ! mkdir -p /root ! fi ! while (true); do ! /bin/rm -f $OPENQRM_RESOURCE_RPM ! if wget -O /root/$OPENQRM_RESOURCE_RPM http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_RPM?; then ! linuxcoe_log "NOTICE: Successfully downloaded $OPENQRM_RESOURCE_RPM" break + else + linuxcoe_log "WARNING: Could not download $OPENQRM_RESOURCE_RPM, retrying ..." + DOWNLOAD_LOOP=$(( DOWNLOAD_LOOP + 1 )) + if [ "$DOWNLOAD_LOOP" == "$DOWNLOAD_RETRY" ]; then + linuxcoe_log "ERROR: Max. download-retry count is reached. Exiting !" + linuxcoe_log "ERROR: Please try to integrate it manually." + exit 1 + fi + sleep $RETRY_DELAY fi done ! linuxcoe_log "NOTICE: installing $OPENQRM_RESOURCE_RPM" ! rpm -ihv /root/$OPENQRM_RESOURCE_RPM + # trying hard to integrate the node + linuxcoe_log "NOTICE: Starting the openQRM-integration" + while (true); do + while (true); do + echo "y" | $OPENQRM_BOOTSTRAP integrate -q ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ -v $LOCAL_VE_NAME -i $OPENQRM_CLIENT_INTERFACE -t "" + if [ -f "$OPENQRM_RESOURCE_CONF" ]; then + . $OPENQRM_RESOURCE_CONF + if [ "$CR_ID" != "" ]; then + linuxcoe_log "NOTICE: Successfully added the new resource with CR_ID $CR_ID" + break + else + linuxcoe_log "WARNING: Could not receive valid resource parameters ! Retrying ..." + fi + else + linuxcoe_log "WARNING: Could not add new resource, ... retrying, removing first." + $OPENQRM_BOOTSTRAP remove + sleep $RETRY_DELAY + fi + done + # start the openQRM node-agents + linuxcoe_log "NOTICE: openQRM-integration complete. Starting the openQRM node-agents" + /etc/init.d/qrm-node-agents start + sleep 2 + + # check if everything is running ok + if ps ax | grep qrm-infod 1>/dev/null; then + linuxcoe_log "NOTICE: Successfully started the openQRM node-agents" + break + else + linuxcoe_log "ERROR: Could not start the openQRM node-agents!" + linuxcoe_log "ERROR: ... retrying to integrate the resource, removing first." + $OPENQRM_BOOTSTRAP remove + sleep $RETRY_DELAY + fi + + RETRY_LOOP=$(( RETRY_LOOP + 1 )) + if [ "$RETRY_LOOP" == "$RETRY_COUNT" ]; then + linuxcoe_log "ERROR: Max. retry-count is reached. Could not integrate the resource into openQRM!" + linuxcoe_log "ERROR: Please try to integrate it manually." + exit 1 + fi + + done |
|
From: Matt <mat...@us...> - 2007-07-03 13:40:37
|
Update of /cvsroot/openqrm/plugins/linuxcoe/etc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16371/plugins/linuxcoe/etc Modified Files: pxe-template.autoyast Log Message: the suse ramdisk for installation needs to be exact 65536 Index: pxe-template.autoyast =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/pxe-template.autoyast,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pxe-template.autoyast 29 Jun 2007 21:52:47 -0000 1.3 --- pxe-template.autoyast 3 Jul 2007 13:40:16 -0000 1.4 *************** *** 3,5 **** label linux kernel boot/res-${LINUXCOE_RESOURCE_ID}-kernel ! append ramdisk_size=131072 initrd=boot/res-${LINUXCOE_RESOURCE_ID}-initrd.img autoyast=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/autoyast${LINUXCOE_PROFILE}.xml info=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/info${LINUXCOE_PROFILE} --- 3,5 ---- label linux kernel boot/res-${LINUXCOE_RESOURCE_ID}-kernel ! append ramdisk_size=65536 initrd=boot/res-${LINUXCOE_RESOURCE_ID}-initrd.img autoyast=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/autoyast${LINUXCOE_PROFILE}.xml info=http://${QRM_SERVER_IP_ADDRESS}/plugins/linuxcoe/inst/info${LINUXCOE_PROFILE} |
|
From: Matt <mat...@us...> - 2007-07-02 14:45:07
|
Update of /cvsroot/openqrm/plugins In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17748/plugins Modified Files: README Log Message: added infos about the linuxcoe-plugin Index: README =================================================================== RCS file: /cvsroot/openqrm/plugins/README,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README 4 Apr 2007 16:44:15 -0000 1.2 --- README 2 Jul 2007 14:45:08 -0000 1.3 *************** *** 28,31 **** --- 28,35 ---- The FreeBSD-plugin provides FreeBSD support for openQRM. + linuxcoe + The linuxcoe-plugin integrates LinuxCoe into openQRM and provides + full automatic installations for the managed servers. + lvm-mgmt The lvm-mgmt plugin combines the power of lvm (logical volume management) and |
|
From: Matt <mat...@us...> - 2007-07-02 11:00:50
|
Update of /cvsroot/openqrm/plugins/linuxcoe/etc/init.d In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21469/plugins/linuxcoe/etc/init.d Removed Files: linuxcoe Log Message: removed not needed init script --- linuxcoe DELETED --- |
|
From: Matt <mat...@us...> - 2007-07-02 10:58:45
|
Update of /cvsroot/openqrm/plugins/linuxcoe/doc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20501/plugins/linuxcoe/doc Modified Files: Changelog README.txt Log Message: updated readme + changelog Index: README.txt =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/doc/README.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README.txt 29 Jun 2007 21:52:47 -0000 1.2 --- README.txt 2 Jul 2007 10:58:39 -0000 1.3 *************** *** 32,38 **** General informations about LinuxCoe Details about the LinuxCoe-integration - Installation flow Requirements Setup Urls --- 32,39 ---- General informations about LinuxCoe Details about the LinuxCoe-integration Requirements Setup + Usage + Installation flow Urls *************** *** 40,49 **** - General informations about LinuxCoe LinuxCoe is an open-source web-application developed and maintained by HP which produces iso-images for installing various linux distributions fully automatically. It lets the administrator create different installation ! configuration templates which are saved in profiles, burn the resulting iso image on a CD, put the CD in a computer and power it on to automatically install the system according the selected profile without any manual --- 41,49 ---- General informations about LinuxCoe LinuxCoe is an open-source web-application developed and maintained by HP which produces iso-images for installing various linux distributions fully automatically. It lets the administrator create different installation ! configuration templates (which are saved in profiles), burn the resulting iso image on a CD, put the CD in a computer and power it on to automatically install the system according the selected profile without any manual *************** *** 53,100 **** Details about the LinuxCoe-integration - - apache plugin - Installation flow ! - create an installation ! - optional save the configuration of the installation as a profile ! - select installation profile to deploy ! - select resource to deploy ! - resource gets assigned to the installation profile and reboots ! - resource boots the installation kernel + initrd and start installation ! - resource gets removed from openQRM ! - linux-coe plugin creates localboot pxe-config file for resource ! - resource finshed automatic installation ! - resource adds itself to openQRM during automatic run of "easy-migration" integration ! - resource reboots and starts localboot pxe-config file and boots from local-disk ! - resource is now fully installed and gets active in openQRM - Requirements - - the linuxcoe-plugin needs the "apache-plugin" - - LinuxCoe needs "sudo" to be installed/available - Setup - To enable the Linuxcoe plug-in run : ! cd [your-base-dir]/qrm - ./qrm-installer -i -m linuxcoe --defaults - [ no additional configuration need ] --- 53,150 ---- Details about the LinuxCoe-integration + The LinuxCoe integration for openQRM provides fully automatic, unattended + installations of different linux-distributions on the servers managed + by openQRM. The administrator can simply select one of the previously created + installation profilesand choose a system which then gets installed automatically + according the pre-configuration of the profile. The main concept of the + LinuxCoe-plugin is to use the installation-boot-image, created by LinuxCoe on + resulting iso-image, to net-boot the systems managed by openQRM into the + automatic installation. + A system deployed with this kind of net-boot LinuxCoe installation profile will + reboot into the installation, gets removed from openQRM (needed because later + it will add itself again automatically), installs itself according the + installation profile and reboot again after successful installation. + Meanwhile the LinuxCoe plugin created a new "localboot" pxe-config file for the + removed resource which will guide the rebooting, ready installed, system to do + a "localboot". The system then starts up from the local harddisk with the fresh + installation. During init it will run an openQRM specific installation post section + which then adds the resource again to openQRM in "easy-migration" mode. + Requirements + - the linuxcoe-plugin needs the "apache-plugin" + - LinuxCoe needs "sudo" to be installed/available on the openQRM-server ! Setup ! To enable the Linuxcoe plug-in run : + cd [your-base-dir]/qrm + ./qrm-installer -i -m linuxcoe --defaults + [ no additional configuration need ] + Usage + 1) Create an installation boot-image + --> Management Tools -> LinuxCoe -> Create + In the "Create" section of the LinuxCoe-plugin new boot-images for + fully automatic installations can be created using the integrated + LinuxCoe web-interface. First setup an installation profiles and + its configuration e.g. linux-distribution + version, packages to + be installed, network configuration, language support, user/passwords etc. + At the final page it will result in an downloadable iso-image created + by LinuxCoe. + + Please notice : + You could download the iso-image, burn it on a cd and use it to automatic + install a system via cd-rom but this is not needed since the LinuxCoe-plugin + features to use the installation boot-images and auto-install configuration + files to network-deploy the installation in the next steps. + + 2) Select installation profile to deploy + --> Management Tools -> LinuxCoe -> Manage + This page gives an overview about the available installation profiles + created in step 1). It provides the options to remove existing profiles, + clean up all profiles and automatically unpacks new created profiles + from the iso-images. + + Please notice : + When an installation profile was created in step 1) the profile-manangement + page will unpack the profile from the iso automatically while loading. + Please reload the profile-management page to make a new, unpacked profile + available in the profile-listing ! + + In the profile-list now please select a profile for installation. ! 3) select resource to deploy ! After selecting which installation profile to deploy the next step is to ! choose a system for this automatic-installation. This page displays a list ! of available resources (idle, non-maintainance) for the installation. ! Simply click on the "install" button of a resource and it will start the ! automatic installation procedure. + Installation flow step-by-step : + - resource gets assigned to the installation profile and reboots + - resource boots the installation kernel + initrd and start installation + - linux-coe plugin removes the resource from openQRM + - linux-coe plugin re-creates localboot pxe-config file for resource + - resource meanwhile installs itself fully automatically + - resource finishs automatic installation + - resource reboots and starts localboot pxe-config file and boots from local-disk + - resource adds itself to openQRM during automatic run of "easy-migration" integration + - resource is now fully installed and gets active in openQRM Index: Changelog =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/doc/Changelog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Changelog 29 Jun 2007 21:52:47 -0000 1.2 --- Changelog 2 Jul 2007 10:58:39 -0000 1.3 *************** *** 32,44 **** - initial release ! Features : ! - integration of LinuxCoe into openQRM ! - fully automatic installation of different Linux distributions ! e.g. CentOS, Fedory, RHEL, Suse/openSuse/SLES, Debian, Ubuntu and more ! ! ! Known limitations/bugs: ! - the "autoyast" and "preseed" network installation are not yet fully working ! (the "kickstart" based automatic installations are working well) --- 32,38 ---- - initial release ! Known limitations/bugs for version 0.1 : ! - the "autoyast" and "preseed" network installation are not yet fully working ! (the "kickstart" based automatic installations are working well) |
|
From: Matt <mat...@us...> - 2007-07-01 18:14:24
|
Update of /cvsroot/openqrm/plugins/linuxcoe In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32714/plugins/linuxcoe Modified Files: README.kickstart-installations Log Message: kickstarts are fully working now :) Index: README.kickstart-installations =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/README.kickstart-installations,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.kickstart-installations 29 Jun 2007 21:52:47 -0000 1.1 --- README.kickstart-installations 1 Jul 2007 18:14:18 -0000 1.2 *************** *** 1 **** ! Redhat-based "kickstart" installations are fully working ! \ No newline at end of file --- 1,7 ---- ! Redhat-based "kickstart" installations are fully working ! ! ! Tested installations : ! - CentOs 4.4 (i386) ! - CentOs 5 (i386) ! - Fedora Core 5 (i386) ! - Fedora Core 6 (i386) |
|
From: Matt <mat...@us...> - 2007-07-01 18:14:23
|
Update of /cvsroot/openqrm/plugins/linuxcoe/etc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32714/plugins/linuxcoe/etc Modified Files: post-install-openqrm.kickstart Log Message: kickstarts are fully working now :) Index: post-install-openqrm.kickstart =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/etc/post-install-openqrm.kickstart,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** post-install-openqrm.kickstart 29 Jun 2007 21:53:09 -0000 1.2 --- post-install-openqrm.kickstart 1 Jul 2007 18:14:17 -0000 1.3 *************** *** 3,15 **** INSTALL_TIME=`date +%D-%T | sed -e "s#/#.#g" | sed -e "s#:#.#g"` LOCAL_VE_NAME="linuxcoeZZZ_LINUXCOE_PROFILE_ZZZ-$INSTALL_TIME" # needed for gathering the openQRM interface if [ ! -f /root/anaconda-ks.cfg ]; then ! echo "ERROR: Could not find installation config file /root/anaconda-ks.cfg" exit 1 fi # really readhat based ? if [ ! -f /etc/redhat-release ]; then ! echo "ERROR: Could not find /etc/redhat-release" exit 1 fi --- 3,34 ---- INSTALL_TIME=`date +%D-%T | sed -e "s#/#.#g" | sed -e "s#:#.#g"` LOCAL_VE_NAME="linuxcoeZZZ_LINUXCOE_PROFILE_ZZZ-$INSTALL_TIME" + OPENQRM_BOOTSTRAP="/opt/qrm/resource/sbin/qrm-bootstrap" + OPENQRM_RESOURCE_CONF="/var/qrm/conf/qrm.conf" + + # package selection + OPENQRM_RESOURCE_RPM_FC5="openqrm-core-resource-3.1.4-2.FC5.i386.rpm" + OPENQRM_RESOURCE_RPM_RHEL4="openqrm-core-resource-3.1.4-2.EL4.i386.rpm" + OPENQRM_RESOURCE_RPM_DEFAULT="$OPENQRM_RESOURCE_RPM_FC5" + + # retry config + RETRY_DELAY=10 + RETRY_COUNT=10 + RETRY_LOOP=0 + DOWNLOAD_RETRY=5 + DOWNLOAD_LOOP=0 + + function linuxcoe_log() { + echo $@ + echo $@ | logger + } # needed for gathering the openQRM interface if [ ! -f /root/anaconda-ks.cfg ]; then ! linuxcoe_log "ERROR: Could not find installation config file /root/anaconda-ks.cfg" exit 1 fi # really readhat based ? if [ ! -f /etc/redhat-release ]; then ! linuxcoe_log "ERROR: Could not find /etc/redhat-release" exit 1 fi *************** *** 18,22 **** # before the network is initialysed. if ! ping -c 1 -W 1 ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ 1>/dev/null; then ! echo "NOTICE: Network not initialysed yet. Running again later." exit 0 fi --- 37,41 ---- # before the network is initialysed. if ! ping -c 1 -W 1 ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ 1>/dev/null; then ! linuxcoe_log "NOTICE: Network not initialysed yet. Running again later." exit 0 fi *************** *** 27,41 **** if cat /etc/redhat-release | grep CentOS | grep 5 1>/dev/null; then # for CentOS 5 take the FC5 one ! OPENQRM_RESOURCE_RPM="openqrm-core-resource-3.1.4-2.FC5.i386.rpm" elif cat /etc/redhat-release | grep CentOS | grep 4 1>/dev/null; then # for CentOS 4 take the rhel4 one ! OPENQRM_RESOURCE_RPM="openqrm-core-resource-3.1.4-2.EL4.i386.rpm" else # take the fc5 as default ! OPENQRM_RESOURCE_RPM="openqrm-core-resource-3.1.4-2.FC5.i386.rpm" fi ! echo "using $OPENQRM_CLIENT_INTERFACE for $LOCAL_VE_NAME" ! echo "installing $OPENQRM_RESOURCE_RPM" if [ ! -d /root ]; then --- 46,60 ---- if cat /etc/redhat-release | grep CentOS | grep 5 1>/dev/null; then # for CentOS 5 take the FC5 one ! OPENQRM_RESOURCE_RPM="$OPENQRM_RESOURCE_RPM_FC5" elif cat /etc/redhat-release | grep CentOS | grep 4 1>/dev/null; then # for CentOS 4 take the rhel4 one ! OPENQRM_RESOURCE_RPM="$OPENQRM_RESOURCE_RPM_RHEL4" else # take the fc5 as default ! OPENQRM_RESOURCE_RPM="$OPENQRM_RESOURCE_RPM_DEFAULT" fi ! linuxcoe_log "using $OPENQRM_CLIENT_INTERFACE for $LOCAL_VE_NAME" ! linuxcoe_log "installing $OPENQRM_RESOURCE_RPM" if [ ! -d /root ]; then *************** *** 45,61 **** /bin/rm -f $OPENQRM_RESOURCE_RPM if wget -O /root/$OPENQRM_RESOURCE_RPM http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_RPM?; then ! echo "success ..." break fi - sleep 2 - echo "retrying ..." done rpm -ihv /root/$OPENQRM_RESOURCE_RPM - echo "y" | /opt/qrm/resource/sbin/qrm-bootstrap integrate -q ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ -v $LOCAL_VE_NAME -i $OPENQRM_CLIENT_INTERFACE -t "" ! /etc/init.d/qrm-node-agents start ! # here we remove the post entry from rc.local again cat /etc/rc.d/rc.local | sed -e "s#/root/ZZZ_LINUXCOE_PROFILE_ZZZ.post##g" > /etc/rc.d/rc.local.openqrm-create /bin/mv -f /etc/rc.d/rc.local.openqrm-create /etc/rc.d/rc.local --- 64,130 ---- /bin/rm -f $OPENQRM_RESOURCE_RPM if wget -O /root/$OPENQRM_RESOURCE_RPM http://downloads.sourceforge.net/openqrm/$OPENQRM_RESOURCE_RPM?; then ! linuxcoe_log "NOTICE: Successfully downloaded $OPENQRM_RESOURCE_RPM" break + else + linuxcoe_log "WARNING: Could not download $OPENQRM_RESOURCE_RPM, retrying ..." + DOWNLOAD_LOOP=$(( DOWNLOAD_LOOP + 1 )) + if [ "$DOWNLOAD_LOOP" == "$DOWNLOAD_RETRY" ]; then + linuxcoe_log "ERROR: Max. download-retry count is reached. Exiting !" + linuxcoe_log "ERROR: Please try to integrate it manually." + exit 1 + fi + sleep $RETRY_DELAY fi done + linuxcoe_log "NOTICE: installing $OPENQRM_RESOURCE_RPM" rpm -ihv /root/$OPENQRM_RESOURCE_RPM ! # trying hard to integrate the node ! linuxcoe_log "NOTICE: Starting the openQRM-integration" ! while (true); do ! while (true); do ! echo "y" | $OPENQRM_BOOTSTRAP integrate -q ZZZ_QRM_SERVER_IP_ADDRESS_ZZZ -v $LOCAL_VE_NAME -i $OPENQRM_CLIENT_INTERFACE -t "" ! if [ -f "$OPENQRM_RESOURCE_CONF" ]; then ! . $OPENQRM_RESOURCE_CONF ! if [ "$CR_ID" != "" ]; then ! linuxcoe_log "NOTICE: Successfully added the new resource with CR_ID $CR_ID" ! break ! else ! linuxcoe_log "WARNING: Could not receive valid resource parameters ! Retrying ..." ! fi ! else ! linuxcoe_log "WARNING: Could not add new resource, ... retrying, removing first." ! $OPENQRM_BOOTSTRAP remove ! sleep $RETRY_DELAY ! fi ! done ! # start the openQRM node-agents ! linuxcoe_log "NOTICE: openQRM-integration complete. Starting the openQRM node-agents" ! /etc/init.d/qrm-node-agents start ! sleep 2 ! ! # check if everything is running ok ! if ps ax | grep qrm-infod 1>/dev/null; then ! linuxcoe_log "NOTICE: Successfully started the openQRM node-agents" ! break ! else ! linuxcoe_log "ERROR: Could not start the openQRM node-agents!" ! linuxcoe_log "ERROR: ... retrying to integrate the resource, removing first." ! $OPENQRM_BOOTSTRAP remove ! sleep $RETRY_DELAY ! fi ! ! RETRY_LOOP=$(( RETRY_LOOP + 1 )) ! if [ "$RETRY_LOOP" == "$RETRY_COUNT" ]; then ! linuxcoe_log "ERROR: Max. retry-count is reached. Could not integrate the resource into openQRM!" ! linuxcoe_log "ERROR: Please try to integrate it manually." ! exit 1 ! fi ! ! done ! ! # here we remove the post entry from rc.local cat /etc/rc.d/rc.local | sed -e "s#/root/ZZZ_LINUXCOE_PROFILE_ZZZ.post##g" > /etc/rc.d/rc.local.openqrm-create /bin/mv -f /etc/rc.d/rc.local.openqrm-create /etc/rc.d/rc.local |
|
From: Matt <mat...@us...> - 2007-07-01 18:14:23
|
Update of /cvsroot/openqrm/plugins/linuxcoe/sbin In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32714/plugins/linuxcoe/sbin Modified Files: qrm-linuxcoe-manage Log Message: kickstarts are fully working now :) Index: qrm-linuxcoe-manage =================================================================== RCS file: /cvsroot/openqrm/plugins/linuxcoe/sbin/qrm-linuxcoe-manage,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** qrm-linuxcoe-manage 29 Jun 2007 21:52:47 -0000 1.9 --- qrm-linuxcoe-manage 1 Jul 2007 18:14:17 -0000 1.10 *************** *** 244,259 **** $QRM_CLI resource reboot --internal_cr_id $LINUXCOE_RESOURCE_ID ! # start install-monitor script ! # somehow it does not work correct when started in background yet ! # for now we wait until it is finished ! sleep 20 $LINUXCOE_INSTALL_MONITOR $LINUXCOE_RESOURCE_ID & # This script : ! # saves the nodes mac pxe-file, set to localboot ! # checks when the node gets into error state ! # removes the node to enable it adding it again via easy-migration ! # restores mac pxe-file to enable localboot for the node. # The node will reboot after installation and # add itself to openQRM via the post section. --- 244,255 ---- $QRM_CLI resource reboot --internal_cr_id $LINUXCOE_RESOURCE_ID ! # wait until the node rebooted and start the install-monitor script sleep 20 $LINUXCOE_INSTALL_MONITOR $LINUXCOE_RESOURCE_ID & # This script : ! # saves the nodes mac pxe-file ! # waits until the node got removed and ! # restores its pxe-file set to localboot. # The node will reboot after installation and # add itself to openQRM via the post section. |