Commit Graph

4140 Commits

Author SHA1 Message Date
jbjohnso
eca74c9ade -Add a mass mac address generation function to VMCommon to leverage setNodesAttribs performance advantages when making many vms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 15:14:20 +00:00
wuzhy
5de5e5e500 Update the file for support rpower/rcons for HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 08:36:35 +00:00
wuzhy
27d7c1a733 Modify it to support rpower/rcons for HMC on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 08:26:24 +00:00
jbjohnso
577661b712 -Change update strategy. Previous strategy of aggregated update statements acheived the lowest required execution of statements, but required a prepare per execute. This strategy uses a single prepare, though does not reduce execute. One prepare+thousands of executes is cheapare than a few dozen prepares+executes
Final tally:
    before this change, a particular stress test:
        real    0m48.731s
        real    0m54.434s
    after this change, the same test:
        real    0m3.231s
        real    0m2.976s



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-26 18:22:17 +00:00
jbjohnso
c1a0633419 -Move setNodesAttribs to the DB worker
-Pass 1 of optimizing setNodesAttribs to be faster, may be followed by a strategy change based on experiments


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-26 18:01:38 +00:00
mxi1
c542b8da9c web_lscondition, lsresponse, lscondresp are changed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-26 07:32:07 +00:00
mxi1
5f56cd6d3c using the dataTables plugin to represent the tables in xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-26 07:31:17 +00:00
mxi1
0a76a95b56 the dataTables plugin is introduced for the tables' display
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-26 07:26:24 +00:00
nott
6cb367420f Add the -m option to the xcataixpost call.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 16:29:21 +00:00
nott
eb7404c04a Modify get_ServiceNode() to use NIMprime for AIX nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 16:24:08 +00:00
nott
4fa0b6620e Add support for the -m option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 15:55:08 +00:00
wanghuaz
ba69e92a50 fixed defect 2898964. without the full path name, runcmd in Utils.pm doesn't return
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 13:08:05 +00:00
nott
79512954ba Add new options for rmnimimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 20:00:59 +00:00
nott
170fbf4025 Add new options and examples.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 19:57:34 +00:00
mellor
2aa3876007 enhance plugin processing to ensure correct table-driven plugin is called, moved common usage preprocessing to new plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 15:12:39 +00:00
mxi1
d489563c4f all the plugins can edit the monsetting table now.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 02:01:03 +00:00
cridye
20a3572b06 fixes xen HVM creation (this was broken by new libvirt, perhaps?)
adds xen paravirtualized guest support (requires modified pypxeboot, and modified udhcpc to work.  see forthcoming docs)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 00:03:45 +00:00
cridye
25138a3e6b anaconda.pm: use copy if newer for tftp files. greatly reduces the likelyhood of truncating files while they are being read with tftp. otherwise, this happens frequently when xcat is being controlled programmatically
Common.pm: add copy_if_newer utility function


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 23:18:20 +00:00
cridye
dc010e96fa esx.pm: fix for duplicatenamefault on datastore connection. involves a weird corner case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 23:11:16 +00:00
cridye
fc37e3ea2f kvm.pm: clean up error handling for programmatic control (i.e. MSM)
Client.pm: clean up warnings in logfile


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 22:30:09 +00:00
jbjohnso
2b438af097 -Change blind retry back to normal retry interval. This slows down the case
where close session succeeds but reply is dropped, but is more resistant
to a scenario where a significant network outage actually prevents logout.
When the actual logout is prevented, the bad state is transient, but can persist for about a minute, so work to avoid it


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 19:04:31 +00:00
jbjohnso
1ddd71f7f0 -Sanitize responses from plugins if they throw non-printable characters that are invalid in XML parsing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 18:57:20 +00:00
mellor
403f1ee57d fixed uninitialized var bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 18:00:40 +00:00
mellor
ce37886fb8 removed dup copy of scan_plugins subroutine I left in by mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 16:32:22 +00:00
mellor
c6b79c7c15 updated various bypass mode subroutines to be similar to xcatd again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 16:16:33 +00:00
ligc
af1cd4333f set nfs_use_reserved_ports=1 for mixed cluster Linux MN=>AIX node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 10:59:29 +00:00
ligc
413179dbb8 use full path when running replaycons on the conserver host through ssh command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 07:11:29 +00:00
jjhua
be850c8f9f fixed 2898930
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 02:31:53 +00:00
jbjohnso
ee8b25b822 -Add support for different cloning methods and image formats to kvm
-Change default format to 'raw' for performance
-Add support for storage server side cow cloning via 'cp --reflink' (requires btrfs to work)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-22 19:41:52 +00:00
jbjohnso
8ccc09febd -Fix use of nodech to manipulate columns that are not 'node' but act like 'node (bug 2785190)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 18:38:59 +00:00
jbjohnso
76b5a8eb31 -Explicitly instruct SSL to do inet4 only if our ipv6 support checks fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:44:46 +00:00
jbjohnso
37c9472acb -Enable SNMPv3 explicitly rather than assuming the dafult is on (defect 2899181)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:34:17 +00:00
jbjohnso
9578b35974 -Refactor network detection to tolerate arbitrary number of interfaces appearing as part of driver load
-Load the mellanox ethernet layer if loading mellanox core for now


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:01:06 +00:00
jbjohnso
b5a0734ed1 -Fedora 12 x86_64 support for stateful deployment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 16:16:53 +00:00
lissav
4447cb1394 cleanup interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-20 16:33:44 +00:00
zhanx
d9468f3d4b Update cookbook for CRHS-like function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-20 15:18:21 +00:00
lissav
55fe3bd159 improve section on removing xcatd database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-20 12:45:11 +00:00
mxi1
80a824e69f integrate the monsetting table into the mainpage for monitor plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-20 09:46:48 +00:00
cridye
61faf24e92 fixes for esx plugin mknetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 22:46:26 +00:00
linggao
5f3a8c839a fixed defect that usage statement does not get print out by the hw commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 20:44:07 +00:00
nott
82bb3ea630 Add updatenode hack to take care of starting xcatd daemon.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 18:44:04 +00:00
zhanx
f36679d2be Update rscan man page: bug 2900481
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 16:00:45 +00:00
lissav
fba2259a39 fix writeup on using multiple CS or ISO files to install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 13:37:59 +00:00
zhanx
6eeeb45ffe add -u to rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 09:48:37 +00:00
ligc
d3897c07b1 fix a perl syntax error in conserver.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 01:31:07 +00:00
lissav
c6f566c83b remove non-working ulimit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 20:16:23 +00:00
lissav
8d6fe7c36f fix ulimit problem and wait for mysql daemon to come up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 20:04:20 +00:00
nott
857c5197af Add rmdsklsnode check for running nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 19:46:30 +00:00
mellor
beffdd517f make xcatd tolerant of syntax errors in plugins, fixed syntax error in conserver.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:51:19 +00:00
nott
7e3bec91ed Fix check for installp packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:30:47 +00:00