jjhua
2a89911f9e
use xCAT::Utils->get_site_attribute() instead of opening the site to read the attr
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:53:50 +00:00
jjhua
b11b8a8d08
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 05:54:14 +00:00
jjhua
2d550820b2
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:15:00 +00:00
jjhua
1a71630307
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:52:02 +00:00
jjhua
a16709090b
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:38:09 +00:00
jjhua
8cbcd958d5
Populate %::XCATSITEVALS with XCATBYPASS=1 in the submit_request(), and use $::XCATSITEVALS{} instead of getting from site table again.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 09:43:17 +00:00
jjhua
5550022ab1
in the get_site_attribute() subroutine, try %::XCATSITEVALS first, if the attribute is not popluated in %::XCATSITEVALS, then open site table to read the attribute
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:39:01 +00:00
yinle
92dd4b49af
Fix bug 3521680: rspconfig does not work for hmc if hwtype is not set
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 03:33:03 +00:00
yinle
c25da18107
Fix bug 3527201: lsslp -s FRAME -i return no response on Linux ; Add multicast route on AIX
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 01:46:08 +00:00
jbjohnso
9f0ab466ee
Fix problem where SLP.pm would create too large an SLP packet if there are a number of IPv6 entities on the network
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 17:23:46 +00:00
jbjohnso
a5913583ef
Fix problem where group membership at startup hounded xCAT commands eternally
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 16:48:15 +00:00
jbjohnso
bdce8a8eb4
Since use_cache is a bit weird, NodeRange will instead force a build_cache(1) instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:18:55 +00:00
jbjohnso
43d4ca3b8f
Have NodeRange make more assurances that it will not be caching data upon explicit request
...
xcatd explicitly has noderange redo cache if client has a <noderange> element. This distinguishes it from 'getpostscript' type commands.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:11:26 +00:00
daniceexi
dab482bd6b
Add the lease time for dhcpd.conf which can be configured from site table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:15:47 +00:00
yinle
23dda49cdc
Fix bug 3524622:lsslp return no response on P7 IH
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:09:06 +00:00
lissav
c12bf5a549
fix comments for getAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 13:44:00 +00:00
lissav
6bc5be20e1
report when no defined plugin, will at least see in bypass mode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 11:03:59 +00:00
lissav
112389df2b
Add more info on delEntries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 10:36:16 +00:00
jbjohnso
00afad1db2
Correct mistaken variable prefix in optimization work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 12:03:07 +00:00
jbjohnso
4b81110bf7
Fix problem where nodegroup enumerated groups could last forever, also eliminate calls to retain_cache with (0)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 11:54:58 +00:00
jbjohnso
83be6fd96e
Remove _clear_cache, we are instead just going to let things age out and rely upon use_cache to control when a caller
...
urgently needs to assure fresh data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 11:54:49 +00:00
jbjohnso
c82eea4b25
When doing getAllNodeAttribs, institute a noderange result cache to avoid many noderange() calls
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 19:33:27 +00:00
jbjohnso
ef27e8e45e
More aggressively retain cache
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 18:42:47 +00:00
jbjohnso
14c2613546
Shave off an unneeded database call
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:54:31 +00:00
jbjohnso
c7f18f612d
Fix problem where group mapping may get stuck under certain circumstances
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:15:06 +00:00
jbjohnso
9861a35e00
Make sure nodelist never retains a nodelist cache longer than 5 seconds under any condition
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:14:56 +00:00
jbjohnso
9f7c4f2dec
Change option to 'prefetchcache'
...
Ensure reference counter doesn't go crazy on prefetch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:14:48 +00:00
lissav
b8f7f7a241
give better example for delEntries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:55:08 +00:00
lissav
3a8ee9cf5b
give better example for delEntries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:40:38 +00:00
jbjohnso
996604e435
Add 'eagercache' to getNodeAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:57:08 +00:00
jbjohnso
bb760cf069
Try to do more reuse of nodelist objects in db worker
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 19:59:49 +00:00
immarvin
5c89c73a44
fixed bug 3495408 :nodeset offline doc and test
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:09:59 +00:00
yinle
75a543f116
Fix the issue that too many IPs in the PRLIST of the package.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 02:49:07 +00:00
zhaoertao
a7d074f395
fix bug 3524452: rcons to P7 IH LPAR getting Console not ready error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 02:00:52 +00:00
bp-sawyers
a3c2beca1d
No longer require vsftpd.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 00:33:22 +00:00
jbjohnso
e519a1f925
Revise getnodetype function to not do N! log entries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:53:05 +00:00
lissav
f0b6fde5d9
fix sinv error processing defect 3524781
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:20:11 +00:00
jjhua
403add1822
For DFM lsvm command, the noderange's type should be cec, not fsp
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 14:10:26 +00:00
jjhua
18a22cb2a7
There will be a performance issue in large cluster in the fix for 3524241, I made the fix again.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 14:08:29 +00:00
yinle
cfcfbb429f
Add filling-in prlist in the slp request.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 09:40:57 +00:00
zhaoertao
8453bc07d7
fix bug 3524241: some dfm commnds failed when noderange is lpar
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 09:14:50 +00:00
yinle
e97573587a
Fix some mistakes.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-05 02:06:19 +00:00
yinle
7c14981e7e
Modify the help information about lsslp.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:09:04 +00:00
lissav
8a15295c6a
Put comment where output is actually sent to the callback
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 18:25:27 +00:00
yinle
6ddbbe0505
Add support of lsslp -C -T
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 09:48:32 +00:00
yinle
5623cb3a9e
Fix bug 3522940: FB->lsslp no response on aix71D
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:47:36 +00:00
jjhua
1745668bfa
For FB, prompt some messages at the beginning of the setting
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:28:18 +00:00
jjhua
68607d70b7
add use xCAT::FSPUtils;
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 05:00:28 +00:00
jjhua
1225932728
add use xCAT::FSPUtils;
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:58:16 +00:00
jbjohnso
abd9669f93
Have Table.pm force flush of more than 5 seconds old, in preparation for more aggresive cache retention
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:57:49 +00:00