Commit Graph

690 Commits

Author SHA1 Message Date
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
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
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
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
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
ligc
4089683849 consolidate the three duplicate subroutines thishostisnot into xCAT::Utils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 08:54:34 +00:00
ligc
6d10253f56 fix for thishostisnot: skip the ipv6 ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 08:37:59 +00:00
lissav
7d3e24e4a1 remove -n flag to ssh on xdsh call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-17 13:28:55 +00:00
wanghuaz
a8013ef8ef fixed the lsslp issue that it is possible to append -1,-2 to the existing hostname in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 12:56:37 +00:00
zhanx
0e6b734b06 fix bug 2896247 mkhwconn has error working with plug-in with nodehm.mgt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 03:02:07 +00:00
nott
0a6916c864 Add more subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-12 19:56:30 +00:00
lissav
45477b2893 fix defect 2883774 return code not received from IB switch, remove -n flag on ssh when command sent to IB switch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-12 15:50:13 +00:00
phamt
05e1e949d3 Change handled_commands() to fix bug ID 2895829.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-12 14:44:55 +00:00
cridye
a79d1dbb96 hp ilo plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-11 19:23:47 +00:00
lissav
1204862fa9 fix for 2889577, do not delete authorized_keys* files when runnning xdsh -K, if they existed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 18:34:51 +00:00
linggao
9b8843b122 more description on prescripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 16:23:35 +00:00
lissav
10fdac457f return error returns even though no messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 15:55:59 +00:00
linggao
183c173975 fixed MYSQL server went away error'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 15:07:16 +00:00
wanghuaz
0b6940f42a Workaround for defect 2883774
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 13:49:26 +00:00
wanghuaz
8987f89a76 Fix part of issue in defect 2883774
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 12:27:20 +00:00