Commit Graph

6117 Commits

Author SHA1 Message Date
jjhua
3625d97b13 support for loadl on rhels6 and sles11 statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 07:08:49 +00:00
ligc
16ab21e6e3 fix for bug 3043788, use non-greedy regular expression, the value can contain "="
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 05:33:50 +00:00
ligc
2d1cb4d54e set the netdevice installnic or primarynic, instead of the mac address, if the installnic or primarynic is set to keyword mac then the netdevice will be the mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 05:22:41 +00:00
phamt
40568dba33 Display long hostname (e.g. gpok123.endicott.ibm.com) instead of short hostname.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 20:00:55 +00:00
phamt
ccae4d72a6 socket.php is causing the UI to crash because SUSE does not have /user/share/pear/ and does not have a RPM for it. Removing socket.php and switch submit_request() to using the old way.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 19:49:59 +00:00
lissav
c485a4409e more removeal inst
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 16:39:07 +00:00
jbjohnso
751b49dc62 -Try to do DHCPV6 and V4 by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 16:02:04 +00:00
jbjohnso
e43e735b8f -Splash didn't fit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:30:23 +00:00
phamt
52fdb2a246 hostname -s will not work on boot for SUSE nodes. Added conditional statement to use hostname if it is a SUSE node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:27:30 +00:00
jbjohnso
f18d074ba0 -Change the splash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:14:54 +00:00
mxi1
67126f0ad2 fixed on defect on persistent*) option
when one file/directory is copied to the persistent directory, need to check whether the parent directory exist in the persistent directory or not.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 14:42:31 +00:00
jbjohnso
64e6de14b5 -Enable TSM and show a little xCAT message on VTY1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 14:40:41 +00:00
lissav
7ae240ad2f move stopxcatd after backup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:59:06 +00:00
lissav
7cba4d28da shutdown xcatdb after backing up the database to avoid error in bypass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:27:40 +00:00
jbjohnso
7fd329602e -Only enable ipv6 in esxi 4.1.0 for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:18:23 +00:00
jbjohnso
769e08fca4 -Auto-enable ipv6 in esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:15:57 +00:00
lissav
633b42d4f0 add foreign key restrictions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 11:40:51 +00:00
jjhua
db036008d6 yum install for rsct on rhels6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 07:23:46 +00:00
sjing
f84bd36ecf update section "Removing NIM resources" to add "-x" for rmnimimage command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 07:02:58 +00:00
ligc
21e859df62 xcatchroot needs full path when being called in aixinstall.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 05:27:42 +00:00
ligc
268579e2cb IVM support for: rpower,getmacs,rnetboot,rinv
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 03:25:01 +00:00
jjhua
53bf975d73 support for rhels6 and sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 01:47:01 +00:00
phamt
5bc53f2fe4 Fixed error in rc.statelite: /sysroot/etc/init.d/statelite: line 326: [!: command not found
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 01:29:28 +00:00
nott
3cced2fbb2 fix Cstate request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 19:04:57 +00:00
cjhardee
5b4ba54a2d Cross your fingers that this makes the million and a half dependant things happy. Changed the output of getNodeAttributes to merge the data from its different groups and to clone entries from one group for each entry in a folowing group with data in it.
I'm just gonna paste the description Jarrod sent to the group via email:

So if getAttribs ever returns more than one result, then getNodeAttribs will have it's output multiplied by that factor.  I'll draw out a table with changes Chris started adding while he was also trying to flatten the recursion.  Let's say 'n1' is in groups 'g1,g2,g3', and that we request columns 'c1,c2,c3,c4'  Let's also assume the primary key is not simply 'node', allowing the node column to contain duplicates (as in switch table).  I don't expect anyone to actually construct something this convoluted in practice, but:

node    |c1     |c2     |c3     |c4
n1      |v1     |       |       |
g2      |       |V2+=   |       |
g2      |       |v3     |v4     |
g3      |       |v5     |       |v6
g3      |       |v7     |v8     |v9

First, we get n1s record:
[
{ node => 'n1',  c1 => 'v1',}
]
We see that c2-c4 are still unsatisfiad, then we check g1, see there is no record, so no action takes place, then getAttribs node=>'g2' returns two records.  As a result, we clone our results so far and independently populate them:
[
{ node => 'n1', c1=> 'v1', c2 => 'v2+=' },
{ node => 'n1', c1 => 'v1', c2=> 'v3', c3 => 'v4'},
]
Now, in the first record, we are still looking to fill in c3, c4, and we are also still looking at c2 to complete the '+=' operation.
In the second record, we only need c4 now, no other columns will be checked for that record.

Then we hit g3.  We also get two results back (two was easier, but arbitrarily many are possible, btw).  Since both records are still looking to be completed, the two become 4 records (if one of the two records were satisfied before this point, the two would have become three instead):

[
{ node => 'n1', c1=> 'v1', c2 => 'v2v5',c4=>'v6' },
{ node => 'n1', c1 => 'v1', c2=> 'v3', c3 => 'v4',c4=>'v6'},
{ node => 'n1', c1=> 'v1', c2 => 'v2v7',c3=>v8,c4=>'v9' },
{ node => 'n1', c1 => 'v1', c2=> 'v3', c3 => 'v4',c4=>'v9'},
]

And that would be what getNodesAttribs would return in this case.




git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 18:14:48 +00:00
lissav
29b7564732 fix example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 16:24:07 +00:00
nott
5229862ac3 add get_nim_attrs subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 15:19:01 +00:00
nott
0d946169c0 pass additional resource attrs to the service node when replicating
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 15:08:41 +00:00
lissav
34a349cae0 add support for Foreign keys in Schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 15:06:17 +00:00
lissav
752cbd0f1a fix generating keys for user wipes out credentials for root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 11:35:47 +00:00
jjhua
fe60641a64 HPC integration RH6 support for diskless cluster(rsct)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 08:59:05 +00:00
daniceexi
6c3c56e53b defect 2990570: add the part that using the /install/<os>/<arch> as the repository of management node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 07:04:17 +00:00
sjing
0b1d176e98 support lslite command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:22:35 +00:00
daniceexi
a0e5597593 fix the error that handle the return code when initiate the syncfile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:21:19 +00:00
sjing
f3537cda29 support lslite command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:19:54 +00:00
daniceexi
d29130d67d defect 3038654,3045969: fixed the example of synclist file; add the description of syncing files to SN before starting the installation of compute node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:16:05 +00:00
sjing
9e181a4ff9 support lslite command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:15:38 +00:00
sjing
226bb0d06d support lslite command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:13:29 +00:00
daniceexi
b7054d0545 defect 3041747: IO::Socket::INET->new has problem to handle the hostname, use the IP to replace. And added the retry for update state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 01:34:22 +00:00
phamt
aaa6317e03 Handle case where the Linux distro copied is sles[xxx]sp[yyy] (e.g. sles11sp1), where xxx is the version and yyy is the service pack. In the case above, the genimage command will not recognize the Linux distro and give an error.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 23:35:09 +00:00
phamt
4ca5b1d2a5 Handle case where the Linux distro copied is sles[xxx]sp[yyy], where xxx is the version and yyy is the service pack.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 20:57:18 +00:00
phamt
7fa844ccf1 Updated Customizing Autoyast and Kickstart section.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 18:03:55 +00:00
lissav
79b21e0b73 fix foreign key example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 16:30:56 +00:00
jbjohnso
d2e7821be3 -Be more picky about the nature of the https server when thinking about credential authorization
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 14:01:14 +00:00
jbjohnso
cb0fefce56 -Add capability to check by https server on a callback_https_port
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 13:57:56 +00:00
daniceexi
ea7365e317 add the part of how to use the driver update disk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 13:06:01 +00:00
daniceexi
5f96bcb105 add the part of how to use the driver update disk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 11:55:36 +00:00
ligc
147284c129 fix for bug 3043019: remove the hardcoded tftpboot in ananconda.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 08:56:31 +00:00
ligc
75cdca63e6 fix for bug 3043788: the node attribut name may contain special characters such as .
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 08:08:58 +00:00
mxi1
021457531b from now on, the entries in "litetree" table are no longer restricted to use different mnt point name; for example,
The "litetree" table has the following entries:

"1","ALL","192.168.11.107:/test/$node",,
"2","ALL","192.168.11.108:/test/$node",,

before the code is checked in, if you run "litetree <nodename>", you should get one message like this:

<nodename>: 192.168.11.107:/test/<nodename>
# 192.168.11.107 and 192.168.11.108 both mount /test. This not supported.

After the code is checked in, there will be no any error/warning message about the entries in litetree table.
Accordingly, the naming of mount points on the compute nodes are updated to "/.statelite/mnt/<nfs server ip>/<nfs directory>/" from "/.statelite/mnt/<nfs directory>/".



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 02:57:52 +00:00