Commit Graph

4165 Commits

Author SHA1 Message Date
mxi1
a7e307b952 the encrypted pw in the passwd table can work on SLES now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 08:51:34 +00:00
jbjohnso
a1833514d3 -Speed up at-scale VM placement decision making
-Fix possible infinite loop that blocked certain commands


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 00:37:04 +00:00
lissav
f26e02f42f remove need to set ANSI_QUOTES for MySQL database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 19:26:56 +00:00
lissav
69e3132067 remove setting of ANSI_QUOTES in my.cnf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 19:25:15 +00:00
nott
9cfece12b8 Add updatenode -s option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 18:21:30 +00:00
nott
4ef1c14883 Handle -M input.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 18:17:15 +00:00
nott
0b2ae003e0 Add get_server_nodes routine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 18:11:50 +00:00
bp-sawyers
0c005f4f7b Fix small bug in linux build script when starting a new dot release.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 15:53:44 +00:00
ligc
7a6360d19a svn commit -m "fix for bug 208749: the groups is a required attribute with mkdef to create node definitions"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 05:27:57 +00:00
ligc
0d390087cf fix for bug 208749: the groups is a required attribute with mkdef to create node definitions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 03:30:18 +00:00
jbjohnso
93474b3a30 -Fix empty disc creation when nfs:// syntax is used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-30 19:51:33 +00:00
jbjohnso
171282e820 -Correct variable names in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-30 18:54:39 +00:00
jbjohnso
02756bea76 -Call makedhcp when mac addresses are generated by virtualization code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-30 18:37:01 +00:00
ligc
7b76695826 fix several issues working with NIM Prime
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-30 09:40:53 +00:00
jbjohnso
c07e6a6ac2 -Add screen to kvm template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-29 19:40:48 +00:00
jbjohnso
9bd58fa4d0 -Remove deprecated kickstart directives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-29 18:57:20 +00:00
jbjohnso
8c8e7e2246 -Add base 'compute' template for rhel6, hpc template adding ofed/openmpi, and kvm for hypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-29 15:40:09 +00:00
jbjohnso
3f05a5e05a -Fix another typo in recent checkins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 13:56:47 +00:00
jbjohnso
b8ad0657bf -Fix syntax error in recent destiny plugin changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 13:52:19 +00:00
jbjohnso
909517a2c5 -Add RHEL-6 alpha support for stateful deployment
-Fix bug in recent Table.pm enhancements


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 13:45:52 +00:00
jbjohnso
3ef7062195 -Speed up large noderange expansion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 13:06:40 +00:00
jbjohnso
600fae75ef -Raise nodes at a time in the setNodesAttribs to 999 to account for the re-execute strategy allowing it to be that high
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 00:52:10 +00:00
jbjohnso
613b60aef2 -Fix mistakes in requestMacAddresses VMCommon function
-Refactor kvm plugin to use VMCommon code


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 00:50:14 +00:00
jbjohnso
5f95a1f76c -Change some table value setting code to use the improved, faster setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 18:55:13 +00:00
jbjohnso
b5f6186f68 -Change destiny plugin to more efficiently set values en masse using enhanced setNodesAttribs call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 17:12:09 +00:00
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