Commit Graph

76 Commits

Author SHA1 Message Date
vallard
ed6cba80fb changed /var/spool/pbs to /var/spool/torque
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 17:54:49 +00:00
vallard
82c4873646 changed /var/spool/pbs to /var/spool/torque
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 17:54:37 +00:00
vallard
daa040d898 changed from /var/spool/pbs to /var/spool/torque
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 17:54:02 +00:00
vallard
b485bf7747 fixed space bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 06:35:50 +00:00
vallard
05ce8e2065 added support for homogenious systems, no arch required in torque install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 05:52:36 +00:00
jbjohnso
e35a679556 -Avoid kernel bug in stateless if NUMA SLIT > 20
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-03 20:05:17 +00:00
jbjohnso
d6ceff603d -Xen rcons options to preserve more characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 17:23:38 +00:00
jbjohnso
f63ce7dc6a -Change xen console method to use screen instead of cu, cu hangs too much
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 15:00:38 +00:00
wanghuaz
1653eb7f59 Set static IP to IB adapters.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-23 09:00:16 +00:00
mxi1
46836f0803 1) merge the bugfix in trunk to 2.1 branches for what I fixed two days; 2) create service.ppc64.pkglist;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 10:34:07 +00:00
mxi1
77ed4d7958 -add service.postinstall for fixing bug 2584748
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 09:58:22 +00:00
mxi1
ec5e6f19ec add rpm package for bug2591462
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 06:27:49 +00:00
mxi1
0cf6b5ba9f 1) add [.postinstall] file support to diskless redhat; 2) add pkglist and postinstall file for RHELS5.3, and you can follow it to create files for RHELS5.2;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 06:25:49 +00:00
mxi1
461824949a update compute.sles11.ppc64.postinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-18 13:43:11 +00:00
jbjohnso
7d0a145203 -Revert partimage support, improperly checked in and also causing problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-17 12:36:35 +00:00
linggao
a28c0f26f6 package lists and genimage for sles10.2 ppc with hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-16 22:12:03 +00:00
vallard
67889f763b new partimage support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-12 20:58:07 +00:00
mxi1
4543983089 update genimage for sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-12 12:04:51 +00:00
wanghuaz
f715792ba1 On SLES, there is no ifup binary in /etc/sysconfig directory. Use the binary /sbin/ifup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-11 16:12:36 +00:00
wanghuaz
4db5572dbb Fixed the copyright issues on sample scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 09:54:55 +00:00
daniceexi
ce6242c12a Bug2163004: The kickstart template file for ppc64 platform
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 09:15:46 +00:00
jbjohnso
72c2c0174e -New conserver backends that coordinate better to avoid high startup loads and not penalize a single console being restarted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 14:27:32 +00:00
bp-sawyers
aabf2df59d Copied xen.tmpl from centos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 21:32:44 +00:00
bp-sawyers
91ce49a9ee removing xen.tmpl because it is a circular sym link
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 21:30:40 +00:00
zhanx
7ebfabefe2 fix 2 issues: [1]. In the file /etc/infiniband/openib.conf, change the line SDP_LOAD=yes to SDP_LOAD=no. [2]. Run 'chkconfig --level 2345 openibd on'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-23 07:18:55 +00:00
mxi1
9c8dd1ae54 -Fix bug#2501080, add [sysklogd] into netboot/rh/compute.pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-12 10:08:29 +00:00
wanghuaz
f613dfa614 Fixed typo errors in annotatelog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 14:37:23 +00:00
wanghuaz
8718bbc012 Add IB support in xCAT. configiba is used to configure secondary adapter as a sample post script. annotatelog is to gather and parse switch log and subnet manager log. Please refer to the READMEs for usage and more details.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-07 14:16:55 +00:00
mellor
17b94163f0 minor changes for demo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-05 18:02:00 +00:00
jbjohnso
87fdc6186d -Add xen template for rhel5 and centos5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-12 20:50:27 +00:00
jbjohnso
b3ec5243e0 -Fix path in windows genimage cmd script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-30 18:18:41 +00:00
jbjohnso
fe130f94af -Longer grace period for WindowsPE startup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-30 17:29:05 +00:00
mellor
a938c10652 verbose updates for rollupdate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-27 17:11:23 +00:00
jbjohnso
092a7333fa -Have stateless initrd be more persistent in acquiring an address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-23 14:28:32 +00:00
mellor
98fd1a36ac rollupdate - new files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-22 16:02:14 +00:00
jbjohnso
4b88405719 -Edit script to also attempt isol, to allow SOL for x336/x346 in conjunction with ipmitool 1.8.10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-05 19:47:04 +00:00
linggao
f6c686bd1a minor fix for genimage for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-24 14:18:21 +00:00
jbjohnso
3c8cd46525 -Have nodeset install prepare to deplay a captured image with imagex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-21 17:08:49 +00:00
jbjohnso
9d4b741a04 -Change Windows PE script to allow disconnect of 'I:' drive
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:52:06 +00:00
linggao
8c143d78a6 allow user to add customization of pkg lists under /install/custom dir. more work on installing extra packages in xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 22:03:01 +00:00
sikorsky
5e6f8a729b Example of booted image versioning using CVS.
We want to know, with what configuration (version of the image) each node was booted.
Hence, we keep image definition files and postscripts in CVS. During image generation we create file /etc/IMGVERSION and fill it with CVS "$Id$" of files with image definition (.pkglist, .exlist, .repolist, .postinstall). Then, during boot, each  "CVS enabled" postscript adds one line to /etc/IMGVERSION. Then you can determine in any time what image you are running and what postscipts in which versions were run. /etc/IMGVERSION cat look like:
smbec02n001(smbec02b01n01):~ #cat /etc/IMGVERSION
#-- $Id: base.pkglist,v 1.4 2008/09/02 15:40:12 sikorsky Exp $
#-- $Id: base.exlist,v 1.3 2008/09/02 14:57:08 sikorsky Exp $
#-- $Id: base.postinstall,v 1.21 2008/09/04 12:05:45 sikorsky Exp $
#-- $Id: base.repolist,v 1.3 2008/09/02 14:57:08 sikorsky Exp $
$Id: syslog,v 1.2 2008/09/02 14:54:29 sikorsky Exp $
$Id: remoteshell,v 1.2 2008/09/02 14:54:29 sikorsky Exp $
$Id: sa_set_net,v 1.5 2008/09/04 11:32:07 gdasstm Exp $
$Id: sa_gpfs,v 1.4 2008/09/02 17:30:05 sikorsky Exp $


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 21:44:55 +00:00
sikorsky
3eeb67662d Created xcat_db_backup and xcat_db_restore scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 21:26:25 +00:00
sikorsky
571c1bae2d Allows diskless nodes to boot via other interfaces aside of primary boot interface, ie. provides ethernet failover.
1) In initrd, bring up aside from main interface (genimage -i option) also other interfaces (-r option).
2) /etc/resolv.conf creation needed to be rewritten, othewise it gets confused by several dhcpcd records.
3) Fill database with MAC addresses for all interfaces. Since it't not possible to have several stanzas of the same name in dhcpd.conf, we need to define unique "alias" for every interface. For example, for host "host1" we will add '00:1A:64:5D:1B:84!host1e0|00:1A:64:5D:1B:86!host1e1' to macs table. Of course, this aliases have to be defined in DNS, otherwise makedhcp command will not use this aliases:
/etc/hosts:
10.217.249.232  host1   host1e0 host1e1
Since this are aliases (need not be nessesary), both interfaces get the same IP address during initrd, but this doesn't break anything.
  a) blades - changed getmacs function to gather all MAC addresses. Which interfaces we are interested in are defined in noderes.installnic or noderes.primarynic as "eth0|eth1".
  b) all other - TODO. We have only 8 non-blade nodes, so we fill database manually.
