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
nott
e0c6884108
remove hpblade.pm, hpilo.pm, and hpoa.pm from AIX build
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 20:00:31 +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
jjhua
3cd5fb43ae
fixed defect 2888617
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 06:27:14 +00:00
phamt
1f4141f76a
Add subroutines to support new z/VM functionality.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-09 21:13:27 +00:00
phamt
cb35ae47fb
Add subroutines to support new z/VM functionality.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-09 21:12:41 +00:00
lissav
8ec5423abe
fix defect 2880329 and change so that nodes output is returned on per node finish basis and not after all nodes are finished. That is nolonger uses the api interface
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-09 19:08:40 +00:00
ligc
0ae8e75fa6
xcatdefaults can be treated as a node, special case for this
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-07 07:03:55 +00:00
ligc
590425a581
fix for bug 2887320: check postscripts whether in xcatdefaults before setting to the database.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-06 03:25:48 +00:00
linggao
e15a6563a0
added useNmapfromMN in the site table for nodestat command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 23:08:07 +00:00
wanghuaz
d9ba1cc8e8
Remove the end sequences which makes issues if the input containes of ~
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 05:49:11 +00:00
daniceexi
61b197be05
defect 2888509: add the blade specific flags in the usage and manpage for rinv command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-04 03:43:59 +00:00
nott
551e8c23ff
Add several more subroutines.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-02 19:16:13 +00:00
linggao
3707ec41b5
fixed commit error for table creation on SQLite
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-29 16:24:04 +00:00
linggao
b2b42e2844
removed unnecessay table.commit calls for def command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-28 20:03:35 +00:00
zhanx
c48d753668
Fix bug 2884407 lsslp -i -w FSP should not reset previously defined hcp
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 13:46:52 +00:00
ligc
7ad4abe8f7
fix for bug 2844957: wait for clisock to be available in dbc_submit
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 09:56:54 +00:00
ligc
1fa38e9797
undo the last changes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 09:53:35 +00:00
ligc
1c0226b313
fix for bug 2844957: wait for clisock to be available in dbc_submit
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 09:46:03 +00:00
phamt
d5cf990b16
Changed HCP API name for getting user entry.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-23 19:26:52 +00:00