2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

86 Commits

Author SHA1 Message Date
zet809
1ca955a33d Merge pull request #2514 from xcat2/2.13.nodeset_performance
merge 2.13.nodeset performance branch to master branch
2017-02-21 16:07:31 +08:00
chenglch
e05f183a8f Use bulk operation to update chain table for multiple nodes
Do not query bootparams table in yaboot
patial-issue: #2024
2017-02-20 13:48:50 +08:00
chenglch
34296b9229 Update bootparams in destiny to support discovery without DB access 2017-02-15 17:20:24 +08:00
ertaozh
91bfeeb16c Fix issue 2362: if packimage is not run, osimage in the chain table will fail on netboot images 2017-01-10 04:27:05 -05:00
chenglch
97f9d4da8f Do not update bootparams table when running nodeset
With the nytprof tool, the buttleneck is the time to update the bootparams
table.To optimize the performance on large scale nodes, this patch tranfer
the bootparams hash through variable reference.

posible impact: getdestiny can not get the information about bootparams.

partial-issue: #2024
2016-12-23 13:45:20 +08:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
XuWei
f2b9f6e94a to fix Issue 302, modified my_ip_facing and related functions 2015-11-12 00:33:03 -05:00
huweihua
d96d9a5590 fix some indent issue 2015-08-18 23:38:16 -04:00
huweihua
a81a5e1a45 fix the indent issue and combine trace message 2015-08-18 04:11:59 -04:00
huweihua
a35ca71281 add trace information 2015-08-13 23:31:30 -04:00
immarvin
0d6189159d fix defect #4738 [fvt]2.10:nodeset still give error info if using wrong netboot mode 2015-07-09 23:00:23 -04:00
immarvin
6d765fadf4 modify the checking of netboot value to be warning 2015-07-08 03:59:13 -04:00
immarvin
b9e1e11ece refine the message when the noderes.netboot is invalid 2015-06-09 04:52:47 -04:00
immarvin
7e8112eb96 fix defect #4690 [DEV]refine the message and noderes table description 2015-06-04 03:12:49 -04:00
immarvin
ce7c2b6012 add recommend netboot value for vios 2015-05-25 04:49:48 -04:00
immarvin
8df10bf612 add support on the noderes.netboot checking of nodeset 2015-05-24 22:48:15 -04:00
ertaozh
ff20b96dba 1. appending "statement" within makedhcp rather than from nodeset, find corrent tftpserver for petitboot booting; 2. Use hvc0 for ppc64 genesis shell 2015-05-13 03:40:35 -04:00
zhaoertao
0705721307 fix bug 4357:After run nodeset <node> runimage' may fail 2014-11-05 06:07:30 -05:00
huweihua
5302abb4a9 fix bug: in sysclone, provmethod attribute gets cleared 2014-06-04 23:27:09 -04:00
qyin
a966ac3d73 fix the nodeset - noupdate initrd issue 2014-05-21 14:53:05 +08:00
qyin
5de62313a9 fix the nodeset - noupdate initrd issue 2014-05-21 14:39:26 +08:00
mellor
af9b887d23 defect 4026 add service node to error msg 2014-04-02 13:05:07 -04:00
lissav
4c88b1b469 defect 3941 2014-03-25 08:11:11 -04:00
daniceexi
35376641b4 To make bmcsetup cmd to update node status to be [bmcready] in genesis; And make chain mechanism to support [shutdown] key word which is used to poweroff the node 2014-01-13 07:55:03 -05:00
ligc
c78350a9bf fix for bug 3922, use getNodesAttribs instead of getNodeAttribs 2013-12-05 09:46:44 +08:00
daniceexi
9fbd6a0f7d Code drop for new requirement: Add a new flag --ignorekernelchk for nodeset, geninitrd and genimage commands to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc 2013-11-19 06:29:46 -05:00
yinqing
712ac48e82 merge 2.8.2-pcm code change from qing 2013-11-11 17:24:10 +08:00
lissav
e1c55be4ff defect 3844 2013-10-18 07:50:22 -04:00
daniceexi
8db9e8be80 defect 3673: fix a typo which affects the nodeset next
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 07:09:49 +00:00
daniceexi
d3f0f4013f Make nodeset can pass parameter --noupdateinitrd to mkinstall command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:10:50 +00:00
daniceexi
73e90f6cd9 added the checking of path for runimage, if cannot download, display an error message for nodeset command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-09 09:15:57 +00:00
lissav
748b4ee78c first update for enhance precreatemypostscript handling, more todo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 13:56:17 +00:00
daniceexi
5b81a7a8ca add comment to support multiple actions for the nodeset state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 02:41:23 +00:00
daniceexi
58f0ffc4f1 defect 3346: support that the argument of nodeset could be multiple actions which separated with ,; e.g. runimage=xxx,osimage=xxx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 13:03:26 +00:00
jbjohnso
4f2d1153b1 If lzma is older than gzip genesis, prefer newer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 19:18:34 +00:00
jbjohnso
8f37638f66 Rename site value to something more specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 19:11:16 +00:00
jbjohnso
528ecb3e56 Provide site value to suppress credential check messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 17:57:13 +00:00
sjing
9581e25412 support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 02:43:57 +00:00
daniceexi
38576c2815 fix issue that when set [osimage=<osimagename>] in chain.chain to deploy os during genesis running, the provmethod was set to install/netboot instead of the osimage name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 08:06:52 +00:00
linggao
1e8061270b added feature in nodeset to get the os image name from the nodetype.provemethod if the osimage is not specified with nodeset osimage command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 20:59:50 +00:00
daniceexi
c17cea3b6f Support to set osimage=rhels6.2-x86_64-netboot-compute:reboot4deploy in the chain.chain to make the status of node to be updated to installing or netbooting as rpower reset has been run
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 14:11:42 +00:00
jjhua
43c4fada08 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:53:25 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jbjohnso
63478f6bd4 Add a mode where nodeauthentication site value switches on requirement of client certificates for 'nextdestiny'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 16:29:15 +00:00
jjhua
8c13b3f50a For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 06:32:20 +00:00
jbjohnso
3e73851545 Don't have Gensis attempt hardware flow control. This is a frequent source of Genesis 'hanging' while someone is
trying to figure out their setup, which Genesis is ostensibly supposed to work best in

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-25 16:31:50 +00:00
jbjohnso
9b3a7ffb0e Prefer lzma when available for Genesis compression
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-16 14:34:32 +00:00
jbjohnso
c83a40b120 Have destiny and mknb understand how to work with xCAT-genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 13:56:43 +00:00
ligc
1245ac9a48 fix for a problem ->{node} is changed by setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-14 03:25:54 +00:00
jbjohnso
253b7d4ae7 -Clarify error output on template processing issues on noderanges
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-03 18:05:12 +00:00