Commit Graph

2554 Commits

Author SHA1 Message Date
zhaoertao
ab867292a3 for NGP, fix some bugs found by UT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 06:38:47 +00:00
sjing
f3e5e9c17d dynamically loading plugins before we use it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 05:07:31 +00:00
jbjohnso
4d089d5391 ESXi 5.1 media recognition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 21:50:43 +00:00
jbjohnso
3737c6632b Correct mistake in UUID based cmd script generator where a hyphen was omitted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 18:33:40 +00:00
jbjohnso
2d42ffe517 wmic csproduct is actually supposed to return the correct ordering, just
some vendors disagreed with MS on encoding.  SMBIOS 2.6 mandates the MS way
In startnet.cmd, assume wmic is accurate instead of 'fixing it'.  This means
DUID changes, but I don't think anyone cares and this paves the way for a
reasonable DUID future.

For autoinst cmd script, it is a problem.  Have windows.pm provide two UUID
based links, one with the correct presentation and a byte-swapped variant

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 18:33:28 +00:00
zhaoertao
d6d8739cdf For NGP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 10:25:08 +00:00
daniceexi
fce2b6b7f5 remove the fsp obj for NGP support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 06:54:40 +00:00
yinle
604c55e4f3 Fix Bug 3496904:nodeset has error for rh6.1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 05:52:08 +00:00
daniceexi
5ef9fb08e8 output message for unhandled nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 03:48:42 +00:00
daniceexi
122e46682f remove the fsp obj for NGP blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 03:29:45 +00:00
jbjohnso
ae5b37598d Have blade.pm also be able to match discovering nodes by UUID
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-03 01:46:19 +00:00
nott
f836b3213c mknimimage support for hasn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-02 19:33:27 +00:00
nott
50913eb9b5 rmnimimage support for hasn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-02 15:19:44 +00:00
sjing
c62079eaff no dump resource defined for osimage, but configdump is specified, report error.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-02 04:17:16 +00:00
nott
f6473652ff new mkdsklsnode support for hasn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 21:26:14 +00:00
jbjohnso
b963e36dc7 Fix xnba using xCAT::Scope without 'use'ing it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 14:31:10 +00:00
sjing
4860996fbf check valid attributes for mkdsklsnode.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 05:49:24 +00:00
phamt
ffbc59f545 Fixed egrep bug.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-28 18:56:10 +00:00
phamt
515507b45c Fixed network layer query problem.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-28 17:51:51 +00:00
sjing
8f0e127d31 rmnimimage: check nim resources(alloc_count) on sn when we want to remove it on mn.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-28 08:44:13 +00:00
phamt
37183d4185 Added code to remove NIC and disk from active configuration.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 22:16:42 +00:00
jbjohnso
d7d49fd2e7 Fix pxe plugin not having 'xCAT::Scope' used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 18:48:33 +00:00
jbjohnso
b144a32404 Implement a '-w' argument on rpower suspend to force blocking until system has gone into suspend
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 17:49:29 +00:00
jbjohnso
ff41e3eaee Provide feedback with shortened/better RHEL6 driver disk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-25 17:48:18 +00:00
jbjohnso
7712d54227 For x86, select a faster mechanism for injecting driver disks so that nodeset is significantly faster
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-25 17:48:11 +00:00
jbjohnso
3e73851545 Don't have Gensis attempt hardware flow control. This is a frequent source of Genesis 'hanging' while someone is
trying to figure out their setup, which Genesis is ostensibly supposed to work best in

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-25 16:31:50 +00:00
jbjohnso
490bd0169f Implement multi-driverdisk merge for RHEL6 installs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-25 15:12:12 +00:00
jbjohnso
22ed503864 RHEL6 Driver update done correctly, some cleanups for bugs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-24 21:12:51 +00:00
sjing
9bf23897bb Fix lpp_source failed to define on sn issue. Also fix the image_data doSNcopy2 issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-24 07:04:14 +00:00
ligc
98f393d24b get tftpdir using xCAT::Utils->getTftpDir if it is not passed in through subroutine calling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-24 06:55:58 +00:00
jbjohnso
980def4650 Fix lsslp to not init something in handled_commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-23 13:57:50 +00:00
jbjohnso
238baaf4f7 Init macmap on demand. The handled_commands is no place for persistent initializations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-23 13:45:45 +00:00
jbjohnso
32de78952f Fix ESXi problem inducing more IO than is required to get the job done (reduces measured runtime by a bit over 66% in one case)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 21:23:12 +00:00
jbjohnso
2cc9a116e6 Fix ESX missing a 'use' statement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 18:19:30 +00:00
daniceexi
4a1e7494bd add more condition to match the system p NGP blade for rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 06:30:36 +00:00
jbjohnso
ba5b5871d8 Preserve extra datastore and = directives in vm.storage on rinv -t sync up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 19:53:36 +00:00
ligc
0456b6ef6c fix for bug 3422448: lsdef -t <type> -h -i attrs_list support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 08:03:15 +00:00
daniceexi
9859b16eca continue update the condition to recognize the cmm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 07:06:41 +00:00
daniceexi
f1db4ebf47 Change the condition to know whether it's a ppc NGP blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:48:38 +00:00
sjing
e65e11dd0e fix to copy openssh to lpp_source by default.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:31:38 +00:00
ligc
d3e172bd03 temporary fix for bug 3484822: configure xcataixscript resource as NFSv3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 05:47:39 +00:00
sjing
99092c60c3 start named on boot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 02:04:35 +00:00
bp-sawyers
90261ffcca Update Schema.pm for site attrs for ipmi scaling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 21:52:34 +00:00
jbjohnso
89e254d9c3 Distribute syspowerinterval chunks amongst service nodes and randomize each list as well
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 16:51:15 +00:00
jbjohnso
8279709921 Change ipmifanout to ipmidispatch for site table definition to avoid confusion with dsh concept
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 15:40:15 +00:00
bp-sawyers
84a6043361 Fixed misspelling of xCAT::SvrUtils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 14:35:38 +00:00
sjing
f05851ee6b check valid attributes for mkdsklsnode.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 10:01:58 +00:00
wanghuaz
cda0df7b5c Fixed issues in service node pool working with diskful and diskless installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 07:20:41 +00:00
sjing
84adefc1e3 check named status and start it if needed before add/delete dns records.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 05:49:41 +00:00
sjing
47284337f0 added -e flag to keep flexibility of ddns updating dns records to external dns server based on /etc/resolv.conf. Also default to use localhost as the dns server.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 04:26:38 +00:00