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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
0ddccda28f
Fixed defect 2883647 that one global variable is wrongly used in xdsh to IB switch
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-22 12:49:48 +00:00
00461de0b4
Update z/VM code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-21 18:03:40 +00:00
df9b3c3b16
-fix mistake in _clear_cache
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-21 16:31:53 +00:00
4dbf2cf7fd
-Clarification on when nodehm.cons may default to nodehm.mgt
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 15:59:19 +00:00