Commit Graph

709 Commits

Author SHA1 Message Date
wuzhy
faaadc5ca3 adjust the argument of rmvm according to the requirement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-04 04:34:44 +00:00
wuzhy
fcb1fc8913 adjust the argument of rmvm according to the requirement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-04 03:55:09 +00:00
wuzhy
67119dfdb8 Update them for supporting mkvm/rmvm enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-31 04:46:42 +00:00
daniceexi
68de42c84b def commands performance enhancement: 1. fix performance issue in the getobjdefs; 2. def commands only get necessary attribute by getobjdefs; 3. lsdef without flags only displays node name; 4. rmobjdefs does not check the only_if condition; 5. Make Table::delEntries function can handle multiple records for a table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-30 07:50:28 +00:00
wanghuaz
004904267e Remove one debug msg in previos checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-30 04:18:53 +00:00
ligc
d808e18849 add sleep in rpower for scaling through site attribute powerinterval
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-30 03:14:47 +00:00
wanghuaz
b572a611c3 Updated manpage for rspconfig and lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-30 03:07:16 +00:00
wanghuaz
c0aa24b864 Updated usage for rspconfig and lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-30 01:57:52 +00:00
wanghuaz
ec6154e11e Change passwds or set the initial passwords for FSP/BPA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-29 11:42:49 +00:00
wanghuaz
c67a44d85f Lead rspconfig to PPCcfg.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-29 08:23:20 +00:00
zhanx
ceea26ca17 hardware discovery enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-28 08:10:42 +00:00
jjhua
79faedd0ea HMC alternative: FSPflash (firmware upgrade -- disruptive ,commit, recover)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-23 02:10:00 +00:00
ligc
12f6766ee4 fix a perl syntax error in PPCrflash.pm, missing semicolon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-23 01:11:38 +00:00
bp-sawyers
d314c0789d - Fixed bug in chtab db initialization statement
- Improved formatting of site and prescript table descriptions in man pages

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-19 14:20:26 +00:00
linggao
1dbaa5add9 fixed a typo on description of postscripts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-18 16:55:27 +00:00
daniceexi
62b94e5eb7 make def commands support the default postscripts for postbootscripts attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-18 08:40:54 +00:00
vallard
903cb47555 statelite tables added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-17 21:21:02 +00:00
linggao
6394de13d9 fixed problem for PostgreSQL when changing primary keys for a table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-17 17:01:08 +00:00
lissav
c84997d8d5 add path to pping and error processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 23:55:12 +00:00
linggao
2438bdf779 added postbootscripts column in postscripts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 13:50:21 +00:00
jbjohnso
687bb27418 -Fix problem where a '0' in a bracketed expression would break noderange expansion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 20:22:40 +00:00
lissav
5eeb229301 force a build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 18:51:03 +00:00
jjhua
366fdd26a0 HMC alternative: FSPinv.pm, FSPpower.pm, fsp for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 02:19:40 +00:00
jbjohnso
8dede44fa5 -Support explicit discovery nic specification
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4746 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-09 19:15:16 +00:00
phamt
94b00e9c27 Update z/VM plugin with new code and autoyast/kickstart templates.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-08 19:39:00 +00:00
lissav
9a4d465d1a one more minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 15:00:26 +00:00
lissav
545e8a969e new hierarchical support for xdsh/xdcp, with error processing and -c flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 14:50:33 +00:00
lissav
ceafc7b0a4 comment that site.rsh and site.rcp are no longer used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-03 12:23:55 +00:00
jjhua
a2bf2d9869 direct attach support for rpower
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 09:41:51 +00:00
jjhua
343785d0bc direct attach support for getting firmware level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 09:41:06 +00:00
jjhua
e9329bb620 check in the files which are related to the direct attach support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 09:38:51 +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
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
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
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
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
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
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
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
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
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
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
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