Commit Graph

1904 Commits

Author SHA1 Message Date
nott
235c6de8f8 Add preprocess_request for service node support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:51:29 +00:00
sakolish
d48aee4d9e Added OpenSLP support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:44:45 +00:00
sikorsky
36121ff298 If option "conserverondemand" in site table is set to yes then start all consoles on demand.
This helps eliminate many ssh connections to blade AMM which seems to kill AMMs occasionally.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:07:26 +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
nott
a0200d9013 Updates to support AIX service nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:32:19 +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
nott
3e376077eb Add support to nimnodeset for multiple installp_bundle and script resources.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:14:07 +00:00
nott
6cae820e8f Misc. cleanup for mknimimage and nimnodeset.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 13:53:00 +00:00
linggao
42a4fb0e5e more work on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 00:20:02 +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
jbjohnso
66bddcad5d -Switch to using symbolic rather than hard links as possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 22:28:30 +00:00
linggao
2f4f7acab5 more on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 21:08:48 +00:00
lissav
c185b7fddc add comments only coded by Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 15:45:40 +00:00
lissav
ceefd9eb06 fix to work on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 15:31:50 +00:00
lissav
da78c18ee4 fix to work on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 15:30:47 +00:00
lissav
cbb3e9250b update to support AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 14:03:06 +00:00
lissav
1535e481f8 Add check to service node plugins that are not to run on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 12:31:27 +00:00
jbjohnso
fd5fef885c -Provide error message when passwd table being messed up precludes makedhcp from performing an operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 23:12:41 +00:00
jbjohnso
310bf858a4 -Add update flag support and source for Windows deployment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 21:03:38 +00:00
linggao
5a4cb12978 make updatenode to take noderange as the first parameter.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 20:59:07 +00:00
linggao
6ff1602d8e added feature to install extra 3rd party rpms during cluster install process or after the fact (usning updatenode command).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 18:54:30 +00:00
jbjohnso
7a658e6816 -Update documentation for nodech/nodels for new selection operators
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 02:11:55 +00:00
jbjohnso
d97bf616bc -Fix problem in Table caching where nodelist table tramples it's own cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 21:08:13 +00:00
jbjohnso
28a84cd465 -Implement criteria similar to nodles to restrict nodech
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 20:43:03 +00:00
jbjohnso
010436cd68 -Allow // around regexes in nodels criteria selection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 16:33:47 +00:00
jbjohnso
d0dc5dd96a -Implement table selection criteria for nodels.
table.column==value will only show nodes where table.column is exactly value
    table.column!=value will mask out nodes where table.column is exactly value
    table.column=~regex will only show nodes where the table.column value matches regex
    table.column!~regex will mask out nodes where the table.column value matches regex


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 16:31:56 +00:00
jbjohnso
58eaf5f7ee -Have copycds prefer udf when image has both iso9660 and udf (like MS media seems to)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 03:27:58 +00:00
jbjohnso
869ccb9f5f -Finally check for IPMIv2 support (needs test against x336)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 03:22:40 +00:00
jbjohnso
45e3290cae -Server side implementation of BMC config host based authentication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:41:48 +00:00
jbjohnso
9c1ce3d91c -Have bmcsetup use the credential allowance scheme to reinforce security authentication to more definitive host-based
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:36:02 +00:00
jbjohnso
658d2e4b0d -Have getipmi in nbroot block on error and give a lound error when server gives error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:25:07 +00:00
jbjohnso
6be291dae8 Add switches table to configure the paramaters to interrogate switches with
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:13:56 +00:00
jbjohnso
2852956e88 -Change noderes column that would be used for expanding a nodes 'default' name from nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:05:59 +00:00
jbjohnso
c428cafb63 -Give errors on makedns on certain evidently frequent weird things being tried unintentionally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 21:55:07 +00:00
jbjohnso
f247b8293c -Fix problem where terminal server conserver entries were not being done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 21:49:25 +00:00
jbjohnso
939f1b91c9 -More enhancements for reventlog based on most recent IPMI markup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 19:09:49 +00:00
jbjohnso
d92ffbd000 -Enhance IPMI eventlog decoding of extra data in SEL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 18:22:55 +00:00
jbjohnso
6ab7c3bf27 -IPMI reventlog 'all' now returns data as collected rather than all at the end
-IPMI reventlog reads are no longer susceptible to 'Invalid or cancelled reservation ID', only writes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 16:17:01 +00:00
jbjohnso
e615d58bf7 -Add in a number of IPMI 2.0 added event descriptions, and be more informative than 'No mappings found' in the event of unknown events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 14:48:24 +00:00
jbjohnso
bb88a15432 -Fix problem where stateless stacking called out incorrect path to fstab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-04 19:50:10 +00:00
jbjohnso
2066d2619a -Fix SQLite functionality to work with new MySQL friendly Table schema syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-04 19:40:01 +00:00
jbjohnso
886b0dc575 -Change Xen default disk setup to create IDE drives for some Xen BIOSes and Windows stability
-Have dhcpd recognize Etherboot clients and presume x86 (Xen net boot support)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-04 19:36:23 +00:00
lissav
64893a9698 remove sinv client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-04 12:26:34 +00:00
saiprakash
21127de77e Ganglia plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-03 19:00:10 +00:00
jbjohnso
d413784c79 -Implement noderange based ACLs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-29 15:21:50 +00:00