2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00
Commit Graph

6137 Commits

Author SHA1 Message Date
970858cda5 fix syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 17:32:45 +00:00
54f23bbb00 -Fix problem where .ssh was excluded in esxi images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 15:12:38 +00:00
9b06c9ec4b Fix missing close paren
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 15:03:29 +00:00
7048a7700e Fix missing close paren
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 14:54:36 +00:00
81d2ea1a55 -Have esxi hosts trust the root ssh key by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 14:48:31 +00:00
d484b31c73 add new xcatsnap routine manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 14:39:33 +00:00
c5bd903cf3 add new xcatsnap routine to be run for service to capture xcat environment for debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 14:38:43 +00:00
1a3ad108c4 Cleaned up documentation.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 14:17:03 +00:00
213afded86 add note about required software
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 13:53:20 +00:00
31a14b17ca -Add RHEL6 to esx plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 13:32:35 +00:00
47c6322b87 -More IPv6 stuff for esxi (implement prototype DUID-UUID)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 13:04:40 +00:00
7b81722d10 remove foreign key logic from buildcreate routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 12:53:05 +00:00
e066034d6f remove foreign key from Sample
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 12:44:41 +00:00
8d613b6f0a add note aout DB packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 12:10:31 +00:00
60288749b3 add perl-DBD-mysql
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 11:50:31 +00:00
c0931cb724 add memory requirements for MN and SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 11:26:41 +00:00
ee503ab4de add the support for blade power saving
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 09:51:33 +00:00
1b6da360f1 add the support of blade power saving support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 09:50:52 +00:00
4ec2eeed1a code drop for the blade power saving support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 09:50:11 +00:00
8093c83e51 support for loadl on rhels6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 08:06:41 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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