Backwards compatible:
      - if there is only one interface in noderes.installnic, getmacs function gathers only this one MAC address
      - if we run genimage without -r option, only one interface is brought up


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:04:32 +00:00
sikorsky
0e6c8deec3 This patch modifies sles/genimage script to first run "cvs update" in sles directory and if something happens (some files get updated), then it runs (execs) genimage script with the same options once again.
Purpose is to 1) keep track of changes in CVS, so force users to do any changes via CVS system and 2) avoid malicious behaviour of users.
I don't want to break trunk, so it's commented out.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:59:34 +00:00
sikorsky
71d72352fb Added share/xcat/netboot/sles/copy_profile.sh.
This script is used to copy all files belonging to one profile (.pkglist .exlist .postinstall .repolist) to another name.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:46:59 +00:00
sikorsky
ac2f90ce64 Added sles/compute.postinstall example script (for genimage patch in rev 2119)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:40:45 +00:00
sikorsky
d138e18555 Added {profile}.repolist functionality.
{profile}.repolist contains list of custom repositories (directory with rpms). Repositories will be added to the image before package installation. This makes possible to automatically install (by defining in {profile}.pkglist) packages that are not contained in standard distribution repository.
Example sles/compute.repolist provided.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:38:27 +00:00
sikorsky
0d56a54ddf Added {profile}.postinstall functionality. Idea is to generate image automatically, allowing user to install custom packages or change some files in the image during image generation phase, thus making image generation human-error prone.
{profile}.postinstall script is run after all packages from $profile.pkglist are installed. This makes possible to do any kind of magic with the image.
Example sles/compute.postinstall provided.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:32:35 +00:00
sikorsky
65af2acb5d Accept comments in {profile}.pkglist and {profile}.exlist.
This can be useful to mark what is which package for, who requested it etc.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:16:15 +00:00
linggao
ce5f39f502 more on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 23:52:04 +00:00