Compare commits

..

2422 Commits

Author SHA1 Message Date
yinqing 08683a45d6 merge qing's fix from 2.8.2-pcm to 2.8-pcm 2013-11-11 17:56:01 +08:00
Bruce Potter 8f920c6a2c fix setversionvars command not found problem during promote 2013-10-09 20:10:16 -04:00
Bruce Potter 4a54d2e1b9 specifying checksum so the repo will work on rhel5 2013-08-31 11:19:15 -04:00
Bruce Potter d561030406 fix bld script change 2013-08-27 12:50:47 -04:00
Bruce Potter c23e0328fb change git cmd used to get current branch 2013-08-27 12:35:08 -04:00
Bruce Potter 1f2a5273e3 modified bld script for git for 2.8-pcm branch 2013-08-14 12:31:21 -04:00
qyin 6b1c3e2bdf #212726 [PCM4.1][Patch] [Dev to propose fix] The image profile kit plugins are not getting called by pcmimageprofile.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 08:38:08 +00:00
sjing 04c70de8fc bug3604 - enhanced makedns to support adding/removing the nic hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 06:58:27 +00:00
nott e6332ef245 integrated patch provided in 3594
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-07 17:52:18 +00:00
duowang bd64e444c0 modified method gen_new_hostinfo_string() in profilenodes.pm to sort the nodes' name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 10:37:10 +00:00
qyin f85b944c67 fix #215058 The feature enables PCM discover nodes by specifying switch name and port number only
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 05:40:51 +00:00
mellor 4b99829fdd remove HPC kit build files. moved to git repository in GSA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 20:38:38 +00:00
jjhua 92f94fda22 fixed bug 3259. Checked the code into 2.8-pcm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 05:58:32 +00:00
jjhua d1f6a91eaf fixed bug 3259. Checked the code into 2.8-pcm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 05:44:10 +00:00
jjhua a8c057d95e fixed bug 3259. Checked the code into 2.8-pcm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 05:41:54 +00:00
xyye 7af1ca3a40 remove makedhcp command for adding the unmanagement node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-03 05:54:43 +00:00
lissav aed5820b37 fix defect 3477 PCM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 11:28:06 +00:00
xyye 35d0df1356 make dns and dhcp after adding the un management node in profilenodes.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-28 05:56:02 +00:00
willn256 195e08340b Merge updated kit plugin samples (#3384) and plugin package name fix (#3385)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 21:53:17 +00:00
immarvin 07b4f4ed90 1. fill in the proper value in /etc/sysconfig/clock and set the timezone of the stateless/statelite node with site:timezone
2. copy lib(64)/libnss_files.so.2 into initrd 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@16050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 02:55:50 +00:00
mellor 2b826284bb defect 3503 - remove duplicates and sort output of lskmodules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 13:18:17 +00:00
lissav e80e2c3b1e fix 3477
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-15 12:31:34 +00:00
lissav 8815ed2f4c fix defect 3483
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 15:44:52 +00:00
ligc 17c25d67dc fix for bug 3353: remove the busybox-anaconda and lsvpd from the pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 14:09:01 +00:00
lissav 0ca28f99e3 fix defect 3477
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 10:30:57 +00:00
immarvin 7435749032 replace nfs-utils with nfs-kernel-server in sles11 pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 06:42:13 +00:00
mellor 124d067192 oops, updated wrong branch. checking in previous version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 17:37:01 +00:00
mellor 4a63e79f3b defect 3406 createrepo for RH5 and 3407 correctly handle blank osminorversion value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 16:32:11 +00:00
creativezj 889f51726f fix multiple nic error while all nics in same network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 07:18:12 +00:00
creativezj 7a2553d95e support multiple nics in nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 05:56:04 +00:00
immarvin 09064309b9 replace kernel with kernel-default in sles11 pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 09:32:10 +00:00
immarvin afba3f2258 nfs-utils not exist in sles11 iso, use nfs-client instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:40:54 +00:00
immarvin fc0b17272d nfs-client and kernel package not exist in sles11 iso, remove them from pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:27:42 +00:00
immarvin a4d6f819ef add ntp to sles pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:50:59 +00:00
immarvin d452ee22bd add ntp to sles pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 06:48:58 +00:00
ligc 0d5e8aee1e fix for bug 3446: for SLES, do not add FW_DEV_EXT if there is only nic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 05:36:14 +00:00
ligc 4e1e20e4f2 fix for bug 3446: add 69 into ports list, chkconfig SuSEfirewall2_init on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 01:40:25 +00:00
bp-sawyers 6321e8ec95 Adjust 2.8-pcm branch version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 15:39:55 +00:00
bp-sawyers cccae5e81f Update version number of 2.8-pcm branch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 15:23:49 +00:00
bp-sawyers fc52689889 Creating xcat pcm service branch for the 2.8 release
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8-pcm@15291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 14:45:36 +00:00
jbjohnso 6f3e2fb2f0 Revert "Have xCAT support ssl parameter settings in site table"
This reverts commit 7f18ae6d6f.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 15:19:08 +00:00
jbjohnso 7f18ae6d6f Have xCAT support ssl parameter settings in site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 21:12:39 +00:00
jbjohnso b906c24816 Certain nmap output with ipv6 could leave nodename with a trailing \n, correct
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 16:26:31 +00:00
phamt 476c3387cc Fixed cloning where fdasd is need for vanilla disks.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-24 02:02:30 +00:00
phamt ad004fa062 Fixed cloning where fdasd is need for vanilla disks.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-23 21:00:48 +00:00
jbjohnso 6e96acde8a Correct typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 19:27:45 +00:00
jbjohnso 4feb1eacf1 Add objdef for storage.osvolume
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15229 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-20 19:13:15 +00:00
bp-sawyers 9ba0674087 update for latest mcp build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 22:45:49 +00:00
mellor 77f1b1b726 defect 3371 - fix osimage check for chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 21:16:51 +00:00
mellor f8967bc0b6 defect 3376 - need to load XCATSITEVAL global in upd listener process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 20:27:20 +00:00
leiaibj 863ba244c3 The function isValidHostname, it can not detect illegal hostname like 'a=b-c'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 02:04:08 +00:00
phamt 47ab424f70 Fix MAC address prefix.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 23:11:17 +00:00
phamt bae3e6b789 Fix MAC address prefix.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 22:49:46 +00:00
phamt 093b05b784 Fix dependency issue with z/VM build.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 20:22:31 +00:00
phamt 3948b72c22 Updated rmigrate man page for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 18:13:01 +00:00
phamt 093fa0578c Fixed inventory tab.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-15 17:20:22 +00:00
phamt dcd1acab69 Enable osimage specification on nodeset.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 20:27:37 +00:00
jbjohnso 5dbcb3dd65 Have xCAT WS support credentials via header rather than uri
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 19:19:13 +00:00
phamt 2f218a06f4 Fixed problem updating zFCP pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 16:10:08 +00:00
phamt 6c8f3298fa Fixed device address to be lower case because autoyast is case-sensitive.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 15:17:15 +00:00
phamt a4000ce977 Fixed SCSI/FCP devices in nodeset.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 05:19:00 +00:00
phamt 7ba40528e4 Added option to query all accessible LUNs. Fixed query WWPNs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 04:09:07 +00:00
phamt 7fd00ce8ae Renamed function to open dialog to delete profile. Added new line at end of directory entry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-13 19:41:21 +00:00
jbjohnso c2dec7b40b Add some cautionary wording aronud incomplete function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-13 17:56:52 +00:00
phamt 4a3919e899 Fixed synchronization issue on self-service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-13 17:24:39 +00:00
lissav 4da96c27a3 add comments about no case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-13 12:05:33 +00:00
phamt 72b785338b Fixed add disk to pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 22:53:08 +00:00
phamt 711b13383f Added input verification. Fixed add vSwitch option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 22:15:52 +00:00
jbjohnso 8253aee359 Fix missing mandatory columns in storage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 15:38:28 +00:00
jbjohnso 07fa06c4dc storage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 15:38:19 +00:00
phamt 184487e37e Fixed input value for xCAT UI. Allow code to handle different orders in /etc/hosts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 22:49:44 +00:00
lissav 05ade551f4 fix bug 3365
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 19:07:08 +00:00
phamt 6aee46151c Fixed input value.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 03:57:23 +00:00
phamt 550b50149c Switched over to using z/VM system names vs. zHCP names.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 03:25:00 +00:00
phamt ba121aef4a Added tooltips. Fixed add/remove VLAN/vSwitch. Updated networks table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 00:22:33 +00:00
phamt 40a9d41e0b Zero out hanging processes in cookie. Make zFCP devices persistent in udev.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 23:42:49 +00:00
jbjohnso 84ba7a178c Fix mistake in the win2k8r2 template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:46 +00:00
jbjohnso e11b310efd Fix windows.pm to be drive letter agnostic in installs
Fix fixupunattend.vbs to not echo

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:37 +00:00
jbjohnso 232f325351 Fix mistake in variable name in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:26 +00:00
jbjohnso b56f7e9e94 Make the Windows templates consistently leverage the AD/Local/DisableAdmin behavior
Eliminate the 'UEFI' only templates, have a single template get modified at runtime via a vbscript

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:14 +00:00
jbjohnso 68b6032dbb Fix Template to add a missing \r to windows templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 21:21:01 +00:00
phamt 364e652e59 Fixed update to udev rules for zFCP devices.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 20:42:26 +00:00
phamt 29f32d10ae When assigning free zFCP device channels, check if device channel is in use in the pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 17:29:09 +00:00
phamt aba74b7d52 Fixed argument passing delimiter. Added warnings to the UI. Added check for userprefix file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 05:54:14 +00:00
leiaibj 1616e26c94 Fix a bug for hostname validation, merge into 2.8 branch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 01:57:33 +00:00
jbjohnso 86042cc1f4 Add windows to fsm build variant
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 22:23:31 +00:00
jbjohnso fa2eeecb0d Fix various 'strict' issues in windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 21:31:58 +00:00
jbjohnso 509934b9d5 Give vncviewer an extended period of time to get around to reading the password file before cleaning it up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 20:55:17 +00:00
jbjohnso bb90fdf022 Add a script to sub in different mount letters and UEFI/plain partition plans into a unified windows template scheme
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 19:25:20 +00:00
lissav c24aadccfc remove what should have been a 2.9 checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:38:51 +00:00
lissav cbcb75cdb5 remove what should have been a 2.9 checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:37:58 +00:00
lissav 1e9af7be3b remove what should have been a 2.9 checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:36:47 +00:00
lissav 7c678fd174 add -E hierarchical support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:34:00 +00:00
lissav 982d3f1aed add -E hierarchical support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:32:39 +00:00
lissav e7e4071365 add --fanout on updatenode and code improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:31:18 +00:00
lissav 136e94ab83 add --fanout on updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:23:59 +00:00
lissav 33193fc495 document --fanout on updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:23:00 +00:00
lissav 4f6485c841 hierarchical -E support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-07 12:12:36 +00:00
bp-sawyers e0390d78e9 A https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 20:39:40 +00:00
lissav 10f3c7dbad fix defect 3362, a portion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:46:29 +00:00
lissav 95e41a79f4 fix defect 3362, a portion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:44:34 +00:00
linggao 1ff3a1b106 finally fixed defect 3357
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:26:29 +00:00
jbjohnso 31b23bb7e6 Remove extraneous data from 2012 template, no urgency to suggest a rebuild of 2.8 yet just for this
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 16:21:07 +00:00
wanghuaz 30d43bd380 Backup the kit source files, don't need to rebuild xcat.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 16:02:45 +00:00
wanghuaz 5d124952e2 Backup the kit source files, don't need to rebuild xcat.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 15:52:59 +00:00
phamt 8707039812 Fixed man page for rinv. Fixed SSI query.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 04:20:13 +00:00
phamt 27474cd70b Fixed smcli call name.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 02:59:52 +00:00
phamt 74ce98b7ef Updated description of monitoring tools.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 00:43:21 +00:00
phamt 8444a7435b Fixed man pages for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 00:04:19 +00:00
mellor 24f864f17f buildkit - add support for kittarfilename attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 21:46:01 +00:00
bp-sawyers ddb9cb40b4 fixed genesis base build for mcp subset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 21:03:12 +00:00
linggao e55012dac7 parcially fixed defect 3357
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 20:58:46 +00:00
jbjohnso 2bd19274ac Fix problem where missing prodkey table would induce failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:52:41 +00:00
jbjohnso f281378f89 Fix problem where windows plugin did not honor tftpdir in site
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:41:50 +00:00
linggao ed299052be fixed defect 3360
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:34:12 +00:00
phamt 727de3ad74 Updated man pages for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:05:43 +00:00
phamt a28999ba55 Allow multiple WWPNs to be specified in zFCP pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 16:02:21 +00:00
phamt 23b37343b2 Updated xCAT-UI with new functionality for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 15:43:57 +00:00
jbjohnso 6f8f0eac9e Have screenlog.0 be created by default
Change bmcsetup to not blindly give up on lan channel 16

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 14:55:59 +00:00
xq2005 5cd7d72d51 run postscripts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 13:02:26 +00:00
jjhua 464bb52690 fixed bug 3354, for the new mellanox ofed iso MLNX_OFED_LINUX-1.5.3-4.0.22.3-rhel6.3-ppc64.iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 11:24:12 +00:00
jjhua f496b3a795 fixed bug 3350, for the new mellanox ofied iso MLNX_OFED_LINUX-1.5.3-4.0.22.3-sles11sp2-x86_64.iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 11:22:28 +00:00
wanghuaz 1ff6be92c3 Fixing bug 3356: handle the input string from kit kit.conf/kitcomponent exlist/postbootscritps/.. files more strictly. 2. Fixing bug 3347 in kit migration, removing the original kitcommponents instead of the adding kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 09:49:33 +00:00
amy0701 3712a03eb0 support nfsv4 for testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 09:08:39 +00:00
amy0701 2cc0280af4 update testcase output check for nimnodeset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 08:55:44 +00:00
jjhua bf06d6b90a fixed bug 3358. set retry=0 every download
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 03:21:22 +00:00
phamt 441e292e08 Allow multiple WWPNs to be specified.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 02:03:53 +00:00
phamt 0866e19b67 Fixed sudo bug when echoing to device file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 00:24:04 +00:00
phamt 57d12a4e47 Fixed fcpdevices query bug. Added FCP channel range column into FCP pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 22:31:40 +00:00
mellor b1173a0b28 defect 3359 buildkit addpkg prints wrong filename in error msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 21:42:24 +00:00
lissav 852b07a725 code calls download_mypostscript routine with wrong input order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 20:18:59 +00:00
jbjohnso 0d8d4241fb Fix non-DOS line terminators in windows template data fill in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 18:22:12 +00:00
phamt 4eb453bfde Added new functionality into z/VM plugin, i.e. migrate, zFCP support enhancements, managing storage and network devices, no-root login support, improved security, etc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-03 02:16:05 +00:00
phamt 7032e938f0 Added script to create sudoer on nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-03 00:02:57 +00:00
jbjohnso f060cd13cf Have kvm tolerate trailing / on vm.storage dir:// urls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:31:08 +00:00
jbjohnso 3f87212616 Support SAS and PV SCSI for vmware guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:02:29 +00:00
jbjohnso f3e44ca4e6 Fix Windows template driver path to be consistent with suggested driver layout. This is a backwards compatible change.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 20:23:25 +00:00
jbjohnso 885277c218 Fix characterization of hyper-v
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 19:11:46 +00:00
jbjohnso 91d1302622 Fix problem where Hyper-V was mis-characterized as 'Linux'
Have osdistro table recall the OS version number of Windows operating systems.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 18:45:36 +00:00
jbjohnso 6628d91671 Support generic recognition of RHEL6.x media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 15:25:59 +00:00
lissav 8435630bd0 document runimage and also add the deprecation of the install,netboot,statelite attributes. Change example.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 12:43:36 +00:00
wanghuaz f23d37e410 Fixing bug 3339: check if the kitomponent is existing before adidng it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 09:43:17 +00:00
ligc 8c8319ca05 fix for bug 3345: RHEL 5.8 diskless could not boot blacktip nodes, because of the missing be2net driver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 09:03:13 +00:00
xq2005 a1b47e3ed1 support postscripts return status on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 08:17:57 +00:00
daniceexi 80b9c0f06d Update the description of linuximage.partitioinfile for localdisk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 07:06:23 +00:00
xq2005 23a6061209 update-grub can configure the console automaticlly on ubuntu/debian, the serialspeed is not a require attribute now, bug 3336
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 06:56:01 +00:00
billwajda 908a792a16 fixed configeth to correctly create ip alias on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 04:25:18 +00:00
jbjohnso 438595e0aa Fix problem where SLES11 cannot wvid to modern IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 16:28:29 +00:00
lissav 59e601e839 document the site table dhcplease attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 15:18:10 +00:00
billwajda 07c4a8419b fixed configeth to correctly create ip alias on SUSE/SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 15:17:09 +00:00
leiaibj d0d63a6d97 bug fixing: 1. nodechprofile can not update imageprofile and network profile; 2. noderegenips should call make* commands to remove node related records first and then add them back again, which there are some changes in table nics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 07:58:08 +00:00
daniceexi 32e11e9d60 defect 3341: Add notes in the man page for how to use softoff and suspend function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-31 06:31:30 +00:00
jbjohnso 625bbecc44 On rmvm, do not destroy CDs
On storage block device creation, disable cache for new disks but enable cache for non-detached qcow2 for read cache benefit at the host layer

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 19:37:33 +00:00
jbjohnso ef9100c56e Correct problem where /// regexes corrupt other substitutions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:33:02 +00:00
jbjohnso ea6d9f7081 Have KVM storage support default to cache=none for now
Fix lvm to use raw rather than qcow2, since qcow2 makes no sense for LVM

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:09:18 +00:00
jbjohnso 4807663ce6 Have KVM support LVM volumes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:02:09 +00:00
billwajda 1ca37edf75 fixed pattern match problem in confignics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 11:58:48 +00:00
wanghuaz 6166ceba50 Fixing a typo which makes the postinstall script always be overwritten by new kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 06:23:32 +00:00
jbjohnso 50ca1f5737 Have IPMI tolerate incorrect rqaddr field to communicate with buggy BMCs that don't comply to the spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 21:23:38 +00:00
jbjohnso e3952df651 Have SLP accept unicast fragmented UDP packets to get more data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 19:55:24 +00:00
jbjohnso 60089fd7c2 Add Guest ID map for Windows 2012, 8, and ESXi itself for vmware support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 14:57:26 +00:00
mellor 4ee58f5941 defect 3334 - add kitlicense support to buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 13:42:45 +00:00
daniceexi 9a9b28a9f3 defect 3333: use th signal 12 (USR2) to stop the install monitor process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 02:03:28 +00:00
bp-sawyers 281319225b added script to to genesis-builder to determine the rpms we included from mcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 22:02:44 +00:00
jbjohnso 3c92465b9d Fix problem where profilednodes would 'BUG' the discovery process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 21:38:13 +00:00
bp-sawyers b52aac1cb6 updates to xCAT-genesis-builder to build a version based on mcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 19:06:56 +00:00
jbjohnso 1886fa3c54 Have Template get a new directive: MANAGEDADDRESSMODE for use in certain appliance applications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 18:58:00 +00:00
asirxing 125dcfa5bb Filter out the package group(start with @) in pkglist.cfm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 06:56:36 +00:00
ligc 85e782d793 fix for bug 3158: add several examples in makeconservercf manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 03:12:46 +00:00
jbjohnso 2041f44014 Fix issues around prejoin=0, allow for multi domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 21:04:12 +00:00
jbjohnso 3496d08373 Add support for xcatd to recognize and unpack gzip compressed payloads
Put back in extended NIC information, but compress it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 14:37:17 +00:00
xq2005 d0652c1e3a build genisis initrd on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 14:31:03 +00:00
jbjohnso d6845031fb Disable new nic element to avoid packet fragmentation, will revisit how to do this later
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 13:43:31 +00:00
xq2005 63fe632581 create repo on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 13:25:26 +00:00
leiaibj b327574f26 1. support minus network incremental value. 2. resolve can not discover nodes issue. 3. create new command noderegenips: for supporting reconfigure nic ips without reinstall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:55:14 +00:00
creativezj 0dd3b29d1f modify chain table while provision node with BMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 08:20:15 +00:00
jjhua e4b2d44ac6 fixed bug 3322
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 07:40:18 +00:00
jjhua d9c27df593 fixed bug 3322
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 07:38:59 +00:00
jjhua 157b6b6fdd fixed bug 3309. export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 02:07:20 +00:00
jbjohnso d478707749 Fix templates not using WINACCOUNTDATA inadvertently disabling local admin access
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 20:09:19 +00:00
jbjohnso bc33e681e0 Fix incorrect partition id in the Win2012 Datacenter template
Correct the disable local admin XML from Template.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 19:10:40 +00:00
bp-sawyers 83d5fe80bc updated pasu to get the ipmi attribs from the db
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 16:46:15 +00:00
nott 51ffba43f5 nicaliases not yet implemented
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 15:40:27 +00:00
nott a40c9c08ed add support for | in nics table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 14:54:25 +00:00
lissav cb75f60dd3 Change displaying the error message when running updatenode -Psysfiles to logging it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 13:06:06 +00:00
lissav b5ad559476 add in the missing GROUP export
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 12:09:37 +00:00
wanghuaz a881b225f2 Added new serverroles as dicussed.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 10:29:19 +00:00
wanghuaz 526e1fb67d Now kitcomponent and osimage could specify multiple serverroles, addkitcomp and chkkitcomp will match their every serverrole
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 10:00:25 +00:00
wanghuaz 8205915a66 Update kit examples to disable checksum and restart on system x.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 07:47:03 +00:00
ligc 29d5191d91 fix for bug 3320: perl syntax problem in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 07:29:35 +00:00
xq2005 93a23bc8d2 enable ip forwarding on debian/ubuntu when running xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 05:14:34 +00:00
wanghuaz bb9d1f8cf1 Use shorter serverrole names from now on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 01:25:33 +00:00
jjhua 278064041c after discussion of bug 3309, not put the empty variable in the mypostscript file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 01:13:22 +00:00
linggao 150207c0d5 bug fix for configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 22:14:26 +00:00
bp-sawyers 001c60917c Added new pasu (parallel ASU) cmd and man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 22:03:17 +00:00
jbjohnso 698e5b21c5 Fix issues with startnet.cmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 19:56:37 +00:00
mellor 09696bead2 updated list of kitcomponent serverroles in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 18:55:20 +00:00
linggao ba48f4a0d8 Make routes persistent for sles/rh/ferdora/centos for makerouts command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 18:36:42 +00:00
jbjohnso 6849011953 Fixes for genimage.cmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 15:25:01 +00:00
jbjohnso 9a76937088 Add keyEncipherment to keyUsage since Java expects it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 15:02:32 +00:00
jbjohnso b042a85a69 Hooks for startnet.cmd to recognize and accept optical drive provided script update as appropriate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 14:58:30 +00:00
lissav ebd7eb2d1f move comment before first example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 11:59:30 +00:00
jjhua c8c64a5afe fixed bug 3309, export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:17:01 +00:00
ligc 5745d823ae update some typos in passwd.cryptmethod description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:14:48 +00:00
ligc d8896b1df8 provide a way to disable the warning message when run nodeset install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:00:24 +00:00
ligc ff2affd551 provide a way to disable the warning message when run nodeset install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:52:19 +00:00
leiaibj 37f35f731a update man-pages for profiled nodes releated commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:20:41 +00:00
jjhua a32033c27c fixed bug 3309, remove the NICCOMMENTS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:16:37 +00:00
jjhua 8ec0fc9c97 fixed bug 3309, remove the comments line which begins with ##
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:14:53 +00:00
jbjohnso 1225448e75 Restory 'legacy' mac tag for backwards compat if needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 21:19:11 +00:00
jbjohnso f3fffcefed Correct typo in XML for discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 21:18:57 +00:00
lissav fb3c8248b5 improvements to the template file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 20:13:03 +00:00
nott 1cc7ab18cd add multi-domain info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 19:53:56 +00:00
billwajda 825f8d742b updates for confignics to support configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 19:03:07 +00:00
wanghuaz 0eccaea186 Fixing bug 3296: cleanup a variable that used in a loop to remove the duplicated packagenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 16:48:48 +00:00
mellor 8fc0cd9202 defect 3297: buildkit buildrepo on sles needs Group in spec file; also, fixed xCAT-buildkit spec file to install correctly on both SLES and RH (rpmbuild command is in different pkgs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 15:35:43 +00:00
nott 61eb8c2907 add multi-domain and nics info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 14:22:59 +00:00
linggao 181f5a05b6 more fix for configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 13:25:57 +00:00
bp-sawyers 11dd240272 make sure /etc/xcat exists before xCAT-genesis-scripts tries to touch a file there
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 12:24:50 +00:00
jjhua 5a88a5cea2 fixed bug 3300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 08:31:51 +00:00
jjhua 953f01b3f8 fixed bug 3300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 08:30:27 +00:00
wanghuaz 3c8ad92ef8 Fixing a typo in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 02:35:10 +00:00
creativezj ca303919a3 fix #211459 wrong message while import node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 01:56:13 +00:00
wanghuaz c0f35a2de4 Updated ppe kit template for other teams's reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 01:10:42 +00:00
wanghuaz ddcb538720 hpc integration is replacing by kit. so the duplicated setting in xcat-server such as /etc/fstab generation should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:37:38 +00:00
wanghuaz e19bdb1181 hpc integration is replacing by kit. so the duplicated setting in xcat-server should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:36:15 +00:00
wanghuaz 35d771323e Copy the exlist from IBMhpc to xCAT-server to be the default exlist.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:21:15 +00:00
linggao 3bb94e2487 made configib ready for config one nic at a time.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 20:48:04 +00:00
wanghuaz 78cf402b58 A small followup to last week's check in for external non_native_pkgs support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 20:05:22 +00:00
nott 3f4bb3a0ae add note about search field of resolv.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 19:22:38 +00:00
jbjohnso 14ffb71f0e Have Windows domain allow the less secure 'securejoin' if indicated in site (can be rendered secure in *very* specific circumstances).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 14:34:37 +00:00
bp-sawyers beda697525 fix pcm embed build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 12:38:10 +00:00
xq2005 68006a767d build debian dependency packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-20 08:38:40 +00:00
xq2005 9c6f08c75e build debian dependency packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-20 08:34:54 +00:00
xq2005 7ec3a97bdc modify the dracut install file for debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-19 03:56:34 +00:00
bp-sawyers 3cf4f8f448 Fixed error msg when getpostscript.pm can match node name, to show original name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 22:22:33 +00:00
linggao 171017442d more on configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 21:25:08 +00:00
linggao 672fd91279 added configib postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 18:06:10 +00:00
bp-sawyers 27a7ca0556 Fix bugs 3284 and 3285 - xCAT-genesis-scripts-x86_64 trying to run mknb when xcatd is not ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 17:26:23 +00:00
nott 50890c8a4a add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 15:22:04 +00:00
jbjohnso 9c023486d9 Fix some mistakes in the SSL certificate tweaks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 14:31:13 +00:00
wanghuaz 48b64fc79a Did two things: 1. renmae the rpm spec and source directory to kitcomponent, which is more readable. 2. clean up the tmp and rpmbuild directory in the final kit directry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 12:04:35 +00:00
wanghuaz 2cb196c6bf Fixing two problems: one is buildkit fails on SLES. we need to create several tmp directories before issuing rpmbuild command for rpmbuild command on SLES. second problem is a typo while creating the source packages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 08:59:49 +00:00
asirxing 4ea1e8d0e6 Support #INCLUDE tag in pkglist.cfm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 08:13:08 +00:00
jjhua 8d6ca24d40 fixed bug 3288. when xdsh with -e and -E, the environment file should be copied to the target-node firstly through fork_no_output()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 03:37:00 +00:00
jbjohnso 00710fc339 Correct previous attempt to conditionally populate scriptcontents. Moving the scope inside the conditional obliterated it from outside
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 21:43:27 +00:00
jbjohnso 05796434a8 Have xcatd not print warnings in the event of non-resolvable cirumstance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 21:43:09 +00:00
wanghuaz 445211b036 Enhanced non_native_package support. previously non_native_package don't support external packages, so it doesn't work with incomplete kit build. Now user could specify a hardcode 'EXTERNALPKGS:' in non_native_package attribute. for example, in buildkit.conf, you can write like non_native_pkgs=EXTENRALPKGS:gpfs_base-xxxxxxx.update.ppc64.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 17:09:31 +00:00
jjhua a60b0c597d fixed bug 3291. in Linux, if the precreatemypostscripts is not set or set to 0 in site table, it will get the mypostscript.nodename fistly. If not get it, use getpostscript.awk version2 to generate the mypostscript file named mypostscript.nodename.tmp, then get it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:31:00 +00:00
jjhua 9b7b07a6ee fxied bug 3291 in AIX env. There is not precreatemypostscripts=1 in site table for AIX. So get the mypostscript.nodename.tmp directly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:23:39 +00:00
jjhua 24a5be82a2 fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp and get the mypostscripts.nodename.tmp later insteadf of mypostscripts.nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:20:12 +00:00
jjhua a013a88e0e fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:15:27 +00:00
jjhua fb41dc3b81 I removed one comment which could cause errors in AIX environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 08:42:53 +00:00
leiaibj 9d454c2d1b fix a bug caused by hostname validation rule
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 06:40:33 +00:00
wanghuaz 2a12e49888 Support wildcards in package names in buildkit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 03:34:26 +00:00
xq2005 f4a553d085 debian default run level is 2, add catd to init.d
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 03:10:34 +00:00
jbjohnso 496393222f Fix more instances of namespace for JSON functions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 21:02:09 +00:00
jbjohnso 499cc45999 Fix problem in debian plugin indicated an incorrect url for unattended install file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 20:01:16 +00:00
jbjohnso b94a591227 Fix sles to deal with alt $installroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 18:44:54 +00:00
jbjohnso 9fe02e2e3a Replace $installroot with $install in a couple of URL specifications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 18:29:44 +00:00
wanghuaz 5c077303c7 Fixing a problem in buildkit to allow multiple genimage_postinstall scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:36:29 +00:00
wanghuaz a665a4ebc3 handle multiple postinstall script in linuximage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:27:44 +00:00
wanghuaz 86c315575f Added genimage_postinstall attribute in kitcomponent table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:13:45 +00:00
wanghuaz b9c16c57c6 Added genimage_postinstall attribute in addkitcomp/rmkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:04:46 +00:00
lissav fac10e8032 fix defect 3290
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 11:45:09 +00:00
immarvin 4b2677b87e replace "XCATBYPASS=Y xdsh..." with "InstUtils->xcmd()"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 08:22:01 +00:00
jbjohnso 8fc33eaeea Enhanced inventory collection of ethernet devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 20:00:44 +00:00
daniceexi d0a97ba739 defect 3287:avoid to running gettyset for rh6 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:57:23 +00:00
sjing b3fb23c724 fix for bug 3144 - error message is not explicit for xcat2nim -t group.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:34:01 +00:00
daniceexi fcd6182b3d defect 3287:avoid to running gettyset for sles11 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:11:41 +00:00
leiaibj 3fd2310ec6 1. resolve #3283: a typo issue. 2. drop uselessness method isReservedIP. 3. do not validate IP address whlie creating an unmanaged device. 4. Correct some messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 08:20:19 +00:00
sjing 530adb3db1 fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:46:41 +00:00
sjing bc9575a42e fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:43:25 +00:00
sjing 23bf0b0c9c fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:32:16 +00:00
sjing c04a6f979e fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:27:31 +00:00
sjing 515baf29e7 fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:11:21 +00:00
leiaibj c01a6918f7 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:04:22 +00:00
leiaibj f176866943 If no nodes specified for nodepurge, nodechprofile and noderefresh, then just print help message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:47:34 +00:00
jjhua 485bf6c6b1 use -a as a logical and between two expression; use cron as a Should-start for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:16:47 +00:00
creativezj a7b54d89d5 update error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 01:56:16 +00:00
jbjohnso f740315ef2 Have keyUsage and extendedkeyusage set for user/server certficates as is befitting each role
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 16:40:51 +00:00
jbjohnso 92508cf564 Tweak SSL setup scripts to have a CA more convenient for server and client scripts
Sign server, ca, and client certificate with more unique attributes delineating roles

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 16:40:39 +00:00
ligc 0e92da0f5f for encrypted system password in passwd table, the SHA256 and SHA512 encrypted passwords could be automatically recongnized
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 14:56:44 +00:00
daniceexi 709fc270ae defect 3282: use the /var/run/xcatd.pid to store the main pid of xcat if no pidfile is specified with -p flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 13:12:02 +00:00
jjhua 7a62794c0f make postbootscripts work on sles11 diskfull installation,and allow the admin to specify RUNBOOTSCRIPTS=yes which will trigger the post boot scripts on a reboot of disk full nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:48:09 +00:00
ligc 9aa954458f comment out the hardeths, problematic in several scenarios, hard to debug, MN ip should be configured manually or through DHCP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:22:47 +00:00
daniceexi 8846c95bea make the centos to support dracut
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 06:58:00 +00:00
nott 238d650327 add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-12 20:03:37 +00:00
jbjohnso 133551dd07 Some fixes for WS PUT operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 21:21:05 +00:00
jbjohnso 5ecab2d703 Repair JSON in web service (to_json is not imported to namespace on 'require', could do import, but just doing JSON:: to be clearer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 20:52:46 +00:00
jbjohnso 602015f5c4 Ccheck in forgotten remoteimmsetup.pm from my repository
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 17:54:21 +00:00
nott be68d223df change nics delimiter and add nicaliases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 16:19:23 +00:00
lissav d9cb714aed add info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 13:10:41 +00:00
jjhua 87bb1c28ad correct the syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:44:47 +00:00
jjhua 937a403872 use chkconfig xcatpostinit1 on to make sure xcatpostinit1 could be started when booting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:34:31 +00:00
wanghuaz df090f8a4a For kit component external packages, the external packages names are always changed, for example, there might be different versions. in buildkit.conf, external packages should be set with certain names, and buildkit command should not require certain package names. they could work with basename only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:06:15 +00:00
jjhua 92931c7bb9 fixe bug 3280
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:02:25 +00:00
xq2005 34e2ce1daf create partition file base on the uefi and bios boot mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 09:07:23 +00:00
xq2005 8d6aa83db2 create partition file base on the uefi and bios boot mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 09:05:10 +00:00
nott 500862ae57 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:40:43 +00:00
jbjohnso b5e5c2a84b First pass at automating the behavior of disabling/enabling local admin account.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:30:44 +00:00
jbjohnso 80b9ada6a6 Make use of new WINADJOIN Template directive to simplify number of windows templates moving forward
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:30:20 +00:00
nott f1ac1431d6 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:23:12 +00:00
nott 1acc33adc1 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:04:21 +00:00
jbjohnso c0cd7d0e58 Have Template detect and fill in the entire unattendedjoin object if template requests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 19:50:43 +00:00
jbjohnso cb1d2d58da Fix FSM variant of xCAT-server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 18:53:01 +00:00
bp-sawyers ef544a9133 Fixed xCAT-genesis-scripts rpm to run mknb even if not upgrade, as long as mknb exists
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 18:52:34 +00:00
lissav 18e5d75599 remove unused updatenodeupdatestat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 16:05:38 +00:00
jbjohnso 3c6b79ad43 Remove factor and fix libgcc name in 'old' genesis.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 14:01:56 +00:00
daniceexi c2f4d4440a Change to make the nodeset osimage=<osimage name> command to copy the install/netboot resources to /tftpboot/xcat/osimage/<osimage name>/ instead of /tftpboot/xcat/(netboot)/<os>/<arch>/<profile>/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 13:56:49 +00:00
lissav 61c04b35e1 -l -S options not supported on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 13:18:27 +00:00
lissav aa2e508471 more information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 11:43:54 +00:00
wanghuaz ed0087a969 Fixing two problems: 1. create tmp rpm spec file to different kit repo and kit component basename. Previously the tmp spec file is named with kitcomponent basename. if there are two kitcomponents in two kitrepo with same basename, the tmp rpm spec file will be overwrite. 2. the kitpkgdeps version information should be removed while writing to kit conf and later writing to xCAT DB, since kitpkgdeps is only used while they are being removed, we dont need the version info. So we don't need to keep the version info which make the kitcomponent table quite big and not easy to read.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 08:07:06 +00:00
xq2005 01815332da post part in preseed file on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 06:25:13 +00:00
bp-sawyers 6e014cc6df added xCAT-genesis-scripts to xcat-core build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 22:48:54 +00:00
mellor c0fd4b06ad add buildkit support for non-native pkgs, genimage_postinstall, remove Version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 22:28:39 +00:00
jbjohnso 6373e0d948 Assume Locked user slots for SuperMicro systems as suggested by Michael Robbert on xcat-user list on January 9, 2013
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 21:31:54 +00:00
jbjohnso 1273510cad Have FSM and ZVM variant strip out the remoteimmsetup aspect of xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 21:28:11 +00:00
billwajda 3176fb6a27 check for either ! or : for delimeter in confignics and configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 20:25:08 +00:00
lissav a016b5efbf fix man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 19:30:36 +00:00
billwajda 35755455ce changed check for delimeter in confignics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:55:19 +00:00
billwajda f2499a17f4 changed check for delimeter in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:49:02 +00:00
lissav b52a7f7ee5 add support for non-root user running updatenode -S
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:39:30 +00:00
lissav d8c00c75fe add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:29:41 +00:00
lissav 65f6a2b11f add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:18:56 +00:00
lissav 1c9b9ff780 add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:17:24 +00:00
lissav 87b66d84bf add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 18:15:27 +00:00
billwajda 5d4b6eb549 updated configeth for nic ip alias
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 16:24:11 +00:00
wanghuaz 06df5f5696 Moved kit build source files to buildkit rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:46:43 +00:00
jbjohnso 75a399eaf1 Fix problem where lsslp --flexdiscover was not working
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:37:30 +00:00
wanghuaz d584dd6c12 Move the kit source files to buildkit rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:33:54 +00:00
billwajda c6ad835051 included quotes around NIC related env vars
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:22:31 +00:00
lissav b175154c9c consolidate more code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 12:58:43 +00:00
lissav 8f6be31d21 add sudo interface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 12:37:51 +00:00
lissav 00b6eb9511 add sudo interface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 12:09:38 +00:00
lissav 71729edf06 add sudo insterface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 11:56:18 +00:00
lissav 6cfdf0bc0b add sudo insterface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 11:54:58 +00:00
lissav 32c5e43429 add sudo insterface to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 11:53:26 +00:00
wanghuaz cf124ac1e1 Kit source files for hpc stack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 10:58:51 +00:00
leiaibj 7b75b8b766 update hostname validate rule: only 0-9 a-z and - are valid characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 09:17:27 +00:00
xq2005 40eb1fe5ad build xcat packages on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 07:59:38 +00:00
xq2005 872ee19eea remoteshell on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 07:46:01 +00:00
xq2005 7acde1dad7 xcatconfig on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 05:55:43 +00:00
jbjohnso 054e6540c2 Fix BIOS style template to not use EFI partitioning
Bump EFI boot partition size to recommended for 'new format' drives.
Remove xCAT USER/xCAT from fields that seem no longer applicable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 22:03:10 +00:00
jbjohnso 44224d12e9 Fix mistake in setupimmnic route management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 22:03:01 +00:00
jbjohnso d8797beab0 Modify genimage.cmd to be more trivially configurable at top of script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 20:00:09 +00:00
jbjohnso 452fcb74f8 Fix win2012 deployment issues with productkey and such
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 19:24:10 +00:00
bp-sawyers 4c65281cec fixed pcm embed build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 17:40:34 +00:00
jbjohnso 2a73625a7c Add a utility function for Windows specific functions, for now, just a map for KMS key lookup since 2012/Windows 8 got particular about product keys even for KMS case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14806 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 15:48:38 +00:00
jbjohnso 454405d5ff Flesh out 2012 microsoft template suite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 15:34:44 +00:00
immarvin cb4dda8b3a fix some typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 13:08:33 +00:00
lissav ca17282978 check spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 12:08:11 +00:00
wanghuaz c2634b651b Update gpfs_mmsdrfs to use mmsdrrestore to restore gpfs config file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 11:22:31 +00:00
wanghuaz a56b04331e Fixing a bug while kit works with old osimages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 10:34:38 +00:00
immarvin 95c6c2bc8a fix defect #3182, add return value for package update in "updatenode -S"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 09:14:19 +00:00
immarvin 6c98b466eb fix defect #3240, enable bundling of GetOptions to avoid ambiguity
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 08:30:21 +00:00
daniceexi 75ca53396d add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 06:32:46 +00:00
daniceexi 7da34b6fc2 Make sure the hostname has been set before configure the statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 06:25:22 +00:00
daniceexi e47dc2635d add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 05:31:08 +00:00
leiaibj c74580a8a1 enhance node info parsing mechanism: add more checks before import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 04:47:39 +00:00
ligc 344b3ca89b for including powervm directory under share/xcat/tools, needs to use cp -r to copy the tools directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 02:48:30 +00:00
ligc 42861579b2 checkin for the powervm configuration sample scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 02:08:09 +00:00
jbjohnso dd365bf0a2 Fix xCAT-genesis (current gen) to survive recent UXSPI changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 19:53:48 +00:00
jbjohnso 2103d84119 Have setupimmnic script function more similarly to UXSPI behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 19:50:28 +00:00
jbjohnso db2261cd02 Move IMM support from builder to scripts
Create a fake ifup to fixup IMM network during uxspi execution

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 19:50:18 +00:00
lissav 7adbe1de86 fix defect 2985
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 18:54:00 +00:00
lissav 0118c0e7d5 force new build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 17:57:01 +00:00
lissav 41f2dcfbc1 Do not add xCAT-rmc to instxcat anymore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 17:31:41 +00:00
jbjohnso 209da68d62 Correct makerpm for xCAT-genesis-scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 15:29:09 +00:00
jbjohnso 6b17abdd19 Correct path to awk in genesis-scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 15:26:39 +00:00
jbjohnso 62536efef3 Add vfat for EFI boot partition debug/manipulation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 15:20:21 +00:00
wanghuaz fbcdaec090 add createrepo as a dependency of buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 10:23:14 +00:00
wanghuaz 7a187a3418 Create symlinks if a package belongs to multiple kitrepo.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 10:04:35 +00:00
yinle ed1deb34f2 Fix bug 2654, waring message for "rnetboot -m -r" misses information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 09:11:13 +00:00
immarvin b2a99543f1 add -w|--nonoverwrite option, check whether the specific os media has already been copied in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 08:39:52 +00:00
wanghuaz bb01a14476 Change the postbootscript permission while copying them to deploy dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 08:36:22 +00:00
xq2005 e50efd16db osver support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:52:16 +00:00
xq2005 e1da3e4124 rsyslog support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:35:23 +00:00
xq2005 eb83073e61 dhcp support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:23:55 +00:00
xq2005 890d2b321e ddns support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:22:27 +00:00
amy0701 c89c965bc2 fix defect 3274,update packimg testcase to backup rootimg and rootimg.gz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 06:13:02 +00:00
wanghuaz 91ccada5d3 Fixed a problem that if preinstall/preupgrade/postinstall/postupgrade script is empty, the product rpm will fail during insalling.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 05:57:59 +00:00
wanghuaz 2d5991f5ee Fixed a problem that if preinstall/preupgrade/postinstall/postupgrade script is empty, the product rpm will fail during insalling.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 05:51:54 +00:00
xq2005 8fed4c6d85 tftp-hcp on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:26:25 +00:00
jjhua 7b794954a5 fixed the issue which couldn't generate the correct mirror path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:20:19 +00:00
immarvin ff728f92bf add <-w|--nonoverwrite> option to check whether the os disc has already been copied in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:10:00 +00:00
amy0701 50f71bf28d update testcase for packimg to backup rootimg.gz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 03:00:11 +00:00
zhaoertao b0eefd4e7b fix bug 3273:xcat returns ipmi plugin bug if console opening failed for system x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 08:38:34 +00:00
jjhua bc1e7e26f6 modify some code to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:40:48 +00:00
jjhua 30cd2dae59 to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:36:47 +00:00
jjhua f6dd072207 to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:30:55 +00:00
jjhua d454de2d09 add flag version2, to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:27:22 +00:00
jjhua 6f3eab155b 1. to be compatible with the old diskless rootimg(s) before xCAT 2.8 ; 2 reorginize some code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:23:44 +00:00
xq2005 4e05af3f2b build xcat-genesis on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 03:31:09 +00:00
xq2005 29b77e066a build xcat-genesis on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 03:27:26 +00:00
asirxing 424b8b5378 Fix the regular expression issue for list_all_nodegroups function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 01:48:59 +00:00
jjhua 49060211d9 fixed bug 3272, and reorganize some code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 09:08:40 +00:00
ligc bb20b69a88 add warning message with nodeset <noderange> install/netboot/statelite for RHEL, CentOS, Fedora, SLES and Debian/Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 07:39:45 +00:00
leiaibj 8a8a53f201 setup correct response xml: use array instead of plant string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 07:04:02 +00:00
xq2005 7e76137b2b Ubuntu: makedhcp -n can't create new dhcp.conf file when there is not /etc/dhcp/dhcpd.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 02:50:27 +00:00
xq2005 13202bf4a7 build deb on ubuntu server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 02:47:47 +00:00
jjhua 40ea023dec use single quotes instead of double quotation marks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 02:10:21 +00:00
billwajda 7b761ef342 update configeth to use networks table correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 21:55:30 +00:00
jbjohnso a20a8e2760 Various changes regarding Hyper-V 2012
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 21:03:47 +00:00
lissav bf7ca13515 fix xdsh -e so that it syncs all the service nodes in one xdcp request with the executable file instead of one at a time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14746 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 17:25:19 +00:00
jbjohnso bc9f4c9897 Add Windows 8 Enterprise templates
genimage.cmd failed to correctly place the custom scripts, put extra cd to assure path is as expected

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 14:40:17 +00:00
lissav e64a4c1dbd add more info to postscripts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 13:34:07 +00:00
lissav 0993a4227a add postbootscripts to the man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 12:19:30 +00:00
wanghuaz 3991bcc3e1 Fixing a problem that: for partial kit, buildkit will fail if there is no any product rpms at all and so no deploy dir created, and so kit_config file cannot be created.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 08:05:58 +00:00
ligc a685cb98af remove the statement: for information purpose for nics.nictypes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-04 07:54:45 +00:00
lissav 4a22d96d9a remove old xcat 1 postscripts, defect 3224
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 18:47:08 +00:00
lissav c6eec9badd fix defect 3267
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 14:42:56 +00:00
lissav 97a8e6b7f8 remove leftover debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 13:10:54 +00:00
lissav 8fc57d4dbe add more comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-03 12:30:42 +00:00
linggao ad6cf32fe3 fixed defect 3266
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 22:04:14 +00:00
jbjohnso 99ea38c495 Change all windows templates to use the new #WINTIMEZONE# directive in 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:38:14 +00:00
lissav 2b008fb1fa fix spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:20:08 +00:00
jbjohnso e7a31a057b Have Template support the more elegant TZUtils approach for translation to Windows timezones from POSIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:59 +00:00
jbjohnso 7307a550ef Remove 'e' from regex flags in Template.pm as the replacement does not suggest perl evaluation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:46 +00:00
billwajda ca219aabe1 changed configeth specifically for adding additional ethernet adapters. Added new confignics which invokes configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 19:48:07 +00:00
billwajda 53ab64c819 added nic attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 19:45:36 +00:00
jbjohnso 86102a215b Provide more human readable interpretation of RMCP status messages where possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 18:31:14 +00:00
lissav 7a61af5d1e add support for updatenode -l disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 17:20:51 +00:00
lissav aee9b874b1 add support for updatenode -l disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 17:19:48 +00:00
lissav 2cdd31a312 add support for updatenode -l disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 17:18:02 +00:00
jjhua 132e4cc493 fixed bug 3268, add the templates directory into the xCATsn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-31 05:04:33 +00:00
ligc 38fcd2f3a8 fix for bug 3051: search /install/custom and /opt/xcat for lsdef --osimage against nodes with provmethod=install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-29 08:33:14 +00:00
leiaibj c4fc6a0816 enhance profilednodes.pm so that all kits plugins can be executed in serial
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-28 03:35:07 +00:00
xq2005 61b7a6fc83 support other packages on ubuntu stateless image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 08:55:26 +00:00
yinle 0f7844b187 Modify the man information for lsslp --flexdiscover.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 08:13:02 +00:00
ligc 97df71b507 fix for bug 3200: update psh manpage to emphasize the psh arguments need to precede noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 06:02:07 +00:00
yinle 1646d3bb9d Modify the usage info of lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 06:01:59 +00:00
ligc 1521e5834b fix for bug 3050: -t and -a could not be used together
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 05:50:35 +00:00
yinle 6ac917a748 Give warning when the user is using slpdiscover.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 05:46:07 +00:00
jjhua 47e0989069 when add ospkgs to postscripts, it should update the pkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-26 08:57:24 +00:00
lissav 1ae6ac9267 updates to allow sync of servicendes in one command and not one node at a time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 14:23:27 +00:00
lissav d84b5d2ea4 updates to allow sync of servicendes in one command and not one node at a time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 14:19:53 +00:00
lissav 4533d117e9 Fix incorrect info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 11:48:00 +00:00
leiaibj 2c4a482dff Supporting auto discover for PureFlex X nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 06:39:26 +00:00
leiaibj ae316495af PureFlex x nodes import& discovery supporting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-24 03:49:00 +00:00
yinle b868089ba6 Modify code to support merging slpdiscover to lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 09:15:24 +00:00
zhaoertao 91b582b5ea fix bug 3262:rflash firmware update with --activate concurrent to HMC CEC powerd off CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 09:05:35 +00:00
amy0701 39b4583739 update incorrect word for xcattest
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 08:31:28 +00:00
jjhua fd39b51ce1 fixed bug 3263, we require that the first value of osimage.pkgdir should be the os based pkgdir.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 08:30:39 +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
jjhua 03b2373420 fixed bug 3264 , support the multiple paths for osimage.pkgdir in the sles11 genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:56:14 +00:00
yinle 63400588bc fix bug #2986 getmacs -h missing -o option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:48:03 +00:00
yinle 7c0f8b3208 Fix bug #2987 getmacs -o has some issues.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:40:30 +00:00
jjhua 783a1d100f To support multiple paths for osimage.pkgdir. get the first pkgdir(the base pkgdir), and use it later.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 06:15:02 +00:00
jjhua 698de9076f correct a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 06:04:42 +00:00
ligc 49bfb6589a add the rsyslog into the centos pkglist, rsyslog is required for syslog redirect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 02:51:32 +00:00
yinle e7e552b64a minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-20 08:44:34 +00:00
amy0701 bde4f43d7b add testcase for sles statelite installation ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-20 08:02:06 +00:00
linggao e08109fd0a fixed a problem that xcatd gives warning when sorting nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 16:40:29 +00:00
nott d880ea0483 add search domains to resolv.conf files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 16:25:02 +00:00
jjhua 6fad417a52 support multiple path of ospkgdir in rhels genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 08:56:12 +00:00
jjhua f39a45518e fixed bug 3259, remove the old yum repo before addsiteyum
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 07:51:22 +00:00
jjhua f6317b80b5 if the osimage.pkgdir isn't set, use the default ///
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 06:08:59 +00:00
ligc 6cd038faac fix a problem with lsdef autotest case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 05:41:02 +00:00
jjhua a83217bfe8 support mutiple ospkgdir path in rhels genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 03:19:15 +00:00
xq2005 c384dc8675 delte /etc/sysconfig/dhcpd6 doesn't exist error message on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 02:30:51 +00:00
lissav 68434e9ba2 fix for defect 3249 xdsh -e with relative path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 13:46:05 +00:00
lissav c417e799a7 fix for defect 3249 xdsh -e with relative path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 13:44:51 +00:00
sjing 3f6118dae1 keep the parent_fd before any change, then restore it after the change, since it's a global variable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 08:53:57 +00:00
xq2005 1070630731 only build amd64 packages on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 06:10:34 +00:00
xq2005 601d3851ee build perl-xcat on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 03:28:58 +00:00
daniceexi 6e67b0642a fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 02:58:44 +00:00
daniceexi 0fcfa40bcb fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 02:52:15 +00:00
linggao fecc2a242e remove the debug mode for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 18:58:30 +00:00
xq2005 7735effc04 add ntp to the compute.centos6.pkglist for pcm integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 10:25:01 +00:00
leiaibj 59796b270a Roll back sequential changes as some errors found
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 09:25:37 +00:00
jjhua 4bdcebc647 fixed the Unknown option: nodestatus when updatenode cn -V
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 09:20:57 +00:00
leiaibj e08f3572dc use sequential argument for profiled nodes call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 08:54:38 +00:00
xq2005 68432a65b2 for cross distro rpm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 02:29:53 +00:00
lissav cf0d82b66a fix xdcp -F and xdcp <filelist> where the input files are not fully defined paths
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-16 14:24:20 +00:00
daniceexi 6a41e82ed4 Add remoteimmsetup command to be the allow running in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:54:02 +00:00
daniceexi 395fea4d8c Add authority check to make remoteimmsetup to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:46:03 +00:00
daniceexi a2caca7b04 fix the typo issue to make remoteimmsetup to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:38:58 +00:00
jjhua 5361716349 fixed bug 3248
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 09:35:18 +00:00
jjhua 289d0d36c8 use rpm/dpkg --version , instead of which
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 08:11:20 +00:00
leiaibj 0ba9832d0e validate profiles existing in database and also check hostnameformat while start node discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:59:17 +00:00
amy0701 6acf400ea9 fix testcase tabprune_i_auditlog for result check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:45:15 +00:00
jjhua 59a3beafdb for management node ,the NTYPE is MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:32:45 +00:00
jjhua a4f5515786 fixed bug 3230, support for the mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:14:01 +00:00
amy0701 0f91f3a5a9 add nodeset osimage for linux_full_installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 06:19:39 +00:00
amy0701 462cfe2c7d add nodeset osimage for linux_sles_diskless_installation_ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 06:09:32 +00:00
amy0701 44b69f4e4b add nodeset osimage support for linux_statelite_installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 05:55:28 +00:00
amy0701 f7a82f2c05 add nodeset osimage support for linux_diskless_installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 05:51:31 +00:00
xq2005 3b08c74368 nfsserver attribute is not the required field for nodes on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 05:43:03 +00:00
sjing 9f45ee17b4 plugins executed sequentially.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 04:23:45 +00:00
jjhua 30ca481c38 the '||' with double quotations in the comments doesn't work on AIX, fixed it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 02:57:06 +00:00
linggao 053ffe4795 fixed defect 3159 rcons does not work when nodehm.conserver is set to MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 18:37:40 +00:00
xq2005 ca4853f13f create partition on multipy disks when instal ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 14:06:13 +00:00
lissav dce9fd5bbf fix defect 3241
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 12:38:57 +00:00
ligc 25171e52b8 fix for bug 3239: do not use one socket connection to send two xcat commands to MN/SN, do not use gettab to get the site.tftpdir for performance consideration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 07:21:39 +00:00
xq2005 9c09b4b077 chown for the dns db file on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 06:05:46 +00:00
jjhua 906688785c make the improvment of the performance on xdsh with -e
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 05:27:24 +00:00
leiaibj 28257de1fd 1. update node's status while replace mac address. 2. set blades rack info while import/discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 03:32:16 +00:00
creativezj dd8fc76f6f NGP Power support enhance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 02:00:48 +00:00
lissav ef9d529f87 Remove invalid options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 14:02:26 +00:00
lissav 34f064c024 fix xdcp -l root parsing problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 12:24:06 +00:00
zhaoertao 5af1c7bbb4 update Usage and Manpage for 'rspconfig <node> updateBMC'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:56:04 +00:00
daniceexi 92e781fe74 Fixed the hang issue of reboot/shutdown a nfs-based statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:50:29 +00:00
zhaoertao 5cf269a5b6 the option updateBMC of rspconfig only supported for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:27:32 +00:00
jjhua 419d69050f add the tabdump(networks) to get all the networks info from the networks table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:54:14 +00:00
jjhua fb73b701f6 support the tabdump(TABLENAME) in the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:52:45 +00:00
ligc bef43bc41f update lsdef manpage about lsdef -a not listing auditlog and eventlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:45:31 +00:00
ligc 1f5cbc95ab fix for bug 3234: syntax error in otherpkgs, and move the logger commands, ospkgs, fix a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 05:01:06 +00:00
wanghuaz df94b1812e Fixing a problem during last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 03:36:46 +00:00
ligc f2c2410f3a fix for bug 3235: check ipv6 only for Linux, not AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 02:52:42 +00:00
linggao 56945ff249 modified nodeset usage for osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 21:20:56 +00:00
linggao 3fd2b30450 minor change for nodeset man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 21:16:35 +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
lissav 5680c81ee5 Put error in error buffer for PCM but do not set return code as error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 14:36:43 +00:00
lissav 7aaa8059f0 Allow MsgUtils to accept 0 as a return code on error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 14:34:37 +00:00
lissav 7f9d3ce3cf fix more missmatched error messages causing loss of errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 13:49:24 +00:00
xq2005 eb2438d595 rebuild the rpm db for stateless genimage in cross distro scenario
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 13:42:01 +00:00
ligc 9de743b141 fix for bug 3214: check if IPv6 is enabled on MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 11:11:00 +00:00
wanghuaz e7c5f506fe add dhcpinterfaces in servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 11:09:05 +00:00
leiaibj c3e8949e81 Resolve following issues: 1. return multi errors if there are multi errors for a single node entry while importing. 2. validate the numric part and hosts number. 3. validate whether the specified IP address is in provisioning network while import nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 03:33:46 +00:00
phamt 879fcefcb4 Fixed clone error because of missing plugin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 03:29:58 +00:00
ligc 4b32bc602e fix a typo in my_nets, to not throw away all the remote networks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 02:08:09 +00:00
mellor bba164615f allow same kitcomponent basenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 21:26:39 +00:00
lissav 17de040994 Save list of failed nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 18:45:58 +00:00
lissav b0ce82d061 document device support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 14:29:49 +00:00
lissav 7a69698fc6 Add support for sinv to devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 14:17:45 +00:00
lissav aea8d5c03c fix osimage example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 13:51:30 +00:00
ligc 8d85304cab fix for bug 3393278: rflash -p /tmp/test will not output any error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14601 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 09:13:39 +00:00
ligc 3d32c9999b undo fix for bug 3393278: should fix some where else, external behaviour of nodels <empty_group> is changed and some customer is affected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 08:54:45 +00:00
ligc 02a96668f7 undo fix for bug 3393278: should fix some where else, external behaviour of nodels <empty_group> is changed and some customer is affected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 08:54:25 +00:00
sjing 3359641813 Fixed the issue - 'Can't locate object method "get_site_attribute" via package "xCAT::Utils" at /opt/xcat/lib/perl/xCAT_plugin/aixinstall.pm line 5711
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 07:48:05 +00:00
lissav c25f7635c7 add examples of running against an image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-09 11:44:39 +00:00
lissav 7725453641 fix error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-08 11:56:05 +00:00
jbjohnso 2a0f568135 Fix problems with new packaging of genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 19:22:16 +00:00
jbjohnso 871b2cd25d Update build script for gensis packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 18:30:18 +00:00
jbjohnso aefceb6eb5 Add ondemand governor, useful for performance validation tasks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 16:25:59 +00:00
jbjohnso 6d8b0c8186 Fix the way scripts/base obseletes the unified package so that it will only happen on xcat-core update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 16:25:46 +00:00
nott b3ee36c58a fix nics processing for na alias
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 16:18:23 +00:00
jbjohnso c0ad20c3cf Further tweak the genesis repackaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 15:59:50 +00:00
jbjohnso dde7db8565 Add tree for teh overlay package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 15:59:34 +00:00
lissav 16b2c9a45e document format hosts.hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 14:16:40 +00:00
lissav c3381461da add updatestatus for updatenode -S on AIX nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 13:15:32 +00:00
zhaoertao 64ca73178c add a option 'updateBMC' for rspconfig to update BMC password
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 10:21:29 +00:00
jjhua 2aa0bc13dd fixed bug 3223, create more yum repo for rhels6/rhels5 x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 08:32:03 +00:00
zhaoertao 0aa181cd46 reventlog supporting Firebird through CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 06:52:32 +00:00
linggao 3413ba4568 added switches.protocol for running xdsh for swithes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 21:11:29 +00:00
lissav 7a2b7f65d5 fix defect 3219
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 19:37:17 +00:00
linggao 5717142c87 put yum upgrade back to fix defect 3215, however, this will break Mellanox drivers because Melanox repaces some of the os rpms with its own.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 19:35:40 +00:00
jbjohnso 1735e36913 Update genesis builder to use new scheme
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 14:42:05 +00:00
jbjohnso a7fd482b38 Remove some of the xCAT specific chunks from xCAT-genesis-base
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 14:41:46 +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
ligc ad3b48cae4 fix for bug 3221: check if the attributes specified with -i are valid attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 13:30:55 +00:00
lissav 8605eddf2a error processing will be done in xdsh, code not needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 12:35:11 +00:00
zhaoertao 3aa724b5a4 fix bug 3218: Support 'rbeacon' for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 08:54:43 +00:00
zhaoertao 8688e63f33 fix bug 3194: power usage NOSUCHINSTANCE in 'rvitals cn all' firebird plus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 06:09:26 +00:00
zhaoertao 7c754c200e fix bug 3185: rvitals NODE lcds has no output on rhels6.2 and NGP Flex blades
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 05:33:37 +00:00
linggao 933b5e0983 added explicit tag in switches.sshusername to indicate that the username is for telnet. This will improve the performance for xdsh to switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 20:39:43 +00:00
lissav db34a2548f Check for already installed error on updatenode -S
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 15:42:51 +00:00
lissav ee02e417d9 have --nodestatus return status if node unreachable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 14:00:48 +00:00
lissav 7cd7ebb719 fix parsing of the args
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 12:54:57 +00:00
xq2005 e43867b487 build xcat-genesis on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 11:13:52 +00:00
jjhua edb83f4262 some minor changes about the the and syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:29:48 +00:00
jjhua 8c01f8c93f some minor changes about the the and syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:25:49 +00:00
ligc cb834a2ab4 add a new flag -t to makeconservercf to specify additional trusted hosts with conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:19:08 +00:00
immarvin 9e4fd9ef38 set all the plugin procress and its children in a seperate process group;send SIGTERM to the process group to effectively abort command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 03:04:13 +00:00
daniceexi da2a14fa69 fixed the issue that tftp could not be started on sles10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 02:58:48 +00:00
bp-sawyers 4ae17a6571 added to tabprune -V description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 22:40:42 +00:00
lissav 320eea1c75 new logic to get xcataixpost to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 20:40:11 +00:00
lissav 68d1067b9c new logic to get xcataixpost to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 20:38:37 +00:00
nott f0a4765953 fix root password and mksysb bugs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 19:01:56 +00:00
jbjohnso 2ae9261bbb Prepare to provide alternate build semantics to split things like bmcsetup and things lifted straight from EL 6 base
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 18:57:37 +00:00
lissav b2abeb5b70 Take out comment nodehm.conserver is used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 18:18:31 +00:00
jbjohnso f4373ce762 Have remoteimmsetup cope with the concept of distinct web/cli password versus ipmi password
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:58:41 +00:00
lissav e17dacbc2b Update with Verbose mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:32:56 +00:00
jbjohnso f18bfe62e7 Recall the 'CLI' user/pass in order to facilitate case where cli and ipmi passwords mismatch (not recommended, but might as well implement it)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:31:23 +00:00
immarvin 6aab6faf02 make copycds to abort correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 13:25:52 +00:00
immarvin 70257d7acd while "CTRL+C" trying to kill the plugin process,SIGINT is blocked, use SIGTERM instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 13:22:38 +00:00
daniceexi 2a88fc4d1d defect 3212: add pkgs parted,e2fsprogs,bc for localdisk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 09:56:30 +00:00
daniceexi e869f87935 defect 3213: sync the fix that moving pid location from /tmp/xcat to /var/run/xcat to xCATsn.spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 09:22:48 +00:00
ligc a920f9f5bb remove yaboot-xcat dependency from xCAT.spec and xCATsn.spec, Xu Qing already did this for Ubuntu and Debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 08:14:20 +00:00
daniceexi 3b2674aad7 defect 3209: caused by a typo that failed to kill of a sub process, then xcatclient failed to exit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 07:25:57 +00:00
xq2005 10804f4c3b ib config script move to xCAT-server/share/xcat/devicetype/IBSwitch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 07:22:34 +00:00
ligc 426c34f342 fix for bug 3208: exclude eventlog and auditlog with lsdef -a, performance improvements for lsdef -t eventlog and lsdef -t auditlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 05:52:20 +00:00
ligc d4ba1a7dd8 performance improvements for lsdef -l -t auditlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 02:42:37 +00:00
mellor febfd554ef defect 3198 - fix typo in buildkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 20:47:14 +00:00
nott 06d2048be2 add domain and nics table support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 20:23:33 +00:00
lissav d3a4f4df5b Remove updatestatus from xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 18:53:59 +00:00
lissav a951d6b551 remove sending updatestatus to daemon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 18:47:25 +00:00
lissav 7283f3f9bc remove xcatdsklspost.aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:48:06 +00:00
lissav 46fc376c2f remove call to xcatdsklspost.new
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:45:30 +00:00
lissav ebdb9c140f remove call to xcatdsklspost.new
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:44:13 +00:00
lissav cf5d31d33f remove copy of xcatdsklspost.aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:41:53 +00:00
lissav 02c8edb602 litefile table must require both keys image and file, keys cannot be null
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:35:42 +00:00
daniceexi 7805ca64fc defect 3196: add the parted as the default installing pkg for rh6 ppc to support the localdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 09:05:24 +00:00
daniceexi 7ebf999353 The script to perform the partition of local disk for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 08:53:18 +00:00
daniceexi 13f418ce4b this file has incorrect permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 08:50:57 +00:00
leiaibj 6bde1ca343 Set proper chaintable, should use runcmd=osimage instead of set osimage directly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 06:34:11 +00:00
yinle 0e732ddc99 Remove the checking of yaboot-xcat to support removing yaboot-xcat rpm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 06:25:21 +00:00
xq2005 d4ca869287 delete yaboot dependecy on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 05:59:21 +00:00
ligc 154603406a use xCAT::ServiceNodeUtils->get_ServiceNode to determine the node's SN as gateway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 03:04:04 +00:00
lissav a646e632e4 updatenoderunps performs one set of logic for both AIX and Linx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 12:54:31 +00:00
lissav aa0a705846 use xcatdsklspost for both AIX and Linux nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 12:24:34 +00:00
lissav fbadf54c32 support running xcataixpost if on a Linux node, note this assume that the caller has xdcp xcataixpost to tmp on the node, before calling. See updatenode.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 12:20:36 +00:00
lissav db652b82d4 changed the copy to an rsync, save a couple of secs, not as much as I hoped.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 11:48:51 +00:00
phamt 13e6fc1d17 Fixed bug in chhypervisor --resetsmapi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 18:33:33 +00:00
lissav 848372a367 convert call to xdsh to runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 13:18:13 +00:00
lissav 508ef7a226 cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 12:36:59 +00:00
xq2005 430a437217 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:13:37 +00:00
xq2005 715a5251b6 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:13:04 +00:00
xq2005 881d61a68a defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:11:34 +00:00
xq2005 1de4c70cec defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:10:48 +00:00
xq2005 40d3e8e130 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:10:07 +00:00
xq2005 b52d6704c7 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:09:29 +00:00
xq2005 696ba151a5 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:08:47 +00:00
xq2005 d60b6b955a defined(%hash) and defined(@array) are deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:06:20 +00:00
xq2005 da5ab569e6 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:05:22 +00:00
xq2005 33f1f5e80d defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:03:30 +00:00
xq2005 7d20dade12 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:02:22 +00:00
xq2005 f1333718f9 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:00:29 +00:00
xq2005 c82f125bf3 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:58:36 +00:00
xq2005 3a3b2c07fc defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:56:56 +00:00
xq2005 27a31e9031 Using an array as a reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:22:56 +00:00
asirxing cd365417f4 Update the initial CFM directory structure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 07:14:06 +00:00
jbjohnso 5c5ebf2c42 Have bmcconfig.pm implement remoteimmsetup command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 22:01:42 +00:00
jbjohnso bb9fb8c54b In case caller does not specify 'curraddr', fall back to ssh to the actual ip (e.g. remoteimmsetup case)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:55:41 +00:00
linggao 31551bab47 added Juniper switch support in xdsh and added trace support for xdsh switch management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:52:15 +00:00
jbjohnso 851f0123cd Refactor setupIMM from slpdiscover.pm to IMMUtils.pm in preparation for common code usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:42:30 +00:00
phamt da8c8acee0 Fixed bug in getmacs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:20:23 +00:00
jbjohnso cc2148cedd Change argument name in preparation for refactor of setupIMM for common use between slpdiscover and remoteimmsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:54:12 +00:00
jbjohnso 160c635296 Change slpdiscover to use the common IPMI credential lookup scheme, theoretically allow for differing IPMI/CLI passwords, but we won't recommend that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:30:33 +00:00
jbjohnso 3df2492e9d Have getbmcconfig use the refactored password retrieval function, get ready for remoteimmsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:30:22 +00:00
lissav bbda4fdff2 Remove all bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 18:56:41 +00:00
lissav d5e7813365 add restartxcatd SF defect 3203
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 17:27:56 +00:00
lissav c756bf2cf3 add restartxcatd SF defect 3203
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 17:06:25 +00:00
jbjohnso 1fdad5c12f Fix problems with new PasswordUtils, move ipmi.pm to using the refactored code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 16:24:03 +00:00
xq2005 143e0f3304 ubuntu does not ship SHA1.pm any more, all functions are contained in SHA.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 09:06:48 +00:00
jjhua fa0d361403 remove the msg and export action, when the attribute could not be got from the table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 08:07:02 +00:00
wanghuaz c7e0ccca47 Fixing bug 3180, use append instead of overwrite to update gpfsprofile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 07:54:12 +00:00
wanghuaz ef0d8c786a make kit work with old osimage which doesnt contains osdistro attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 07:17:15 +00:00
xq2005 fb0ad21c3f /var/run is a symlink on /run and that's just a tmpfs, create this directory when xcatd starting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 06:35:36 +00:00
wanghuaz 9c9388f263 Add an enhancement of rmkit that prevent removing a kit if its isinternal attribute is set to 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 06:24:17 +00:00
sjing 6527f298bb handle $reply=undef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 05:59:36 +00:00
daniceexi 85943215cb defect 3186: check the existence of vncviewer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 03:06:13 +00:00
daniceexi d2fae3ae5f defect 3131: fix the msg of dracut version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 02:55:35 +00:00
xq2005 1e899c10eb specify partition files for redhat 6 on ppc64, bug 3187
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 02:40:15 +00:00
jbjohnso 3e5e27bc71 First pass at refactoring and revising get ipmi password scheme, not even checked for syntax correctness yet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 22:11:09 +00:00
lissav a7d72e8c56 remove MN info on nodetype.nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 18:46:31 +00:00
linggao c29f5fd619 increase the timeout value in RShellApi.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 16:32:36 +00:00
phamt ab50bc3bf1 Fixed bug in add node and allow z/VM hosts to be added.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 16:19:27 +00:00
lissav f84d237c33 More message cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 11:38:15 +00:00
daniceexi 5158a5fe95 Added code to handle the case that driver name is .ko.new instead of .ko. Copy the drivers to /lib/modules/kernel/initrd/ instead of /lib/modules/kernle/kernle/... for sles during injecting the drivers to initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 09:02:39 +00:00
daniceexi 92ef245abe Fixed the issue that genimage could not handle the driver name is .ko.new instead of .ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:59:49 +00:00
daniceexi 683814468c defect 3192: fix the issue the could handle the lzma format of initrd during injecting the drivers to initrd. And added the fix that the driver name is .ko.new instead of .ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:59:02 +00:00
wanghuaz 9fb1b27a0a Fixing a problem that postbootscript cannot be written if there are multiple kit components
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:34:38 +00:00
zhaoertao 0268c0c6a1 modifying 'rscan -u' to append the 'groups' attribute rather than overwrite it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:12:19 +00:00
immarvin 71f63bf1dc add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 06:29:39 +00:00
leiaibj e160deefd5 use proper messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 05:39:09 +00:00
xq2005 cdd0af2092 the dns configure file on ubuntu /etc/bind/named.conf owner group should be bind
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 03:23:12 +00:00
bp-sawyers 94e0a7e615 Added the requires for perl-IO-Stty back in for ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 22:27:29 +00:00
phamt 951555b816 Fixed rscan bug where node = parent.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 21:20:22 +00:00
lissav ec2c277557 take out of --nodestatus on the AIX path for now, syntax wrong anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 21:00:43 +00:00
jbjohnso d4e21f1ea1 Try to tolerate some api changes in IBM IMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 19:22:31 +00:00
lissav 2d4849286a document new settings for auditskipcmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 17:11:30 +00:00
lissav 21202e8773 put in support to auditskipcmds for clienttype:value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 17:01:49 +00:00
immarvin 1f227a54fb remove local repo template in rmosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 12:43:39 +00:00
immarvin 2e74d3b4d6 1.import PGP-KEY after copycds;2.add support to remove local repo template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 12:32:32 +00:00
jjhua 90e0e80aa2 correct the osimage_postboot, instead of osimage_post
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:52 +00:00
jjhua 4d3edda0cd fix a minor bug for osimgname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:12 +00:00
jjhua 981e545f62 if the nodehm.xcatmaster is not set, there is a problem. fixed it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 06:21:36 +00:00
immarvin f2555cf60d import pubkey in os distro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 02:47:04 +00:00
jbjohnso 7c68270a80 Attempt to gracefully accomodate ipv6 and ssl http..
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 21:22:40 +00:00
phamt 572740c733 Added missing option for disk pool in chhypervisor.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 17:55:47 +00:00
phamt 800e3359dd Added zVM specific options to chhypervisor man page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 17:53:30 +00:00
phamt 399e1ad504 Added zVM specific options to chhypervisor man page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 17:09:40 +00:00
phamt 035353b17d Fixed webportal bug where dasd list entry only contains 1 device. Renamed chhypervisor --smapi to --smcli.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 16:41:31 +00:00
lissav fbac04966b Give more information on the error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 12:39:30 +00:00
sjing 92a8d070c2 use ip instead of hostname to new the resolver.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 08:12:39 +00:00
immarvin 6b8379c8ba add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:44:49 +00:00
immarvin 94852cba8f add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:44:00 +00:00
immarvin db0d43950a add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:38:52 +00:00
immarvin 57ffc27ca1 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:34:56 +00:00
immarvin df8450cf20 add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 04:12:58 +00:00
immarvin f79c088a43 add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 03:05:26 +00:00
immarvin db92550be0 add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 02:49:41 +00:00
immarvin 43556aca1e add proper return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-25 02:33:54 +00:00
zhaoertao 73d2274527 add LCD info with 'rvitals <node> all'for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 10:40:39 +00:00
xq2005 ff7e287856 run postscripts when starting on a ubuntu stateless machine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 09:04:44 +00:00
xq2005 d42c19677a start xcatd at start time on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14414 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 08:43:48 +00:00
leiaibj d31778304b Get correct provmethod for profiled nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 08:33:05 +00:00
jjhua 85daf29a34 pass the tftpdir to xcatdsklspost, xcataixpost in updatenode.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:27:06 +00:00
jjhua 496c73b65c pass the tftpdir to the xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:14:09 +00:00
jjhua b0071ccdeb for aix installation, use socket to get the tftpdir; for updatenode, pass the tftpdir to the xcataixpost script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:11:52 +00:00
immarvin ae61c1e21a add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 03:23:14 +00:00
immarvin 30a0c68c52 roll back to the previous version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:53:53 +00:00
immarvin f6c5b7be4c add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:34:18 +00:00
immarvin b8aed9fca1 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:31:37 +00:00
immarvin c039830f4d add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:29:54 +00:00
immarvin a274bab678 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14404 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 02:26:43 +00:00
xq2005 8d3407e137 change the link /bin/sh to /bin/bash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 09:40:16 +00:00
immarvin d88759f805 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14402 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:58:21 +00:00
immarvin 53e843bed1 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:49:27 +00:00
jjhua d627649d7c According to wu xian's request, remove the osdistroupdate code from xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:35:27 +00:00
immarvin f351780cf9 add return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:33:32 +00:00
jjhua ecca0ef7de According to wu xian's request, remove the osdistroupdate code from xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:33:29 +00:00
jjhua c72e01429a for linux diskless, make getpostscript.awk use the template method, instad of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:01:30 +00:00
immarvin 8974b775a6 add postscript return value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 07:59:03 +00:00
jjhua 5238c71638 for linux, make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 07:18:38 +00:00
jjhua 52d7012432 make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 03:04:34 +00:00
jjhua 4d22bb9970 make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 02:57:22 +00:00
willn256 e73bbc20a0 Add new cmdmapping attribute to nodehm table for PCM HW management project.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 22:22:20 +00:00
jbjohnso 847634175d Break slpdiscover activity into pieces to increase odds of success of each pass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:08 +00:00
jbjohnso a01c99a24f Fix slpdiscover error output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:03 +00:00
jbjohnso d4acaaa8eb Distinguish between hyper v and normal edition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:52:27 +00:00
jbjohnso ae93fe56ce Distingush between 2012 and 8 versions of windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:38:07 +00:00
jbjohnso 3174f6a8eb Add recognition of windows 8 media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 16:56:37 +00:00
jbjohnso f644ad6ffd Fix problem where mktoolscenter presumes a filename scheme that is not likely to be found in the wild anymore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 16:50:25 +00:00
jjhua bbfe4f1132 If the timezone includes a space, the chtab command below will not work. fix it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 08:52:09 +00:00
xq2005 f404ee4806 install gawk into compute.pkglist for ubuntu stateless install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 08:47:17 +00:00
yinle b820ab2365 Modify yaboot.pm to support removing xcat-yaboot from xcat-dep.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 07:37:23 +00:00
wanghuaz 0d3fb931a0 Fixing two problems: 1. introduced while intergrating with buildkit command that only one kitrepo and one kitcomponent in a kit can be added into xCAT. 2. If user renamed the kit tarball filename, addkit canot read kit.conf inside it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 07:17:48 +00:00
immarvin cd7d5a50c6 add centos5.8 discinfo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 03:08:59 +00:00
mellor 18dc0460ef addkit - add check for tarfile with missing product rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 21:17:30 +00:00
mellor 2d46ee327a buildkit addpkgs - rewrite kit.conf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 21:14:48 +00:00
mellor 3ae78546d7 buildkit - add external pkg support, add buildrepo all
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 20:48:32 +00:00
jbjohnso 3918845c64 Fix problem where 'delEntries' failed to invalidate cached data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 14:51:29 +00:00
jbjohnso 90930636d6 Fix problem where a Table object with alternate autocommit setting would not have cache expired by peer activity.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 14:45:16 +00:00
amy0701 24e18df3f8 update testcase for copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 08:30:26 +00:00
immarvin 1531b1e34f remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 07:02:01 +00:00
linggao 6527fc3a9f modified the discription for switches table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 21:42:14 +00:00
jbjohnso 7999324921 Add a genimae variant for ADK
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 19:39:44 +00:00
phamt e135676f12 Changed default template to use M-disk space as swap instead of V-disk space.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 14:41:50 +00:00
linggao 5eb6a1bb06 added more EthSwitch support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 13:47:34 +00:00
leiaibj b61ff28739 Create FQDN verify while createing a unmanaged node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 09:03:03 +00:00
leiaibj 5ed353a3ae Resolve 2 issues: 1- restrict numric part length in hostname format; 2- resolve db not update timely after calling nodeaddunmgd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 08:56:16 +00:00
linggao ab3a2ea0bb updated xdsh man page to include Ethernet switch support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 19:32:50 +00:00
linggao d3a3b4d526 more on xdsh to ethernet switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 17:21:35 +00:00
bp-sawyers 8d9f8e6608 Improved (hopefully) the descriptions of the attributes in the chain table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 16:16:39 +00:00
lissav 34b60efb70 have -F -S -P working together for status update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 16:12:23 +00:00
lissav 38986bcfb9 remove extra error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 16:10:27 +00:00
lissav 182597b92b got updatestatus for -P -F working for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:45:01 +00:00
daniceexi b42b63afbe add bc rpm package which will be used for local disk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:12:10 +00:00
daniceexi 961797b266 add parted which will be used for local disk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:11:40 +00:00
daniceexi a67a6bb1bf The script to perform the partition of local disk for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:08:55 +00:00
daniceexi 7538f98837 Add the plugin to handle the getpartition command comes from node to get the partition configuration file from linuximage.partitioinfile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:06:38 +00:00
daniceexi 427b66827f Code drop for local hard disk to be used as persistent storage for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:02:36 +00:00
lissav 879802ef9f continue to restructure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 13:25:07 +00:00
lissav dfe5a2783e add comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 13:07:17 +00:00
xq2005 d878167089 diskless support on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 08:25:48 +00:00
phamt 7d3aa32f85 Added chhypervisor --smapi option for z/VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 19:59:56 +00:00
lissav bf9929222a Move updatestatus to the last processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 18:25:01 +00:00
lissav d79be881fe change to out-of-sync for status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 17:50:06 +00:00
phamt ec777fb90b Fixed action bar sizing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14339 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 16:46:28 +00:00
lissav 257315a3b3 Decribe valid states for nodelist table nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 15:18:20 +00:00
xq2005 cdddc737a0 delete the old dump file before creating the dump file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 08:51:36 +00:00
xq2005 53012f4e45 support kdump on sles10 on system p
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-15 06:02:28 +00:00
lissav 1ae545f081 begin restructure for updatestatus support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 18:29:37 +00:00
lissav d3c2e691d3 expand description of servicenode dhcpinterfaces attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 17:19:31 +00:00
xq2005 a64246b7fe support kdump for sles10 on blacktip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 17:04:40 +00:00
lissav 49b3d71174 add logic so --nodestatus will work in streaming mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 16:02:18 +00:00
mellor 796a2f6127 fixed minor formatting issues in buildkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 14:25:08 +00:00
mellor a56a0c2dc2 extract buildkit html man page for wiki
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 14:10:15 +00:00
lissav 553d8a203b fix defect 3175
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 13:26:27 +00:00
mellor bee533b394 buildkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 13:17:34 +00:00
mellor b2100e8d7f fix buildkit usage msgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 12:45:44 +00:00
immarvin 88a57dffe5 move the mount point of copycds to /var/run/xcat/mountpoint
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 07:23:16 +00:00
immarvin c85d0aab95 lazy umount of loop device is problematic,the loop device will not released
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-14 03:40:31 +00:00
linggao 92414fbcd1 added support for xdsh to ethernet switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 22:03:57 +00:00
mellor 5855408946 change desc attr name to description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 15:29:19 +00:00
lissav b92b1fd1ed fix defect 3173
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 13:54:22 +00:00
wanghuaz 682165fb22 Removed rsct.lapi in trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 13:43:00 +00:00
wanghuaz caf8e249b6 Change desc to description according to latest Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 07:02:17 +00:00
immarvin bcacb6fb49 #3170 sles10.4: copycds need -n sles10.4 to set the os level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 06:34:53 +00:00
jwsimpson 0ca023a373 update to fix run boot script problem. added chkconfig xcatpostinit1 off and other minor corrections.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 20:38:52 +00:00
lissav 9e8ebc7797 Version 0.22 of the schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14310 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 20:04:28 +00:00
lissav b9ecc5e975 fix defect 3167
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 17:44:24 +00:00
ligc 588a72d358 fix for bug 3168: safeguard code in NetworkUtils::ishostinsubnet, for 127.0.0.1 subnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 14:48:48 +00:00
bp-sawyers ccf2ac78b5 Fixed build problem on aix with xCAT and xCATsn spec files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 13:05:01 +00:00
zhaoertao 68cbee47bc hwctrldispatch is only used for IBM Flex System right now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 07:39:14 +00:00
xq2005 73e4ed9236 perl-xcat install on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 07:25:41 +00:00
immarvin ce581e6767 corrected some syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 02:16:08 +00:00
lissav 42e7811d54 Fix runxcmd, if refoutput=2 ( noparsing of the returned data, will not display output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-10 12:06:39 +00:00
lissav 92969c95e6 small fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-10 11:43:23 +00:00
bp-sawyers c46b710933 Added fsm special build to buildcore.sh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 14:42:42 +00:00
xq2005 63747071a1 support kdump on sles10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 10:13:20 +00:00
wanghuaz e63bfd6c46 Fixing bug 3160, matching the kit.conf that created by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 09:26:15 +00:00
zhaoertao 9ab8ee6cb6 rename dfmdispatch to hwctrldispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 06:08:41 +00:00
daniceexi 44a612cc5a Changed to suppot multiple disks for a vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 05:56:25 +00:00
wanghuaz cc4a3092bf Added addkit --inspection flag to give the general kit info before adding kits to xcat. also fixing a bug with kit plugin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 04:31:08 +00:00
xq2005 995435b8b7 insserv with -f option to ignore the dependency on sles10.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:45:35 +00:00
immarvin ff5097dff4 #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:43:18 +00:00
zhaoertao bf31543b8f add attribute 'dfmdispatch' for site table to enable or disable the DFM hdwr_ctrl dispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:32:39 +00:00
immarvin f96c2c7d07 correct the logic to fix defect #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 02:31:41 +00:00
bp-sawyers 9016681347 Add subset build of xcat for pcm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 21:47:50 +00:00
lissav f730076d0f change to system call to service postgresql start, to work around known problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 14:47:15 +00:00
wanghuaz 9ef811a565 Issue trustchk command to ensure /etc/security/privcmds has the correct permissions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 09:21:10 +00:00
immarvin 54fea32eb0 fixed defect #3130 installnic=mac does not work for rh5 ppc64 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 08:35:01 +00:00
immarvin 6842acc9a8 add -o|--noosimage option to avoid creating osimages after copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 07:02:56 +00:00
immarvin 2311314a80 add centos6.3 x86
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 06:06:18 +00:00
zhaoertao 0ac2d31975 fix bug 3164:"rinv <cec> deconfig" can not print out the deconfig resources
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 02:22:54 +00:00
ligc 7469e7dc83 fix two perl syntax errors in nodestat.pm: Use of uninitialized value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 02:19:31 +00:00
nott d70c8c2cc5 fix NIM if1 parsing and chk_resolv_conf (3162 & 3163)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 18:34:31 +00:00
lissav c14595c736 remove osdistroupdates from defspec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 17:58:38 +00:00
lissav 26db54f025 remove osdistro attribute from the osimage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 17:51:29 +00:00
mellor ca2e4cc71e buildkit - need to build tar.bz2 instead of tar.gz file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 15:48:14 +00:00
leiaibj fa48a097c3 correct typo issue: s/racl/rack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 07:29:45 +00:00
wanghuaz 3b4096e196 Remove openshmem on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-07 06:15:36 +00:00
phamt 49e42d639f Fixed sizing issue for action bar on Google Chrome.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 22:13:07 +00:00
phamt 4916e1ad31 Fixed sizing issue for action bar on Google Chrome. Fixed zFCP table for when no pool exists.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 20:52:55 +00:00
wanghuaz 2fbc90a64e pe 1.2.0.0 packages on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 13:37:45 +00:00
daniceexi edeac5de74 added displaying of host which vm belongs to; added change for rmigrate; fixed issue of cpu configure during mkvm/chvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 08:51:40 +00:00
immarvin 09eff12ed4 copycds enhancement for windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-06 03:20:33 +00:00
mellor e1dead42b1 fix lskmodules sending back empty xcatresponse structures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 18:54:38 +00:00
leiaibj 39ea0f5a16 1. do not call kitnodeupdate, 2. enhance calling runxcmd syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 15:00:12 +00:00
lissav d608be3d11 fix processing when MN in database and has multiple groups defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:48:21 +00:00
jbjohnso 5f050f6a49 Instead of randomizing each retry, just randomize the first to get things spread out then do the triangular progression timeout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:36:04 +00:00
immarvin 400aec04d5 correct the usage of rmosdistro to " rmosdistro [-a|--all] [-f|--force] osdistroname [osdistroname2 ...] "
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 09:32:54 +00:00
xq2005 cf9050c8b3 fix partition script error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 08:29:42 +00:00
leiaibj 886bb5145f correct syntax error while calling validate_ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 03:22:16 +00:00
ligc ce737cfcda fix a syntax error in xCAT::NetworkUtils->getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 02:53:51 +00:00
daniceexi 1a20990699 fixed the approach to search objects in getrvidparms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 02:37:53 +00:00
jbjohnso 7b2b6d9d2c Apply another algorithm to avoid sequence number reuse as much as possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:38 +00:00
jbjohnso 83ea798bcd Fix problem where nodestat with hosts table lookup fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:32 +00:00
jbjohnso 6464143589 Have IPMI.pm explicitly not expect cmd netfn after receiveng cmd/netfn response
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:25 +00:00
bp-sawyers 5a68f84799 Fix rmkit man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 16:23:14 +00:00
bp-sawyers afcce5d64e Fix build problem in xCAT-buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:19:47 +00:00
nott 21c5691293 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:13:05 +00:00
nott ad5b01ef41 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:08:07 +00:00
nott 2507fafbb4 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14229 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 14:01:38 +00:00
nott e352c14b74 changes for multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:57:28 +00:00
nott 915492b44a remove msgs from getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:48:48 +00:00
jbjohnso 49b78de893 Improve reliability of duplicate response detection phase 1, also check netfn and command match
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:37:46 +00:00
phamt 026ac2d081 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-11-02 12:08:10 +00:00
lissav 8c45b9ff00 fix mpa username comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 10:27:17 +00:00
zhaoertao 0a7af4ef7e update manpage for getmacs -i ethN|enN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 09:26:12 +00:00
leiaibj 78b3536bcb one minor bug for validate height for nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 07:41:25 +00:00
jjhua 05f66ec8fc pre-create mypostscript enhancement: remove the old mypostscript. if site.precreatemypostscripts=0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 07:03:44 +00:00
jjhua 300de0daf0 pre-create mypostscript enhancement: move mkdir out of the nodes loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 06:55:05 +00:00
ligc 9461e9194e fix the wrong package name xCAT-build, it should be xCAT-buildkit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 02:29:13 +00:00
jbjohnso 4af24a8d75 Output the FRU number of fru devices when available
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 01:09:40 +00:00
jbjohnso 54c7d16808 Actually put out the adapter WWN and MAC addresses with Flex ITE nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 01:04:41 +00:00
jbjohnso c03a8be539 Support WWN and Macs of Flex ITE nodes in rinv, haven't *quite* gotten the mezz adapters outputting yet, but they are being retrieved
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 00:33:39 +00:00
phamt 7496b1af81 Fixed sizing problem on graphic tab and character limit in RH parm file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 22:02:55 +00:00
linggao dc6c986f4b added postscript setuppostbootscripts to support value change for site.runbootscripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 21:04:26 +00:00
jbjohnso 8b1fdb33a0 Add sfc driver to genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 20:07:50 +00:00
jbjohnso 5f65a3f1d2 Carefully trim off extra mac address cruft to mitigate some failures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 19:21:13 +00:00
jbjohnso 563ed5a92a Change cache versioning strategy, track the oem byte from fru locator records
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 18:13:28 +00:00
mellor 6cdb1cfdec xCAT-buildkit - remove file checked in by mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 17:24:37 +00:00
mellor d24431934e initial checkin of xCAT-buildkit rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 17:22:53 +00:00
jbjohnso f21e2939e0 Add mstflint for IB servicing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 13:22:44 +00:00
lissav 199416eb0a remove internal callback funciton sub updatenode_cb, will use --nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 12:54:08 +00:00
lissav 90be98a1b7 put back code to fix up failed/success nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 12:38:30 +00:00
xq2005 6db9298ba3 dns service name in ubuntu is bind9
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 09:20:31 +00:00
leiaibj 66dab45eba enable -v -h for profiled nodes related commands, and also, create man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 09:19:19 +00:00
immarvin f19883d909 Rewrite TableUtils->setUpdateStatus no Where clause , use setNodesAttribs instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 08:43:14 +00:00
immarvin 0a7fbc43cd fix defect #3152 copycds support on RHELS5.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:55:23 +00:00
xq2005 fc2ee64682 fix xcat install error message on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:52:32 +00:00
jjhua b16326fdbc pre-create mypostscript enhancement:remove the functions which are not used. add some error messages, if the attribute is not defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:06:57 +00:00
phamt d5e14d1c64 Fix display problem for images table and disable edit for 1st and 2nd columns of images table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 03:13:49 +00:00
jjhua d3d34e7957 pre-create mypostscript enhancement: store the servicenode info in the %::GLOBAL_SN_HASH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:59:40 +00:00
jjhua 777729759d pre-create mypostscript enhancement: use the global variable %::GLOBAL_SN_HASH in enablessh()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:57:05 +00:00
jjhua 6ed9c4c9b1 pre-create mypostscript enhancement: get_nodeset_state uses the values of the noderes.net boot noderes.tftpdir which were got ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:10:01 +00:00
jjhua d15a2add7a pre-create mypostscript enhancement: get the noderes.netboot noderes.tftpdir ahead of time for get_nodeset_state in SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 01:53:22 +00:00
lissav c8db25f98d change comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 19:23:59 +00:00
lissav 0a554136b9 checkin enhanced support for runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 18:54:37 +00:00
lissav e230a70808 get rid of print
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:20:17 +00:00
lissav 90da002d8c save runxcmd buffer before calling runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:14:08 +00:00
lissav 889d376bfe take out unnessary require
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:13:08 +00:00
lissav b96ce121ff enhancements and corrections
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:36:45 +00:00
jbjohnso 5604a61f53 Have slpdiscover ultimately relax password expiry, login failure behavior, password reuse restrictions, minimal change interval to help automation work and
avoid DoS attacks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:21:45 +00:00
lissav 545281c97f take egans email address out of the comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 11:22:00 +00:00
xq2005 db0bad0c5d create dir /var/run/xcat/ for pid files on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 09:33:52 +00:00
xq2005 3c84ec61cb run mknb only the xCAT-genesis upgrade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 09:26:08 +00:00
wanghuaz df1896dca8 Removed prefixes of postbootscripts since it should be done by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 08:52:28 +00:00
leiaibj addd30180e discover querying should not acquire lock
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 05:22:43 +00:00
jbjohnso fb4e4a09e5 In RHEV-M, we currently fail hard in the case where user did not set installnic/primarynic. In this scenario, instead of failing, just let firmware have a chance to fill it in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 23:39:06 +00:00
jbjohnso 2f8348f0f4 For IBM servers, report planar revision, fru number, and mac addresses (if a rackmount server)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:45:39 +00:00
lissav 22eec83752 This adds an interface to runxcmd to return the response structure, still needs test though
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:21:28 +00:00
nott 03e82f2f62 different fix for replication issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 15:00:39 +00:00
lissav 39e72aec0b if MN already in the database, xcatconfig -m will replace it, if the name has changed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 14:55:03 +00:00
phamt 4a7d0e4fdc Added inventory support for z/VM hypervisor. Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 14:48:40 +00:00
xq2005 b8148e8e17 delete the tftpd error message when restarting xcatd on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:46:45 +00:00
wanghuaz 9fe6127b0e Removed --overwrite option in chkkitcomp, since chkkitcomp could verify the kit component list correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:40:22 +00:00
wanghuaz 34df3dccb0 Removed --overwrite option in chkkitcomp, since chkkitcomp could verify the kit component list correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:34:16 +00:00
xq2005 e6f9e57a98 do not run mknb when the xcat-genesis is installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:20:17 +00:00
lissav 40a74f4310 check if MN defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 11:10:12 +00:00
xq2005 d8b9521d56 reload the xcatd on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:26:17 +00:00
wanghuaz 308acd2839 Adding packagenames without directory to KIT_RMPKGS.otherpkgs.pkglist so otherpkg script could remove them
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:14:44 +00:00
jjhua 8d91ef04d5 fixed bug 3143.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:06:04 +00:00
ligc 8cf146bc90 remove debug mode /bin/sh -x for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 08:43:04 +00:00
wanghuaz 1130f848bd Fixed a problem that if kitpkgdeps is not set in kit.conf, which is not correct, we still need to handle the KIT_RMPKGS.otherpkgs.pkglist with kitcomponent basenames anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 07:32:23 +00:00
leiaibj 97ee1bb176 For profiled nodoes: chassis can not be specified together with rack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 06:24:30 +00:00
wanghuaz 47460b48e6 Removing debug code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 03:04:24 +00:00
willn256 3e53a88daf Initial commit of KitPluginUtils.pm. These utilities are used by kit developers to write new kit plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 22:34:52 +00:00
wanghuaz f2d9901d19 run xcatbased, kit specific and customized postbootscripts in order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 14:35:40 +00:00
wanghuaz 36efc5d93f handling multiple exlist in packimage and liteimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 12:39:54 +00:00
wanghuaz d66e957cb1 Fix a problem with os minor version while comparing with kitcomponent and osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 09:30:56 +00:00
leiaibj c8b1b3219c 1. support groups arg while import/discovering
2. import hostinfo file format should support windows txt file
3. If no dynamic range set, display an error message while start auto discover.
4. distinguish error codes for arguments validation and hostinfo file validation errors: 1 for arguments validation failure, 2 for hostinfo file parse.
5. support hostname format validation.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 08:59:14 +00:00
wanghuaz c58f6e361e removed the spaces in kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 07:42:42 +00:00
jjhua 241980aa01 pre-create mypostscript enhancement: do some changes in the template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:51:55 +00:00
jjhua 148482344e pre-create mypostscript enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:49:47 +00:00
wanghuaz bd7fd5672c Support multiple otherpkg and pkglist entries to work with Kit. alsofix a problem in kit.pm found during genimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:24:37 +00:00
jjhua 9a206d67bd pre-create mypostscript enhancement: move the postscript-specific functions from Template.pm to Postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:10:43 +00:00
jjhua 62636a0216 pre-create mypostscript enhancement. Use the networks info which is got form networks table ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 08:38:04 +00:00
wanghuaz 6c4a409e29 Fixed a problem while adding kitrepodir from kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 07:39:44 +00:00
jjhua d97f8338fa fixed bug #3133. When some node don't exsit, there are some error msgs, and other nodes succeed. handle this case.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 06:24:52 +00:00
wanghuaz 61d079df0a better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 04:06:21 +00:00
wanghuaz adf75d9f57 better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:50:38 +00:00
leiaibj 4b09a3e1c9 Resolve Profiled nodes discover issue: some times compute nodes failed to reboot after discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:30:03 +00:00
jbjohnso f1b045c5cd Have IPMI plugin detect whether something is an ITE or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 21:39:24 +00:00
bp-sawyers 9bb1c459e3 Add --localonly to makedhcp man page and made other improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 20:05:53 +00:00
jbjohnso d4fa1ed91a Document some potential plans for sequence number magic to disambiguate spurious retries again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:53:58 +00:00
jbjohnso ba08481381 It was discovered that the strategy to jump software ids, while effective, had the side effect of invalidating reservations
This means that initial SDR download would usually fail on implementations that consider reservations in such a manner.
Back out the incrementing software id behavior and instead bump retry interval back up to mitigate risk of wraparound
on retries.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:26:09 +00:00
phamt cfa719caa9 Fixed bug in removezfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:54:38 +00:00
phamt 5437963279 Fixed bug in addzfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:52:07 +00:00
phamt 009cacac27 Fixed bug in add zFCP dialog.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:46:05 +00:00
lissav cfcf1b8cfc check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 14:09:17 +00:00
lissav bd1a88c706 check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 13:57:24 +00:00
immarvin 236d9d7371 don't associate osdistro with osimages which created by xcat in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:22:44 +00:00
immarvin 70b33a7e6b don't associate osdistro with osimages which created by xcat in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:22:00 +00:00
bp-sawyers 34c4df71cd add genesis and elilo requires to xCATsn and straighten out XML requires
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:12:25 +00:00
xq2005 c3c7e46312 change for ubuntu xcatd start
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 08:55:08 +00:00
asirxing b16cb69284 Rename getOSpkgsDiff function to getPkgsDiff as it is a common function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 06:19:15 +00:00
phamt abe7cb1e1e Moved options over from chvm & lsvm to chhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 20:09:29 +00:00
lissav cf60db528c a few improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 17:51:40 +00:00
bp-sawyers dd11950993 chomped newlines from runcmd streaming output and updated site.runbootscripts description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 15:37:47 +00:00
xq2005 510bd44fd2 delete the depends on openslp when build xcat on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:18:11 +00:00
xq2005 ce61ef6222 delete the depends on atftp when build xcatsn on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:17:47 +00:00
leiaibj 50352afb39 Fix one bug: after discovery stopped, we can still discover some nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:14:11 +00:00
lissav 1c32268e9b check for MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 19:18:52 +00:00
lissav 86fd3ae7b0 Put a check in so that if remoteshell is run on the MN, it just exits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 16:22:43 +00:00
wanghuaz 4003dd69d8 Fixing a problem with lock and added addkitcomp -f option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 14:59:18 +00:00
wanghuaz 960214bd4b added manpage for addkit/rmkit/addkitcomp/rmkitcomp/chkkitcomp commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 12:02:39 +00:00
ligc 8d07e61c14 Add NetworkUtils::setup_ipv6_forwarding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:25:12 +00:00
xq2005 3a931a7317 fix error when building xCAT-server on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:02:28 +00:00
xq2005 ef9bdadda3 fix the error when building xcat-genesis-amd64 on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 10:41:55 +00:00
immarvin 455e031440 support nodelist.updatestatus update during updatenode -P
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 09:31:12 +00:00
ligc 3ed32b437d enable ipforwarding for IPv6 and IPv4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 09:18:41 +00:00
ligc 76827a69ec update the description for nics table to support multiple ip addresses per NIC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 07:23:01 +00:00
leiaibj c6d0097565 Use info tag instead of data for checking whether auto discovery running
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 06:05:46 +00:00
wanghuaz 0a87db910b Handling postbootscripts in osimage and kitcomponent tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 04:07:56 +00:00
jwsimpson aec176a65c updated to add the postscripts table to the description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 21:22:35 +00:00
jbjohnso fe9774ac67 Have base esxi4.1 template exist in the way that xCAT expects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:10:48 +00:00
jbjohnso 8a820d1765 Fix copyesxiboot to work fine with mod.tgz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:09:14 +00:00
jbjohnso 6b2de33e78 Have slpdiscover auto-use LLA when circumstances detect no user direction to the contrary and the LLA is viable (same subnet, perl ipv6 support)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:09:07 +00:00
lissav 3239a455be fix xdsh/xdcp to MN broken, forgot to change logic when we change to __mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 19:07:53 +00:00
bp-sawyers 0304f09112 remove require for perl-IO-Stty
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 17:18:39 +00:00
jwsimpson e8a61dd4cc Schema.pm updated to add the description of the runbootscripts attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 16:35:15 +00:00
jbjohnso b0839c618b Fix problem where esxi 4.x was called 'esx' in platform terms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:44:32 +00:00
jbjohnso 7606207542 Fix problem where esxi failed to honor '-n' argument in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:21:37 +00:00
jbjohnso 8eae49b6d6 Fix problem where nodeset install on esxi4.x media would fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:21:31 +00:00
jbjohnso 9590e98580 Fix problem with certain levels of x3755 M3 firmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 13:57:40 +00:00
lissav 3264bad1e8 Add comment on the new nodestatus messages that they should never be NLS translated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 13:52:55 +00:00
nott 0f3e4dfc82 getAIXSNinterfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 12:58:28 +00:00
nott 887bdd3d27 fix exports file entry for nfsv4 replication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 12:55:42 +00:00
wanghuaz fe2ee4fc0a Added more verbose in kit support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:58:28 +00:00
leiaibj f7c81cbae2 1. when doing importing mac file action, tag details, tag errorMessage, tag failedNodesNum, tag successNodesNum and tag invalidRecordsNum should be just under tag xcatresponse. No data needed.
2. when doing importing mac file action, plugin should return more clear message like "mac file validation failed." in progress info.

3. when removing nodes, plugin should return error message if some of nodes failed to remove.

4. when doing auto detecting nodes, xcatresponse tag should have one status tag instead of nested ones.

5. enhance lock mechanism in Utils.pm

6. create new interface for querying whether profiled node discovery is running or not: nodediscoverstatus


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:37:09 +00:00
xq2005 8317e7b43c load auth_rpcgss.ko when create statelite initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:33:48 +00:00
xq2005 9f328750d1 driver load error when create stateless initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:23:57 +00:00
immarvin 44df839b69 remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:53:01 +00:00
immarvin c6a95b9a74 remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:50:53 +00:00
immarvin d1f017ce94 remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:47:48 +00:00
immarvin 127da8faec add the disc id's of rhel 6.1,hel6.2 and rhel6.3 iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 02:38:19 +00:00
wanghuaz 0792e6eb78 code checkin for kit support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-21 12:58:22 +00:00
wanghuaz 716b19a658 Added symbol link for addkitcomp/rmkitcomp/chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-21 08:42:09 +00:00
phamt 8c8e60c12e Fixed bug in xCAT-UI for zFCP devices. Added option to set zFCP device as LOADDEV in --addzfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 20:26:08 +00:00
bp-sawyers 1019cf6d9d Updated copycds man page and added comments to discinfo.pm about adding disc ids
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 14:29:12 +00:00
lissav d91f2d57d0 added nodestatus to xdsh as well as xdcp and where I can get the return code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-19 13:07:10 +00:00
bp-sawyers dbe77b664e test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 20:05:35 +00:00
bp-sawyers 8b281c9b38 update chdef -n description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 20:04:45 +00:00
bp-sawyers 5245bd6d79 Type commit message here…updating the e1350 templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 19:44:41 +00:00
lissav 1689390cc3 wait up to 30 seconds for postgresql to start before trying to create the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 16:23:04 +00:00
lissav 3d412df13c wait up to 30 seconds for postgresql to start before trying to create the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 16:21:37 +00:00
lissav 1eac8fe76b additional comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:25:51 +00:00
lissav fbdc11283a additional comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:23:24 +00:00
phamt a9408ab0d1 Added support for native SCSI/FCP on xCAT-UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:18:28 +00:00
lissav b33442caa5 implement --nodestatus call to xdcp for updatenode -F
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 14:13:32 +00:00
lissav 02ddd19381 possibley fix run_ps run_ps duplication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 13:48:14 +00:00
lissav 183ada53eb add comments to the rack defspec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 11:18:54 +00:00
lissav fbba9e8a1f support returning nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 17:21:43 +00:00
lissav 13e17590b2 support returning nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 17:12:22 +00:00
lissav 9535668727 adding monitor support -m to xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 11:29:49 +00:00
lissav dfd66d67ae adding monitor support -m to xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 11:24:40 +00:00
immarvin 648140c6ad set the MD5 Digest value of iso's fullpath as the default mount point of the iso,correct the code to umount $path in SIG{INT}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 08:34:33 +00:00
amy0701 a5df689b7d update testcase for makedns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 02:42:16 +00:00
mellor 33052f79c2 defect 3127 AIX PE 1.2 HPC Integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 21:59:03 +00:00
linggao 822d3fae46 added code in rcons that does not require conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 16:49:23 +00:00
lissav 7dc62afc01 moved so much code decided to run tidypod to clean up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 16:05:16 +00:00
lissav ca03b59cc5 broke out run ps into separate routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:55:13 +00:00
lissav 734b3659a5 small fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:37:04 +00:00
lissav bf244a2c07 pulled out sofware update code into separate routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:32:00 +00:00
lissav 96a259ca81 break out file sync into its own routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 15:01:04 +00:00
lissav 8a15138e4e fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 14:53:12 +00:00
nott 50dc7949b1 reorg doAIX copy routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 14:42:03 +00:00
ligc 2cb4c75e2f undo the CMM password expire changing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 12:34:41 +00:00
immarvin 9260b97282 set the MD5 Digest value of iso's fullpath as the default mount point of the iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 11:22:53 +00:00
immarvin 970322af64 let the MD5 Digest value of iso's fullpath as the default mount point of the iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 09:19:48 +00:00
amy0701 9a2937f3fd update sleep for rpower test case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 08:24:47 +00:00
daniceexi 21bc39605c change the message that genimage could be run cross same distro with same major level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 07:44:22 +00:00
daniceexi 5ffbcb5fba Change the interface of loading drivers from rpm package. If no netdrivers attribute specifiec, no driver will be added. If you'd like to add all drivers from rpm packages, using allupdate as key word in netdrivers attribute.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 05:58:29 +00:00
zhaoertao 38ce4c7423 setting the password expire time to 0, never expired
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 03:03:49 +00:00
phamt f97f520619 Removed overflow attribute for datatable class in css.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 19:16:57 +00:00
nott 4495c0dc3a check if node belongs to server before defining
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 19:05:47 +00:00
nott 43d01f4bde fix SN name in checkNIMnetworks call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 18:53:35 +00:00
lissav 12c147a5c5 check for input of multiple internal postscript names
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 17:57:45 +00:00
lissav a3175f5df1 add processing for each subsection of the mypostscript file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 17:13:49 +00:00
lissav ad5379756b Do not check existence of postscripts with start-here
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 12:58:02 +00:00
jjhua ac86a05cda a little update for precreatemypostscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:48:17 +00:00
jjhua 5c1031647a Some enhancement to parse the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:44:27 +00:00
jjhua b5edbdcad9 made some changes in the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:41:19 +00:00
xq2005 fefff805b5 change == into = for the rcons script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:22:22 +00:00
jjhua a1edd1ece5 performance enhancement, site.precreatemypostscripts=1 support for linux diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 07:36:06 +00:00
daniceexi 7cae9aaa93 To make genimage to be run cross distro levels. Technically, there's no issue to cross the whole distro (sles/rh). Officially, only the distro with same major version can be suported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 06:40:00 +00:00
xq2005 97f1c95cc7 fix the restart error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 01:51:15 +00:00
phamt 6256117b49 Synched up xCAT code to the latest. Added native SCSI/FCP support onto trunk. Replaced tabs with 4 spaces.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 01:50:28 +00:00
jbjohnso c14747ac04 Table.pm in a refresh scenario with cache not currently in use, but existing none the less, mark the cache as invalid by setting the timestamp to 1970
Still avoid *rebuilding* the cache, as in the use_cache not set suggests a mass amount of setAttribs and build_cache(1) would be extremely expensive,
just force the next consumer after the set to take the hit

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 16:31:55 +00:00
lissav 5fbb634235 new mypostscript format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 13:49:33 +00:00
lissav 6e115c511a Make tolerant of new mypostscript format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 13:47:41 +00:00
lissav 4b3a85a303 Do not exit just because on os or arch defined for node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 11:49:01 +00:00
jjhua c9e0617ac9 add the description for site.precreatemypostscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 08:37:36 +00:00
jjhua 887b77eebf the template file of mypostscript for all the nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 08:08:56 +00:00
jjhua 8be6104a56 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:15:19 +00:00
leiaibj caa1483714 1. Add support for unmanagement nodes
2. Add support for replace node's Provisioning MAC address
3. Enable specify rack/chassis info while import nodes and do nodes discovery.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:11:26 +00:00
xq2005 e2783f3e6c update the pkglist for genimage ubuntu12
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:54:48 +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
jjhua 0dcf2e1e9c To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:45:21 +00:00
jjhua 5a395d4da6 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:31:26 +00:00
jjhua 521da69833 the subroutines to generate the mypostscript for each node, according to the template mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:06:48 +00:00
jjhua 5209a92de1 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 05:43:45 +00:00
jbjohnso ad9945e953 Extend ipmi sequence validity through rqaddr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 21:02:53 +00:00
jbjohnso 354e960cfb Fix problem where node specific errors in some ipmi scenarios are not associated with a node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 18:02:09 +00:00
immarvin beb47bb0f3 1.corrected defect 3053 2.update nodelist.updatestatus during 'updatenode -P/-S/-k';2.support nodelist.updatestatus update during 'updatenode -P/-S/-K';3.fix defect #3124 Postage.pm writes error message in /xcatpost/mypostscript: only write <data> field of getpostscript response to mypostscript, complain and terminate when getpostscript failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 08:48:20 +00:00
ligc 628806fd81 fix for XCATBYPASS=1 could not work with commands depends site attribute, like makedns=>site.dnshandler
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 04:33:40 +00:00
jbjohnso e05b4b8cdd Remove dead code resulting to changing to property api
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 19:09:52 +00:00
jbjohnso 3fd00c599a Change IPMI to use IMM properties interface instead of FMAPI, must faster and simpler and likely to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 19:05:42 +00:00
mellor 5ff462e202 support multiple osimage otherpkglist files for updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 18:22:23 +00:00
mellor 1467e23c80 fix xml output from lskmodules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 16:51:32 +00:00
nott d404462494 modify rc.dd_boot setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 15:28:30 +00:00
jbjohnso c492b1a276 Have slpdiscover.pm tolerate more variation in IMM prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 14:16:57 +00:00
mellor 198bf66e1c fix xml output from lskmodules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 12:30:20 +00:00
wanghuaz 06a30a2322 Code commit for kit support and several updates according to latest mini-design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 12:26:06 +00:00
xq2005 13cd4bff41 use update-rc.d to setup xcatd service in post install procedure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 06:48:45 +00:00
lissav 4d707f6c8f add getpostbootscripts routine and put a small fix in getsynclists routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 19:14:06 +00:00
lissav bc5e164163 Enable CFMUtils interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 11:17:17 +00:00
xq2005 de821501e5 update the install script for xcat-genesis on ubuntu12
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 07:12:14 +00:00
xq2005 644560d1d4 stop tftpd-hpa on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 06:52:12 +00:00
ligc dbd9163755 fix for bug 3122: add the usercomment in Schema for linuximage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 06:32:14 +00:00
jbjohnso 16f9d196ca nmap ipv6 support can be pretty easily messed up, change probe parameters from default '80'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 21:08:03 +00:00
nott ecc1150d56 fix rmnimimage for hasn env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 19:16:29 +00:00
jbjohnso 4aa483e6a4 Fix problem where xcatd start fails to relay data to launcher process due to buffering
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 18:05:36 +00:00
lissav 08912283aa test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 12:55:41 +00:00
zhaoertao 347094fa7c fix bug 3120 rflash working with --activate concurrent failing on HMC based P7 server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 10:02:38 +00:00
asirxing 3ac841c96c Fix code error and update the codes according to review/testing comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 08:55:58 +00:00
leiaibj 76d1580a3e changes:
1. Change file and plugin name: remove "PCM/pcm".
2. Implenment lock query sub
3. Use sinfo indicating processing progress


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 08:40:30 +00:00
jwsimpson a2f73a2b8c git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-10-04 21:02:15 +00:00
nott f9b05e488b fixed error returns in update_spot_sw
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 20:01:59 +00:00
jbjohnso 7d023e94ac Fix glaring mistake in previous commit where 'FAILED' and 'all good' were indistinguishable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:56:35 +00:00
jbjohnso ab965b04ed Have IPMI more decisively quite should the password be incorrect. Hypothetically a DoS could be aimed at the client, but that's much less likely.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:56:29 +00:00
jbjohnso 205df57942 Enhance rvitas led output with more readable information when possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:47:08 +00:00
nott 0429a7df4a add more output msgs to software install operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:45:36 +00:00
nott 3590bf4b0c manage SN resource defs from MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 18:20:32 +00:00
jbjohnso cdcf25ce89 Fix problem where sensor numbers could accidentally pull in LED or FRU records
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 18:15:31 +00:00
linggao 975abca7b0 defect fix for otherpkgs not able to pick up the newly added repositories. Also removed the auto upgrade because it wipes out the change for Mellanox rpms.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 12:56:10 +00:00
jwsimpson 171c8aa118 update to correct problems with post boot script changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 11:27:29 +00:00
lissav 2361faaf6c handles multiple syncfiles for an osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 11:15:26 +00:00
nott cabf9274fa fix cp cmd for copying client_data files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 18:02:42 +00:00
nott dcc1750c48 fix cp cmd for copying client_data files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 17:52:47 +00:00
jbjohnso 3004f6493f Have xcatd launch process monitor xCAT SSL instance to assure it gets off the ground before exiting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 17:52:18 +00:00
lissav 3ae89517fa more comments for fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-02 11:23:06 +00:00
jbjohnso dc981d4d7c Add stateless support for Oracle Linux 6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 20:29:12 +00:00
jbjohnso a96ac1cbc4 Add a compute install template for Oracle Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:35 +00:00
jbjohnso 20f6e5f026 Add support for Oracle Linux 6.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:29 +00:00
jbjohnso ea2114d9ef Fix problem where tgtadm as of late frequently prefers iSER, which would be great but has some steeper underlying requirements that make it harder to use.
Software iscsi for now continues to be intended primarily for prototyping, with an expectation of beefier storage.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:23 +00:00
jbjohnso ea4c75b388 Address typo in previous ipmi commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:16 +00:00
jbjohnso f23561573c umount -l when a loop devices is involved may be problematic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:10 +00:00
jbjohnso 1ea24371ca Stop lazy unmounting when loopback devices are on the line...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:03 +00:00
jbjohnso 786e61680f Skip nodelist.status changes in event of suspend or wake for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 18:08:59 +00:00
lissav 64c3be21ae Match up Schema with V18 of database design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 17:52:44 +00:00
lissav be2f6b262c routine should create synclist.cfm new each time. No use records should be in the file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 16:37:08 +00:00
lissav 0c5426ead0 changes and suggested changes marked with LKV
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 16:12:16 +00:00
wanghuaz e7325b41b3 Added addkitcomp command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-29 17:03:42 +00:00
lissav cbca0e5878 add support for sinfo tag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-29 10:40:25 +00:00
lissav add4e7a867 change cfmdir from osimage to osimages in the path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 17:10:39 +00:00
lissav b24e1feb23 fix for defect 3117
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 12:12:58 +00:00
lissav fdfeaad131 Add to nodestatus comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 10:42:57 +00:00
asirxing 6b827de526 Update CFMUtils to enable the verbose message and optimize the logic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-28 01:49:39 +00:00
lissav 6b7a4aa1c9 Remove Schema.pm.PCM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:53:58 +00:00
lissav 68dd68c47e Updated Schema will all PCM requirements based on V16 of the PCM db design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:53:15 +00:00
lissav 1fbfc40df1 checkin call to CFMUtils more testing needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 13:51:15 +00:00
jjhua f61d3bce03 fixed bug 3113, remove some error message when clearing the last configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 09:31:21 +00:00
leiaibj 8b87922c73 PCM discover initial draft ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-27 08:56:19 +00:00
mellor 31cafd39c4 lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 19:57:20 +00:00
mellor ba2821ad31 lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 19:28:17 +00:00
lissav f5df1bab88 fix error message and remove commits, fix Table opens
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 18:06:42 +00:00
lissav ef434876c1 cleaned up GetNodeOSARCH from defect 3095
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:10:06 +00:00
lissav f7fa23352c fix syntax error in TableUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:02:00 +00:00
lissav 35b563f43d Schema.pm.PCM matches V16 of design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 13:34:51 +00:00
xq2005 24d81c3019 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:43:12 +00:00
xq2005 ece9baa5a4 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:25:01 +00:00
xq2005 9110102e1e change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:18:39 +00:00
zhaoertao ecd1c5999f Fix bug:3095. Routine opening unnecessary tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 06:10:39 +00:00
ligc 4be6f6447b fix for bug 3111: diskful SN + diskful CN, call make_SN_resource with wrong arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 06:03:01 +00:00
asirxing 5742f2c0f1 Update CFM Utils to support multiple synclists and pkglist attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 02:32:10 +00:00
mellor 1066cf8279 lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 20:53:24 +00:00
mellor 9df8424b8b lskmodules support for PCM integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 20:50:25 +00:00
lissav 55fc08fa74 add stub for call to CFMUtils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:19:37 +00:00
bp-sawyers 94b88782b7 test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:07:17 +00:00
bp-sawyers 0cc3a515fc test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:06:40 +00:00
lissav b01e805194 new routine and cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:03:10 +00:00
jjhua 12ce82d7e8 comment out removing the /xcatpost in the beginning of the xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 13:18:00 +00:00
xq2005 0af054755f build xcat-core on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 12:17:50 +00:00
zhaoertao de5444c466 fix bug 3073: ddns.pm sets umask 0007 and never restores original umask
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 09:19:21 +00:00
jjhua cca1e68ad8 enhance packimage/liteimg to copy /install/postscripts into the diskless images as /xcatpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 02:51:23 +00:00
wanghuaz 6c16503d37 Added addkit/rmkit commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-24 15:03:58 +00:00
wanghuaz acb2f2a11d Added addkit/rmkit support in kit.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-24 15:02:51 +00:00
lissav f76b47299c Document synclists can be multiple files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-23 11:16:27 +00:00
bp-sawyers a18348883d Eliminated hard requires for SOAP::Lite and JSON
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-22 16:20:24 +00:00
linggao 4ea6bae9a0 fixed a defect for chvm -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 16:52:13 +00:00
daniceexi 9c21a4d53f fix the issue that run command against vms which mixed that bind to host or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 07:41:39 +00:00
daniceexi 6016af8f56 refine the man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 02:11:13 +00:00
daniceexi ee74e2b546 change the help for cfgve
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 02:02:01 +00:00
daniceexi 695f498f2a fix the -n and flag order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:54:34 +00:00
daniceexi 8bdf7e05d9 defect 3102: change the flag name for vlan in cfgve to create network obj
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:29:32 +00:00
daniceexi 788c4ac91c add again with new execute permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:04:41 +00:00
daniceexi dcda42d7f3 remove to change the permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:02:53 +00:00
bp-sawyers 927c85bebc another test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 00:06:56 +00:00
bp-sawyers 746ea1a4b1 test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 20:44:03 +00:00
lissav 7c47c20be0 support multiple synclist files in the osimage.synclists attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 18:58:47 +00:00
bp-sawyers 57d4fb8e4d test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 17:55:58 +00:00
lissav f97a88536b test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 16:32:03 +00:00
lissav b549d78e2e fix missing updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 16:16:36 +00:00
lissav e921722aa2 test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 15:26:03 +00:00
lissav 46af214a9e add ALL option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 15:12:03 +00:00
daniceexi 944d18b0ce defect 2966: fixed the issue that xcat pid files were put in /tmp/xcat which would be cleaned periodically. now move it to /var/run/xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 14:30:14 +00:00
bp-sawyers c2658bc27f test commit on new svn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-20 13:51:25 +00:00
daniceexi 6e1f26c467 fix a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-19 06:52:07 +00:00
wanghuaz 8191a663cc Fixing bug 3568357: Overwrite the swapnfs tmp file instead of append it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-19 06:05:04 +00:00
nott 6e23f41286 fix for bug 3568424
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 19:22:14 +00:00
lissav ce053414e4 fix getSNList to be filter out the MN if ALL not selected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 13:18:59 +00:00
lissav a98a295d23 new interface to getAllSN due to MN in servicenode table, also added use strict back in loss on the split and fixed the errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:57:53 +00:00
lissav 8248d56a4f add use strict back
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:42:49 +00:00
ligc 58831323b3 fix for bug 3568791: add nfs export options -vers 3:4 for /install/postscripts on SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:07:55 +00:00
lissav 27c94dec21 xcatconfig -m only sets group=__mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:52:30 +00:00
lissav dfb8898ec2 remove postscripts.rules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:48:57 +00:00
lissav 11d885a025 remove postscripts.rules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:48:20 +00:00
daniceexi a6f2f19082 several fixes for rhevm support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 08:32:45 +00:00
wanghuaz a18f195f0d Fixing bug 3567143 and 3568764, update PE/essl for hpc integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 06:52:34 +00:00
immarvin 36dda35ce0 corrected the issue that PBS cannot run in first boot after installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 11:12:39 +00:00
ligc 293d1c0209 fix for bug 3567955: parse the hostname to ip address before indicating more than one xcatmaster for HA SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 09:17:23 +00:00
daniceexi 6fb54f8730 remove a empty line which cauased an warning during pod2html
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 07:10:20 +00:00
jbjohnso ccaacfd954 Fix mistake with sid increment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 12:55:27 +00:00
lissav cb0d7edc64 fix incorrect library for get_site_attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 10:23:47 +00:00
jbjohnso fe4b65400f Several changes to improve IPMI behavior, *particularly* with IPMI 2.0
-Go back to restarting the log in process if rakp2 or rakp4 goes awry, it's too likely for a dropped packet to confuse IPMI 2 devices.
-Fix relog to reset session context to avoid getting distracted by now stale RAKP messages if the IPMI device happened to be slow
-Switch session ids on relog, so that everything can ignore packets from a zombie IPMI session reliably (e.g. relog recovery of a session).
-In parse_ipmi_payload, delete pendingargs in addition to deleting sessions_waiting entry.  The latter should have sufficed, but there persisted an odd
 issue where sometimes the last non-logout packet was erroneously retransmitted as retries at the end.  This change short-circuits
 the timedout function should this occur, generally delaying exit by 100 milliseconds whet it goes wrong.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:53:43 +00:00
jbjohnso 98ffaf7fbc In accordance with previous change, always act as if logout completed successfully without checking the result
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 13:23:30 +00:00
jbjohnso 9bab28ab00 When doing close session, if the reply packet is dropped on the network, session may no longer be closeable. Send a close session and hope for the best, do not hold up things waiting
for something that shall never come

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 13:23:22 +00:00
jbjohnso 8f1fd066e2 Fix problem where rvitals fails to gracefully handle situations like timeout on a sensor read
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:52 +00:00
jbjohnso 95fbd48c1e Eliminate instances of recursive timedouts really ruining our day in IPMI
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:44 +00:00
jbjohnso 1f5e91d32e Rework IPMI.pm IPMI 2 session negotiation a bit, now we take care to make sure the most recent open rmcp+ request is the one used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:28 +00:00
jbjohnso 64d767ab44 Revise ipmi 2 session establishment to be more forgiving of retries during the process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 15:01:43 +00:00
lissav 0680a2fab9 add XML getTablesAllRowAttribs routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:25:54 +00:00
daniceexi d6ee2b1072 defect 3539473: disable the xcatdebug to be run on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:24:12 +00:00
daniceexi dded0c9f2d add a new site attribute site.tftpflags which used to specify the tftpd parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 12:40:18 +00:00
xq2005 827a711e6b add nfs-common, snmpd into default pkglist for ubuntu full install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 08:33:46 +00:00
xq2005 40837eb2ed support pkglist for ubuntu full install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 08:01:03 +00:00
immarvin 4f638c093b correct some typos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:16:04 +00:00
daniceexi 451b2e3f2a fix the defect that force to stop xcatd for each restart
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:14:45 +00:00
immarvin d5b11ebfcb add a new value nodelist.status=failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:07:13 +00:00
immarvin 16716de481 set site.nodestatus as a environment variable {NODESTATUS}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:58:34 +00:00
immarvin 18685bccef add a global variable return_value to keep the return value of the postbootscripts, do not update nodelist.status if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:46:50 +00:00
immarvin dc1d86412c set nodelist.status to failed if some postscript or postbootscript failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:31:14 +00:00
immarvin 38e5b69d6b set nodelist.status to failed if some postbootscript failed during node privision;prohibit status update if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:15:23 +00:00
jbjohnso 54f4616dbc Rework IPMI seqlun management to avoid accepting the same data twice as valid instead of retry
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 21:00:07 +00:00
lissav 56ab665d2a change name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 18:24:34 +00:00
phamt 616a35fd01 Replaces tabs with 4 spaces and formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 16:04:42 +00:00
lissav 624fc39bbf V0.15 of the Schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 13:15:28 +00:00
lissav e786262c56 add getTablesNodeAttribs XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 12:01:48 +00:00
brianfinley 253a5dd478 - s/atrribute/attribute/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 21:06:23 +00:00
linggao 14e4537d80 use nmap before using fping in PPCenergy.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 19:24:22 +00:00
linggao 500cbef47d eliminated the dependency on fping for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:47:43 +00:00
linggao 0592ad03d6 changed the monitoring code to use nmap for getting node status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:05:57 +00:00
lissav 25c4b4ec8f checkin getTablesAllNodeAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 13:45:34 +00:00
daniceexi c624d51c86 fix the issue of clone vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:25:07 +00:00
zhaoertao be8fea6a0e fix bug 3558819: rscan cannot identify mm as CMM for firebird
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:10:26 +00:00
jjhua 6adf22b30e remove some improper comments.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:40:26 +00:00
jjhua 63dc1b56cb link the osdistroupdate to ../bin/xcatclientnnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:37:09 +00:00
jjhua 408d57ecb2 osdistroupdate command -- an internal command. Creating/listing/deleting os distro updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:32:45 +00:00
amy0701 30866f093c update testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:25:35 +00:00
lissav 6706171e02 Match V0.14
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 17:54:19 +00:00
linggao 398989df54 modified the description for switch.vlan and switch.interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 15:22:42 +00:00
lissav 7a4cc33c2a PCM schema matched to V 0.13 of design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 14:01:41 +00:00
jbjohnso 4624ff5fe6 Back off change to discovery process to care one way or another about 'primary' interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 13:42:33 +00:00
lissav 8d491dc184 PCM schema matched to V 0.13 of design doc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 13:25:17 +00:00
lissav c1906b8e08 rename XML routine to setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 11:33:45 +00:00
leiaibj d89e6e1c7c Update codes after xCAT team review. comments: add more comments in codes, and also use runxcmd instead of call request commands directly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 06:14:50 +00:00
daniceexi a72e4b8fbe update the usage for ls/cfgve, ch/rmhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 06:08:13 +00:00
ligc 12622d0ca6 fix for osimage.postscripts and osimage.postbootscripts are not run on compute nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 05:47:53 +00:00
jbjohnso 842cb67bd6 Correct RHEL grub buggy behavior when detected on EFI installs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 20:47:52 +00:00
jbjohnso 7cf628060e Fix problem where only one profile was processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 20:26:55 +00:00
linggao 102aa513e4 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 19:35:23 +00:00
lissav 8f99448693 fix how to define mn in the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 19:02:08 +00:00
lissav d913682fe2 base check for MN on __mgmtnode group name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:59:47 +00:00
jbjohnso 93f5b9f6cb Make extra effort to assure /mnt/xcat is not held in event of catastrophe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13746 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:58:03 +00:00
lissav 45edd600c4 change MN group to __mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:51:35 +00:00
daniceexi 39e43e0b40 refine the man page for cfgve
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 14:43:21 +00:00
daniceexi d9d192de53 add man page chhypervisor to replace cfghost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:53:32 +00:00
daniceexi d853aa4373 move cfghost to chhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:49:17 +00:00
daniceexi aff57805a0 move man page of cfghost to chhypervisor and add rmhyperviso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:42:57 +00:00
daniceexi 5f0356e6b1 use ch/rmhypervisor to replace the cfghost command. fix the network attaching and cfg host nic issues
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:15:51 +00:00
daniceexi 068d432542 For rhev support: remove the vm.template, but use vm.master to replace
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 13:07:31 +00:00
daniceexi 4b5020cf72 defect 3552206: removed the limitation that forbid the updatenode -S to diskless node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 07:55:07 +00:00
asirxing 79f855fb79 Updte header of initCFMdir to fix unrecognizable characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 02:56:08 +00:00
asirxing 958140ee82 Updte header of initCFMdir to fix unrecognizable characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 02:48:52 +00:00
daniceexi 23a2c6c60f defect 3564667: fix the path for SL6 which will use the common path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 01:48:33 +00:00
lissav a53aa1be66 Remove obsolete code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-08 10:14:07 +00:00
lissav c5f1214469 Take out bad host processing until redesign to get rid of inf loop in getdata
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-08 10:11:32 +00:00
nott 696c1b486a fix statelite setup bug - 3564958
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-07 18:21:23 +00:00
leiaibj bef2a2a82e Node management sprint2 works, reviewed by xCAT beijing team
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-07 08:19:36 +00:00
lissav 6961c84384 fixed hierarchy -k, still some work to do in that area and more testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-06 19:23:22 +00:00
lissav a5bd669943 fix defect 3564697
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-06 15:49:56 +00:00
jbjohnso ae54f6a4c5 This needs to be rethought, it breaks x netboot
Revert "fix bug 3529429 for kdump failed on non-p7 ih plinux"

This reverts commit 9eb7de3d634ca1f7fe857df50976ca6614281e83.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-05 21:09:18 +00:00
lissav aff28da21d xdsh adding an undef entry on the returned data, causes syntax error in runxcmd you only see under bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-05 17:22:11 +00:00
wanghuaz bdb522e621 Fixing bug 3563735: remove several ksh scripts on Linux management nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-05 08:09:08 +00:00
lissav 5fb0a1989e xCAT Schema based on V11 of the database arch doc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 15:32:32 +00:00
jbjohnso a31a7ad78d Fix iso with space
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 14:15:55 +00:00
ligc ffc39dff2e add additional steps into xcatconfig: disable selinux, configure static ip address, setup ntp server, disable firewall
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 09:24:29 +00:00
ligc 2736fe0588 add new postscript configfirewall for PCM team
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 09:18:37 +00:00
daniceexi 0328c2b9e7 fix the missunderstanding for the kernel parameter rhevm_admin_password. Which is used to set the root passwd of host
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 07:48:26 +00:00
amy0701 3238ea6760 add diskless installation for sles ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 02:45:42 +00:00
jjhua c8499d58c1 updatenode performance enhancement: remove the code to get the postscripts.tgz, This method is not acceptable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 02:38:11 +00:00
jjhua e6ace37bc9 updatenode performance enhancement: remove the code to tar postscripts. This method is not acceptable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 02:37:01 +00:00
wanghuaz a831051d1b fixing bug 3562874: use modules.dep to get nfs.ko dependencies and add them to initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 09:34:52 +00:00
daniceexi 424c0e1476 fix the issue that missed to add the xcatrhevh.cgi to the xcat-ws.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 09:08:11 +00:00
yinle 55cbc5fa4b fix bug 3563351: lsslp -r flag provides error on ST NGP xCAT MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 07:39:45 +00:00
xq2005 fe70b3731a update the discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 04:07:34 +00:00
amy0701 c6492af56f update linux_full_installation to support sles11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 03:13:02 +00:00
amy0701 1c0206320f add testcases for ngp firebird
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 02:38:42 +00:00
xq2005 65d1ad39bc the code change for flush output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 02:29:29 +00:00
phamt fa3822b7b3 Fixed makehosts problem in xCAT-UI.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-01 12:32:02 +00:00
phamt 2a6d3fa386 Fixed s390x postscripts to use HTTP server instead of FTP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-01 03:28:41 +00:00
nott d22ed464ab fix output from chroot command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 17:44:06 +00:00
jwsimpson e9a96fbfbe Updates to support postbootscripts on reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 15:52:31 +00:00
bp-sawyers 804db0fabd documented site.usexhrm attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 14:28:04 +00:00
daniceexi 22645aa791 Fix the issue that missing of display id attribute for Blaketip blade that mgt=ipmi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 09:17:35 +00:00
daniceexi 628c765718 add the supported type for dc,cl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 07:06:43 +00:00
xq2005 28d00d9d8a copycds return directly if the file is not a ubuntu iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:48:08 +00:00
xq2005 27542f3df8 tftp start on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:44:44 +00:00
immarvin 01461cdc50 add some comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:22:57 +00:00
immarvin 1f0807ab5c link rmosdistro to xcatclientnnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 03:31:39 +00:00
immarvin 7cc1cc8616 delete lsosdistro and mkosdistro, add comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 03:29:22 +00:00
immarvin 14379fd1a6 remove xcatosdistro, use xcatclientnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 03:27:06 +00:00
xq2005 5adde1bca5 fix compress error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 02:48:04 +00:00
asirxing 31b3a8ab64 Add PCM CFM utilities
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 01:37:38 +00:00
lissav c7cf72f3a2 fix for defect 3546058
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 17:14:21 +00:00
lissav 1fdcfdb959 fix for defect 3562802
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 16:05:33 +00:00
lissav d0d45062f6 add new hpc scripts from perf team
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 15:07:38 +00:00
cjhardee c30c73c726 Allowed the put data to be passed in the query string for table puts and patches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 15:01:58 +00:00
lissav cd5a26cc0a add ping-all sample
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 14:47:08 +00:00
lissav e51aab606c add info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 14:27:09 +00:00
phamt 6b9007e64a Undo some of the latest changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 14:01:04 +00:00
lissav 612ce0ae0e make running mkknowhosts and setup of ssh keys ( xdsh-k) a common routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 12:41:20 +00:00
immarvin f5eb1bc89c man info for rmosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 10:55:18 +00:00
immarvin 367ae48231 plugin to support osdistro management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 10:06:40 +00:00
immarvin dc6eeace31 plugin to support osdistro management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 10:00:37 +00:00
immarvin 9fc62249bd create a link bin/rmosdistro to bin/xcatosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:37:17 +00:00
immarvin 5110d39705 add osdistro management cmds, such as rmosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:33:10 +00:00
immarvin 452dbe05a6 add update_osdistro_table , modify update_tables_with_templates and update_tables_with_templates to support osdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:22:56 +00:00
immarvin fc1e1386a1 update osdistro table after copycd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:20:34 +00:00
immarvin 50d6a62ca6 update osdistro table after copycd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:19:27 +00:00
immarvin 27b063b125 add osdistro table definition and defspec, add osdistroname attribute for osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 08:55:17 +00:00
immarvin 96943769a1 update the getaddsensorevent for new sensor events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 07:09:50 +00:00
immarvin f0e2c1dee5 update the getaddsensorevent for new sensor events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 06:48:21 +00:00
zhaoertao 11969ad8ef modify the calling of subroutines that moved out of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 05:41:24 +00:00
xq2005 9dc24a55c8 support the dhcpd service on ubuntu 12.04
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 02:16:24 +00:00
jjhua 49340ac37d comment out the debug messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 01:56:59 +00:00
daniceexi 30c719679b add the support for creating localfs storage domain and creating of data center and cluster
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 01:54:39 +00:00
jjhua 8d6902753a use , instead of : as the delimiter in the value of the osimage.pkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 01:52:27 +00:00
nott 4dc8589031 fix the copying of client_data files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 18:42:41 +00:00
lissav 37bfa46c47 Add some comments about how xdsh handles the -E <file>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 17:11:57 +00:00
lissav 7ad66da239 Add some comments about how xdsh handles the -E <file>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 17:03:22 +00:00
lissav bd52d4bc3b add support for ENV variable input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 14:53:19 +00:00
lissav 61effa015c add support for ENV variable input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 14:49:36 +00:00
lissav ac50b60f73 fix man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 14:12:21 +00:00
lissav 709cd8c0ac add check for perl-DBD-Pg installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 13:50:56 +00:00
lissav 76f7e2310c Got non-hierarchical node updatenode -k working correctly, some cleanup, more to do
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 10:21:39 +00:00
lissav 48367b9fb6 fix getNodesAttribs multiple entry problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 19:37:01 +00:00
lissav 5c1a1383f9 document getNodeAttribs improvement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 15:07:28 +00:00
jjhua 82719795ef updatenode performance enhancement.1. get the /postscripts.tgz firstly, if fails, try the original procedure; 2, remove the sleep() action in xcatdsklspost script, because Jarrod did some enhancement in xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 11:43:52 +00:00
jjhua fcf725f88d updatenode performance enhancement. 1, tar the postscripts for xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 11:39:41 +00:00
daniceexi 5a2e1e6a04 fixed a typo to generate the path of initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 08:29:10 +00:00
linggao 014006e510 multi vlan support for kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 20:28:24 +00:00
daniceexi 15dd2b9ad2 Add man pages for rhev commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 14:00:27 +00:00
daniceexi ce0980f030 add usage for rhevm commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 13:58:14 +00:00
yinle 7f0c5a915f Fix the mistake that bpa has redundant 0 in ip address (41.01.0.1).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 07:05:05 +00:00
yinle a2e8f65c21 Fix the mistake that xcatsetup defines redundant fsps.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 06:49:19 +00:00
yinle 182de6c93b performance improving of discovering hmc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 06:11:39 +00:00
lissav dba7c5d40d fix defect 3555748
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-26 11:22:55 +00:00
lissav faf26892fd remove --user and --devicetype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-26 10:07:41 +00:00
daniceexi 6d541ab510 Add the functions: delete SD, chvm, rpower suspend
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-26 04:33:19 +00:00
jbjohnso f5fee75ae9 Enable a node to control reporting of it's own state more carefully... provided it has an x509 certificate we bless.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 17:12:57 +00:00
lissav 7ee8876bfd add routine to divide nodelist into service and non-service nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 16:50:07 +00:00
jbjohnso c919a2cd2a Add missing IPMI sensors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 13:59:25 +00:00
yinle dd42e9502d Made performance improvement of writing db.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 07:13:47 +00:00
yinle e5e92c55b8 Add some sleep to avoid http failure. Modify some trace information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13601 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 02:10:40 +00:00
yinle 9261722205 Add some sleep to avoid http failure.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 01:55:11 +00:00
yinle 5ec7211f01 minor fix: remove the restriction of flag -t; modify hmc service type of slp request.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-24 01:35:32 +00:00
bp-sawyers 662046861d remove explicit perl-Net-Telnet requires from xCAT.spec and xCATsn.spec because it is automatically generated by rpm anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 20:04:13 +00:00
jbjohnso 55c3a0ef04 Sometimes IPMI 2 implementations randomly complain about our math being wrong once in a few thousand tries, start over from scratch should this occur
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 18:21:25 +00:00
lissav 89a683b796 Let internal env variable override, still getting hostnames in request->{username}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 18:20:17 +00:00
nott d01a86fe6c add completeosimage option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 17:14:07 +00:00
jbjohnso 7fce0d11b6 Further refine IPMI support, now pretty solid for 5,000 nodes at a time, still one more condition to recover from, erroneous bad auth code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 17:08:52 +00:00
nott cc76a05db4 add getNodeDomains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 16:56:08 +00:00
lissav 7e171eb1df remove --userid --devicetype from updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 14:38:35 +00:00
lissav 9e892799d6 fix defect 3555671
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 13:56:05 +00:00
lissav 324bbc20f6 fix library
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 11:12:26 +00:00
lissav de83e9c163 fix library for get_ServiceNode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 11:07:27 +00:00
daniceexi 2479aba866 add vmmanager and vmtemplate attributes for rhev vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13583 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 09:17:26 +00:00
daniceexi 0ced77f05b minor changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 09:16:34 +00:00
zhaoertao a732cb476d fix bug 3556007: modifications related to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 04:21:28 +00:00
lissav 564a5df5cb Moving the true error after the usage, it obscures the true error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:13:27 +00:00
linggao 6b6b44b04e fix for vlan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:09:26 +00:00
lissav 1078300eab some improvements and remove --userid --device support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:08:06 +00:00
lissav 57bd1255c1 some improvements and remove --userid --device support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:05:10 +00:00
nott 24ebb08c18 add -c option to mknimimage - 3509405
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 17:44:55 +00:00
lissav 3c4d265607 change and force build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 13:33:51 +00:00
zhaoertao 78dd04ac4a fix bug 3556007: modifications related to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 07:36:09 +00:00
lissav 0864a72444 dumpxCATdb and restorexCATdb had wrong library for get_site_attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 19:46:39 +00:00
mellor b55da8ad16 3560316 change initial mount timeouts to match NFS defaults
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 13:00:15 +00:00
lissav d91af1c001 fix defect 3558801
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 11:11:58 +00:00
wanghuaz 97e4c8fac6 Added dev nodes in hpc integration which could install all the applications and their dependencies.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 08:25:04 +00:00
ligc 6007f02085 fix for bug 3560143: setup postgresql during xcat installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 06:43:25 +00:00
ligc 934084df40 fix for bug 3560143: setup postgresql during xcat installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 06:17:07 +00:00
yinle 032a6d79dc Fix bug 3543531:getAllNodeAttribs take too much time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 01:52:35 +00:00
ligc 151d11a3b9 fix for bug 3559982: chmod 755 for the netboot postinstall files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 01:36:58 +00:00
lissav e42b3dc34a backup change until see how many way called
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:52:20 +00:00
lissav 9959367888 fix check for updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:39:05 +00:00
linggao bfd8e946be changes for multi vlan support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:00:45 +00:00
lissav 9bd7ba8625 fix defect 3558801, do not set TZ if called by updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 16:32:28 +00:00
daniceexi a16b7d5144 Add cfghost,lsve,chfgve commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 14:03:30 +00:00
daniceexi 044395f7cf Add alias for xcatrhevh.cgi to web service
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:59:00 +00:00
daniceexi 418c371dae Add cgi to handle the status update for rhev-h when finished installing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:51:40 +00:00
daniceexi 3ce3fc1db7 Code drop for rhev support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:49:43 +00:00
daniceexi e3a7aa5f47 rhev support: pass source file to child pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:48:24 +00:00
daniceexi 436923e881 rhev support: add virtsd table and columns for vm and hypervisor tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:47:51 +00:00
daniceexi 8caf1afbe2 rhev support: skip running of mkinstall for rhevh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:47:03 +00:00
zhaoertao e2e4361957 fix bug 3531793: wrong error message in rspconfig cmm initnetwork=*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 07:26:39 +00:00
zhaoertao 940b7aef40 add prefix path for genpassword
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 04:35:15 +00:00
nott 67a96aa58d don't overwrite provmethod - 3557471
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 16:16:12 +00:00
lissav 449278bf97 defect 3414740 Merge aixremoteshell/remoteshell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 11:44:15 +00:00
lissav 69684fce04 defect 3414740 Merge aixremoteshell/remoteshell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 11:40:56 +00:00
lissav 1b336f15be defect 3414740 Merge aixremoteshell/remoteshell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 11:39:23 +00:00
zhaoertao 62b01be3d2 fix bug 3558853:genimage need tg3 for firebird plus ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 09:07:37 +00:00
lissav 64585ccfcb fix defect 3558575
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 19:06:36 +00:00
nott 89ff24c51f do multiple bundles at once
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 18:36:07 +00:00
lissav 977b5c667a fix for defect 3556007
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 15:28:09 +00:00
lissav d69aea85f2 fix for defect 3556007
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 15:26:53 +00:00
lissav 4affb884ff Sn spec should be doing a restart of xcatd not a start
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 14:58:41 +00:00
nott 2c19058ab0 fix check ofclient name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 13:54:27 +00:00
nott 9bde1bf177 add check for persistent /var/adm/ras
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 13:20:44 +00:00
jjhua 641a7eca86 chmod +x to configiba.1port and configiba.2ports
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 08:00:33 +00:00
jjhua 09ce0901e1 fix bug 3558059. For Network controller: Mellanox Technologies MT27500 Family [ConnectX-3], there is not a keyword like InfiniBand, add Mellanox as the keyword; in mellanox ofed 4.0.x, it doesn't up the ib0/ib1 interfaces by default, so I update the configiba scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:52:35 +00:00
jjhua 11e2ef4840 fix bug 3558059. For Network controller: Mellanox Technologies MT27500 Family [ConnectX-3], there is not a keyword like InfiniBand, add Mellanox as the keyword; in mellanox ofed 4.0.x, it doesn't up the ib0/ib1 interfaces by default, so I update the configiba scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:43:16 +00:00
zhaoertao 64519483ae list out all the functions that has been moved out of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:03:02 +00:00
jjhua dd3545d945 fix bug 3558059. If the os was updated from sles11 sp1 to sless11 sp2, and the mlnx-ofa_kernel-kmp-default could not be installed successfully. enhance the mlnxofed_ib_install scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 06:40:59 +00:00
jjhua c3154bc47e support the mellanox ofed 4.0.x for sles11sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 03:13:40 +00:00
jjhua 7659e028c5 support the mellanox ofed 4.0.x for sles11sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 03:11:12 +00:00
yinle bfe8d7b327 part of the fix of PMR 29187,066,866
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 13:52:26 +00:00
xq2005 b27e9870ec realtime output for xcat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 12:45:57 +00:00
lissav 0113179a9c better example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 11:38:01 +00:00
lissav 9561b79bf2 better example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 11:36:24 +00:00
wanghuaz a498785451 Moving several changes from 2.7 branch to trunk.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-15 09:53:16 +00:00
nott 24c9ddd1be fix error msgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 15:32:31 +00:00
zhaoertao f587c4d535 fix subroutine moving issue in perl-xCAT/xCAT/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 12:02:13 +00:00
zhaoertao a70a6401fa fix subroutine moving issue in xCAT-server/lib/xcat/monitoring/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:57:30 +00:00
zhaoertao 3eda693ede fix subroutine moving issue in xCAT-server/lib/xcat/plugins/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:55:48 +00:00
zhaoertao 14afeedb9e fix subroutine moving issue in xCAT-server/sbin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:48:59 +00:00
xq2005 2204106886 full install ubuntu on compute node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:22:52 +00:00
yinle ed1ca97eae minor modify about print information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 06:53:05 +00:00
lissav 58543b771c fix changed routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-13 20:10:57 +00:00
jbjohnso abd6e28509 Correct errant addition of line te spec file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-13 19:51:17 +00:00
yinle 605c3ff43c Modify resetnet for demo.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 14:21:42 +00:00
yinle 028498f34e Modify the process of resetnet for demo.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 11:06:49 +00:00
yinle 448c709aed Fix some mistakes; add control to invoke disconnect.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 11:03:54 +00:00
yinle ca15e05f2d Add print information to lsslp. Put in the prm modification.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 07:05:28 +00:00
yinle b9f170fea9 Add print information to lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 06:56:45 +00:00
yinle 22fe09edb0 Fix bug 3555911: lsslp -I output format is different from manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 06:41:12 +00:00
yinle 916bd86a87 Fix bug 3555910:lsslp -i gives reduntant info which is not specified by -i
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-11 06:23:35 +00:00
jbjohnso d5064385f8 Fix problem where nodestat would make two ipv4 passes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-10 16:23:23 +00:00
amy0701 9590babced update testcases for imgexport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-10 05:30:30 +00:00
amy0701 4e18949f09 update testcases for imgimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-10 04:35:29 +00:00
lissav 41b34ff9cb add check if nodetype defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 16:14:44 +00:00
amy0701 7d6b66d06a update testcase for lslite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 09:33:42 +00:00
amy0701 0be7b150fd update testcase for geninitrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 09:32:26 +00:00
daniceexi c9c00ec7fd defect 3555500, supress the warning when run xcat command in XCATBYPASS mode. It only happens for sles11.sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 08:54:22 +00:00
xq2005 59e6c5f418 code format in debian.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 08:49:43 +00:00
zhaoertao f06b7dbbc5 for item: clean up Utils.pm, the code in xCAT-UI/xcat/plugins/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:10:24 +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
zhaoertao 3a4f26c3cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:05:37 +00:00
zhaoertao b9811ba810 for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/dsh/Context/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:03:01 +00:00
zhaoertao e822d0406e for item: clean up Utils.pm, the code in xCAT-server/lib/per/xCAT/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:00:45 +00:00
zhaoertao f0bc50d27b for item: clean up Utils.pm, the code for xcatd. the thishostisnot function has been moved to NetworkUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:58:34 +00:00
zhaoertao 92c1e16522 for item: clean up Utils.pm, the code in xCAT-rmc/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:51:11 +00:00
zhaoertao 571f3e3962 for item: clean up Utils.pm, the code in perl-xCAT/xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
jbjohnso 21a301f6af Explicitly turn on network in templates that suggest network setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 02:05:53 +00:00
jbjohnso 887266cc70 First pass at masking stock init script from FSM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 21:03:25 +00:00
jbjohnso 07b89a8df3 Hve nodestat also look for https server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 20:59:29 +00:00
jbjohnso 1d4db3c080 Fix nmap to never attempt reverse lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 20:56:47 +00:00
jbjohnso 9764d338cd Further refinements of IPMI, defer retries until there is a guaranteed chance given for BMC to reply
Ensure every transmit gives an opportunity to process incoming data

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 19:52:02 +00:00
nott 7ea019857e clarify use of -n option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 18:14:19 +00:00
nott b01f3caece fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:48:03 +00:00
nott a4ee0bb853 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:45:31 +00:00
nott 042c3cc544 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:37:51 +00:00
nott ac30816620 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
lissav c0c737b26c use noderangecontainsMn routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 16:41:12 +00:00
lissav 35f3c53a4d use new noderangecontainsMN routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 14:57:31 +00:00
lissav 84ab9da2cf add check to see if the Management Node is contained in the defined noderange array input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 14:55:24 +00:00
lissav af3efe7170 fix xdcp broken 3552171
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 13:25:52 +00:00
jjhua 6a491bec27 correct some grammar errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 08:54:11 +00:00
yinle 1285f0226c Fix PMR 29187,066,866
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 02:55:25 +00:00
jbjohnso 8d93c5ec4a Fixes for xcatws
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 21:04:24 +00:00
jbjohnso 4cc18fab26 Actually to flesh out osimage table, but don't complain when it fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 20:47:21 +00:00
lissav 958074c53a fix defect 3549482
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 10:00:48 +00:00
xq2005 d11a829dc4 change the fadump kernel parameter format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 08:35:44 +00:00
xq2005 0d36fd6d84 change the fadump kernel parameter format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 08:30:19 +00:00
wanghuaz 45492244fd Skipping comments in pkglist and ospkglist before processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 07:07:50 +00:00
amy0701 8efc881946 update testcase for copycds for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 05:07:35 +00:00
amy0701 f1eb133bc5 update testcase for makedhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 04:27:18 +00:00
cjhardee 18ee3bcc1d Hid the messages about updating the tables in certain circumstances, as it may be intentional
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-05 05:05:45 +00:00
cjhardee ee984847fb git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-08-05 05:04:07 +00:00
cjhardee 1acdee07e7 Made the unmounting lazy so it worked when in use
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-05 05:03:28 +00:00
lissav d489e54953 add MERGE info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 10:40:56 +00:00
daniceexi bf530633a9 Add the logic that use the mac of cmm to match the cmm which found from slp when switch:port match failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 08:50:15 +00:00
daniceexi a1e347ade2 add the new command slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 08:48:26 +00:00
xq2005 c160394777 show the output information realtimely
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 02:57:33 +00:00
xq2005 026dd99301 support fadump on p7 ih
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 01:57:58 +00:00
xq2005 88922b24f6 support fadump on p7 ih cluster
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 01:51:51 +00:00
lissav b0618594cd Fix rsync function to MN, and filx APPEND
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 19:04:07 +00:00
nott 592546e369 check before restart inetd and nfsv4 setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 18:14:08 +00:00
lissav d9cb5c4112 change rsync to MN to use rsync not copy and fix xdcp other bugs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 16:23:08 +00:00
lissav 27abf7c267 backing out last fix, having syntax errors in test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 15:10:25 +00:00
lissav c6695267b6 additional fix for 3552171, xdcp should not be syncing the synclist, if the node is not hierarchical
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 13:59:14 +00:00
bp-sawyers 5801156123 Have chain end in shell instead of standby
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 12:20:08 +00:00
amy0701 6fea46f2b1 update makedns testcase for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 07:46:03 +00:00
yinle 48faf4570f Modify the return value of resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 07:05:09 +00:00
yinle 22b7c0ab32 Modify the return value of resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:54:50 +00:00
zhaoertao bc25b8b239 fix bug about 'hwtype' string changing into a string array in hierarchical environment.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:54:34 +00:00
ligc 3142f33bde fix for bug 3553437: add be2net driver into the default list, it is needed by blacktip blades work with SLES 11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:08:50 +00:00
ligc 026398c7b2 fix for bug 3553437: add be2net driver into the default list, it is needed by Firebird blades work with SLES 11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 05:31:49 +00:00
jjhua acca602ef7 update the rflash manpage to fix bug 3553161
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 02:58:09 +00:00
lissav 00de172334 fix defect 3552171
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 13:29:12 +00:00
lissav ad2cca4c3d fix defect 3552171
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 13:28:25 +00:00
amy0701 c1287bed47 update testcase for packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 05:38:08 +00:00
amy0701 a101847d0e update packimage testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-01 04:59:06 +00:00
bp-sawyers d7fbf909d4 Make the e1350 templates work with nodenames like n01, not just n1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 18:36:50 +00:00
lissav 638838010c Left in bash so something working. Having trouble with the comm call in shell
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 16:24:37 +00:00
zhaoertao 51d77e198c fix bug 3552543 and 3442549, the FB->getmacs <noderange> cannot work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 14:09:50 +00:00
lissav 6fb2e6b8be fix -f information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 13:15:42 +00:00
lissav 7d2a734465 remove names from man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 10:53:37 +00:00
lissav 24ce8ff3d1 more fixes for hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 19:49:02 +00:00
jbjohnso 18052caaef Tweak IPMI retry to be more aggressive to reduce impact of occasional drops
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 19:22:46 +00:00
lissav 753efd9492 fix -f flag information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 13:20:43 +00:00
xq2005 577836a519 support fadump on stateless netboot on redhat and ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 07:52:55 +00:00
yinle cb28d3555c Fix the mistake that removing callback from the SLP.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-29 13:42:03 +00:00
lissav 356f765c83 updated for merge but still needs testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 18:20:08 +00:00
lissav 6041cb6a8f checkin merge support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 15:33:13 +00:00
yinle 0ecdb2c460 Made some performance improvement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 14:17:37 +00:00
yinle b05adb16ba Fix a mistake and do some performance improvement.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 14:11:12 +00:00
xq2005 3a8ba9b243 change the layout on discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 06:24:11 +00:00
xq2005 958261b8e1 show the return information on the page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-27 04:54:26 +00:00
jbjohnso 83334fb3f5 Have getpostscript work with node x509 auth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 19:31:13 +00:00
jbjohnso b582f177f6 Fix mistake in slpdiscover.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 18:59:08 +00:00
lissav df23c21198 more testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 15:20:49 +00:00
jbjohnso 2beaf85453 Fix problem where IPMI 1.5 timeouts would bug rather than properly report problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 13:10:39 +00:00
lissav f7fc5f7321 fix defect 3549072
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 12:10:23 +00:00
jjhua 42cf1d088e create the KERNELDIR for ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 09:12:26 +00:00
jjhua 9c1636bbe6 support ospkgs with multiple package paths of pkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 08:23:38 +00:00
jjhua c7e782afc4 remove my code in r13321, back to r13300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 07:27:08 +00:00
jbjohnso f19277afe8 Rework pulling packets off the socket, less delay in moving data to a more stable data structure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 20:19:20 +00:00
jbjohnso 825e410d16 Rework IPMI.pm a tad for better sacalbility
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 20:19:08 +00:00
lissav 68736e5789 merge script to be run by xdcp to support the MERGE function, more testing needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 16:59:07 +00:00
nott 5dea590474 add /proc setup for hasn env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 15:20:21 +00:00
xq2005 85460c3f2e support upload the vpd and mtms file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 12:17:04 +00:00
zhaoertao fe27cd788f fix a bug about 'chvm <lpar> lparname=xxx' not work properly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 06:53:31 +00:00
wanghuaz f7b7027c5a Added ksh as a dependency of gpfs 3.5.0.3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-24 05:34:30 +00:00
yinle 5877d372ff Performance improvement on processing slp ppacket
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 14:53:53 +00:00
xq2005 9f52269d85 modified for darpa demo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 10:13:30 +00:00
xq2005 fd39f52d46 add resetnet process for p7 ih cluster setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 10:06:51 +00:00
yinle e8634f6f48 remove callback subroutine in lsslp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 07:40:51 +00:00
yinle b24f31515d remove callback subroutine in SLP.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-23 07:33:51 +00:00
jjhua 4ac9f2e224 this code change is for the changes in Postage -- put the OSPKGDIR attribute in the /xcatpost/mypostscript firstly. To support ospkgs enhancements to install/upgrade OS packages from Updates, it still needs some code changes in ospkgs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 09:55:45 +00:00
zhaoertao 00ac099deb fix bug 3546270:rspconfig <cec> HMC_passwd=xxx output error message, for hierarchical environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 09:54:54 +00:00
jjhua 4d96588172 To support ospkgs enhancements to install/upgrade OS packages from Updates , we should put the OSPKGDIR attribute in the /xcatpost/mypostscript firstly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 08:47:17 +00:00
immarvin ee64dabb27 download rmcmon related scripts and resource files with http
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-19 06:57:13 +00:00
lissav 8acf0432cb fix 545451
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 17:07:55 +00:00
lissav 38b6ef1f6c fix 545451
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 16:42:40 +00:00
lissav 731b3d3bf9 fix logic on call to genSSHNodeHostKey, should only be called with -u -i -f -s flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 11:35:32 +00:00
xq2005 edc06a1908 change the server side code for darpa demo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 08:13:14 +00:00
bp-sawyers 1d781685c5 Improved description of syspowerinterval and syspowermaxnodes for ipmi case.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-17 17:39:12 +00:00
lissav 4707128114 fix image group definitions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-17 11:56:53 +00:00
bp-sawyers c185096fa8 Added description for httpport site attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 20:38:11 +00:00
nott 7c6e77f127 add mntopts to litetree mount command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 17:07:35 +00:00
nott 60741454d0 add mntopts to the litetree file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:55:29 +00:00
lissav 7aabf03e2c add comments to explain
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:37:42 +00:00
lissav 06c22411b4 fix defect 3544651
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:16:33 +00:00
xq2005 8ff50af5ca fix the graphical layout error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 11:49:57 +00:00
nott d611be83a7 add mntopts to litetree table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 20:11:00 +00:00
nott e824c74fad add mntopts to litetree table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 19:56:24 +00:00
nott 8016f64591 use correct hash for target servicenodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 17:47:24 +00:00
jbjohnso 8251123d26 vSphere autologin configurability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 13:42:33 +00:00
lissav 0b517b5801 fix comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 11:39:53 +00:00
xq2005 9dd6f8444a specify partition file: support suse to use definition and script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 09:22:13 +00:00
xq2005 b090b75fbe specify partition file: support sles to use definition and script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 09:19:43 +00:00
bp-sawyers 638642a29e Remove openslp-xcat require
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 17:58:10 +00:00
xq2005 d1effdcabb specify partition definition: support script for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 10:27:21 +00:00
xq2005 179d0c4cc2 specify partition definition: support script for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 10:26:10 +00:00
yinle 3bf9c3ebe2 Fix a mistake that connect sub-routine alway use hosts.ip to login ASMI for resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 08:51:22 +00:00
yinle 3657ba13f6 Made specific choice of preprocess_nodes for rspconfig resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 07:55:31 +00:00
phamt 5105672e61 Allowed user to edit user entry even if node is unreachable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 16:10:04 +00:00
lissav 7ba5f5a827 fix ODBCsetup code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 12:25:00 +00:00
lissav d67c1ad4c8 fix odbc setup of odbcinst.ini file database name wrong
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 12:06:17 +00:00
zhaoertao 0e30326a43 add flag '-i' for getmacs for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 08:40:16 +00:00
xq2005 26a330f6dd fix bug for specify partion file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 07:39:59 +00:00
xq2005 293f9490b9 fix bug for specify partion file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 07:23:06 +00:00
lissav 7c949b11b5 fix defect 3510989
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 18:53:49 +00:00
lissav f6f39da154 Add -N to pgsqlsetup and correct comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 11:21:24 +00:00
amy0701 b8b0b2a1d8 update rpower sleep duration in testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:49:31 +00:00
amy0701 e8df125d40 update genimage testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:30:50 +00:00
amy0701 39c369f467 update genimage testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:26:01 +00:00
xq2005 a8d1627801 specify paritionfile:
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:14:04 +00:00
xq2005 44d0bf1e2b specify paritionfile: modify the pre.sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:02:20 +00:00
xq2005 4c5b3ee8b1 specify paritionfile: modify template.pm for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 05:59:35 +00:00
jbjohnso e6c05ea003 Increase timeout for nic waiting to 10 minutes instead of 30 seconds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 19:23:23 +00:00
lissav 397d807fb6 Add option -N to only setup the database, do not backup/restore of start/stop xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 18:24:31 +00:00
lissav a4dc255e0f fix man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 17:00:45 +00:00
phamt 8f2acc5719 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-07-09 13:46:18 +00:00
phamt 26e70ec83c git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-07-09 13:45:17 +00:00
wanghuaz af998fbf28 Additional code checkin for image group working with litefile and litetree tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 08:22:01 +00:00
wanghuaz 3c221e5366 Checkin code for image group support which will be used by litefile/litetree table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 07:57:48 +00:00
zhaoertao 561abd493b fix bug about 'runcmd' subroutine in hierarchy environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 02:41:16 +00:00
jbjohnso a6a6e79446 Add feature to Template.pm to facilitate autoula addressing for esxi5 deployments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-06 21:09:04 +00:00
jjhua a148f21ce4 correct an error of the ==
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-06 08:59:58 +00:00
daniceexi 161cdeb4ec code drop for the support that loading drivers from driver rpm. The change has affected the code logic for driver disk support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 14:59:08 +00:00
xq2005 46531485db specify partition definition: support definition file for sles/suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 07:42:13 +00:00
xq2005 0ce9d811b9 change the discovery step on the discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 06:59:38 +00:00
yinle 7315ed65ce Fix a mistake about rspconfig resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 06:26:55 +00:00
xq2005 4de4edcd88 specify partition file: get patition definition file in sles.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-04 06:11:22 +00:00
ligc 4ae68c7e56 fix for bug 3538906: perl-DBD-DB2Lite-1-2.aix7.1.ppc.rpm breaks chkosimage, change perl-DBD-DB2* to perl-DBD-DB2-*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-04 04:35:12 +00:00
jbjohnso f0f150f698 Rework the FSM excludes bits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 21:03:33 +00:00
nott 331dc24373 add check for myxcatpost file name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 18:01:49 +00:00
jbjohnso fdb706b631 Have policy table recognize the name '*' to mean any valid name, but must have some name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 16:29:28 +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
zhaoertao f43f3508b2 fix PMR 29163,066,866 ECMWF :chvm broken after xcat 2.7.2 upgrade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 06:31:58 +00:00
lissav 1a292a871e fix defect 3538653
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 12:57:24 +00:00
lissav ee30877059 fix defect 3538653
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 12:55:37 +00:00
jjhua 824503966a fixed bug 3538093, create a temporary uname in the image's rootimg dir before running the postinstall and remove it after postinstall during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 07:27:16 +00:00
jjhua 4aed8e5a3b fixed bug 3538093, create a temporary uname in the image's rootimg dir before running the postinstall and remove it after postinstall during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 06:40:07 +00:00
yinle 287ed1f702 Modify rspconfig --resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-01 03:19:10 +00:00
yinle e754531b31 Modify rspconfig --resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-01 03:11:25 +00:00
bp-sawyers 77b68f4591 updated the noderes.tftpserver description to indicate it defaults to networks.tftpserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 13:46:20 +00:00
lissav d04aed5d42 add -N flag to support only setting up the database , not backup and restore xcat into it or start the xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 11:25:06 +00:00
lissav fbb0c03121 man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:56:56 +00:00
lissav 27c82a8131 man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:52:41 +00:00
lissav a1a4f17142 man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:35:51 +00:00
lissav 2695b79c9c man page updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 10:26:17 +00:00
zhaoertao 0c5453290d use 'verbose' instead of 'Verbose' option to match the command usage in Usage.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 09:03:22 +00:00
zhaoertao e532ea48ae fix bug 3519576:Performance improvement to blade.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:44:37 +00:00
zhaoertao 4caebea74d enhance 'rinv' for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:03:35 +00:00
ligc e76908aa91 fix for bug 3536372: download postscripts from the server specified in kernel parameter XCAT=xxx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:58:59 +00:00
zhaoertao fb234debb6 Modify 'rvitals' to support SNMP for Firebird blade and CMM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:07:27 +00:00
ligc 0a6f3cc7c5 fix for bug 3538902: move the code from ddns.pm to xcatconfig to configure named to start on boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 05:52:47 +00:00
ligc e61f51388f fix for bug 3524402: run chkconfig dhcpd on in xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 03:17:04 +00:00
bp-sawyers 6a52d2327b fix spec file syntax error on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 16:43:23 +00:00
lissav 0ceaff865c fix defect 3538653
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 15:51:50 +00:00
bp-sawyers 3bbc6381fd fix syntax prob in the xcatconfig man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 13:41:08 +00:00
ligc a7ef8f450f fix for bug 3538372: check nfs mount on SN should be more precise
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 11:34:32 +00:00
immarvin 0ed49476f1 add rhels6.3 i386 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 07:35:36 +00:00
immarvin 2fae43d52e fix defect ID: 3537687 BOOTIF is not written into yaboot file on sles11.2 for ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 04:11:39 +00:00
immarvin 7d56f61887 add support for rhels6.3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 03:17:02 +00:00
jbjohnso 9f8d68ed3d Have nodestat support IPv6 destinations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 13:35:55 +00:00
xq2005 66171611d4 specify partition file: mify all *.tmpl files for centos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 09:11:58 +00:00
zhaoertao 9cf5466c5e output the 'oper-firmware' state for Firebird blade.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 09:08:54 +00:00
xq2005 617bf680a1 specify partition file: mify all *.tmpl files for fedora
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 08:59:34 +00:00
xq2005 2f2d9d50fd specify partition file: modify all *.tmpl files for SL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 08:08:30 +00:00
xq2005 f0216ca0b4 specify partition file: modify all service/xen*.tmpl file for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:45:21 +00:00
xq2005 4ea0b3a319 specify partition file: modify all kvm/iscsi/hpc.*.tmpl file for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:21:18 +00:00
ligc 2bee456744 fix for bug 3529354: imgcapture does not work with -o imagename flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:09:53 +00:00
ligc 80d7105e4b fix for bug 3530169: display a warning message when can not find group member
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:05:01 +00:00
xq2005 4c16b60a0f specify partition file: modify all compute.*.tmpl file for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:04:41 +00:00
mellor b10f2968d4 defect 3538251 - rollupdate boundary error fix: did not run llmkres if node count less than updateall_nodecount
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 22:03:07 +00:00
jbjohnso 35869b7a81 Correct various mistakes in the RHEL5 driver disk injection code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 15:49:17 +00:00
lissav c01096db79 Do not allow updatenode -k to the Management Node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 15:15:19 +00:00
lissav 1788410105 Do not allow xdsh -K to the Management Node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 14:39:56 +00:00
lissav 9db06eb9ef fix manpage to use xcatconfig -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 12:46:18 +00:00
lissav cd24fdead3 add -m option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 12:41:56 +00:00
lissav 66cc3be938 add xcatconfig -m to put management node in the DB correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 12:35:12 +00:00
jbjohnso 2e7f1599fe Have autoula addressing store in hosts.ip for KICKSTARTNET directive
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 20:05:11 +00:00
jbjohnso f590db8fc4 Have nodestat fallback to hosts.ip lookup if applicable
Make nodestat more IPv6 workable with nmap

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 19:41:33 +00:00
xq2005 9ee701ca4a fix the problem for json return format with imbedded list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 14:03:30 +00:00
xq2005 c5a5298977 specify partition file: add comment line in pre.rh file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 13:39:15 +00:00
xq2005 ec01401ee9 specify partition file: add comment pair in tmpl file for x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 13:36:23 +00:00
xq2005 8986a3151a specify the partition file: add the definition into configure file for rh,SL,CentOS,fedora
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 12:03:03 +00:00
xq2005 4662457616 specify partition file for install node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 07:19:41 +00:00
zhaoertao 0757920664 modify getmacs: write lowercase mac address for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 02:20:36 +00:00
jbjohnso 60a6b2d331 Fix problem where if template passed in has parameters on a module, xCAT would consider that part of the filename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:57:52 +00:00
jbjohnso ee4e786d34 Fix problem where esx.pm would do a heavy handed bailout on a table error of one node
Have xCAT try to find nodes if vCenter is indeed in play even if the alleged hypervisor is not available.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:45:52 +00:00
jbjohnso 4fed39c1e5 Fix problem where 'copyIfNewer' was actually 'copyIfOlder'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 15:16:34 +00:00
jbjohnso f35debd190 Provide method for users without desire of xcatmod.tgz to opt out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 14:52:17 +00:00
linggao a886000855 fixed a problem that still logs to localhost for syslog-ng
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 20:05:22 +00:00
jbjohnso d064e984b7 More FSM exclusions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 19:46:19 +00:00
lissav 08688dce25 fix defect 3530574 allow multiple command in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 18:05:44 +00:00
jbjohnso a7f41ecb00 Fix problem in previous checkin with superflous 'my'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 17:27:22 +00:00
jbjohnso 7ab7085122 Use xcatiport and opt not to do install monitor if unset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 17:27:15 +00:00
jbjohnso bc3c169c56 Have FSM packaging also exclude templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:41:16 +00:00
lissav 7625dab575 fix defect 3393889, allow longhostname in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:12:18 +00:00
lissav d0e29a67e6 fix defect 3393889, allow longhostname in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:11:06 +00:00
jbjohnso 65f12a5022 Wrap unlikely scenario in eval to hopefully keep DB worker up in the face of some nebulous problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 15:19:06 +00:00
lissav 1fdee03579 Move xcatd validate routine into and create an xcatd library. This should help with development and debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 13:00:38 +00:00
lissav bc08d48d91 Move xcatd validate routine into and create an xcatd library. This should help with development and debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 12:59:40 +00:00
zhaoertao 2f4cbf7dbf code for Adding verbose for xCAT commands item
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 09:43:16 +00:00
jbjohnso 646386b6d2 Fix sles, http makes it unconditionally '/install' regardless of backing path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 19:29:00 +00:00
jbjohnso 5383a88a60 Fix problem where ula generation failed to deal properly with hexadecimal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 18:06:30 +00:00
jbjohnso 1762312121 Add a template directive for mostly FSM use for now, enable a non-dhcp address management scheme
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 16:35:21 +00:00
lissav 0bac1d53c6 add APPEND to the man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 11:44:07 +00:00
lissav 88ecf22c5b updatenode xdsh -c info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 11:23:31 +00:00
lissav e2b1f70f6b xdsh -c cleans up both the SNsyncfiledir and the nodesyncfiledir directories on the SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 11:13:09 +00:00
jbjohnso 45e9ac6f1e Actually source the httpmethod/httpport from site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 20:20:47 +00:00
jbjohnso 62507fbe0e Prepare to have http/https switchable and non-default http ports
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 20:17:42 +00:00
lissav 8434c0932e hierarchical xdcp APPEND support, more testing required. Need to add -v flag to append script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 17:30:35 +00:00
bp-sawyers c11ec21350 Don't require tftp for s390x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 15:21:18 +00:00
jbjohnso 7ba4186fff Enhance slpdiscover to reconigure CMMs even if their password is not default if user provides an alternative
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 14:35:27 +00:00
xq2005 8403898633 add the partitionfile attribute into linuximage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 05:48:52 +00:00
bp-sawyers 5d9aba4817 Remove perl-Net-Telnet requirement from zvm build of xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 00:31:31 +00:00
bp-sawyers 2eb33775b5 change zvm pkging to avoid fping require and other xcat files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 21:35:53 +00:00
lissav 3e27aa6e51 remove fping_hostnames routine, unused and do not want a dependency on fping in xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 19:27:04 +00:00
lissav f0f7f3246c APPEND works non-hierarchical, still testing and documenting for hierarchy.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 16:39:35 +00:00
jbjohnso b45ccfc13e Fix problem where nodegrpch would fail to modify tables where 'nodecol' is not 'node'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 16:34:42 +00:00
zhaoertao 0b5567ff3c the codes about NGP genesis state process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 08:38:30 +00:00
zhaoertao 54f8b58399 the codes about Firmware Deferred Update feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 08:29:59 +00:00
yinle 78c29cbeec Fix some mistakes about rspconfig resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 05:36:15 +00:00
xq2005 45d573dc72 kdump on sles supports mutiple nodes crash at the same time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-16 01:41:46 +00:00
brianfinley 64716ca324 Revert to original epoch from before my last commit. Since our Release
value includes the build date, every build is a slightly newer version
of the rpm, so it installs over the existing rpm fine.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 16:59:08 +00:00
lissav ce1c8ff35a checking in code for APPEND, still needs testing do not try
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 15:43:55 +00:00
lissav 88778a93d9 checking in code for APPEND, still needs testing do not try
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 15:42:45 +00:00
jbjohnso 36478f64e1 FSM has no need of xdcp/xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 14:17:13 +00:00
jbjohnso 55819f9bab Refine FSM packaging, make SHA1 optional
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 14:17:07 +00:00
xq2005 84e654bb84 create the setup configure file with new format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 09:38:48 +00:00
xq2005 bf7e1d2303 add more input area to create the setup configure file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 09:13:32 +00:00
brianfinley a9284fafcc s/in scaling cluster./for a large cluster./g
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 05:18:56 +00:00
brianfinley 6562e26252 - Use "-f" when removing /etc/profile.d/xcat.* on erase. If the file is
already removed, then with out "-f", the package fails to erase.



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 03:47:11 +00:00
jbjohnso cb482e73f8 Further refinement of FSM build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:43:11 +00:00
jbjohnso 89aba68666 amend the trimming of FSM xCAT-server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:43:04 +00:00
jbjohnso 904f704cb9 Further trim perl-xCAT in FSM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:36:17 +00:00
jbjohnso eb84d0512a Extend FSM embed conditional to perl-xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:36:11 +00:00
jbjohnso e3dda6f800 Add an FSM embed style xCAT-server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:11:23 +00:00
lissav c2428d06dc Add APPEND: support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 17:27:41 +00:00
lissav 23075ccac5 fix name to lowercase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 17:12:06 +00:00
lissav b0118035a7 fix name to lowercase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 17:11:25 +00:00
lissav 6d94da7278 setup default Nodesyncfiledir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 16:59:39 +00:00
lissav 30a3c6e458 add Nodesyncfiledir attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 16:19:43 +00:00
nott 88ac8cdc5c add -l option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 14:47:21 +00:00
nott 9e1ef03a1d fix -l option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 13:47:03 +00:00
xq2005 adf678cd50 add the hardware information to support more hardware type on the graphical layout page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 09:51:52 +00:00
brianfinley 46b25172e2 improve verbiage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 06:10:47 +00:00
phamt b168b84acb Delete old code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 18:42:40 +00:00
phamt 907b48c7e8 Fixed bug where gmond.conf is never updated if there is a string "xCAT gmond settings done" in the file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 18:20:52 +00:00
brianfinley 7985b1b1df Give users an indication of where to find dhcpd.leases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 15:28:45 +00:00
lissav 1d56dc9bfa remove check for WCOLL env variable and warning, someone is AIX is using it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 11:07:16 +00:00
xq2005 a5c6f451a2 add input area which user can configure the password for bpa, fsp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 09:47:48 +00:00
xq2005 72de8ad3b9 change the style on discover page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 09:18:46 +00:00
bp-sawyers e7ecf9115d Exclude the upflag source dir when building the xCAT meta rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 20:21:39 +00:00
lissav 2153f2b98c start support of APPEND clause in xdcp, transfer complete. Build of append script TBD
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 12:36:54 +00:00
immarvin 4c70024ffb According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 11:55:54 +00:00
immarvin 13f4d07649 copycds enhancement:add -p and -i option documentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 09:12:56 +00:00
immarvin 9d389484a5 According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 07:06:17 +00:00
immarvin f4a7e87f32 According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 06:58:09 +00:00
immarvin 81c0efbc9a copycds enhancement:add suppor for -i and -p option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 05:49:57 +00:00
nott 16caed568f Add -r option to rmdsklsnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:52:45 +00:00
jbjohnso 063894bb17 Bump genesis version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:36:11 +00:00
nott 9c2f508523 Add -r option to rmdsklsnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:29:20 +00:00
jbjohnso 00278c221f Add some extra libraries for genesis
Remove ssh key from rpm, mknb is supposed to do this later

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 18:10:58 +00:00
lissav 6f20255891 Put warning in updatenode -k, not to run to the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-11 11:25:09 +00:00
arifali 06275cbf9f remove vsftpd dependancy, and make genesis the default rather than nbroot, add elilo-xcat dependancy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-10 15:53:25 +00:00
arifali 5fc6f38540 remove vsftpd dependancy, and make genesis the default rather than nbroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-10 15:51:15 +00:00
lissav 58d9e65cfd take out author
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-10 10:05:23 +00:00
nott fa34a93be2 fix xcataixscript bug 3529713
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 18:06:24 +00:00
jbjohnso 60758604ad Fix problem with clonevm in vmware when target uses the legacy vm.storage syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 13:35:13 +00:00
lissav 6075538a00 add fanout interface to man pages for p* command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 11:55:39 +00:00
lissav 4fd1fd364a change order of checking for fanout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 11:47:04 +00:00
lissav b29a32f159 support fanout input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 11:38:07 +00:00
jjhua ce4159a002 in PPCconn.pm , it will match the FSPs' IPs after querying.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:57:22 +00:00
immarvin 1661b574af copycds enhancement:remove some debug messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:29:51 +00:00
immarvin dc55140fe4 copycds enhancement:add -p and -i option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:06:09 +00:00
ligc 6258e5505f fix for bug 3496130: resolve hostname to ip address in /tftpboot/etc/<node>, copy resolv.conf from initrd into rootimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:00:26 +00:00
immarvin 8cc73753da copycds enhancement: mkdir for the symlink under /install if not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 08:45:22 +00:00
immarvin ec55bfc9fa copycds enhancement: sub localize_yumrepo have to follow symlinks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:30:58 +00:00
immarvin 621425dada copycds enhancement: update linuximage table with the specified ospkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:20:07 +00:00
immarvin 30ecd6c0da copycds enhancement: add --inspection option and -p option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:00:27 +00:00
immarvin 3698ea3808 copycds enhancement: add --inspection option and -p option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 02:33:20 +00:00
jbjohnso 298b4e0e3d Fix error with how enum is passed into vsphere api in vsphere support for win2k3 specialization
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:46:54 +00:00
nott f144582597 hasn- dont run mkresolvconf script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:20:10 +00:00
lissav b6a3ada2d2 add -f fanout and XCATPSHFANOUT suupport to allow change of fanout on the command line and with env variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:02:49 +00:00
jbjohnso 805fb1510d Fix problem where tabdump -f would fail to correct for relative paths. It really shouldn't be doing this server side at all....
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 18:16:29 +00:00
lissav 77f2c8c011 fix error data should go to XML error attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 13:25:48 +00:00
lissav 3c1a950a52 fix error message to go to XML error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 13:19:01 +00:00
lissav afa883d9f0 restructure to add APPEND feature. Fix lots of messages so they will go to XML error structure instead of data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 13:00:05 +00:00
daniceexi 56c36adad6 defect 3524563: We encountered issue in LRZ with the last change that keep the udev before the chroot. The problem was IB device which started after chroot does not work. The fix was to kill the udevd after the starting of net device
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 06:13:32 +00:00
phamt 0cec3a60d6 Fixed bug in Ganglia to always update gmetad.conf when moncfg gangliamon -r is run.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-06 14:52:35 +00:00
jbjohnso b1137466c4 Fix problem where EFI based installs failed to correctly place boot partition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-05 13:42:40 +00:00
lissav 3d6d887c13 add example for setting up mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-05 13:40:56 +00:00
lissav d016775cb6 fix defect 3531962
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-04 18:41:45 +00:00
lissav c504303ba1 fix defect 3531617
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-04 11:55:43 +00:00
lissav b37b057928 document new PG binary dump and restore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 15:28:25 +00:00
lissav f5b0b58a79 fix hardcoded db name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 15:19:21 +00:00
lissav f66405ce90 binary restore for PostgreSQL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 15:17:08 +00:00
lissav efe62f60e2 Add binary dump support for Postgresql
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 14:41:13 +00:00
lissav fd9dc84806 add root user to pg, needed to run odbc and pg_dump/restore as root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 12:48:04 +00:00
immarvin 589ba1cecc fixed defect:Summary:change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 08:08:41 +00:00
immarvin a1d7bb8bef fixed defect:Summary:change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 08:08:06 +00:00
yinle 4f52da3dac Add description about lsslp restriction on AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 04:48:32 +00:00
yinle 5acbeefa0d Remove the part adding multicast route, suggest the user to add and delete it manually to avoid potential issues.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 03:53:48 +00:00
jbjohnso 2c47c2613c Provide a default value for win2k3 cloning use with clonevm specialize
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 02:22:14 +00:00
jbjohnso 5a12985c62 Have nodeset return a more helpful message when passwd table is missing an entry for esxi when doing esxi operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 17:39:27 +00:00
lissav 32da90eec2 handle changing paths based on 9.x ptf level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 17:06:57 +00:00
lissav 81c02cd17b fixed some of the error processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 15:10:32 +00:00
lissav 9fd00d35f6 add new options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 14:36:11 +00:00
jbjohnso d87f11e52a Fix blade.pm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 14:08:55 +00:00
lissav 88b303e416 tested with posgresql 9.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 13:51:55 +00:00
wanghuaz 90db9c8b26 Fixing bug 3529659 in trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 07:04:40 +00:00
jjhua a081c44d72 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@12965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 05:24:21 +00:00
jbjohnso 9290d4a876 Add support for certain IPMI specified events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 21:10:24 +00:00
lissav cdeab53cfd put back database backup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 18:25:48 +00:00
lissav bc0d3dce09 implemented perl expect, so no password prompting required and XCATPGPW env variable to supply password. Still needs testing on 90 and add PCM roles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 18:04:28 +00:00
lissav 5c2489880d Added support additional PCM support, still needs work and testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 15:29:18 +00:00
yinle 14ef237f75 Fix the mistake that lsslp noderange return incomplete information; Fix some type error of verbose information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 08:56:43 +00:00
yinle bb64f581c9 Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 08:50:16 +00:00
xq2005 b035ad5c1c fix bug 3529429 for kdump failed on non-p7 ih plinux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 04:45:18 +00:00
phamt 5e511d4ad5 Fixed bug where IP range and hostname range were not corrected checked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 23:15:13 +00:00
jbjohnso 18c9cf84ab Fix blade.pm tolerance in a way more targetted at discovery specifically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:51 +00:00
jbjohnso 7af1cd03fb Revert "Fix problem where blade.pm failed to isolate table configuration problems"
This reverts commit 637ad509abf90eabce30321d53793139fb084aaf.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:32 +00:00
jbjohnso b4d8def3a9 Fix problem where blade.pm failed to isolate table configuration problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 15:19:39 +00:00
jjhua c764d28959 move the action setting out of the loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 01:56:58 +00:00
lissav 9cc7c080d3 fix tabch -h
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 10:39:49 +00:00
jjhua 5a561cf82f improve the performance of rvitals
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 09:05:53 +00:00
yinle 6de5fb7428 fix bug 3529398: lsslp -n give inconsistent output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 08:44:05 +00:00
xq2005 44c8a87f91 support kdump on p7 ih with static ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 07:10:40 +00:00
xq2005 b878818966 support kdump on p7 ih by static ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 06:58:40 +00:00
jbjohnso ba7c29b62a Fix spacing issue in gateway append
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:39:14 +00:00
jbjohnso 03e418ee62 Fix bmcconfig issue with ipv6 networks in table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:35:10 +00:00
jbjohnso 4589f5a558 Fix -g being specified even without a gateway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 20:35:03 +00:00
jbjohnso 98c1a84cb5 Fix erroneous forking in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 19:52:17 +00:00
jbjohnso 7d0636aa8f Tweak some messages on slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 19:40:21 +00:00
jbjohnso fef814d4d4 Have SLP try node-local scope ipv6. I don't think this is correct, but some targets work better with that destination
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 17:44:47 +00:00
jbjohnso eaec3c372b Fix problem where nodels could return more data than requested
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 17:14:38 +00:00
nott 517a388f9f hasn- fix shared_root locking
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 16:58:09 +00:00
jbjohnso cfea72f1ef Rework some output, also avoid thrashing on redundant responses. Prefer fe80 addresses when proven feasible since those are guaranteed to be unique and some ipv4 responses might not be
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 13:50:37 +00:00
wanghuaz 83688cdfa3 Updated loadleveler package path on trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 10:06:33 +00:00
jjhua d7ee5329f2 fixed 3528842, make the improvement of the rvitals performance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 10:02:32 +00:00
jbjohnso 8e02008a83 Try to parallelize some slpdiscover activity
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 19:19:50 +00:00
jbjohnso ca8dcb8bf4 Fix problem where mknb was not satisfied with genesis alone
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 19:19:40 +00:00
nott f729568b58 hasn- fix bad return from doSFScopy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 18:34:36 +00:00
lissav bf2b0bee29 fix defect 3529041
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 18:17:11 +00:00
lissav abcbfd3f3d fix messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 17:52:21 +00:00
phamt 321486ab6f Parsed out max-vm from comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 14:28:51 +00:00
lissav e1b1cdb17e add odbc support for Linux only
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 13:59:42 +00:00
lissav d970f0b2a7 fixed hardcoded admin id
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 13:57:15 +00:00
yinle 33755d548f fix bug 3528728: update manpage of lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 08:32:31 +00:00
jjhua 079e746aa5 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@12904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 07:14:53 +00:00
jjhua 3a0121b97d 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@12903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 07:12:28 +00:00
jjhua 5f4c465f97 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@12902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 07:06:47 +00:00
jjhua feef5d45d7 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@12901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:58:26 +00:00
jjhua 691628503e 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@12900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:53:34 +00:00
jjhua 260b7d25ef 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@12899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:37:49 +00:00
jjhua d0bb36a3f5 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@12898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:36:40 +00:00
jjhua 427dab0ad2 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@12897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:29:34 +00:00
jjhua f9c5ee43cc 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@12896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:18:22 +00:00
jjhua 0624c69117 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@12895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:09:35 +00:00
xq2005 ec7513710f add link delay time for kdump on rhel6.2 diskless install node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:03:42 +00:00
jjhua e819e0c23e 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@12892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:02:23 +00:00
jjhua 16be33214a 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@12891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:57:41 +00:00
jjhua 41c6e9bf7a 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@12890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:50:08 +00:00
jjhua b4698dec04 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@12889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:30:19 +00:00
jjhua b3079a445f 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@12888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:22:15 +00:00
jjhua dab53851c9 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@12887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:17:42 +00:00
jjhua 9dac448093 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@12886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:12:18 +00:00
jjhua 2be38ac386 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@12884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 02:57:41 +00:00
yinle c49f9ed82b delete multicat route to fix the lost message issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 02:25:01 +00:00
jbjohnso 7cae464cba Close some filehandles that aren't needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 21:11:14 +00:00
phamt 427737b125 Accept no value for IP or hostname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 20:24:41 +00:00
nott 4b2585d5b6 hasn- fix hosts, add sync for GPFS and check for spots
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 18:12:00 +00:00
wanghuaz 7d2c65c9ad Fixing bug 3526601: Don't add duplicated lines into etc/security/limits.conf and also add the settings before '# End of file'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 14:11:35 +00:00
lissav d5707e6562 backout 3528566 , migration issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 10:59:10 +00:00
jjhua e19dd4583a For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:13:58 +00:00
jjhua 64217a35c4 For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:09:30 +00:00
jjhua 15618c0aad For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:00:37 +00:00
wanghuaz 3cc967ba1e Merging IBMhpc top level updates from 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:58:32 +00:00
wanghuaz e0514266f5 Merging essl/pessl updates from 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:53:36 +00:00
wanghuaz 65a9d7e448 Merging gpfs updates from 2.7 to trunk.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:46:14 +00:00
wanghuaz 2434d85279 Moving ckpt.sh from top level of IBMhpc folder to PE directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:42:42 +00:00
wanghuaz 6a521599e4 Merging PE updates from 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:41:24 +00:00
wanghuaz 4e5512f177 Merging loadl updates in 2.7 to trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 08:29:36 +00:00
jjhua d16f2babcd For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 07:02:11 +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
jjhua 403326620f 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@12859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 05:58:08 +00:00
jjhua db3ccd170f 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@12856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 03:08:16 +00:00
jjhua 086ddbb9b3 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@12855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 03:01:25 +00:00
jjhua e596348dc7 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@12854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 02:54:17 +00:00
jjhua 50001aae62 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@12853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 02:30:43 +00:00
linggao 14097c36ee restart nw interfaces for netboot and statelite for hardehs postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 20:10:32 +00:00
linggao 794760bf25 fix the code to get correct synclist file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 19:15:01 +00:00
lissav cb2b559785 fix defect 3528566
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 17:45:01 +00:00
jbjohnso ab40158ba6 More cleanly wrap login failures for clicmdns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 13:59:40 +00:00
jjhua 50c942e894 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@12844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 10:00:16 +00:00
yinle b42ce631e3 Fix bug 3528509:lsslp -r has no output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 09:31:09 +00:00
yinle 1bb792ff2f Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 05:50:06 +00:00
lissav 36381d4170 Add NodeRange XML interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 18:12:21 +00:00
nott bf6d469713 hasn- fix provmethod update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 13:11:34 +00:00
yinle 2afb7d32d1 Fix bug 3527493:lsslp return incompete object information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-20 09:07:26 +00:00
jbjohnso d1bc43db41 Correct typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:54:46 +00:00
jbjohnso 824d7ccd13 Fix slpdiscover message to filter out skipped IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:47:35 +00:00
jbjohnso 996a3999d0 Add subnet mask and gateway setup that was missing previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:47:28 +00:00
jbjohnso 5ac7ac26c4 Have slpdiscover avoid doing the same IMM multiple times (due to modified SLP retry logic)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 21:13:55 +00:00
nott 9b4d5e9739 hasn- fix statelite.table and client_data issues
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 20:38:06 +00:00
jbjohnso b67a60c422 Fix SSHInteract to manuever IMMv2 login
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:58:10 +00:00
jbjohnso 9890213fb5 Fix problem where IMMs in undiscovered chassis were not processed correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:31 +00:00
jbjohnso 6275ebdc0f rework password variable usage to allow the already discovered case to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:25 +00:00
jbjohnso 661104f0a8 More tweaks to slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:18 +00:00
jbjohnso c7744b4145 Add a bmcid to allow for out-of-band IMM discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:12 +00:00
jbjohnso 4ed75a9bfe Have slpdiscover.pm have a provision to skip known IMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:46:05 +00:00
jbjohnso c48a9b7325 Have imm setup close the connection when done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:55:31 +00:00
jbjohnso a94ac01399 Enable discovery of new IMMs in known CMMs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:48:14 +00:00
jbjohnso 7be91f0a25 Get slpdiscover at least syntax error free again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 22:48:06 +00:00
jbjohnso 6481c2508a Prepare for two-pass CMM config and IMM setup in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 21:01:39 +00:00
jbjohnso c3351dc88b Have blade.pm accept an argument to use correct username and pass, but without key check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 20:03:15 +00:00
jbjohnso ce3c323dd0 Omit a prefix= esxi boot config file if the source has one
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 18:13:37 +00:00
jbjohnso 65a6369de2 Correct typo in TZutils that caused very odd messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 17:40:45 +00:00
jbjohnso d69a39d698 Few more fixes for esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:54:47 +00:00
jbjohnso 0a4caa922b Hopefully finish off the esxi5 clonevm with 'specialization'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:36:16 +00:00
jbjohnso 801c5b0bf9 Add a package to help figure out timezone data across the various syntaxes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:07:07 +00:00
jbjohnso cfef977347 -Fix race condition where make_slave_controlling_terminal could fail because pty is already closed (surprised this was a race...)
-Fix issue where '-nokeycheck' SSHInteract option was passed into Net::Telnet mistakenly
-Fix problem where Match specification was incorrectly done in SSHInteracte
-Fix problem where rspconfig could hang if the ssh session landed at a prompt
-Fix argument syntax in blade.pm to clicmds

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 15:44:42 +00:00
nott e694321b2d fix parsing of c_disc_target output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 14:54:44 +00:00
jjhua 67ba72c0cb 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@12793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 09:41:31 +00:00
jjhua 4f3c441476 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@12792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 08:49:11 +00:00
xq2005 65e4c4312e support kdump on system x machine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 08:17:05 +00:00
jjhua 2a89911f9e use xCAT::Utils->get_site_attribute() instead of opening the site to read the attr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:53:50 +00:00
jjhua 9ac4324794 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@12789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:33:24 +00:00
jjhua 9621b0511f 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@12788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:02:09 +00:00
jjhua 59ac4c2b1b 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@12787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:14:35 +00:00
wanghuaz 245a7a055b Fixing bug 3508572. while restarting xcatd on service node, it will try to issue nodeset. for nfs-based statelite, it tries to issue litetree to get a folder and setup NFS exports. The problem is while issuing litetree command, xcatd is not available yet. So we added XCATBYPASS=Y before issuing litetree. After reviewing the context, litetree command is issued only on the CN's service node and the result is also used by the CN's service node only, so adding XCATBYPASS=y should be fine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:04:21 +00:00
jjhua b11b8a8d08 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@12785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 05:54:14 +00:00
yinle 684acd79c7 Modify lsslp man page to support use -T to specify the waiting time.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:15:18 +00:00
jjhua 2d550820b2 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@12782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:15:00 +00:00
yinle 964a5098d0 Fix bug 3527505: lsslp -V gives no verbose information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:07:48 +00:00
jjhua 1a71630307 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@12778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:52:02 +00:00
jjhua a16709090b 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@12777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:38:09 +00:00
nott 09a7eecc6d merge oops
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:20:59 +00:00
nott af1b42c60e mult hasn fixes and updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:01:44 +00:00
jbjohnso 14dc354333 Flesh out cloning support for windows with specialize support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 21:06:53 +00:00
jbjohnso 7806922c3e Copy in mboot.c32 from custom path if applicable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:19:37 +00:00
lissav b1c3e1326a fix defect 3526288
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:19:13 +00:00
lissav e8996a35dc fix for defect 3527641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:09:03 +00:00
jbjohnso 22eff119c4 Fix problem where a memory address could inadvertently end up being an argument to sleep by
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 14:03:04 +00:00
wanghuaz f6e8687f47 1. bond-mld is shipped seperately, we should give admin the ability of putting it to different directory and using it. 2. while configuring bond0, only the correctly configured hfx interfaces can be added as bonding slaves. so admin don't need to adjust the interface num
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 11:36:23 +00:00
jjhua 8cbcd958d5 Populate %::XCATSITEVALS with XCATBYPASS=1 in the submit_request(), and use $::XCATSITEVALS{} instead of getting from site table again.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 09:43:17 +00:00
jjhua 89aea637cb 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@12760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:42:12 +00:00
jjhua 5550022ab1 in the get_site_attribute() subroutine, try %::XCATSITEVALS first, if the attribute is not popluated in %::XCATSITEVALS, then open site table to read the attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:39:01 +00:00
yinle 77728d700e Fix bug 3527194: lsslp -s HMC gives no HMC info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:29:27 +00:00
yinle 92dd4b49af Fix bug 3521680: rspconfig does not work for hmc if hwtype is not set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 03:33:03 +00:00
yinle c25da18107 Fix bug 3527201: lsslp -s FRAME -i return no response on Linux ; Add multicast route on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 01:46:08 +00:00
jbjohnso 33c53a8182 Add a little message on success
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:56:12 +00:00
jbjohnso a9c0248442 CMM CLI syntax changed, accomodate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:42:16 +00:00
jbjohnso 383370e40f Have slpdiscover be case insensitive in terms of known mac addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:18:49 +00:00
lissav 5535a5de5f add setAttribs XML routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 17:34:18 +00:00
jbjohnso 9f0ab466ee Fix problem where SLP.pm would create too large an SLP packet if there are a number of IPv6 entities on the network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 17:23:46 +00:00
jbjohnso a5913583ef Fix problem where group membership at startup hounded xCAT commands eternally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 16:48:15 +00:00
lissav b5a0cd34f9 getNodesAttribs XML ALL attributes support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 16:25:49 +00:00
jbjohnso bdce8a8eb4 Since use_cache is a bit weird, NodeRange will instead force a build_cache(1) instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:18:55 +00:00
jbjohnso 43d4ca3b8f Have NodeRange make more assurances that it will not be caching data upon explicit request
xcatd explicitly has noderange redo cache if client has a <noderange> element.  This distinguishes it from 'getpostscript' type commands.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:11:26 +00:00
daniceexi f38190c129 defect 3525895: roll back the last change. Use the XCATBYPASS to run the commands instead of waiting a while
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:16:58 +00:00
daniceexi dab482bd6b Add the lease time for dhcpd.conf which can be configured from site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:15:47 +00:00
yinle 6008d9f8f7 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 03:16:49 +00:00
jbjohnso 30a91fe7bb Switch xCAT server connection to client back toblocking IO for large segments of code depending on blocking io
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 19:43:39 +00:00
yinle b29f4aee56 Fix bug 3525761: FB->lsslp -m -z -s CMM missing information in rh6.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 13:53:16 +00:00
jjhua 151296661c use the getIPaddress() in FSPUtils instead of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 12:54:26 +00:00
ligc 49e31739ca fix for bug 3525943: setuphanfs exports when running mkdsklsnode -b
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:45:41 +00:00
immarvin 0765c506a7 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:28:29 +00:00
immarvin 44d42d823e fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12716 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:21:19 +00:00
immarvin ecc5adb8af fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:17:57 +00:00
immarvin e8d59222e6 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:17:01 +00:00
immarvin e7f9cd17e6 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:15:32 +00:00
immarvin 971251a612 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:06:23 +00:00
immarvin 3aa61c9a08 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:05:28 +00:00
immarvin 4460185d5d fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:58:52 +00:00
immarvin 3217ac2673 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:51:12 +00:00
immarvin 92eff528bd fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:28:45 +00:00
immarvin 1a970c8dd9 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:24:11 +00:00
immarvin 4467a5bb20 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:21:12 +00:00
immarvin 6665d4e2ed fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:18:38 +00:00
immarvin b9a4cdf971 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:17:36 +00:00
immarvin fa774a34cc fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:16:06 +00:00
immarvin 23943c013b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:14:41 +00:00
immarvin c8c117774c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:13:23 +00:00
immarvin 345d9d1c0a fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:09:19 +00:00
yinle 23dda49cdc Fix bug 3524622:lsslp return no response on P7 IH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:09:06 +00:00
immarvin fb2c20583f fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:07:44 +00:00
immarvin e237572f42 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:05:12 +00:00
immarvin 26db80fd6b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:03:50 +00:00
immarvin 36dd321388 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:02:26 +00:00
immarvin eaec844ee5 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:58:51 +00:00
immarvin 1db86b8007 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:57:51 +00:00
immarvin 1cd235342c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:55:19 +00:00
immarvin 14c5ac7474 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 06:24:34 +00:00
immarvin 80748cfb7c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:48:00 +00:00
immarvin 3a304634fd fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:44:27 +00:00
immarvin 7bf6ed963a fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:41:53 +00:00
immarvin ebd5c56f74 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:40:49 +00:00
immarvin 7bd00bdb9d fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:39:01 +00:00
immarvin 520bd7ed8b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:37:12 +00:00
immarvin fb5baa7220 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:36:04 +00:00
immarvin 59ac01b4fb fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:33:46 +00:00
immarvin 1d4915a573 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:28:57 +00:00
immarvin 01c10b014b fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:25:47 +00:00
immarvin c12f23ee95 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:22:15 +00:00
immarvin ebcdc7bbcb fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:20:08 +00:00
immarvin 6eb6685cc9 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:17:41 +00:00
immarvin 919c7bb12e fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:12:41 +00:00
immarvin b4909c86bb fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:08:29 +00:00
immarvin e71c83bd7c fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:05:32 +00:00
immarvin 33e1a8e2d2 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:04:22 +00:00
immarvin b8d8d08691 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:03:17 +00:00
jbjohnso 0c662e4e63 Put in draft clonevm with specialize for vsphere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 21:02:35 +00:00
lissav f81a83bef4 add getAttribs XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 19:28:17 +00:00
daniceexi c5ab6661f0 defect 3524563: keeping the udevd does not hurt anything, so just keep it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 14:17:39 +00:00
lissav c12bf5a549 fix comments for getAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 13:44:00 +00:00
daniceexi 8b90088bf9 defect 3525895: check the status of xcatd before continuing in the xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:57:20 +00:00
wanghuaz 9fc48a2a59 Fixing bug that basename command required File::Basename pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:05:59 +00:00
arifali 4ff3dc9eba cleaned up a bit, and added support for netinst iso for debian, so that can be used for installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 23:12:06 +00:00
arifali cf6ffbc38d updated thed building of ubuntu repo to include the supported ubuntu distros all-in-one
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 22:51:24 +00:00
arifali bd8f038ff7 add cmos settings for m4 type machines similar to the m3 settings previously in the directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 19:33:41 +00:00
lissav 7c314e731f Add delEntries XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 11:44:38 +00:00
lissav 6bc5be20e1 report when no defined plugin, will at least see in bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 11:03:59 +00:00
lissav 112389df2b Add more info on delEntries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 10:36:16 +00:00
jbjohnso 00afad1db2 Correct mistaken variable prefix in optimization work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 12:03:07 +00:00
jbjohnso 4b81110bf7 Fix problem where nodegroup enumerated groups could last forever, also eliminate calls to retain_cache with (0)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 11:54:58 +00:00
jbjohnso 83be6fd96e Remove _clear_cache, we are instead just going to let things age out and rely upon use_cache to control when a caller
urgently needs to assure fresh data

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 11:54:49 +00:00
bp-sawyers 9ffff27d86 Fixed double %pre in xCAT.spec and improved dhcp require
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 21:13:40 +00:00
jbjohnso c82eea4b25 When doing getAllNodeAttribs, institute a noderange result cache to avoid many noderange() calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 19:33:27 +00:00
jbjohnso ef27e8e45e More aggressively retain cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 18:42:47 +00:00
jbjohnso ae2de192ef Have monitorctl induce prefetchcache when it's probable in Postage context
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 18:02:01 +00:00
jbjohnso 3de8c6bb41 Have Postage induce prefetched cache.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:31:02 +00:00
jbjohnso 6cead01cf9 Have SvrUtils potentiall prefetchcache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:30:53 +00:00
jbjohnso 14c2613546 Shave off an unneeded database call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:54:31 +00:00
jbjohnso 59b6c3310f Change Postage to induce prefetched cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:18:21 +00:00
jbjohnso c7f18f612d Fix problem where group mapping may get stuck under certain circumstances
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:15:06 +00:00
jbjohnso 9861a35e00 Make sure nodelist never retains a nodelist cache longer than 5 seconds under any condition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:14:56 +00:00
jbjohnso 9f7c4f2dec Change option to 'prefetchcache'
Ensure reference counter doesn't go crazy on prefetch

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:14:48 +00:00
phamt 9d0cebeb07 Cleaned up code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 13:57:46 +00:00
nott 1447febc36 fix epkg parsing in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 12:14:23 +00:00
lissav b8f7f7a241 give better example for delEntries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:55:08 +00:00
lissav 3a8ee9cf5b give better example for delEntries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:40:38 +00:00
nott 1fb38d63e4 fix rpm name and missing installp_bundle issues
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 11:23:45 +00:00
wanghuaz 3582608923 To configure bond0 working with hf0-7 for HFI DD2.1 and fix a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 06:57:13 +00:00
jbjohnso 996604e435 Add 'eagercache' to getNodeAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:57:08 +00:00
bp-sawyers 43ac09685a Improve html file names that getxcatdocs generates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:35:05 +00:00
jbjohnso bb760cf069 Try to do more reuse of nodelist objects in db worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 19:59:49 +00:00
wanghuaz 5890139d47 Fixing bug 3508572: SvrUtils.pm issues command mkpath, mkpath is included by File::Path, instead of File::Basename. I cannot find any other command that is included by File::Basename, so just replace it with correct one.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 09:28:10 +00:00
immarvin 8ac8d760ad fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:24:21 +00:00
immarvin 2624435903 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:11:16 +00:00
immarvin 5c89c73a44 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:09:59 +00:00
immarvin 6d55da8656 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:08:19 +00:00
immarvin eb988493a6 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:07:36 +00:00
immarvin e4db188074 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:06:47 +00:00
xq2005 40976c739a add the work around for kdump on sles diskless node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 04:20:51 +00:00
yinle 75a543f116 Fix the issue that too many IPs in the PRLIST of the package.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 02:49:07 +00:00
zhaoertao a7d074f395 fix bug 3524452: rcons to P7 IH LPAR getting Console not ready error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 02:00:52 +00:00
bp-sawyers a3c2beca1d No longer require vsftpd.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 00:33:22 +00:00
nott 133beb2bd6 add force option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:56:56 +00:00
nott df748cbf32 don't remove shared resources
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:34:05 +00:00
jbjohnso 3d008a7b33 Have xnba.pm more gracefully recover from error conditions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:12:20 +00:00
jbjohnso 87edafb925 Have slpdiscover tolerate errors per managed target more gracefully
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 13:48:02 +00:00
phamt d71018a664 Allowed generated node names to come from free ones available, and not the highest base digit.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 21:32:11 +00:00
phamt b697c63032 Switched installation method for Linux from FTP to HTTP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 19:42:43 +00:00
jbjohnso e519a1f925 Revise getnodetype function to not do N! log entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:53:05 +00:00
lissav 743d03e1ae fix syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:32:57 +00:00
linggao cd3b725576 fixed the problem in rmc performance monitorng, it will ingore the error nodes instead of quiting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 18:00:17 +00:00
jbjohnso e43ba22d99 Correct mistake in clicmds change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:28:57 +00:00
lissav 6de4cfe891 fix man page, if no seed given then the seed becomes one of the nodes from the noderange, not necessarily the first
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:24:42 +00:00
lissav f0b6fde5d9 fix sinv error processing defect 3524781
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:20:11 +00:00
jbjohnso 6484d0b141 Revert "add use xCAT::FSPUtils;"
This reverts commit e49deecc8cfbba534ba7cf713b79709f63efaead.

This change broke SSH automation

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:15:47 +00:00
nott 140f67a0e4 fix resolv_conf bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 15:09:37 +00:00
nott 5a51b99724 fix resolv_conf info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 14:23:29 +00:00
jbjohnso 0f753a95d0 New command 'tcons' to be like 'wcons' but using tmux instead of x windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 19:03:44 +00:00
bp-sawyers 95db581fae Add support for running rcons via sudo on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 18:46:25 +00:00
phamt 7f995d604a Changed when old directory entry is removed from xCAT.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 15:22:15 +00:00
jjhua 403add1822 For DFM lsvm command, the noderange's type should be cec, not fsp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 14:10:26 +00:00
jjhua 18a22cb2a7 There will be a performance issue in large cluster in the fix for 3524241, I made the fix again.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 14:08:29 +00:00
yinle cfcfbb429f Add filling-in prlist in the slp request.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 09:40:57 +00:00
zhaoertao 8453bc07d7 fix bug 3524241: some dfm commnds failed when noderange is lpar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 09:14:50 +00:00
yinle 8434dfff50 Fix bug 3522940:FB->lsslp no response on aix71D
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 07:45:45 +00:00
zhaoertao eebe399699 fix bug 3519426: FB:rspconfig network=ip,host,gateway,netmask can't work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 07:07:03 +00:00
yinle e97573587a Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-05 02:06:19 +00:00
jbjohnso e5bc9b43c7 Honor addkcmdline parameter in esxi5.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 21:02:45 +00:00
jbjohnso 84152575a0 Have ks= in esxi install honor noderes.nfsserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:51:12 +00:00
jbjohnso 020ac78e7f Be content with just a boot.cfg.<whatever>.tmpl file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:45:44 +00:00
jbjohnso 2e6ccdb68d Have esx.pm put the kernel command line argument on 'b.b00' in tmpl case. It's still not the recommended approarch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:36:43 +00:00
jwsimpson c047d8b5cb Defect 3514607 - RPM checks for ifix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 17:16:42 +00:00
jbjohnso 0c9f723786 Correct loop variable names in various post scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 14:27:19 +00:00
phamt 8c8d178eb3 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 14:23:08 +00:00
wanghuaz 5e12d730ff Fixing bug 3523438: ENV variable has issue with full installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 09:09:33 +00:00
ligc 4bb9056a68 fix for bug 3523412: makeconservercf noderange does not work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 06:28:36 +00:00
daniceexi 8cf075b62d fixed the case that import sshkey failed,but no error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:25:19 +00:00
yinle 7c14981e7e Modify the help information about lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:09:04 +00:00
yinle d1a4d44103 Modify man page of lsslp for new lsslp code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:02:01 +00:00
yinle 7e1fa1dcc5 Add support of lsslp -C -T.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 01:40:45 +00:00
phamt e2484fafe5 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 00:54:58 +00:00
lissav 8a15295c6a Put comment where output is actually sent to the callback
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 18:25:27 +00:00
jbjohnso 993b886f97 Recognize customized ESXi OS images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 14:23:16 +00:00
lissav 29c5b25620 Put back example of setting up ssh keys, loss it somewhere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 11:22:55 +00:00
yinle 6ddbbe0505 Add support of lsslp -C -T
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 09:48:32 +00:00
daniceexi 13db6d7692 Change the keyword to identify the flex power node. handle the failure case that setting network without output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 08:03:26 +00:00
yinle 5623cb3a9e Fix bug 3522940: FB->lsslp no response on aix71D
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:47:36 +00:00
yinle 195d7771f3 Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:36:27 +00:00
jjhua 1745668bfa For FB, prompt some messages at the beginning of the setting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:28:18 +00:00
jjhua 68607d70b7 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 05:00:28 +00:00
jjhua 1225932728 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:58:16 +00:00
jjhua a82e83dcc6 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:49:07 +00:00
ligc d77845f04e fix for bug 3523175: use nfsv3 to mount the statelite directories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:31:35 +00:00
jbjohnso f6460e219a Have xCAT instances more reliably relay abort commands and cleanly exit on ctrl-c by client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:57:58 +00:00
jbjohnso abd9669f93 Have Table.pm force flush of more than 5 seconds old, in preparation for more aggresive cache retention
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:57:49 +00:00
linggao 3c38e7c850 doc added for sprcifying --keeprepo for ospkgs postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:17:31 +00:00
lissav 5b31e3bd92 revert to 11591
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 18:40:08 +00:00
lissav 4269163b6f document support of MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 18:29:59 +00:00
lissav a65de74eaa fix rsync path for MN support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 14:29:27 +00:00
jjhua c43b98a161 fixed bug 3522919
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 13:47:59 +00:00
jbjohnso 638e9179a7 Fix problem where Client could attempt to coalesce data from server that doesn't cleanly cleave an xcat response
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 12:59:22 +00:00
lissav f9bb1c2c79 define mn attribute for Management Node in nodetype.nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 12:12:10 +00:00
lissav 5a090a858b Support xdsh/xdcp to MN, MN must be defined in nodelist table and nodetype.nodetype=mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 11:54:31 +00:00
wanghuaz 246777b976 Configure bond0 working with hf-x in confighfi postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 11:20:42 +00:00
lissav 40609812d8 remove -M flag implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 10:36:05 +00:00
lissav 79d548d7c7 remove -M flag implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 10:31:01 +00:00
wanghuaz c0deadd4f6 Added top level files for compute.sles11.x86_64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 07:53:35 +00:00
wanghuaz b31e7d41df PE otherpkgs list name has been changed to match different pe rpm names, now changing the upper level pkglist to include correct pe list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 07:13:11 +00:00
jjhua 2c9a5c5a2f correct a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:42:48 +00:00
jjhua 15e830a384 use the getIPaddress() in FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:31:36 +00:00
jjhua 3edf686eb9 use the getIPaddress() in FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:30:46 +00:00
jjhua 80dd11dbd4 use the getIPaddress() in FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:30:04 +00:00
jjhua 5f2d412304 add some comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 06:08:45 +00:00
jjhua 09054d303a add more comments to some special cases in preprocess_nodes()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 05:51:24 +00:00
jjhua 46eb7b4b6c modified the comment for getIPaddress and getHcpAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 05:10:42 +00:00
wanghuaz 9ee2f80be1 Changed pe otherpkg list name to match xCAT naming convention, instead of PE.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 04:39:57 +00:00
wanghuaz b38d5b8b86 PE now is providing different package names for different OS and arch, for example, **rh6x, **rh6p, **sles11x, **sles11p. So for convenience of system admins, we are shipping several otherpkgs list for different PE version, os and arch.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 03:49:05 +00:00
wanghuaz 49e283404b Fixing bug 3518890, update pe otherpkgs list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 03:26:45 +00:00
ligc 2c8c856097 fix for bug 3522897: not allow chdef -t <object_type> xx=yy to change all objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 02:53:42 +00:00
yinle 055b0e382c Fix bug 3521914: fsp plugin bug at PPCenergy.pm line 182 with renergy on p7ih
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 02:34:07 +00:00
phamt 4ad9216707 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 23:43:11 +00:00
phamt 075a6e49e9 Formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 21:14:16 +00:00
jbjohnso 7c2e989bb8 Fix various mistakes in bmcsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:38:45 +00:00
jbjohnso 83e79a0991 Add setting vlan tag to bmcsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:38:39 +00:00
jbjohnso 85ee055285 Correct problem where xcatd could truncate very large responses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:00:30 +00:00
jbjohnso 4e9d05f9d2 Correct syntax problems in invoking fcntl calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 18:28:38 +00:00
jbjohnso b41bbd14dc Fix problem where a bare newline could cause xcatd to be confused
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:52:55 +00:00
nott e52c4c98c6 add hasn support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:13:53 +00:00
lissav f18bfb379b start code for xdsh on MN, interface defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:54:17 +00:00
lissav 77a82387d2 start code for xdsh on MN, interface defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:53:19 +00:00
linggao 1fbb70b78b added --keeprepo flag for ospkgs posctscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 15:35:13 +00:00
linggao 708895577c Fixed the wrong callback structre that caused defect 3510390
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:42:06 +00:00
lissav 245dd3a189 fix setNodesAttribs1 in non-bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:36:48 +00:00
jbjohnso fdc9202229 Actually include the serial payload in the discovery packet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:27:33 +00:00
jbjohnso 039f6191f2 No longer bother trying to do 32-bit only x86 and ppc for genesis image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:24:23 +00:00
jbjohnso a60faa9535 Move the new requires more appropriately
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:09:28 +00:00
jbjohnso 9bff9c6d8f Have xCAT require genesis and elilo-xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:06:38 +00:00
jbjohnso e272264896 Fix discovery to do serial number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 13:57:22 +00:00
nott c4894bc832 add -k and -u options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 13:28:02 +00:00
jbjohnso dc5d96e183 Correct problem where multiple nics on the same subnet don't quite pan out very well in discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 13:04:54 +00:00
arifali d226d3d75d ubuntu: add new genimage which has a few additions for dracut, when available, and re-enabled busybox-static, as that is available in ubuntu10.10. this current one works with 10.10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 00:03:11 +00:00
arifali 4f0482d705 ubuntu: genimage fixes
- stateless requires busybox (see artifact 3522447 for more details)
- initial work on dracut committed, not sure if this is going to work yet, as ubuntu doesn't have dracut by default
- changed linux-image-generic to linux-image-server, and removed busybox-static as that didn't exist

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 23:00:07 +00:00
arifali 869869efe6 xcat-server: add changes that have gone into anaconda.pm
- genimage will follow
- tried to be consistent with the changes to anaconda.pm
- Added dracut stuff, not sure if that is going to work yet though (maybe the dvd version of the distro will work, will experiment)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 22:42:59 +00:00
jbjohnso f232fc8b82 Rework Client to be more responsive to server code even with the XML coalescing in effect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:36:33 +00:00
jbjohnso 54aa2a2202 Revert "Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610""
This reverts commit f916dada5ddca8f67acd9bd9a050a158fde5d1df.

revert the mistaken revert

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:14:59 +00:00
jbjohnso d7088aa571 Pass 2 at correcting xcatd infinite patience with clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:41 +00:00
jbjohnso 75d37c0a6f Revert "Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected"
This reverts commit 293f2194c6fe119e71e3c053c3894748a44f9e7e.

Doing it a better way

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:35 +00:00
jbjohnso 6df0c51504 Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610"
This reverts commit 73a31e731517ce234f85f23ce391b3fce1169b76.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:28 +00:00
jjhua dfaf88f244 remove getIPaddress() from Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:28:24 +00:00
jjhua d55a7c6d5a performance enhancement for getIPaddress() in FSPxx.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:26:49 +00:00
jjhua 794f22057a performance enhancement for getIPaddress() in FIP.pm; some other performace issues will be fixed later.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:25:12 +00:00
jjhua 4b8f6d528a performance enhancement for getIPaddress() in fsp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:25:04 +00:00
jjhua 1bc8fc7e64 performance enhancement for getIPaddress()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:22:50 +00:00
jbjohnso 5d38b453ef Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 18:36:52 +00:00
linggao bb244787a7 fixed a defect when snmove failed if the source service node is down. defect 3487610
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 17:57:37 +00:00
jwsimpson 558c7ba4bb support for shared file system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 16:05:45 +00:00
jbjohnso 1c83b2641b Correct typo in xnba plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 14:45:26 +00:00
lissav c4d0ab4062 man page for EXECUTEALWAYS clause in syncfile for xdcp -F
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 11:32:41 +00:00
lissav 7c48ae3e2e add EXECUTEALWAYS clause in syncfile for xdcp -F
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 11:26:51 +00:00
ligc 5cf83aad5b fix for --setuphanfs work with mkdsklsnode -b
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 10:06:10 +00:00
zhaoertao 92d59e063a fix a potential bug for SSHInteract
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 07:45:20 +00:00
jbjohnso 83bcc20597 Revisit the 'templated' boot config based on refined requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:50:05 +00:00
jbjohnso ea23089441 Fix a problem in the boot partition in rhel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:25:46 +00:00
bp-sawyers 5548c0684b Added wvid man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:08:15 +00:00
jbjohnso b99e150b60 Add boot device probing to suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:00:30 +00:00
jbjohnso 8250bc1673 Have RedHat installs reduce risk of overwriting SAN volumes. The strategy:
BIOS drive 80 is chosen if at all possible (don't know EFI way yet)
Failing that, first virtio block device
Failing that, then first block device served by ata_piix4, ahci, megaraid_sas, pmcraid
Failing that, first mptsas or mpt2sas
Failing that, first block device

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 18:41:18 +00:00
yinle 7ddb1fa4aa Add retry part to support lsslp -t retrytimes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 15:32:21 +00:00
lissav 75ff38db92 Add setNodesAttribs1 (format 1) for setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 15:19:21 +00:00
jbjohnso bab318526c Have xcatd accept multiple requests in a single connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 14:35:29 +00:00
jbjohnso bc9e8d2f92 Fix otherpkgs in the face of robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 13:00:41 +00:00
jbjohnso 957464e075 Have wget http ignore robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 12:40:46 +00:00
yinle a434851bc3 Fix some mistakes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 11:45:50 +00:00
yinle c67dfb6688 Modify lsslp to support invoking SLP.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 10:22:30 +00:00
yinle abb3d4989a add support of lsslp -i (specify the nic to do lsslp) and fix a bug.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 08:56:24 +00:00
phamt f6cca9aa39 Added configuration panel for groups.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 03:49:06 +00:00
phamt f8630000f9 Added configuration panel for images and updated profiles configuration panel.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 23:36:32 +00:00
jbjohnso 5e9caf5a66 Actually fix typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 18:24:40 +00:00
jbjohnso 16843a2df4 Correct typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 18:24:32 +00:00
bp-sawyers d242ae9f30 Removed expect dependency
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 11:40:16 +00:00
bp-sawyers cbe0b30514 Always build the meta rpms and add a buildall=1 option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 23:07:13 +00:00
bp-sawyers 1617b0b2e4 Fix xCAT-UI build problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 21:02:40 +00:00
jbjohnso 961646994d Have Table.pm properly bail out in the event of a bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 19:17:06 +00:00
jbjohnso 67505c4c3b Table.pm would die unceremoniously when faced with undefined argument, tolerate it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:31:02 +00:00
phamt 4731bf5d4b Erase node from /etc/hosts during rmvm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:30:59 +00:00
phamt e95876b3b5 Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 16:10:55 +00:00
phamt 8cbd409de5 Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 16:01:41 +00:00
phamt f9ef89062e Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 15:55:37 +00:00
phamt a0f2a9a993 Fixed bug #3458318
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 15:24:16 +00:00
wanghuaz e743131f19 Added checkpoint/restart script to setup related environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 11:02:08 +00:00
sjing 34ca6ec873 the fix for bug 3364300 - only allow root to run xcatbypass mode.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:36:17 +00:00
sjing cb66289972 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:06:12 +00:00
sjing be056ae2d0 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:03:10 +00:00
sjing d69ac67df9 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:00:50 +00:00
sjing 846cb5662e the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:58:20 +00:00
sjing 92cdad2a2d the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:50:26 +00:00
sjing 66b2bcfce0 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:47:48 +00:00
sjing f84a114049 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:41:47 +00:00
sjing 1b3e43ba14 the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:38:00 +00:00
linggao d5a3ec70db drop -t support for genimage, defect 3520753
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 20:52:58 +00:00
lissav efaa159718 fix examples
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 17:40:41 +00:00
lissav a2eff1840f put XML table routines in tabutils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 12:32:58 +00:00
lissav 285c79265f moving DButils.pm function into tabutils to make use of database access code already implemented
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 10:50:35 +00:00
xq2005 1402e078d0 change the mount path in kdump postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 03:14:19 +00:00
jjhua 0804b949cb correct the typo, fixed bug 3520431
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 02:57:44 +00:00
lissav e16dc4a470 fix defect 3474497
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 18:57:50 +00:00
lissav b10b8057a6 get rid of warning for perl -c
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:25:50 +00:00
lissav 2ecf1cd9f0 change globals in tabch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:17:43 +00:00
bp-sawyers 3b97f0c9ef Fix getxcatdocs to not use File::Path::make_path, which apparently isn't in all perls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 13:37:58 +00:00
phamt 3d6021bca9 Removed /opt/xcat from .spec file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 04:06:16 +00:00
phamt 4dc359e733 Added groups panel in service config tab. Added create, edit, and delete functionality into zVM service profile config panel. Removed /opt/xcat from .spec file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 03:50:58 +00:00
zhaoertao 0825693212 fix bug 3518485 and 3518486, issues about ivm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 03:18:38 +00:00
arifali ecfadb5118 update script to create mklocalrepo.sh once the repository is created
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 22:31:05 +00:00
phamt 6ee305dd95 Added policy.rule=allow when creating new users for service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 18:56:55 +00:00
lissav d6b8daaf33 Start of fix for SF3519602
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 18:50:42 +00:00
lissav 40ae98400f revert perf change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:32:28 +00:00
lissav bf313c1b3f revert code back to 11757
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:18:04 +00:00
jjhua 05a9e204d8 performance improvement. collect the CEC/Frames' Children in preprocess_nodes() of PPC.pm, instead of getIPaddress() in Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:32:01 +00:00
jjhua 22e99e551b performance improvement. collect the CEC/Frames' Children in preprocess_nodes() of PPC.pm, instead of getIPaddress() in Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:30:09 +00:00
sjing f0c9ca1996 When bad flags are specified, we need to return 1.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 07:18:31 +00:00
zhaoertao 9cd0c90e72 fix bug 3511324: rpower got uncorrect output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 07:03:20 +00:00
zhaoertao b8c9a70a3c fix bug 3519391: FB:wrong rpower status for
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 06:22:00 +00:00
phamt 0e7ea664d4 Added selectable column to service tab on configure page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 22:49:15 +00:00
jwsimpson 86b14c682a Defect 3469202 - PMR PMR29062 - update to 2.8 rinv man page for deconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 20:00:51 +00:00
lissav 61b78221c6 improved XML
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 15:52:53 +00:00
xq2005 4e6128de01 update the cmdlist with crashkernelsize attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 09:18:03 +00:00
jjhua d163da308f fix the error of the command mkhwconn frame -s
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 00:55:11 +00:00
jbjohnso 3351f818a9 Don't give up on a TCP socket if connection happens but SSL is slow
Have Client.pm consider basic tcp connectivity separate from SSL for timeout concerns

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 21:04:23 +00:00
lissav fa72494694 add getNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 18:29:51 +00:00
jbjohnso 7d30d83c97 Support customers wishing to have boot parameters grouped into the same config file as module liste
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 14:09:49 +00:00
lissav 8ec833f8b0 start of XML DB access plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 13:19:27 +00:00
immarvin 1a90296659 fixed defect ID: 3509605 xcatconfig will not setup syslog for xCAT on linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 13:01:34 +00:00
jjhua 834894fbaf { } is for required arguments when the user has to choose between several items, one of which is required.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 06:12:27 +00:00
phamt a80623ace8 Added configure profile panel for self-service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 03:03:25 +00:00
arifali 5006b9db5f fix rsyslog for ubuntu on MN, and don't need to do it in posinst
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 19:40:18 +00:00
lissav 1b755d9d48 More updates for XML handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 18:39:07 +00:00
lissav a7a5218b5b Add support for XML in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 12:52:08 +00:00
jbjohnso 2bf340b011 Enhance ipmi console with analogous enhancements to other console backends to mitigate memory usage when massive numbers of imms are not reachable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 00:42:36 +00:00
jbjohnso 856de8cecd Have IPMI not send console data if a basic IPMI health check does not pass.
This means ipmi console backend may spend more time holding a lock when bmcs are unreachable, but it means that the service processor addresses are not pinged all at once

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 00:27:37 +00:00
jbjohnso db4022ec09 Have psh have /dev/null opened as stdin instead of nothing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-15 13:11:55 +00:00
arifali c55553e5df xcat-server: fix enable apache2 for ubuntu/debian when xcat is installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 22:33:11 +00:00
bp-sawyers 380c3e3d49 fixed doc building problem with 775 docs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 17:34:04 +00:00
jbjohnso d5e4736a96 Fix NetworkUtils.pm to work correctly with IPv6 nets with '/64' in netmask field
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 16:09:38 +00:00
jbjohnso db1e95f0c8 Have packimage skip mounted filesystems (e.g. proc, sys, etc that might be accidentally hanging around).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 14:19:34 +00:00
jbjohnso 9e912be932 Fix a typo in SSHInteract.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-13 12:43:32 +00:00
zhaoertao 24ac5b5ecf delete username HMC from usage page of rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-13 03:10:34 +00:00
linggao 77d99a07e2 fix defect in ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 19:26:55 +00:00
phamt d13d61f0f7 Destroy dialog once close button is clicked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 16:11:00 +00:00
lissav 3fb71bfd73 fix incorrect info on timeeout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 16:00:07 +00:00
ligc fdc6485616 support updatenode ospkgs for SLES SDK
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 09:29:17 +00:00
jjhua ac03612e39 update the rpower manpage for the -T tooltype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 08:53:04 +00:00
jjhua efc24bee4f rpower cec onstandby -T tooltype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 08:13:55 +00:00
jjhua 211cf80b67 rpower cec onstandby -T tooltype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 08:11:57 +00:00
ligc 820beb4ffa fix for bug 3496309: print warning message if could not find osimage information for nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 07:57:24 +00:00
immarvin ee23b11566 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:47:36 +00:00
immarvin 2dbc51d2d7 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:45:09 +00:00
immarvin c07ec5a185 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:40:58 +00:00
immarvin 63bc1b4476 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:37:26 +00:00
immarvin 5c74fae8cd change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:27:42 +00:00
immarvin ba0a9dd975 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:26:55 +00:00
arifali f18a325527 xcat-nbroot2: ubuntu: Genesis environment changes to support ITE configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 23:29:20 +00:00
phamt 90b9b596e0 Changed location where directory entry is retrieved.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 22:40:44 +00:00
phamt 57b7c99c0f Moved profile configuration and directory entry onto the xCAT MN under /var/opt/xcat/profiles.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 22:33:50 +00:00
jbjohnso 67adfabc49 For ITE case, skip user name and password setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 20:49:49 +00:00
jbjohnso a322586be7 Genesis envirenment changes to support ITE configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 20:49:41 +00:00
phamt d060592573 Added configure tab for self-service page. Fixed bug in nodes table where node attributes are not loaded when there is more than 50 nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 19:59:16 +00:00
jbjohnso 72254ce79c Provide a hook for TLS cert delivery by updates.img.
Note this is of little use in a PXE environment today, as MITM to the initrd or ipxe subverts all of this.
This however is interesting for secure boot environments and remote media boot strap to provide an unbroken trust chain

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 13:39:51 +00:00
arifali 635505a340 xcat-server: fix rsyslog if imuxsock is not included in rsyslog.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 13:11:39 +00:00
sjing 455cd126ca not try to give "Error" message when the return code of actual command is non-zero, instead, use the return code of the actual command as the return code of xcatchroot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 10:33:50 +00:00
sjing 60268e8096 fixed the issue when -l is specified as '/'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 05:52:42 +00:00
sjing de59e42d39 check if nim resources exist before copying them to SN.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 04:48:03 +00:00
daniceexi 48c280bae1 fix the issue that rootimg/sys was not umounted by genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 17:23:20 +00:00
yinle 17fba594b1 Fix bug 3512371:hcp in HMC node definition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 13:28:24 +00:00
jbjohnso 17593ac412 Move send_service_request_single inside the while loop so that it actually would work as a retry mechanism
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 12:39:37 +00:00
jbjohnso f9d6ddd02c Fix typo in slpdiscover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 12:34:04 +00:00
ligc 778b0b915a fix for bug 3497125: warning message for plain_pkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 11:38:40 +00:00
arifali f1152ae54d change build script for ubuntu
* Generalised the CODENAME to be taken out of /etc/lsb-release
* added building of xcat-dep, the script for that will be added later
* added for loop to create packages rather than one line per package

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 11:00:00 +00:00
arifali ae1b2cf9d5 xcat: further debain changes
* added xcat-genesis-amd64 to recommends
* added openslp-xcat to Depends as per the spec file
* copying xHRM to postscripts as per the spec file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:39:34 +00:00
arifali 569cd9323e xcat-client: fix environment issue for MANPATH in postinst
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:34:00 +00:00
arifali 9f010a3b76 xcat-ui: fixed debian files
- don't need apachedaemon, as this is same across ubuntu and debian
- added the plugins in the correct place
- created the link for webportal

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:28:30 +00:00
arifali 3946f00fd5 corrected/added xcat-ws.conf for ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:25:29 +00:00
immarvin 1554d29c0f fixed nfs mount problem and bug:CN fail to acquire eth address during deployment(ID: 3515413)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 05:14:00 +00:00
zhaoertao 1428987d4f fix bug 3513481. There was no command 'getent' in AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 02:45:38 +00:00
lissav 153329d268 fix syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-09 19:10:53 +00:00
jbjohnso 65032f72e5 Fix problem where ESXi clone from a non-xCAT template may fail in the face of xCAT mac address management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-09 14:05:25 +00:00
yinle 95ae6e5ae6 Fix bug 3516024: xcatsetup can't define service/storage node over 1 bb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-09 08:50:56 +00:00
arifali 2e2a78e7f9 xcat-server: fixed further debian packaging
* merging in fixes that were included in the spec file.
* generalised rules file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-08 21:08:04 +00:00
arifali 7f7176f039 fixed further debian packaging, merging in fixes that were included in the spec file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-08 18:10:03 +00:00
arifali e0bea579dc added syslinux-xcat into Depends for xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 23:22:42 +00:00
arifali ade7ff742c changed control file similar to xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 23:19:12 +00:00
arifali 703ffda5ac change Depends for xCAT so that now it uses ipmitool-xcat instead of ipmitool
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 23:08:32 +00:00
arifali a56f0baa89 change the dependancy for xCAT from conserver to conserver-xcat in the debian packaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-07 20:28:39 +00:00
bp-sawyers e9f36b6f10 Improve the hosts table description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 18:58:33 +00:00
phamt d03e83e52a Fixed node delete bug. Changed copy CD tab into a dialog. Loaded correct plugins for service page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 18:11:08 +00:00
yinle b2b69cb9d5 Fix bug 3504211: update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 03:33:56 +00:00
yinle c9eeddbfeb Fix bug 3504211: update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 03:31:50 +00:00
phamt 56c12c59e6 Added option to list all disks in disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 02:54:50 +00:00
phamt 2061e7e0ee Added refresh, add, and remove actions on provision image page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 02:31:08 +00:00
zhaoertao c6178a5a94 fix bug 3513522: provide more detailed information for 'conn' command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-06 02:21:26 +00:00
arifali 60867d1ce9 Initial commit of debian files for xCAT-genesis
* This will only compile on maverick if you install the lldpad from the latest repo from ubuntu i.e. precise (12.04)
* The package that this produces hasn't been tested yet, so will be testing once all the core packages are built

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 22:46:12 +00:00
jbjohnso aab44b34bd Fix problem where mknb failed to create a correct discovery configuration on rhel6 uefi environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 21:12:08 +00:00
jbjohnso 4e8e9cc11d Have slpdiscover manage mac table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 17:06:39 +00:00
jbjohnso 51b6f71eb6 Remove extraneous set -x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 17:06:25 +00:00
sjing 7fe393e420 Fixed the bug -f does not work if the Cstate of nim machine is ready.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 14:12:04 +00:00
jbjohnso a3f7e76b03 Have slpdiscover.pm program chassis name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 14:10:37 +00:00
zhaoertao a41c3051f7 fix bug 3513160: update manpage for rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 06:08:24 +00:00
yinle 378134bf87 Fix bug 3515039, xcatsetup define service node error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 03:15:51 +00:00
arifali e8c17fdd80 Added initial xCAT-rmc debian files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 23:01:42 +00:00
linggao 61e76db19a fix the error callback in dhcp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 20:08:10 +00:00
jbjohnso 6cd35e6f9c Instead of pestering user, when CMM is detected auto-switch behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:28:14 +00:00
jbjohnso 36d3b43194 Fix ssh to wait for system> prompt before trying to type. Also, defer MM reset until all 'clicmds' are processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:13:12 +00:00
jbjohnso 60f1f2ed5f Fix nodestat reliability issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 17:43:24 +00:00
lissav bf841a2946 fix tabch -h
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 14:59:07 +00:00
jbjohnso 73cd343bf5 Have slpdiscover get more fleshed out for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 14:35:13 +00:00
mellor 0b950cd054 defect 3491680 avoid LL error when setting same config values
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 21:53:48 +00:00
arifali e354728c53 fix rules file to add the svn version information to modifyUtils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 21:51:48 +00:00
arifali f2577efa77 Fix building debian packages so that the .svn files are not included
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 21:37:16 +00:00
arifali f0e9de7796 Added IBMhpc debian files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 19:50:44 +00:00
jbjohnso 35fab70399 Add missing use statement to support the ip lookup checked in previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:55:35 +00:00
jbjohnso 9271d58115 Have blade.pm support filling in based on name lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:54:19 +00:00
jbjohnso 7e3c1b8b90 Add more neutral syntax for rspconfig account management of AMM, not everyone wants 'USERID'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:26:23 +00:00
jbjohnso 0e30e06d04 Change clicmds argument passing to be more flexible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 15:26:52 +00:00
jbjohnso 8a3b5596af Flesh out the blade clicmds ssh support a bit more and accomodate CMM default password behavior/requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 15:13:54 +00:00
phamt cb1b957167 Fixed build error.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:47:51 +00:00
lissav 29d1c397a4 fix defect 3514127
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:23:38 +00:00
phamt f3c4eb0b38 Removed editable disk pool column.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:21:30 +00:00
lissav f63aaf9ebf fix defect 3513526
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:05:53 +00:00
jbjohnso 905caa2b18 Enhance blade.pm in preparation for deeper CMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 19:27:34 +00:00
phamt e9fc69a84e Enabled editable disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 19:04:07 +00:00
daniceexi 8e3bb4ee70 fix the issue if having entry has dir path in the .pkglist, genimage failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 17:35:34 +00:00
phamt 75d9038371 Added refresh button, and enabled adding/removing multiple regions to disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 15:43:37 +00:00
phamt 7d2b1048eb Enabled adding/removing multiple regions to disk pool.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 15:21:49 +00:00
jbjohnso 9933536568 Have name match the filename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:41:37 +00:00
jbjohnso 8be05fe72f Rename SSH.pm to SSHInteract.pm to avoid conflict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:40:59 +00:00
jbjohnso f7d4b54e7c Add a hidden ripmi directive for debug and development support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:40:37 +00:00
phamt 7bef9e3d4b Added storage management to zVM resources page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 04:08:30 +00:00
jjhua d7011e64bb fixed the point 2 of defect 3513208, when run genimage with mlnxofed_ib_install twice for sles11sp1, the genimage will fail. A special case for sles11sp1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 06:36:03 +00:00
ligc c791b1d857 fix for bug 3487614: xcataixpost: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 03:57:47 +00:00
immarvin 6d0fd8bd7f initialize the variable XCATROOT when loading the .pm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 03:17:14 +00:00
ligc 48749916c6 fix for bug 3487614: change to /xcatpost/mypostscript and add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 02:14:04 +00:00
ligc 2d6e8d8a5d fix for bug 3487614: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-31 02:58:07 +00:00
wanghuaz f386741c7c Fixing bug 3497120: Not to disable nsddevices by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 09:16:42 +00:00
wanghuaz 9c8932552f Fixing bug 3512768: minor error in description of postinstall attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 08:48:27 +00:00
yinle 9d0320735a minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 07:16:24 +00:00
wanghuaz 94d0e7c1e6 Top level update in hpc integration to include the latest pkglist, otherpkgs and postinstalls. Also changed the way to install hpc apps from postinstall to otherpkgs. PE and GPFS otherpkg list have been added the pkg names. PE and GPFS postinstall script have removed package installation part. LoadL otherpkg and postintall don't do any change since only full license rpm needs to install by xCAT, other Loadl packages are still installed from their own script, so moving loadl license rpm from postinstall to otherpkg might add more work to user, we can simply do it from postinstall.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 06:33:32 +00:00
zhaoertao eba699b147 modify the fsp-api action for rpower cycle to support rbootseq
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 05:47:32 +00:00
jjhua ca365a92be add the pciutils and pciutils-libs because we use the lspic in the mlnxofed_ib_install scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 05:22:30 +00:00
wanghuaz 3ff5eba8fc Use otherpkgs to install gpfs packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 04:31:08 +00:00
linggao 37c604a69d minor fix for getNodesetStates in pxe and yaboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 22:22:32 +00:00
linggao 6c81bc84ce More efficient when calling getstate for pxe,xnba and yaboot during node deployment or updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:33:32 +00:00
jbjohnso 13f01c5a87 Change the invocation that relied upon telnetcmds name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:26:25 +00:00
jbjohnso 2638fd549b Step 1 of blade.pm ssh-ification... rename telnetcmds to clicmds... cosmetic change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:26:16 +00:00
jbjohnso e88e88e925 Add xCAT::SSH to help ssh-ify blade.pm to cope with CMMs that do not do telnet by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:10:50 +00:00
linggao 4aef6cbfbc fixed compiling error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 19:12:25 +00:00
jbjohnso 24ee4eb3ce Apply changes from xnba.pm to pxe.pm and yaboot.pm for getstate external calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:14:03 +00:00
jbjohnso ef19a2bbdd Have xnba.pm cope with extrnal cals to getstate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:08:49 +00:00
nott e0a151ba9b add configdump to nimimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 14:14:49 +00:00
jbjohnso f92ab6d4a4 Change psh to not leave STDIN open. Hopefully this helps ssh not get hung up expecting enters inexplicably
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 13:30:10 +00:00
wanghuaz e4037c6e09 some hpc packages listed in otherpkg list requires /proc filesystem. Previously those packages are installed from postintall script and the postintall script mounted /proc filesystem for them. Now if use otherpkgs to install HPC packages, we have to mount /proc file system also.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 08:22:41 +00:00
jjhua 1fdfbc2a34 fixed the bug 3512662, add the ib rh into the xCAT-server.spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 04:51:46 +00:00
ligc 9b0eef0aa9 fix for bug 3487614: move scripts to /xcatpost/mypostscript* and the requirement from bug 3497125
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 03:16:38 +00:00
wanghuaz 0c51beba69 add minor change to last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 02:57:21 +00:00
jbjohnso db4d440467 Have SvrUtils allow 'export' of sendmsg for brevity in calling code if calling code so desires it.
Get ready to have blade.pm do ssh out of the gate on at least CMMs
Get ready for SLP based 'node' discovery, including MM initial setup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 21:06:04 +00:00
mellor 73bc80c97b defect 3476911 rollupdate check for bad input values
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 19:41:41 +00:00
nott cb4a9f01cb add support for dump re-target
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 13:39:48 +00:00
jjhua 8fe63331bd fixed defect 3512263.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 12:33:40 +00:00
xq2005 3f2f5ea67d modify the kdump cnfigure file in postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 10:04:56 +00:00
wanghuaz ee4281f364 Using a new method to install PE packages. otherpkgs now accept system environment, so we can use this way to install pe licience rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 08:38:57 +00:00
wanghuaz 63bc149a82 Using a new method to install PE packages. otherpkgs now accept system environment, so we can use this way to install pe licience rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 07:41:57 +00:00
xq2005 512795a33e fix bug for kdump setup on rhels6.1 stateless node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 07:12:18 +00:00
linggao 578afdf5d0 added interactive flag for genimage prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 20:59:36 +00:00
linggao b4cb354d0b man page update for genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 20:24:53 +00:00
linggao de4e245335 added interactive feature for genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 19:28:49 +00:00
lissav 0377e50e05 Add additional LL setup for authentication when running db2sqlsetup -S -o
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 15:17:07 +00:00
phamt db43394393 Added dedicated disk support in nodeset for RH.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 13:14:11 +00:00
zhaoertao 19bc3d77c4 delete the using and implementation of getNodeSpecAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 11:21:58 +00:00
xq2005 7421eba5ba fix bugs in enablekdump postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:58:24 +00:00
jjhua cb9f6e46ec correct the loop number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:44:56 +00:00
jjhua f76fac2a3a For AIX, remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:07:46 +00:00
jjhua d0066e515a For AIX, remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:07:31 +00:00
jbjohnso a18bc88b18 Enhance mktoolscenter
support multiple repositories, more obviously fail on mount error, give usage in the face of unrecognized cli arguments
support mounting from an external nfs source rather than xcat

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 19:46:50 +00:00
jbjohnso 47b6c89a4c Have MacMap throttle itself to 64 switches at a time to fend off memory starvation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 17:36:22 +00:00
xq2005 a8dcb097f0 configure the kdump file in enablekdump postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 15:04:36 +00:00
jbjohnso a92b34d80d Fix SLP mistake of discarding two bytes from the attribute list erroneously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 14:19:16 +00:00
jbjohnso a2f1109df8 Fix problem where we failed to broadcast all requested service types
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 13:39:46 +00:00
xq2005 452134db27 support kdump on sles in enablekdump
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 08:39:51 +00:00
xq2005 a5975a08f2 kdump for sles when nodeset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 07:35:16 +00:00
sjing a0a69bd3d6 enhanced logging in aixlitesetup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 05:47:26 +00:00
wanghuaz d501fd51b9 add the support to delete all multiple mac addresses from lease file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 03:48:39 +00:00
jbjohnso f2eb40b81c Have relay_fds work to try to batch more xml transformations together generically to improve execution time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 18:10:48 +00:00
jbjohnso 663d5cf3d1 Remove leftover extraneous output from xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:40 +00:00
jbjohnso 0a069e3b88 Have Client work to aggregate some XML processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:34 +00:00
jbjohnso 13fd08ee8d Have xcatd bulk xml transform 'unable to find plugin to handle' message to cut back server load'.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:27 +00:00
jbjohnso e4cb55b3f9 Avoid redundant calls to the same table to do plugin lookup during plugin_command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:16:11 +00:00
jbjohnso 120fa47c0e Rework plugin_comand to use XCATSITEVALS instead of polling site table for select plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:16:05 +00:00
jbjohnso e24cc45b70 Fix problem where Table.pm fails to skip cache for low nodecounts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:15:58 +00:00
bp-sawyers 242fe69dbd Fix bug in buildcore.sh where it would not uppercase the args in some cases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-24 13:27:52 +00:00
bp-sawyers 9a73363d90 fix builddep.sh to get rid of older versions of the rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 19:46:54 +00:00
nott 5389ce87ce fix for rc.dd_boot script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 19:06:45 +00:00
jbjohnso 0c658a7b53 Fix other typos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:14:43 +00:00
lissav e15f58b00a Do not add otherpkgs for AIX defect 3508761
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:07:22 +00:00
jbjohnso da28995179 Fix teh other typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:02:26 +00:00
jbjohnso 93610b9095 fix typo in doxcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 14:30:14 +00:00
jjhua f4a06ff3e6 fixed 3499932 and 3499065: remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:43:09 +00:00
jjhua 567a13c591 fixed 3499932 and 3499065: remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:42:53 +00:00
zhaoertao 36fc7fca02 for bug 3510200: only don't user HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:35:08 +00:00
zhaoertao 20606e36d5 fix bug 3510200: can use username other than USERID
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:44:03 +00:00
ligc cd3110086c fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:30:50 +00:00
ligc 8168b22e49 fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:26:38 +00:00
yinle 28354c529c minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 02:16:10 +00:00
daniceexi e53d9d1394 defect 3496107: remove the uninstall of OpenIPMI-tools and tftp-server, try to install conserver-xcat instead of conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 01:26:09 +00:00
jbjohnso 71cf318ee9 Update other p* commands to also be sudo friendly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:57:17 +00:00
jbjohnso 492305799b Fix psh to update homedirectory in event of sudo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:52:39 +00:00
jbjohnso 13765372a6 Have rcons check and set $HOME since sudo won't give an accurate looking home directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:52:29 +00:00
lissav 0014099d9c check for AIX in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:51:08 +00:00
bp-sawyers 93fc27b4f2 Have perl-DBD-DB2Lite not automatically installed from xcat-dep on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 09:43:56 +00:00
ligc 1e6ae34771 fix for bug 3509482: use SNs ip addresses known by compute nodes as the replication list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 08:38:56 +00:00
ligc 0adf04aa06 fix for bug 3509482: use SNs ip addresses known by compute nodes as the replication list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 08:32:24 +00:00
jbjohnso 177de72a68 Just comment some of the new xcatd changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:50:24 +00:00
jbjohnso 9184142745 Bring in some logic from IPMI plugin to get a better assurance of optimal receive buffer behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:50:15 +00:00
jbjohnso 31fb9e555f Have SLP support IPv6-less perl environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:25:20 +00:00
jbjohnso 459dca23dd Fix tftp startup for systems that have explicitly disabled IPv6 in kernel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 16:01:15 +00:00
jbjohnso 7c64bb6b05 Have xCAT more aggressively drain the listen queue on the main listening socket.
This change manages to have xCAT successfully field a large amount of incoming connections with a relatively small listen queue.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 15:14:07 +00:00
daniceexi 4bb34e0e92 fixing bug 3490738: one additional change from last chackin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:54:53 +00:00
daniceexi 9e173d19ff fixing bug 3490738: for getmacs -F option, mac address now can be with or without colon, uppercase and lowcase is also supported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:49:34 +00:00
daniceexi a7b456d288 defect 3508456: add env vars XCATROOT and PATH in the /etc/environment for aix so that xcatd can be started successfully from /etc/inittab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 09:16:13 +00:00
yinle 13ad428934 Fix bug 3504211:update xcat from 2.6.11 to 2.7 occur error on sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:25:44 +00:00
zhaoertao e7cf5580d0 modify password for USERID failed, need update password for SNMPv3.1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:20:30 +00:00
zhaoertao d27ef5117f fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:13:03 +00:00
zhaoertao 1c006a4162 fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:12:47 +00:00
ligc 608177e77f fix for bug 3509543: mknimimage -u nfs_vers=4 to work with multiple installp_bundles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 02:19:58 +00:00
jbjohnso dbb6040955 Prevent some extraneous process spawing and futile transmit attempts.
Also, do broadcast IPv4 in addition to multicast IPv4 and multicast IPv6.  Some switches seem to make the admin work for multicast to work at all...

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 20:55:41 +00:00
jbjohnso dae8ae2210 Do some retries on SLP transmits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 18:38:22 +00:00
bp-sawyers 16ab82b5a5 Have the xCAT rpms require the more specific version of perl-xCAT (e.g. 2.7.1 instead of 2.7)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 15:49:33 +00:00
jbjohnso ccb3040219 Add RFC 3059 support for AMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 14:21:48 +00:00
xq2005 3203501826 add the REST API of gettab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 09:16:06 +00:00
daniceexi 2d30063a80 Add the script detect_dhcpd for dhcp server detecting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 08:11:25 +00:00
xq2005 95d5f9db58 add REST API for capture image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 07:54:21 +00:00
xq2005 c8a1f2046c fix bug 3505123 for ganglia node map in order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 06:31:03 +00:00
wanghuaz 5be6a260b6 install pe license rpm and accept the licenses by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 05:49:59 +00:00
jbjohnso 22d2645e28 Add IPv4 support.
After adding IPv4 support, noted that IMM and AMM behaved far less nicely,
restore the service-request prelude to attribute request as a result

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:17 +00:00
jbjohnso 05e6a27704 Refactor get_interfaces internal function.
First off, have it called outside a loop to avoid many invocations of 'ip'
Secondly, IPv4 multicast demands local ip address, extract those too

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 21:06:09 +00:00
linggao 1ce980f4e7 fix a problem in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 14:51:04 +00:00
xq2005 4da98c6d66 add the API of image check command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 09:31:33 +00:00
xq2005 2f65463e87 REST API for image list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 08:50:55 +00:00
xq2005 430bb12d13 xdcp command in REST API
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 06:46:10 +00:00
wanghuaz 0059615b2a fixed a problem in power 775 that compute node cannot get its xcatserver ip from dhcp server over hfi, which was introduced by revision 10534.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 05:37:09 +00:00
jbjohnso 5dddb7ed3d Skip Service Request, contrary to slptool impressions, it's actually pretty
pointless (at least for us, services are pretty deterministic and skipping straight to attribute request makes a lot of sense).

To make up for giving up the service request provide url list, track and fill in srvtype when the reply comes back so that caller knows which data elements match which of the requested service types.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-18 21:46:07 +00:00
jbjohnso df4c56729d Finish IPv6-only phase 1 of native xCAT SLP library
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:11 +00:00
jbjohnso 1e3fa72a93 Implement sending attribute request, after processing replies, phase 1 of slp is done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 20:00:05 +00:00
jbjohnso d93542fc49 Advance state of SLP.pm to actually take and parse service replies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:58 +00:00
jbjohnso f9886db053 Rework SLP.pm to do each srvtype as a distinct packet, now mandate caller
to specifiy srvtypes.  Problem being that SLP hashed multicast addresses don't pan out so well if not very precise

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:52 +00:00
jbjohnso 2152035a14 Add SLP.pm to perl-xCAT. Currently selectively does IPv6 SLP
TODO includes IPv4 SLP and reworked multi-srvtype support since RFC indicated behavior doesn't work (divide multiple srvtypes into separate packets to workaround)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-17 19:59:46 +00:00
jbjohnso 85a3468e0f Have xCATd more robustly give client 5 seconds to receive message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 18:41:47 +00:00
daniceexi 9e2b250062 fixed the issue that xnba,pxe,vsmppex,yaboot failed for service node when no valid nodes in the handled network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 10:31:33 +00:00
wanghuaz f8138b1687 fixing bug 3505826: don't run yum install command if otherpkg list only contains marked removable pkg and no package to install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 07:05:26 +00:00
bp-sawyers 42e3641b01 fix certificate problems in getxcatdocs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 19:41:53 +00:00
jbjohnso 5d3d584e22 Don't try to sabotage tftp unless sure new tftp can work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:51:48 +00:00
jbjohnso bc6b0712c3 Refine tftp startup handling to cope better with more states (dealing with xinetd reconfiged or not reconfiged, xinetd without tftp slave active and with slave active)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:46:54 +00:00
jbjohnso 6d92251583 Change tftp to run standalone instead of xinetd slave to fix various limitations of the xinetd approach
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 15:19:40 +00:00
phamt 8e7a0f2475 Changed unknown node type label
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 14:13:15 +00:00
phamt a9ef623bb6 Removed trailing comma.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:58:36 +00:00
phamt 6e77ab5a47 Removed trailing comma.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:51:22 +00:00
phamt c7e3f36391 Fixed select all checkbox in nodes table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 13:38:00 +00:00
xq2005 1b9f6bc02f fix bug 3505088 for ganglia monitor page not stable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 10:40:31 +00:00
xq2005 99e038c6a2 turn the debugging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 07:08:32 +00:00
xq2005 af24bd9b4b add the xdsh rest api interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 06:54:28 +00:00
phamt f67806347e Fixed bugs on System p provision page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 05:09:28 +00:00
mellor c5774a5223 defect 3504334 -- fix rollupdate for xLinux rpower timeout errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 21:22:08 +00:00
bp-sawyers ddf7f8238d Fix problem of not building nbroot-core rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:42:29 +00:00
phamt bbbea35614 Updated rcons.php
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:21:21 +00:00
phamt 442bbe9156 Fixed rcons to reference jquery.min.js. Added IP address and hostname range to z/VM clone and provision page. Updated update page with new links to xCAT repository. Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:20:37 +00:00
phamt f1459db8ba Removed rconsShow.php so it could be updated.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 19:18:03 +00:00
linggao 0aa203fa99 use XCATSITEVALS in Postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 13:30:32 +00:00
phamt 9409e1f397 Changed vertical-align on z/VM provision new page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 04:38:48 +00:00
phamt 9df72493d4 Fixed add node dialogs. Added change password option under Settings. Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 04:32:06 +00:00
jjhua 8805c4c1f1 add the rpower with cycle action for NGP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 14:18:10 +00:00
zhaoertao 1c996c4c7a modify the output of 'rpower blade state'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 14:04:59 +00:00
zhaoertao b7d1caeef7 fix bug 3500392: the DFM link between hdwr_svr and blades need to be reconnected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:54:21 +00:00
daniceexi 190927b42c update the output format of rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:36:25 +00:00
xq2005 5e49f775b4 add the rest api for vms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 08:34:30 +00:00
zhaoertao 74e2960ed7 modify the output of rpower blade state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 04:31:05 +00:00
zhaoertao 229618d4ed use 'cec_state' instead of 'bpa_state' for 'rpower blade state'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 03:06:04 +00:00
jbjohnso a518f9a850 Offer '-o' to force powerdown on failed suspend attempt, '-r' to force reset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 20:58:35 +00:00
lissav 01cb1ef7e7 fix defect 3502735
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 17:03:38 +00:00
daniceexi 8797bd6954 fix the issue for xcatdebug:1. aix cannot recognize the signal NUM50,NUM51. 2. the xcatdeug -f does not work after the change that loading plugin when really running of command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 11:54:28 +00:00
jjhua 3c021b2b23 rspconfig manpage updates for NGP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 09:39:46 +00:00
zhaoertao 4eeaae182a modify the time interval used to retry rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 09:15:57 +00:00
zhaoertao 4bc914d0e6 fix bug 3496892: need to check the state of lpar strictly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 07:48:52 +00:00
xq2005 cc33f2065d sync from 2.7 for ganglia configure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 05:23:38 +00:00
jbjohnso 43fbad64ac Weaken Postage.pm requirement of PPCdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-11 00:29:52 +00:00
bp-sawyers eb13fe149e Created 2.7 branch, so changing trunk to 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 14:17:16 +00:00
713 changed files with 70617 additions and 26891 deletions
+5
View File
@@ -7,3 +7,8 @@ xCAT documentation is available at: http://xcat.sourceforge.net/
xCAT is made available as open source software under the EPL license:
http://www.opensource.org/licenses/eclipse-1.0.php
+1 -1
View File
@@ -1 +1 @@
2.7.9
2.8pcm
+241
View File
@@ -0,0 +1,241 @@
#!/bin/sh
# Update GSA Ubuntu Repositories or create a local repository
#
# Author: Leonardo Tonetto (tonetto@linux.vnet.ibm.com)
# Revisor: Arif Ali (aali@ocf.co.uk)
#
# After running this script, add the following line to
# /etc/apt/sources.list for local repository
# deb file://<core_repo_path>/xcat-core/ maverick main
# deb file://<dep_repo_path>/xcat-dep/ maverick main
#
# For the purpose of getting the distribution name
# Supported distributions
dists="squeeze"
a_flag= # automatic flag - only update if repo was updated
c_flag= # xcat-core (trunk-delvel) path
d_flag= # xcat-dep (trunk) path
local_flag= # build the repository localy
while getopts 'c:d:u:p:l:a' OPTION
do
case $OPTION in
c) c_flag=1
xcat_core_path="$OPTARG"
;;
d) d_flag=1
xcat_dep_path="$OPTARG"
;;
l) local_flag=1
local_repo_path="$OPTARG"
;;
a) a_flag=1
;;
?) printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] -l <local-repo_path> [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
exit 2
;;
esac
done
shift $(($OPTIND - 1))
if [ -z "$c_flag" -a -z "$d_flag" ]
then
printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] { -l <local-repo_path> | [-u <gsa_id> -p <gsa_passwd>] } [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
exit 2
fi
if [ ! -d $xcat_core_path ]
then
printf "%s: No such directory\n" "$xcat_core_path" >&2
exit 2
fi
if [ "$d_flag" ]
then
if [ ! -d $xcat_dep_path ]
then
printf "%s: No such directory\n" "$xcat_dep_path" >&2
exit 2
fi
fi
if [ "$local_flag" ]
then
repo_xcat_core_path=$local_repo_path"/xcat-core"
repo_xcat_dep_path=$local_repo_path"/xcat-dep"
else
printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] -l <local-repo_path> [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
exit 2
fi
if [ "$a_flag" ]
then
touch svcupdate.trace
SVCUP='svcupdate.trace'
svn update $xcat_core_path 1> $SVCUP 2>&1
if ! grep 'Tree is up to date' $SVCUP
then
update_core=1
else
update_core=
fi
rm -f $SVCUP
else
update_core=1
fi
if [ "$c_flag" -a "$update_core" ]
then
echo "###############################"
echo "# Building xcat-core packages #"
echo "###############################"
CMD_PATH=`pwd`
cd $xcat_core_path
./build-debs-all "snap" "Nightly_Builds"
echo "#################################"
echo "# Creating xcat-core repository #"
echo "#################################"
if [ -d $repo_xcat_core_path ]; then
rm -rf $repo_xcat_core_path
fi
mkdir -p $repo_xcat_core_path/conf
find . -iname '*.deb' -exec mv {} $repo_xcat_core_path \;
rm -rf debs/
cd $CMD_PATH
rm -rf $repo_xcat_core_path/conf/distributions
for dist in $dists; do
cat << __EOF__ >> $repo_xcat_core_path/conf/distributions
Origin: xCAT internal repository
Label: xcat-core bazaar repository
Codename: $dist
Architectures: amd64
Components: main
Description: Repository automatically genereted conf
__EOF__
done
cat << __EOF__ > $repo_xcat_core_path/conf/options
verbose
basedir .
__EOF__
for dist in $dists; do
for file in `ls $repo_xcat_core_path/*.deb`; do
reprepro -b $repo_xcat_core_path includedeb $dist $file;
done
done
mv $xcat_core_path/latest_version $repo_xcat_core_path/xcat-core_latest-build
cat << '__EOF__' > $repo_xcat_core_path/mklocalrepo.sh
codename=`lsb_release -a 2>null | grep Codename | awk '{print $2}'`
cd `dirname $0`
echo deb file://"`pwd`" $codename main > /etc/apt/sources.list.d/xcat-core.list
__EOF__
chmod 775 $repo_xcat_core_path/mklocalrepo.sh
rm -rf $repo_xcat_core_path/*.deb
if [ -z "$local_flag" ]
then
echo "###############################"
echo "# Updating GSA xcat-core repo #"
echo "###############################"
lftp -e "mirror -R --delete-first $repo_xcat_core_path /projects/i/ipl-xcat/ubuntu/; exit;" -u $gsa_id,$gsa_passwd -p 22 sftp://ausgsa.ibm.com
fi ### if [ -z "$local_flag" ]
fi ### if [ "$a_flag" ]
if [ "$a_flag" -a "$d_flag" ]
then
touch svcupdate.trace
SVCUP='svcupdate.trace'
svn update $xcat_dep_path 1> $SVCUP 2>&1
if ! grep 'Tree is up to date' $SVCUP
then
update_dep=1
else
update_dep=
fi
rm -f $SVCUP
else
update_dep=1
fi
if [ "$d_flag" -a "$update_dep" ]
then
echo "##############################"
echo "# Building xcat-dep packages #"
echo "##############################"
CMD_PATH=`pwd`
cd $xcat_dep_path
./build-debs-all "snap" "Nightly_Builds"
echo "################################"
echo "# Creating xcat-dep repository #"
echo "################################"
rm -rf $repo_xcat_dep_path
mkdir -p $repo_xcat_dep_path/conf
find $xcat_dep_path -iname '*.deb' -exec cp {} $repo_xcat_dep_path \;
rm -rf $repo_xcat_core_path/conf/distributions
for dist in $dists; do
cat << __EOF__ >> $repo_xcat_dep_path/conf/distributions
Origin: xCAT internal repository
Label: xcat-dep bazaar repository
Codename: $dist
Architectures: i386 amd64
Components: main
Description: Repository automatically genereted conf
__EOF__
done
cat << __EOF__ > $repo_xcat_dep_path/conf/options
verbose
basedir .
__EOF__
for dist in $dists; do
for file in `ls $repo_xcat_dep_path/*.deb`; do
reprepro -b $repo_xcat_dep_path includedeb $dist $file;
done
done
cat << '__EOF__' > $repo_xcat_dep_path/mklocalrepo.sh
codename=`lsb_release -a 2>null | grep Codename | awk '{print $2}'`
cd `dirname $0`
echo deb file://"`pwd`" $codename main > /etc/apt/sources.list.d/xcat-dep.list
__EOF__
chmod 775 $repo_xcat_dep_path/mklocalrepo.sh
rm -rf $repo_xcat_dep_path/*.deb
if [ -z "$local_flag" ]
then
echo "##############################"
echo "# Updating GSA xcat-dep repo #"
echo "##############################"
lftp -e "mirror -R --delete-first $repo_xcat_dep_path /projects/i/ipl-xcat/ubuntu/; exit;" -u $gsa_id,$gsa_passwd -p 22 sftp://ausgsa.ibm.com
fi ### if [ -z "$local_flag" ]
fi ### if [ "$d_flag" -a "$a_flag"]
if [ -z "$local_flag" ] # delete the temp repo after upload is done
then
rm -rf ./gsa-repo_temp
fi
exit 0
+10 -10
View File
@@ -6,6 +6,7 @@
#
# Author: Leonardo Tonetto <tonetto@linux.vnet.ibm.com>
# Revisor: Adalberto Medeiros <adalbas@linux.vnet.ibm.com>
# Revisor2: Arif Ali <aali@ocf.co.uk>
#
# Input:
#
@@ -29,7 +30,7 @@ fi
XCAT_VERSION=`cat Version`
TRUNK_REVISION=`svnversion | cut -d ":" -f1`
CUR_DATE=`date +%Y%m%d`
VERSION="$XCAT_VERSION$PKG_LOCATION-rev$TRUNK_REVISION-$CUR_DATE"
VERSION="${XCAT_VERSION}-${PKG_LOCATION}${CUR_DATE}"
function makedeb {
SRC_ROOT=$1
@@ -47,7 +48,7 @@ function makedeb {
do
DIR=`echo ${DEBIAN_DIR} | sed -e 's/[/]debian$//'`
cd ${DIR}
dch -v $VERSION -c debian/changelog "$BUILD_STRING"
dch -v $VERSION -b -c debian/changelog "$BUILD_STRING"
dpkg-buildpackage
cd -
RC=$?
@@ -60,20 +61,19 @@ function makedeb {
#
# Clean up
#
# Eliminate unnecessary directories and debian/files made by dpgk-buildpakcage
# Eliminate unnecessary directories and debian/files made by dpkg-buildpackage
find $SRC_ROOT -maxdepth 3 -type d -name "xcat-*" | grep debian | xargs rm -rf
find $SRC_ROOT -maxdepth 3 -type f -name "files" | grep debian | xargs rm -f
}
# build all debian packages
makedeb xCAT-client $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb perl-xCAT $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT-server $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT-UI $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCATsn $PKG_LOCATION "$BUILD_STRING" $VERSION
makedeb xCAT-test $PKG_LOCATION "$BUILD_STRING" $VERSION
packages="xCAT-client xCAT-nbroot xCAT-nbroot2 perl-xCAT xCAT-server xCAT-UI xCAT xCATsn xCAT-test xCAT-IBMhpc xCAT-rmc"
for file in `echo $packages`
do
makedeb $file $PKG_LOCATION "$BUILD_STRING" $VERSION
done
if [ -d debs ]; then
rm -rf debs
+64 -15
View File
@@ -2,12 +2,20 @@
# Update GSA Ubuntu Repositories or create a local repository
#
# Author: Leonardo Tonetto (tonetto@linux.vnet.ibm.com)
# Revisor: Arif Ali (aali@ocf.co.uk)
#
# After running this script, add the following line to
# /etc/apt/sources.list for local repository
# deb file://<core_repo_path>/xcat-core/ maverick main
# deb file://<dep_repo_path>/xcat-dep/ maverick main
#
# For the purpose of getting the distribution name
. /etc/lsb-release
# Supported distributions
dists="maverick natty oneiric precise "
a_flag= # automatic flag - only update if repo was updated
c_flag= # xcat-core (trunk-delvel) path
d_flag= # xcat-dep (trunk) path
@@ -44,7 +52,7 @@ do
done
shift $(($OPTIND - 1))
if [ -z "$c_flag" ]
if [ -z "$c_flag" -a -z "$d_flag" ]
then
printf "Usage: %s -c <core_trunk_path> [-d <dep_trunk_path>] { -l <local-repo_path> | [-u <gsa_id> -p <gsa_passwd>] } [-a]\n" $(basename $0) >&2
echo "-a Automatic: update only if there's any update on repo"
@@ -104,7 +112,7 @@ then
else
update_core=1
fi
if [ "$update_core" ]
if [ "$c_flag" -a "$update_core" ]
then
echo "###############################"
echo "# Building xcat-core packages #"
@@ -119,35 +127,51 @@ then
echo "#################################"
if [ -d $repo_xcat_core_path ]; then
rm -rdf $repo_xcat_core_path
rm -rf $repo_xcat_core_path
fi
mkdir -p $repo_xcat_core_path/conf
find . -iname '*.deb' -exec mv {} $repo_xcat_core_path \;
rm -rdf debs/
rm -rf debs/
cd $CMD_PATH
cat << __EOF__ > $repo_xcat_core_path/conf/distributions
rm -rf $repo_xcat_core_path/conf/distributions
for dist in $dists; do
cat << __EOF__ >> $repo_xcat_core_path/conf/distributions
Origin: xCAT internal repository
Label: xcat-core bazaar repository
Codename: maverick
Architectures: i386 amd64
Codename: $dist
Architectures: amd64 i386
Components: main
Description: Repository automatically genereted conf
__EOF__
done
cat << __EOF__ > $repo_xcat_core_path/conf/options
verbose
basedir .
__EOF__
for file in `ls $repo_xcat_core_path/*.deb`; do
reprepro -b $repo_xcat_core_path includedeb maverick $file;
for dist in $dists; do
for file in `ls $repo_xcat_core_path/*.deb`; do
reprepro -b $repo_xcat_core_path includedeb $dist $file;
done
done
mv $xcat_core_path/latest_version $repo_xcat_core_path/xcat-core_latest-build
cat << '__EOF__' > $repo_xcat_core_path/mklocalrepo.sh
. /etc/lsb-release
cd `dirname $0`
echo deb file://"`pwd`" $DISTRIB_CODENAME main > /etc/apt/sources.list.d/xcat-core.list
__EOF__
chmod 775 $repo_xcat_core_path/mklocalrepo.sh
rm -rf $repo_xcat_core_path/*.deb
if [ -z "$local_flag" ]
then
echo "###############################"
@@ -174,30 +198,55 @@ else
fi
if [ "$d_flag" -a "$update_dep" ]
then
echo "##############################"
echo "# Building xcat-dep packages #"
echo "##############################"
CMD_PATH=`pwd`
cd $xcat_dep_path
./build-debs-all "snap" "Nightly_Builds"
echo "################################"
echo "# Creating xcat-dep repository #"
echo "################################"
rm -rdf $repo_xcat_dep_path
rm -rf $repo_xcat_dep_path
mkdir -p $repo_xcat_dep_path/conf
find $xcat_dep_path -iname '*.deb' -exec cp {} $repo_xcat_dep_path \;
cat << __EOF__ > $repo_xcat_dep_path/conf/distributions
rm -rf $repo_xcat_core_path/conf/distributions
for dist in $dists; do
cat << __EOF__ >> $repo_xcat_dep_path/conf/distributions
Origin: xCAT internal repository
Label: xcat-dep bazaar repository
Codename: maverick
Codename: $dist
Architectures: i386 amd64
Components: main
Description: Repository automatically genereted conf
__EOF__
done
cat << __EOF__ > $repo_xcat_dep_path/conf/options
verbose
basedir .
__EOF__
for file in `ls $repo_xcat_dep_path/*.deb`; do
reprepro -b $repo_xcat_dep_path includedeb maverick $file;
for dist in $dists; do
for file in `ls $repo_xcat_dep_path/*.deb`; do
reprepro -b $repo_xcat_dep_path includedeb $dist $file;
done
done
cat << '__EOF__' > $repo_xcat_dep_path/mklocalrepo.sh
. /etc/lsb-release
cd `dirname $0`
echo deb file://"`pwd`" $DISTRIB_CODENAME main > /etc/apt/sources.list.d/xcat-dep.list
__EOF__
chmod 775 $repo_xcat_dep_path/mklocalrepo.sh
rm -rf $repo_xcat_dep_path/*.deb
if [ -z "$local_flag" ]
then
echo "##############################"
@@ -209,7 +258,7 @@ fi ### if [ "$d_flag" -a "$a_flag"]
if [ -z "$local_flag" ] # delete the temp repo after upload is done
then
rm -rdf ./gsa-repo_temp
rm -rf ./gsa-repo_temp
fi
exit 0
+96 -37
View File
@@ -20,15 +20,19 @@
# Usage: buildcore.sh [attr=value attr=value ...]
# Before running buildcore.sh, you must change the local git repo to the branch you want built, using: git checkout <branch>
# PROMOTE=1 - if the attribute "PROMOTE" is specified, means an official dot release.
# Otherwise, and snap build is assumed.
# PREGA=1 - means this is a branch that has not been released yet, so during the promote, copy the
# xcat-core tarball to the SF web site instead of the FRS area.
# PROMOTE=1 - if the attribute "PROMOTE" is specified, means an official dot release. This does not
# actually build xcat, just uploads the most recent snap build to https://sourceforge.net/projects/xcat/files/xcat/ .
# If not specified, a snap build is assumed, which uploads to https://sourceforge.net/projects/xcat/files/yum/
# or https://sourceforge.net/projects/xcat/files/aix/.
# PREGA=1 - use this option with PROMOTE=1 on a branch that already has a released dot release, but this build is
# a GA candidate build, not to be released yet. This will result in the tarball being uploaded to
# https://sourceforge.net/projects/xcat/files/yum/ or https://sourceforge.net/projects/xcat/files/aix/
# (but the tarball file name will be like a released tarball, not a snap build). When you are ready to
# release this build, use PROMOTE=1 without PREGA
# BUILDALL=1 - build all rpms, whether they changed or not. Should be used for snap builds that are in prep for a release.
# UP=0 or UP=1 - override the default upload behavior
# SVNUP=<filename> - control which rpms get built by specifying a coresvnup file
# GITUP=<filename> - control which rpms get built by specifying a coregitup file
# FRSYUM=0 - put the yum repo and snap builds in the old project web area instead of the FRS area.
# EMBED=<embedded-environment> - the environment for which a minimal version of xcat should be built, e.g. zvm or flex
# VERBOSE=1 - to see lots of verbose output
@@ -36,6 +40,17 @@
UPLOADUSER=bp-sawyers
FRS=/home/frs/project/x/xc/xcat
# These are the rpms that should be built for each kind of xcat build
ALLBUILD="perl-xCAT xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test xCAT-buildkit xCAT xCATsn xCAT-genesis-scripts"
ZVMBUILD="perl-xCAT xCAT-server xCAT-UI"
ZVMLINK="xCAT-client xCAT xCATsn"
PCMBUILD="xCAT"
PCMLINK="perl-xCAT xCAT-client xCAT-server xCAT-buildkit xCAT-genesis-scripts-x86_64"
# Note: for FSM, the FlexCAT rpm is built separately from gsa/git
FSMBUILD="perl-xCAT xCAT-client xCAT-server"
FSMLINK=""
# If you add more embed cases, also change the if [ -n "$EMBED" ]... below
# Process cmd line variable assignments, assigning each attr=val pair to a variable of same name
for i in $*; do
# upper case the variable name
@@ -82,24 +97,37 @@ function setbranch {
if [ "$REL" = "xcat-core" ]; then # using git
GIT=1
setbranch # this changes the REL variable
setbranch # this changes the REL variable
fi
# this is needed only when we are transitioning the yum over to frs
if [ "$FRSYUM" != 0 ]; then
YUMDIR=$FRS
YUMREPOURL="https://sourceforge.net/projects/xcat/files/yum"
else
YUMDIR=htdocs
YUMREPOURL="http://xcat.sourceforge.net/yum"
fi
YUMDIR=$FRS
YUMREPOURL="https://sourceforge.net/projects/xcat/files/yum"
# Set variables based on which type of build we are doing
if [ -n "$EMBED" ]; then EMBEDDIR="/$EMBED"
else EMBEDDIR=""; fi
if [ -n "$EMBED" ]; then
EMBEDDIR="/$EMBED"
if [ "$EMBED" = "zvm" ]; then
EMBEDBUILD=$ZVMBUILD
EMBEDLINK=$ZVMLINK
elif [ "$EMBED" = "pcm" ]; then
EMBEDBUILD=$PCMBUILD
EMBEDLINK=$PCMLINK
elif [ "$EMBED" = "fsm" ]; then
EMBEDBUILD=$FSMBUILD
EMBEDLINK=$FSMLINK
else
echo "Error: EMBED setting $EMBED not recognized."
exit 2
fi
else
EMBEDDIR=""
EMBEDBUILD=$ALLBUILD
EMBEDLINK=""
fi
XCATCORE="xcat-core" # core-snap is a sym link to xcat-core
if [ "$GIT" = "1" ]; then # using git - need to include REL in the path where we put the built rpms
if [ "$GIT" = "1" ]; then # using git - need to include REL in the path where we put the built rpms
DESTDIR=../../$REL$EMBEDDIR/$XCATCORE
else
DESTDIR=../..$EMBEDDIR/$XCATCORE
@@ -175,7 +203,7 @@ fi
setversionvars
# Process for making most of the rpms
# Function for making the noarch rpms
function maker {
rpmname="$1"
./makerpm $rpmname "$EMBED"
@@ -191,8 +219,10 @@ function maker {
# If anything has changed, we should always rebuild perl-xCAT
if [ $SOMETHINGCHANGED == 1 -o "$BUILDALL" == 1 ]; then # Use to be: $GREP perl-xCAT $GITUP; then
UPLOAD=1
maker perl-xCAT
if [[ " $EMBEDBUILD " = *\ perl-xCAT\ * ]]; then
UPLOAD=1
maker perl-xCAT
fi
fi
if [ "$OSNAME" = "AIX" ]; then
# For the 1st one we overwrite, not append
@@ -200,10 +230,12 @@ if [ "$OSNAME" = "AIX" ]; then
fi
# Build the rest of the noarch rpms
for rpmname in xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test; do
for rpmname in xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test xCAT-buildkit; do
#if [ "$EMBED" = "zvm" -a "$rpmname" != "xCAT-server" -a "$rpmname" != "xCAT-UI" ]; then continue; fi # for zvm embedded env only need to build server and UI
if [[ " $EMBEDBUILD " != *\ $rpmname\ * ]]; then continue; fi
if [ "$OSNAME" = "AIX" -a "$rpmname" = "xCAT-buildkit" ]; then continue; fi # do not build xCAT-buildkit on aix
if $GREP $rpmname $GITUP || [ "$BUILDALL" == 1 ]; then
UPLOAD=1
if [ "$EMBED" = "zvm" -a "$rpmname" != "xCAT-server" -a "$rpmname" != "xCAT-UI" ]; then continue; fi # for embedded envs only need to build server special
maker $rpmname
fi
if [ "$OSNAME" = "AIX" ]; then
@@ -213,18 +245,38 @@ for rpmname in xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test; d
fi
done
# Build xCAT-genesis-scripts for xcat-core. xCAT-genesis-base gets built by hand and put in xcat-dep.
# The mknb cmd combines them at install time.
if [ "$OSNAME" != "AIX" ]; then
if [[ " $EMBEDBUILD " = *\ xCAT-genesis-scripts\ * ]]; then
if $GREP xCAT-genesis-scripts $GITUP || [ "$BUILDALL" == 1 ]; then
UPLOAD=1
ORIGFAILEDRPMS="$FAILEDRPMS"
./makerpm xCAT-genesis-scripts x86_64 "$EMBED"
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS xCAT-genesis-scripts-x86_64"; fi
if [ "$FAILEDRPMS" = "$ORIGFAILEDRPMS" ]; then # all succeeded
rm -f $DESTDIR/xCAT-genesis-scripts*rpm
rm -f $SRCDIR/xCAT-genesis-scripts*rpm
mv $source/RPMS/noarch/xCAT-genesis-scripts-*rpm $DESTDIR
mv $source/SRPMS/xCAT-genesis-scripts-*rpm $SRCDIR
fi
fi
fi
fi
# Build the xCAT and xCATsn rpms for all platforms
for rpmname in xCAT xCATsn; do
if [ "$EMBED" = "zvm" ]; then break; fi
#if [ "$EMBED" = "zvm" ]; then break; fi
if [[ " $EMBEDBUILD " != *\ $rpmname\ * ]]; then continue; fi
if [ $SOMETHINGCHANGED == 1 -o "$BUILDALL" == 1 ]; then # used to be: if $GREP -E "^[UAD] +$rpmname/" $GITUP; then
UPLOAD=1
ORIGFAILEDRPMS="$FAILEDRPMS"
if [ "$OSNAME" = "AIX" ]; then
./makerpm $rpmname
./makerpm $rpmname "$EMBED"
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname"; fi
else
for arch in x86_64 i386 ppc64 s390x; do
./makerpm $rpmname $arch
for arch in x86_64 ppc64 s390x; do
./makerpm $rpmname $arch "$EMBED"
if [ $? -ne 0 ]; then FAILEDRPMS="$FAILEDRPMS $rpmname-$arch"; fi
done
fi
@@ -236,24 +288,30 @@ for rpmname in xCAT xCATsn; do
fi
fi
done
# no longer put in xCAT-rmc
if [ "$OSNAME" = "AIX" ]; then
echo "rpm -Uvh xCAT-$SHORTSHORTVER*rpm" >> $DESTDIR/instxcat
echo "rpm -Uvh xCAT-rmc-$SHORTSHORTVER*rpm" >> $DESTDIR/instxcat
fi
# Make sym links in the embed subdirs for the rpms we do not have to build special
cd $DESTDIR
if [ "$EMBED" = "zvm" ]; then
if [ -n "$EMBED" -a -n "$EMBEDLINK" ]; then
cd $DESTDIR
maindir="../../$XCATCORE"
rm -f xCAT-client-$SHORTSHORTVER*rpm
ln -s $maindir/xCAT-client-$SHORTSHORTVER*rpm .
rm -f xCAT-$SHORTSHORTVER*rpm
ln -s $maindir/xCAT-$SHORTSHORTVER*.s390x.rpm .
rm -f xCATsn-$SHORTSHORTVER*rpm
ln -s $maindir/xCATsn-$SHORTSHORTVER*.s390x.rpm .
for rpmname in $EMBEDLINK; do
if [ "$rpmname" = "xCAT" -o "$rpmname" = "xCATsn" ]; then
if [ "$EMBED" = "zvm" ]; then
echo "Creating link for $rpmname-$SHORTSHORTVER"'*.s390x.rpm'
rm -f $rpmname-$SHORTSHORTVER*rpm
ln -s $maindir/$rpmname-$SHORTSHORTVER*.s390x.rpm .
fi
else
echo "Creating link for $rpmname-$SHORTSHORTVER"'*rpm'
rm -f $rpmname-$SHORTSHORTVER*rpm
ln -s $maindir/$rpmname-$SHORTSHORTVER*rpm .
fi
done
cd - >/dev/null
fi
cd - >/dev/null
# Decide if anything was built or not
@@ -431,6 +489,7 @@ if [ "$OSNAME" != "AIX" -a "$REL" = "devel" -a "$PROMOTE" != 1 -a -z "$EMBED" ];
rpm2cpio ../$XCATCORE/xCAT-client-*.$NOARCH.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/perl-xCAT-*.$NOARCH.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/xCAT-test-*.$NOARCH.rpm | cpio -id '*.html'
rpm2cpio ../$XCATCORE/xCAT-buildkit-*.$NOARCH.rpm | cpio -id '*.html'
i=0
while [ $((i+=1)) -le 5 ] && ! rsync $verboseflag -r opt/xcat/share/doc/man1 opt/xcat/share/doc/man3 opt/xcat/share/doc/man5 opt/xcat/share/doc/man7 opt/xcat/share/doc/man8 $UPLOADUSER,xcat@web.sourceforge.net:htdocs/
do : ; done
+17 -13
View File
@@ -126,7 +126,7 @@ if [ "$OSNAME" != "AIX" ]; then
fi
if [ "$OSNAME" == "AIX" ]; then
# Build the instoss file
# Build the instoss file ------------------------------------------
cat >instoss << 'EOF'
#!/bin/ksh
@@ -146,22 +146,25 @@ else
fi
cd $OSVER
# Have to install rpms 1 at a time, since some may be already installed.
# The only interdependency between the dep rpms so far is that net-snmp requires bash
# pyodbc is dependent on unixODBC
# The only interdependency between the dep rpms so far is that net-snmp requires bash, and
# pyodbc requires unixODBC. (The bash dependency is taken care of automatically because it
# comes earlier in the alphabet.)
rpm -Uvh unixODBC*
for i in `ls *.rpm|grep -v -E '^tcl-|^tk-|^expect-|^unixODBC-|^xCAT-UI-deps'`; do
for i in `ls *.rpm|grep -v -E '^tcl-|^tk-|^expect-|^unixODBC-|^xCAT-UI-deps|^perl-DBD-DB2Lite'`; do
if [ "$i" == "perl-Net-DNS-0.66-1.aix5.3.ppc.rpm" ]; then
opts="--nodeps"
else
opts=""
fi
# this next if stmt means: if i does not start with perl-DBD-DB2
# just in case we need it sometime, this next if stmt would mean: if it does not start with perl-DBD-DB2
#if [ "${i#perl-DBD-DB2}" == "$i" ]; then
echo rpm -Uvh $opts $i
rpm -Uvh $opts $i
#fi
echo rpm -Uvh $opts $i
rpm -Uvh $opts $i
done
# don't try to install tcl, tk, or expect if they are already installed!
# this section about expect/tcl/tk can be removed once 2.8 releases, because 2.8 no longer requires expect
lslpp -l | grep expect.base > /dev/null 2>&1
if [ $? -gt 0 ]; then
if [ "$OSVER" == "5.3" ]; then
@@ -174,7 +177,7 @@ if [ $? -gt 0 ]; then
fi
fi
EOF
# end of instoss file content
# end of instoss file content ---------------------------------------------
chmod +x instoss
@@ -213,7 +216,8 @@ else
echo "Creating $DFNAME ..."
tar $verbosetar -jcf $DFNAME xcat-dep
fi
cd xcat-dep
#cd xcat-dep <-- now we want to stay above xcat-dep, so we can rsync the whole dir
if [ "$UP" == 0 ]; then
exit 0;
@@ -235,12 +239,12 @@ if [ "$FRSYUM" != 0 ]; then
else
links="-l"
fi
echo "Uploading RPMs to $YUMDIR/$YUM/xcat-dep/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync $links -ruv --delete * $UPLOADUSER,xcat@web.sourceforge.net:$YUMDIR/$YUM/xcat-dep/
echo "Uploading RPMs from xcat-dep to $YUMDIR/$YUM/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync $links -ruv --delete xcat-dep $UPLOADUSER,xcat@web.sourceforge.net:$YUMDIR/$YUM/
do : ; done
# Upload the tarball to the SF FRS Area
i=0
echo "Uploading $DFNAME to $FRS/xcat-dep/$FRSDIR/ ..."
while [ $((i+=1)) -le 5 ] && ! rsync -v ../$DFNAME $UPLOADUSER,xcat@web.sourceforge.net:$FRS/xcat-dep/$FRSDIR/
while [ $((i+=1)) -le 5 ] && ! rsync -v $DFNAME $UPLOADUSER,xcat@web.sourceforge.net:$FRS/xcat-dep/$FRSDIR/
do : ; done
+3
View File
@@ -10,6 +10,9 @@
<packagereq type="required">xCAT-server</packagereq>
<packagereq type="required">xCAT-client</packagereq>
<packagereq type="required">perl-xCAT</packagereq>
<packagereq type="required">xCAT-nbroot-core-x86_64</packagereq>
<packagereq type="required">xCAT-nbroot-core-x86</packagereq>
<packagereq type="optional">xCAT-nbroot-core-ppc64</packagereq>
</packagelist>
</group>
</comps>
+2 -2
View File
@@ -13,11 +13,11 @@ then
exit 1
fi
echo "The location for rpm building is ${RPMROOT}"
cd `dirname $0`/xCAT-nbroot2
cd `dirname $0`/xCAT-genesis-builder
tar --exclude .svn -cjvf $RPMROOT/SOURCES/xCAT-genesis-builder.tar.bz2 .
#mv -f *.gz $RPMROOT/SOURCES
cp LICENSE.html $RPMROOT/BUILD
cp xCAT-genesis-builder.spec $RPMROOT/SOURCES
cd -
rm -f $RPMROOT/SRPMS/xCAT-genesis-builder-$VER*rpm $RPMROOT/RPMS/*/xCAT-genesis-builder-$VER*rpm
rpmbuild -ba xCAT-nbroot2/xCAT-genesis-builder.spec
rpmbuild -ba xCAT-genesis-builder/xCAT-genesis-builder.spec
+43 -11
View File
@@ -32,9 +32,9 @@ function makenoarch {
# Make one of the following rpms: xCAT, xCATsn
# Make one of the following rpms: xCAT, xCATsn, xCAT-buildkit
function makexcat {
if [ "$OSNAME" != "AIX" -a -z "$2" ]; then
if [ "$OSNAME" != "AIX" -a "$1" != "xCAT-buildkit" -a -z "$2" ]; then
echo 'Usage: makerpm <RPMname> <arch> [<embedded-system>]'
exit 1
fi
@@ -68,24 +68,34 @@ function makexcat {
RC=$?
else # linux
ARCH="$2"
cd `dirname $0`/$RPMNAME
TARGET="--target $ARCH"
if [ "$RPMNAME" = "xCAT" ]; then
tar --exclude .svn -czf $RPMROOT/SOURCES/postscripts.tar.gz postscripts LICENSE.html
cd `dirname $0`/$RPMNAME
tar --exclude .svn --exclude upflag -czf $RPMROOT/SOURCES/postscripts.tar.gz postscripts LICENSE.html
tar --exclude .svn -czf $RPMROOT/SOURCES/prescripts.tar.gz prescripts
tar --exclude .svn -czf $RPMROOT/SOURCES/templates.tar.gz templates
cp xcat.conf $RPMROOT/SOURCES
cp xCATMN $RPMROOT/SOURCES
else # xCATsn
cd - >/dev/null
elif [ "$RPMNAME" = "xCATsn" ]; then
cd `dirname $0`/$RPMNAME
tar --exclude .svn -czf $RPMROOT/SOURCES/license.tar.gz LICENSE.html
cp xcat.conf $RPMROOT/SOURCES
cp xCATSN $RPMROOT/SOURCES
cd - >/dev/null
elif [ "$RPMNAME" = "xCAT-buildkit" ]; then
ARCH="noarch"
TARGET=""
tar --exclude .svn --exclude xCAT-buildkit.spec -czf $RPMROOT/SOURCES/$RPMNAME-$VER.tar.gz $RPMNAME
else # do not recognize rpm
echo "Unrecognized rpm: $RPMNAME"
exit 2
fi
cd - >/dev/null
rm -f $RPMROOT/SRPMS/$RPMNAME-$VER*rpm $RPMROOT/RPMS/$ARCH/$RPMNAME-$VER*rpm
echo "Building $RPMROOT/RPMS/$ARCH/$RPMNAME-$VER-snap*.$ARCH.rpm $EMBEDTXT..."
rpmbuild $QUIET -ba $RPMNAME/$RPMNAME.spec --target $ARCH
rpmbuild $QUIET -ba $RPMNAME/$RPMNAME.spec $TARGET
RC=$?
fi
}
@@ -115,9 +125,9 @@ function makenbroot {
# Make the xCAT-nbroot-core rpm
# Make the xCAT-genesis rpm
function makegenesis {
DIR="xCAT-nbroot2"
DIR="xCAT-genesis-builder"
RPMNAME="$1"
cd `dirname $0`/$DIR
tar --exclude .svn -cjf $RPMROOT/SOURCES/$RPMNAME.tar.bz2 .
@@ -128,6 +138,25 @@ function makegenesis {
echo "Building $RPMROOT/RPMS/noarch/$RPMNAME-$VER-snap*.noarch.rpm $EMBEDTXT..."
rpmbuild $QUIET -ba $DIR/$RPMNAME.spec
}
function makegenesisscripts {
DIR="xCAT-genesis-scripts"
if [ -z "$2" ]; then
echo 'Usage: makerpm xCAT-genesis-scripts <arch> [<embedded-system>]'
exit 1
fi
RPMNAME="$1"
ARCH="$2"
TARGET="--target $ARCH"
cd `dirname $0`/
tar --exclude .svn -cjf $RPMROOT/SOURCES/$RPMNAME.tar.bz2 $DIR
cp $DIR/LICENSE.html $RPMROOT/BUILD
cp $DIR/$RPMNAME.spec $RPMROOT/SOURCES
cd - >/dev/null
rm -f $RPMROOT/SRPMS/$RPMNAME-$ARCH-$VER*rpm $RPMROOT/RPMS/noarch/$RPMNAME-$ARCH-$VER*rpm
echo "Building $RPMROOT/RPMS/noarch/$RPMNAME-$ARCH-$VER-snap*.noarch.rpm $EMBEDTXT..."
rpmbuild $QUIET -ba $DIR/$RPMNAME.spec $TARGET
}
# Export the name of the embedded system we are building for
@@ -172,15 +201,18 @@ else # linux
fi
if [ "$1" = "xCAT" -o "$1" = "xCATsn" ]; then
if [ "$1" = "xCAT" -o "$1" = "xCATsn" -o "$1" = "xCAT-buildkit" ]; then
exportEmbed $3
makexcat $1 $2
elif [ "$1" = "xCAT-nbroot" -o "$1" = "xCAT-nbroot-core" ]; then
exportEmbed $3
makenbroot xCAT-nbroot-core $2
elif [ "$1" = "xCAT-genesis-builder" ]; then
exportEmbed $2
makegenesis $1
elif [ "$1" = "xCAT-genesis-scripts" ]; then
exportEmbed $3
makegenesis $1 $2
makegenesisscripts $1 $2
else # must be one of the noarch rpms
exportEmbed $2
makenoarch $1
+1 -1
View File
@@ -2,7 +2,7 @@ Source: perl-xcat
Section: libs
Priority: extra
Maintainer: Arif Ali <aali@ocf.co.uk>
Build-Depends: debhelper (>= 5), libsoap-lite-perl
Build-Depends: debhelper (>= 5), libsoap-lite-perl, libdbi-perl
Standards-Version: 3.7.2
Package: perl-xcat
+2 -2
View File
@@ -1,7 +1,7 @@
xCAT/* usr/lib/perl5/xCAT
xCAT/* /opt/xcat/lib/perl/xCAT/
share/man/man5/* opt/xcat/share/man/man5
share/doc/man5/* opt/xcat/share/doc/man5
share/man/man7/* opt/xcat/share/man/man7
share/doc/man7/* opt/xcat/share/doc/man7
LICENSE.html opt/xcat/share/doc/packages/perl-xCAT
README opt/xcat/
README opt/xcat/
+3 -3
View File
@@ -14,7 +14,7 @@ export DH_COMPAT=5
build:
dh_testdir
./modifyUtils `cat ../Version`
./modifyUtils `cat ../Version` `svn info | grep Revision | cut -d" " -f 2`
./db2man
clean:
@@ -26,7 +26,7 @@ install:
dh_testdir
dh_testroot
dh_installdirs
dh_install
dh_install -X".svn"
# Build architecture-independent files here.
@@ -40,7 +40,7 @@ binary-arch: build install
dh_installchangelogs
dh_installdocs
# dh_installexamples
dh_install
dh_install -X".svn"
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/lib/perl/xCAT/*
chmod 755 `pwd`/debian/perl-xcat/opt/xcat/lib/perl/xCAT/data
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/packages/perl-xCAT/*
+6 -1
View File
@@ -17,5 +17,10 @@ then
sed -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (built $BUILDDATE)'"/ xCAT/Version.pm >xCAT/Version.pm.new
mv xCAT/Version.pm.new xCAT/Version.pm
else
sed -i -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (built $BUILDDATE)'"/ xCAT/Version.pm
if [ -f "/etc/debian_version" ];then
FILENAME="debian/perl-xcat/opt/xcat/lib/perl/xCAT/Version.pm"
else
FILENAME="xCAT/Version.pm"
fi
sed -i -e s/"#XCATVERSIONSUBHERE"/". '$VER'"/ -e s/"#XCATSVNBUILDSUBHERE"/". ' (built $BUILDDATE)'"/ $FILENAME
fi
+19 -10
View File
@@ -24,6 +24,7 @@ Provides perl xCAT libraries for core functionality. Required for all xCAT inst
Includes xCAT::Table, xCAT::NodeRange, among others.
%define zvm %(if [ "$zvm" = "1" ];then echo 1; else echo 0; fi)
%define fsm %(if [ "$fsm" = "1" ];then echo 1; else echo 0; fi)
%prep
%setup -q -n perl-xCAT
@@ -32,12 +33,15 @@ Includes xCAT::Table, xCAT::NodeRange, among others.
# All of the tarball source has been unpacked there and is in the same file structure
# as it is in svn.
%if %fsm
%else
# Modify the Version() function in xCAT/Utils.pm to automatically have the correct version
./modifyUtils %{version}
# Build the pod version of the man pages for each DB table. It puts them in the man5 and man7 subdirs.
# Then convert the pods to man pages and html pages.
./db2man
%endif
%install
# The install phase puts all of the files in the paths they should be in when the rpm is
@@ -74,6 +78,18 @@ rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPC*.pm
cp xCAT/PPCdb.pm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/
chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPCdb.pm
%endif
# Don't ship these on FSM, to reduce dependencies
%if %fsm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/hpoa.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/vboxService.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/FSP*.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/RemoteShellExp.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/LparNetbootExp.pm
rm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPC*.pm
# have to put PPCdb.pm back because it is needed by Postage.pm
cp xCAT/PPCdb.pm $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/
chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/PPCdb.pm
%endif
cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/perl-xCAT
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/perl-xCAT/*
@@ -81,6 +97,8 @@ chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/perl-xCAT/*
cp README $RPM_BUILD_ROOT/%{prefix}
chmod 644 $RPM_BUILD_ROOT/%{prefix}/README
%if %fsm
%else
# These were built dynamically in the build phase
cp share/man/man5/* $RPM_BUILD_ROOT/%{prefix}/share/man/man5
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/man/man5/*
@@ -90,6 +108,7 @@ cp share/man/man7/* $RPM_BUILD_ROOT/%{prefix}/share/man/man7
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/man/man7/*
cp share/doc/man7/* $RPM_BUILD_ROOT/%{prefix}/share/doc/man7
chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/man7/*
%endif
%clean
# This step does not happen until *after* the %files packaging below
@@ -121,18 +140,8 @@ fi
if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
if [ -x /etc/init.d/xcatd ] && [ -f "/proc/cmdline" ]; then
. /etc/profile.d/xcat.sh
/etc/init.d/xcatd reload
fi
fi
%else
if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
if [ -n "$INUCLIENTS" ] && [ $INUCLIENTS -eq 1 ]; then
#Do nothing in not running system
echo "Do not restartxcatd in not running system"
else
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd -r
fi
fi
%endif
exit 0
+826
View File
@@ -0,0 +1,826 @@
# IBM(c) 2012 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::CFMUtils;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
use lib "$::XCATROOT/lib/perl";
use strict;
use warnings;
use File::Path;
use File::Copy;
use File::Find;
use Getopt::Long;
use Data::Dumper;
use File::Basename;
use xCAT::Table;
use xCAT::Utils;
use xCAT::MsgUtils;
1;
#-----------------------------------------------------------------------------
=head3 initCFMdir
Initialize CFM directories and files. The default layout under cfmdir is:
.
|-- etc
| |-- group.merge -> /etc/group.merge
| |-- hosts -> /etc/hosts
| |-- passwd.merge -> /etc/passwd.merge
| |-- shadow.merge -> /etc/shadow.merge
|-- group.OS -> /etc/group.OS
|-- passwd.OS -> /etc/passwd.OS
|-- shadow.OS -> /etc/shadow.OS
Note: the *.OS files are the backups for the original /etc/passwd, shadow, group files
Arguments:
$cfmdir
Returns:
0 - initialize successfully
1 - initialize failed
Globals:
none
Error:
none
Example:
xCAT::CFMUtils->initCFMdir($cfmdir);
=cut
#-----------------------------------------------------------------------------
sub initCFMdir
{
my ($class, $cfmdir) = @_;
# below system files will be synced to all compute nodes
my @sysfiles = ("/etc/hosts");
# the /etc/passwd, shadow, group files will be merged
my @userfiles = ("/etc/passwd", "/etc/shadow", "/etc/group");
# create the cfmdir
if (! -d $cfmdir)
{
mkpath $cfmdir;
}
# backup the OS files and create links under cfmdir
foreach my $file (@userfiles)
{
my $backup = $file.".OS";
if (! -e $backup)
{
copy($file, $backup);
}
if (! -e "$cfmdir/".basename($backup))
{
symlink($backup, "$cfmdir/".basename($backup));
}
}
# Initialize CFM directory and related files
if (! -d "$cfmdir/etc")
{
mkpath "$cfmdir/etc";
}
# link the system files
foreach my $file (@sysfiles)
{
symlink($file, "$cfmdir/$file");
}
# touch and link the merge files for /etc/passwd, shadow, group
foreach my $file (@userfiles)
{
my $merge = $file.".merge";
if (! -e "$merge")
{
xCAT::Utils->runcmd("touch $merge", -1);
}
if (! -e "$cfmdir/$merge")
{
symlink($merge, "$cfmdir/$merge");
}
}
}
#-----------------------------------------------------------------------------
=head3 updateUserInfo
Update the /etc/passwd, shadow, group merge files under specified CFM directory
Arguments:
$cfmdir - CFM directory for osimage
Returns:
0 - update successfully
1 - update failed
Globals:
$::CALLBACK
Error:
none
Example:
my $ret = xCAT::CFMUtils->updateUserInfo($cfmdir);
=cut
#-----------------------------------------------------------------------------
sub updateUserInfo {
my ($class, $cfmdir) = @_;
my @userfiles = ("/etc/passwd", "/etc/shadow", "/etc/group");
my @osfiles = glob("$cfmdir/*.OS");
if (!@osfiles)
{
if ($::VERBOSE)
{
my $rsp = {};
$rsp->{data}->[0] = "Skiping the update of the /etc/passwd, shadow, group merge files under the CFM directory.";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
}
return 0;
}
foreach my $file (@userfiles)
{
my @oldrecords = ();
my @newrecords = ();
my $backup = basename($file).".OS";
# get the records from /etc/passwd, shadow, group file and backup files(.OS files)
# and all the files from /install/osimages/$imgname/cfmdir directory
foreach my $userinfo ($file, "$cfmdir/$backup")
{
my $fp;
open($fp, $userinfo);
my @records = ();
while (<$fp>)
{
my $line = xCAT::CFMUtils->trim($_);
if (($line =~ /^#/) || ($line =~ /^\s*$/ ))
{ #comment line or blank line
next;
} else
{
push @records, $line;
}
}
close($fp);
# check the records from /etc/passwd, shadow, group file or backup
if ($userinfo =~ /^\/etc/ )
{
@newrecords = @records;
} else {
@oldrecords = @records;
}
}
# update the merge file
my $mergefile = $cfmdir."/".$file.".merge";
my @diff = xCAT::CFMUtils->arrayops("D", \@newrecords, \@oldrecords);
# output the diff to merge files
my $fp;
open($fp, '>', $mergefile);
if (@diff)
{
for my $record (@diff)
{
print $fp "$record\n";
}
}
close ($fp);
}
return 0;
}
#-----------------------------------------------------------------------------
=head3 setCFMSynclistFile
Set osimage synclists attribute for CFM function, the CMF synclist file is:
/install/osimages/<imagename>/synclist.cfm
Arguments:
$imagename - the specified osimage name
Returns:
It returns the cfmdir path if it is defined for an osimage object
Globals:
$::CALLBACK
Error:
none
Example:
my $cfmdir = xCAT::CFMUtils->setCFMSynclistFile($imagename);
if ($cfmdir) { # update the CFM synclist file }
=cut
#-----------------------------------------------------------------------------
sub setCFMSynclistFile {
my ($class, $img) = @_;
my $cfmdir;
my $synclists;
my $cfmsynclist = "/install/osimages/$img/synclist.cfm";
# get the cfmdir and synclists attributes
my $osimage_t = xCAT::Table->new('osimage');
my $records = $osimage_t->getAttribs({imagename=>$img}, 'cfmdir', 'synclists');
if ($records)
{
if ($records->{'cfmdir'}) {$cfmdir = $records->{'cfmdir'}}
if ($records->{'synclists'}) {$synclists = $records->{'synclists'}}
} else {
if ($::VERBOSE)
{
my $rsp = {};
$rsp->{data}->[0] = "There are no records for cfmdir and synclists attribute in the osimage:$img. There is nothing to process.";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
}
return;
}
# no cfmdir defined, return directly
if (!$cfmdir)
{
return;
}
my $found = 0;
my $index = 0;
if ($synclists)
{
# the synclists is a comma separated list
my @lists = split(/,/, $synclists);
foreach my $synclist (@lists)
{
# find the synclist configuration for CFM
if ($synclist eq $cfmsynclist)
{
$found = 1;
last;
}
$index += 1;
}
if ($found == 0)
{
# the CFM synclist is not defined, append it to $synclists
$synclists = "$synclists,$cfmsynclist";
# set the synclists attribute
$osimage_t->setAttribs({imagename=>$img}, {'synclists' => $synclists});
}
} else {
# no synclists defined, set it to CFM synclist file
if ($cfmdir) { $synclists = $cfmsynclist; }
$osimage_t->setAttribs({imagename=>$img}, {'synclists' => $synclists});
}
return $cfmdir;
}
#-----------------------------------------------------------------------------
=head3 updateCFMSynclistFile
Update the synclist file(/install/osimages/<imagename>/synclist.cfm) for CFM function.
It will recursively scan the files under cfmdir directory and then add them to CFM synclist file.
Note:
The files with suffix ".append" will be appended to the dest file(records in "APPEND:" section).
The files with suffix ".merge" will be merged to the dest file(records in "MERGE:" section).
In addition, it will reserve the user specified records in the synclist file. The example synclist file:
<cfmdir>/etc/hosts -> /etc/hosts
/root/install.log -> /tmp/install.log
...
APPEND:
<cfmdir>/etc/hosts.append -> /etc/hosts
/root/install.log.syslog -> /tmp/install.log
...
EXECUTE:
...
EXECUTEALWAYS:
...
MERGE:
<cfmdir>/etc/group.merge -> /etc/group
<cfmdir>/etc/shadow.merge -> /etc/shadow
<cfmdir>/etc/passwd.merge -> /etc/passwd
Arguments:
\@imagenames - reference to the osimage names array
Returns:
0 - update successfully
1 - update failed
Globals:
$::CALLBACK
Error:
none
Example:
my $ret = CAT::CFMUtils->updateCFMSynclistFile(\@imagenames);
=cut
#-----------------------------------------------------------------------------
sub updateCFMSynclistFile {
my ($class, $imgs) = @_;
my @osimgs = @$imgs;
if (!@osimgs)
{
my $rsp = {};
$rsp->{error}->[0] = "No osimage names specified to process.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
foreach my $osimg (@osimgs)
{
my $cfmdir;
$cfmdir = xCAT::CFMUtils->setCFMSynclistFile($osimg);
if ($cfmdir) # check for /install/osiamges/$osimg/cfmdir
{
my $cfmsynclist = "/install/osimages/$osimg/synclist.cfm";
if (! -d $cfmdir)
{
# skip this one go on to the next image, nothing to do for
# CFMUtils in this image
next;
}
# create the parent directory of CFM synclist file
if (! -d dirname($cfmsynclist))
{
mkpath dirname($cfmsynclist);
}
# update /etc/passwd, shadow, group merge files
my $ret = xCAT::CFMUtils->updateUserInfo($cfmdir);
if ($ret !=0 )
{
my $rsp = {};
$rsp->{error}->[0] =
"Update /etc/passwd, shadow, group merge files failed.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
# recursively list the files under cfm directory
my @files = ();
find ( sub { push @files, $File::Find::name if (! -d) }, $cfmdir);
if (!@files) # not files under cfm directory, skip to next loop
{
next;
}
my $fp;
open($fp, '>', $cfmsynclist);
my @mergefiles = ();
my @appendfiles = ();
foreach my $file (@files)
{
my $name = basename($file);
#TODO: find a better way to get the suffix
my $suffix = ($name =~ m/([^.]+)$/)[0];
my $dest = substr($file, length($cfmdir));
if ($suffix eq "OS") # skip the backup files
{
next;
} elsif ($suffix eq "merge") # merge file
{
push(@mergefiles, $file);
} elsif ($suffix eq "append") { # append file
push(@appendfiles, $file);
} else { # output the syncing files maintained by CFM
print $fp "$file -> $dest\n";
}
}
# output the APPEND records maintained by CFM
if (@appendfiles) {
print $fp "APPEND:\n";
}
foreach my $file (@appendfiles)
{
my $dest = substr($file, length($cfmdir), length($file) - length(".append") - length($cfmdir));
print $fp "$file -> $dest\n";
}
# output the MERGE records maintained by CFM
if (@mergefiles) {
print $fp "MERGE:\n";
}
foreach my $file (@mergefiles)
{
my @userfiles = ("/etc/passwd", "/etc/shadow", "/etc/group");
my $dest = substr($file, length($cfmdir), length($file) - length(".merge") - length($cfmdir));
# only /etc/passwd, /etc/shadow, /etc/groups merging is supported
if (grep(/$dest/, @userfiles)) {
print $fp "$file -> $dest\n";
}
}
# close the file
close($fp);
}
}
return 0;
}
#-----------------------------------------------------------------------------
=head3 setCFMPkglistFile
Set the pkglist attribute of linuximage object for CFM function
Arguments:
$imagename - the specified linuximage name
Returns:
0 - update successfully
1 - update failed
Globals:
$::CALLBACK
Error:
none
Example:
my $ret = xCAT::CFMUtils->setCFMPkglistFile($imagename);
=cut
#-----------------------------------------------------------------------------
sub setCFMPkglistFile {
my ($class, $img) = @_;
my $pkglists = "";
my $cfmpkglist = "/install/osimages/$img/pkglist.cfm";
# get the pkglist files
my $linuximage_t = xCAT::Table->new('linuximage');
my $records = $linuximage_t->getAttribs({imagename => $img}, 'pkglist');
if ($records)
{
if ($records->{'pkglist'}) { $pkglists = $records->{'pkglist'}; }
} else
{
if ($::VERBOSE)
{
my $rsp = {};
$rsp->{data}->[0] = "There are no records for pkglist attribute in the linuximage:$img. There is nothing to process.";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
}
}
my $found = 0;
if ($pkglists)
{
foreach my $pkglist (split(/,/, $pkglists))
{
if ($pkglist eq $cfmpkglist) # the pkglist file for CFM is found, exit the loop
{
$found = 1;
last;
}
}
# the pkglist file for CFM is not found, append it to $pkglits
if (!$found)
{
$pkglists = "$pkglists,$cfmpkglist";
# set the pkglist attribute for linuximage
$linuximage_t->setAttribs({imagename => $img}, {'pkglist' => $pkglists});
}
} else
{
# the pkglist file for linuximage is not defined, set it to $cfmpkglist
$pkglists = $cfmpkglist;
$linuximage_t->setAttribs({imagename => $img}, {'pkglist' => $pkglists});
}
return 0;
}
#-----------------------------------------------------------------------------
=head3 updateCFMPkglistFile
Update the ospkglist file
Arguments:
$imagename - the specified linuximage name
@curospkgs - the currently selected OS packages list
Returns:
0 - update successfully
1 - update failed
Globals:
none
Error:
none
Example:
my $ret = CAT::CFMUtils->updateCFMPkglistFile($imagename, @cur_selected_pkgs);
=cut
#-----------------------------------------------------------------------------
sub updateCFMPkglistFile {
my ($class, $img, $ospkgs) = @_;
my @cur_selected = @$ospkgs;
my $cfmpkglist = "/install/osimages/$img/pkglist.cfm";
my $ret = xCAT::CFMUtils->setCFMPkglistFile($img);
if ($ret)
{
my $rsp = {};
$rsp->{error}->[0] = "Set pkglist attribute for CFM failed.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
# check the parent directory of cfmpkglist file
if (! -d dirname($cfmpkglist))
{
mkpath dirname($cfmpkglist);
}
# get previous selected and removed OS packages list from pkglist file
my ($pre_selected_ref, $pre_removed_ref) = xCAT::CFMUtils->getPreOSpkgsList($cfmpkglist);
my @pre_selected = @$pre_selected_ref;
my @pre_removed = @$pre_removed_ref;
# get the #INCLUDE file from cfmpkglist file
my @incfiles = xCAT::CFMUtils->getIncludefiles($cfmpkglist);
# get the packages list in the #INCLUDE files
my @basepkgs = ();
foreach my $inc (@incfiles)
{
my ($selected_ref, $removed_ref) = xCAT::CFMUtils->getPreOSpkgsList($inc);
my @selected = @$selected_ref;
@basepkgs = xCAT::CFMUtils->arrayops("U", \@basepkgs, \@selected);
}
# get diff between previous and current selected OS packages lists
my @diff = xCAT::CFMUtils->getPkgsDiff(\@pre_selected, \@cur_selected);
# merge the diff to previous removed OS packages list
my @all_removed = xCAT::CFMUtils->arrayops("U", \@pre_removed, \@diff);
# get the rollbacked OS packages list, the packages are existing in both removed and selected lists
# if so, we should remove the rollbacked OS packages from removed list
my @rollback = xCAT::CFMUtils->arrayops("I", \@all_removed, \@cur_selected);
my @cur_removed = xCAT::CFMUtils->arrayops("D", \@all_removed, \@rollback);
# remove the BASE packages from selected pakages
@basepkgs = xCAT::CFMUtils->arrayops("I", \@basepkgs, \@cur_selected);
@cur_selected = xCAT::CFMUtils->arrayops("D", \@cur_selected, \@basepkgs);
# update the pkglist file
my $fp;
open($fp, '>', $cfmpkglist);
foreach my $inc (@incfiles)
{
print $fp "#INCLUDE:$inc#\n";
}
# the pacakges be installed
if (@cur_selected)
{
foreach my $pkg (@cur_selected)
{
print $fp "$pkg\n";
}
}
# the packages be removed
if (@cur_removed)
{
foreach my $pkg (@cur_removed)
{
print $fp "-$pkg\n";
}
}
# close the file
close($fp);
return 0;
}
#-----------------------------------------------------------------------------
=head3 getPreOSpkgsList
Get previously selected and removed OS packages lists from pkglist file
Arguments:
$ospkglist - the path for ospkglist file
Returns:
refs for selected and removed OS packages arrays
Globals:
none
Error:
none
Example:
my ($pre_selected_ref, $pre_removed_ref) = xCAT::CFMUtils->getPreOSpkgsList($ospkglist);
my @pre_selected = @$pre_selected_ref;
my @pre_removed = @$pre_removed_ref;
=cut
#-----------------------------------------------------------------------------
sub getPreOSpkgsList {
my ($class, $pkglist) = @_;
my @selected = ();
my @removed = ();
my @pkglistfiles = ();
# get the #INCLUDE file from cfmpkglist file
my @incfiles = xCAT::CFMUtils->getIncludefiles($pkglist);
foreach my $inc (@incfiles)
{
push @pkglistfiles, $inc;
}
# assume the #INCLUDE file includes the BASE packages
push @pkglistfiles, $pkglist;
foreach my $file (@pkglistfiles)
{
my $pkglistfp;
open($pkglistfp, xCAT::CFMUtils->trim($file));
while (<$pkglistfp>)
{
my $line = xCAT::CFMUtils->trim($_);
if (($line =~ /^#/) || ($line =~ /^\s*$/ ) || ($line =~ /^@/))
{ #comment line or blank line
next;
} else
{
if ($line =~ /^-/)
{ # the package be removed
push @removed, substr($line, 1);
} else
{ # the package be installed
push @selected, $line;
}
}
}
close($pkglistfp);
}
# delete the removed packages from selected list
my @intersection = xCAT::CFMUtils->arrayops("I", \@removed, \@selected);
@selected = xCAT::CFMUtils->arrayops("D", \@selected, \@intersection);
return (\@selected, \@removed);
}
#-----------------------------------------------------------------------------
=head3 getPkgsDiff
Get the differences between previous and current packages list
Arguments:
@pre - previous selected packages list
@cur - current selected packages list
Returns:
@diff - the differencen list
Globals:
none
Error:
none
Example:
my @diff = xCAT::CFMUtils->getPkgsDiff(\@pre_selected, \@cur_selected);
=cut
#-----------------------------------------------------------------------------
sub getPkgsDiff {
my ($class, $pre, $cur) = @_;
# get the intersection firstly
my @tmp = xCAT::CFMUtils->arrayops("I", \@$pre, \@$cur);
# get the difference
my @diff = xCAT::CFMUtils->arrayops("D", \@$pre, \@tmp);
#print Dumper(@diff);
return @diff;
}
#-----------------------------------------------------------------------------
=head3 getIncludefiles
Get the #INCLUDE files from the given file
Arguments:
$file - the given file
Returns:
@files - the #INCLUDE files list
Globals:
none
Error:
none
Example:
my @diff = xCAT::CFMUtils->getIncludefiles($file);
=cut
#-----------------------------------------------------------------------------
sub getIncludefiles {
my ($class, $file) = @_;
my @files = ();
my $fp;
open($fp, $file);
while (<$fp>)
{
my $line = xCAT::CFMUtils->trim($_);
if ($line =~ /^\s*$/)
{ # blank line
next;
}
# find the #INCLUDE line
if ($line =~ /^\s*#INCLUDE:[^#^\n]+#/)
{
#print "The line is: [$line]\n";
my $incfile = substr($line, length("#INCLUDE:"), length($line)-length("#INCLUDE:")-1);
push @files, $incfile;
}
}
close($fp);
return @files;
}
#-----------------------------------------------------------------------------
=head3 trim
Strip left and right whitspaces for a string
Arguments:
$string
Returns:
@string
Globals:
none
Error:
none
Example:
my @new_string = xCAT::CFMUtils->trim($string);
=cut
#-----------------------------------------------------------------------------
sub trim {
my ($class, $string) = @_;
# trim the left whitespaces
$string =~ s/^\s*//;
# trim the right whitespaces
$string =~ s/\s*$//;
return $string;
}
# Function: compute Union, Intersection or Difference of unique lists
# Usage: arrayops ("U"/"I"/"D", @a, @b)
# Return: @union/@intersection/@difference
#-----------------------------------------------------------------------------
=head3 arrayops
Compute Union/Intersection/Difference for 2 unique lists
Arguments:
$flag - "U"/"I"/"D"
\@array1 - reference to an arrary
\@array2 - reference to an arrary
Returns:
@union/@intersection/@difference
Globals:
none
Error:
none
Example:
my @array = xCAT::CFMUtils->arrayops(\@array1, \@array2);
=cut
#-----------------------------------------------------------------------------
sub arrayops {
my ($class, $ops, $array1, $array2) = @_;
my @union = ();
my @intersection = ();
my @difference = ();
my %count = ();
foreach my $element (@$array1, @$array2)
{
$count{$element}++
}
foreach my $element (keys %count) {
push @union, $element;
push @{ $count{$element} > 1 ? \@intersection : \@difference }, $element;
}
if ($ops eq "U") { return @union; }
if ($ops eq "I") { return @intersection; }
if ($ops eq "D") { return @difference; }
#return (\@union, \@intersection, \@difference);
}
+53 -37
View File
@@ -9,10 +9,7 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
my $inet6support;
@@ -27,6 +24,15 @@ if ($inet6support) {
if ($inet6support) {
$inet6support = eval { require IO::Socket::SSL; IO::Socket::SSL->import('inet6'); 1;};
}
if ($^O =~ /^linux/i) {
# Is IPv6 enabled on the MN or xcat client node at all?
my $ipv6enabled = `ip addr | grep inet6`;
if (!$ipv6enabled) {
$inet6support = 0;
}
}
unless ($inet6support) {
eval { require Socket };
eval { require IO::Socket::INET };
@@ -119,7 +125,7 @@ sub submit_request {
unless ($cafile) { $cafile = $homedir."/.xcat/ca.pem"; }
$xCAT::Client::EXITCODE = 0; # clear out exit code before invoking the plugin
if (ref($request) eq 'HASH') { # the request is an array, not pure XML
$request->{clienttype}->[0] = "cli"; # setup clienttype for auditlog
$request->{clienttype}->[0] = "cli"; # setup clienttype for auditlog
}
# If XCATBYPASS is set, invoke the plugin process_request method directly
# without going through the socket connection to the xcatd daemon
@@ -129,6 +135,7 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
if (!(defined($request->{username}))) {
$request->{username}->[0] = getpwuid($>);
}
# only allow root to run
unless ($request->{username}->[0] =~ /root/) {
print ("WARNING: Only allow root to run XCATBYPASS mode, your current user ID is $request->{username}->[0].\n");
@@ -146,14 +153,16 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
}
} else {
# figure out default plugins dir
my $sitetab=xCAT::Table->new('site');
unless ($sitetab) {
print ("ERROR: Unable to open basic site table for configuration\n");
}
#my $sitetab=xCAT::Table->new('site');
#unless ($sitetab) {
# print ("ERROR: Unable to open basic site table for configuration\n");
#}
$plugins_dir=$::XCATROOT.'/lib/perl/xCAT_plugin';
scan_plugins();
}
populate_site_hash();
# don't do XML transformation -- assume request is well-formed
# my $xmlreq=XMLout($request,RootName=>xcatrequest,NoAttr=>1,KeyAttr=>[]);
# $request = XMLin($xmlreq,SuppressEmpty=>undef,ForceArray=>1) ;
@@ -172,7 +181,7 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
}
my $pclient;
if ($inet6support) {
$pclient = IO::Socket::INET6->new(
$pclient = IO::Socket::INET6->new(
PeerAddr => $xcathost,
Timeout => 15,
);
@@ -198,23 +207,13 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
SSL_cert_file => $certfile,
SSL_ca_file => $cafile,
SSL_use_cert => 1,
Timeout => 0,
);
Timeout => 0,
);
} else {
$client = IO::Socket::SSL->start_SSL($pclient,
Timeout => 0,
);
$client = IO::Socket::SSL->start_SSL($pclient,
Timeout => 0,
);
}
unless ($client) {
print "Unable to open socket connection to xcatd daemon on $xcathost.\n";
print "Verify that the xcatd daemon is running and that your SSL setup is correct.\n";
if ($@ =~ /SSL Timeout/) {
die "Connection failure: SSL Timeout or incorrect certificates in ~/.xcat";
} else {
die "Connection failure: $@"
}
}
my $msg;
if (ref($request) eq 'HASH') { # the request is an array, not pure XML
$msg=XMLout($request,RootName=>'xcatrequest',NoAttr=>1,KeyAttr=>[]);
@@ -373,7 +372,6 @@ sub plugin_command {
my $callback = shift;
my %handler_hash;
my $usesiteglobal = 0;
# We require these only in bypass mode to reduce start up time for the normal case
#use lib "$::XCATROOT/lib/perl";
#use xCAT::NodeRange;
@@ -407,7 +405,6 @@ sub plugin_command {
unless (@nodes) {
$req->{emptynoderange} = [1];
}
}
if (@nodes) { $req->{node} = \@nodes; }
my %unhandled_nodes;
@@ -425,13 +422,14 @@ sub plugin_command {
if ($hdlspec =~ /^site:/) { #A site entry specifies a plugin
my $sitekey = $hdlspec;
$sitekey =~ s/^site://;
$sitetab = xCAT::Table->new('site');
my $sent = $sitetab->getAttribs({key=>$sitekey},['value']);
if ($sent and $sent->{value}) { #A site style plugin specification is just like
#$sitetab = xCAT::Table->new('site');
#my $sent = $sitetab->getAttribs({key=>$sitekey},['value']);
#if ($sent and $sent->{value}) { #A site style plugin specification is just like
if ($::XCATSITEVALS{$sitekey}) { #A site style plugin specification is just like
#a static global, it grabs all nodes rather than some
$useglobals = -1; #If they tried to specify anything, don't use the default global handlers at all
unless (@nodes) {
$handler_hash{$sent->{value}} = 1;
$handler_hash{$::XCATSITEVALS{$sitekey}} = 1;
$usesiteglobal = 1;
}
foreach (@nodes) { #Specified a specific plugin, not a table lookup
@@ -534,7 +532,8 @@ sub plugin_command {
}
} #Otherwise, global handler is implicitly disabled
} else {
return 1; #TODO: error back that request has no known plugin for it
print "Error request: $req->{command}->[0] has no known plugin for it.\n";
return 1;
}
if ($useunhandled) {
my $queuelist;
@@ -719,7 +718,7 @@ sub dispatch_request {
if (ref $_->{'_xcatdest'} and (ref $_->{'_xcatdest'}) eq 'ARRAY') {
_->{'_xcatdest'} = $_->{'_xcatdest'}->[0];
}
if ($onlyone and not ($_->{'_xcatdest'} and xCAT::Utils->thishostisnot($_->{'_xcatdest'}))) {
if ($onlyone and not ($_->{'_xcatdest'} and xCAT::NetworkUtils->thishostisnot($_->{'_xcatdest'}))) {
$SIG{CHLD}='DEFAULT';
${"xCAT_plugin::".$modname."::"}{process_request}->($_,$dispatch_cb,\&do_request);
return;
@@ -760,7 +759,7 @@ sub dispatch_request {
my $request_satisfied=0;
foreach $xcatdest (@xcatdests) {
my $dlock;
if ($xcatdest and xCAT::Utils->thishostisnot($xcatdest)) {
if ($xcatdest and xCAT::NetworkUtils->thishostisnot($xcatdest)) {
#----- added to Client.pm -----#
$dispatch_cb->({warning=>['XCATBYPASS is set, skipping hierarchy call to '.$_->{'_xcatdest'}.'']});
#----- end added to Client.pm -----#
@@ -891,11 +890,28 @@ sub build_response {
} # end of submit_request()
####################################
# populates all the site attributes into %::XCATSITEVALS
# This is used with XCATBYPASS=1
###################################
sub populate_site_hash {
%::XCATSITEVALS=();
my $sitetab = xCAT::Table->new('site',-create=>0);
unless ($sitetab) {
print ("ERROR: Unable to open basic site table for configuration\n");
return;
}
my @records = $sitetab->getAllAttribs(qw/key value/);
foreach (@records) {
$::XCATSITEVALS{$_->{key}}=$_->{value};
}
}
##########################################
# handle_response is a default callback that can be passed into submit_response()
# It is invoked repeatedly by submit_response() to print out the data returned by
# handle_response is a default callback that can be passed into submit_request()
# It is invoked repeatedly by submit_request() to print out the data returned by
# the plugin.
#
# The normal flow is:
@@ -975,7 +991,7 @@ sub build_response {
##########################################
sub handle_response {
my $rsp = shift;
if ($ENV{'XCATSHOWXML'}) {
if ($ENV{'XCATSHOWXML'}) {
my $xmlrec=XMLout($rsp,RootName=>'xcatresponse',NoAttr=>1,KeyAttr=>[]);
print "$xmlrec\n";
return;
Executable → Regular
+11 -20
View File
@@ -16,6 +16,7 @@ require xCAT::Table;
require xCAT::Utils;
require xCAT::MsgUtils;
require xCAT::NetworkUtils;
require xCAT::ServiceNodeUtils;
use strict;
# IPv6 not yet implemented - need Socket6
@@ -199,7 +200,7 @@ sub getobjattrs
# list of object names
foreach my $table (keys %tableattrs) {
# open the table
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 1);
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 0);
if (!$thistable) {
my $rsp;
$rsp->{data}->[0] = "Could not open the \'$table\' table.";
@@ -616,7 +617,7 @@ sub getDBtable
{
# need to get info from DB
my $thistable = xCAT::Table->new($table, -create => 1);
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 0);
if (!$thistable)
{
return undef;
@@ -1161,7 +1162,7 @@ sub setobjdefs
xCAT::MsgUtils->message("W", $rsp, $::callback);
} else {
my $rsp;
$rsp->{data}->[0] = "$em is not in the atrribute of \'$attr_name\' for the \'$objname\' definition.";
$rsp->{data}->[0] = "$em is not in the attribute of \'$attr_name\' for the \'$objname\' definition.";
xCAT::MsgUtils->message("W", $rsp, $::callback);
}
}
@@ -1994,15 +1995,11 @@ sub getNetwkInfo
if (xCAT::Utils->isMN() && !$nethash{$node}{'gateway'})
{
# does not have ip address in this subnet,
# use the node attribute 'xcatmaster'
my $noderestab = xCAT::Table->new('noderes');
my $et = $noderestab->getNodeAttribs($node, ['xcatmaster']);
if ($et and defined($et->{'xcatmaster'}))
{
my $value = $et->{'xcatmaster'};
$nethash{$node}{'gateway'} = xCAT::NetworkUtils->getipaddr($value);
}
$noderestab->close();
# use the node attribute 'xcatmaster' or site.master
my @nodes = ("$node");
my $sn = xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes,"xcat","Node");
my $snkey = (keys %{$sn})[0];
$nethash{$node}{'gateway'} = xCAT::NetworkUtils->getipaddr($snkey);
}
}
@@ -2153,7 +2150,7 @@ sub getchildren
$::RUNCMD_RC = 1;
return undef;
}
my @ps = $ppctab->getAllNodeAttribs(['node','parent','nodetype','hcp']);
my @ps = $ppctab->getAllNodeAttribs(['node','parent','nodetype']);
foreach my $entry ( @ps ) {
my $p = $entry->{parent};
my $c = $entry->{node};
@@ -2164,19 +2161,13 @@ sub getchildren
# build hash of ppc.parent -> ppc.node
push @{$PPCHASH{$p}}, $c;
}
elsif ($t eq 'blade') {
push @{$PPCHASH{$c}}, $entry->{hcp};
}
} else { # go look in the nodetype table to find nodetype
my $type = getnodetype($c, "ppc");
my $type = getnodetype($c);
if ( $type eq 'fsp' or $type eq 'bpa')
{
# build hash of ppc.parent -> ppc.node
push @{$PPCHASH{$p}}, $c;
}
elsif ($type eq "blade") {
push @{$PPCHASH{$c}}, $entry->{hcp};
}
}
} # not $p and $c
}
+1421 -353
View File
File diff suppressed because it is too large Load Diff
+98 -64
View File
@@ -159,6 +159,100 @@ no strict;
use strict;
}
#---------------------------------------------------------------------------
=head3
fork_output_for_commands
Forks a process for the given command array and returns the process
ID for the forked process and references to all I/O pipes for STDOUT
and STDERR. In the child process, it will invoke the xCAT::DSHCore->fork_no_output()
for the first command which is a no-output command and waitpid(). And then execute
the left commands in the child process.
Arguments:
$fork_id - unique identifer to use for tracking the forked process
@command - command and parameter array to execute in the forkec process
Returns:
$pid - process identifer for the forked process
Globals:
None
Error:
None
Example:
$pid = xCAT::DSHCore->fork_output_for_commands('hostname1PID', @command_array);
Comments:
=cut
#---------------------------------------------------------------------------
sub fork_output_for_commands
{
my ($class, $fork_id, @commands) = @_;
no strict;
my $pid;
my %pipes = ();
my $rout_fh = "rout_$fork_id";
my $rerr_fh = "rerr_$fork_id";
my $wout_fh = "wout_$fork_id";
my $werr_fh = "werr_$fork_id";
(pipe($rout_fh, $wout_fh) == -1) && return (-1, undef);
(pipe($rerr_fh, $werr_fh) == -1) && return (-2, undef);
if ($pid = fork)
{
close($wout_fh);
close($werr_fh);
}
elsif (defined $pid)
{
close($rout_fh);
close($rerr_fh);
!(open(STDOUT, ">&$wout_fh")) && return (-5, undef);
!(open(STDERR, ">&$werr_fh")) && return (-6, undef);
select(STDOUT);
$| = 1;
select(STDERR);
$| = 1;
if ( @commands > 1 ) {
my $command0 = shift(@commands);
my @exe_command0_process = xCAT::DSHCore->fork_no_output($fork_id, @$command0);
waitpid($exe_command0_process[0], undef);
}
my $t_command = shift(@commands);
my @command = @$t_command;
if (!(exec {$command[0]} @command))
{
return (-4, undef);
}
}
else
{
return (-3, undef);
}
return ($pid, *$rout_fh, *$rerr_fh, *$wout_fh, *$werr_fh);
use strict;
}
#---------------------------------------------------------------------------
=head3
@@ -396,7 +490,7 @@ sub pipe_handler
|| print STDOUT
"dsh> Error_file_closed $$target_properties{hostname} $output_file\n";
my $rsp={};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Error_file_closed $$target_properties{hostname $output_file}.\n";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
($output_file == $$target_properties{'output-fh'})
@@ -575,55 +669,6 @@ sub pipe_handler_buffer
return $eof_reached;
}
#---------------------------------------------------------------------------
=head3
fping_hostnames
Executes fping on a given list of hostnames and returns a list of those
hostnames that did not respond
Arguments:
@hostnames - list of hostnames to execute for fping
Returns:
@no_response - list of hostnames that did not respond
undef if fping is not installed
Globals:
None
Error:
None
Example:
@bad_hosts = xCAT::DSHCore->fping_hostnames(@host_list);
Comments:
=cut
#---------------------------------------------------------------------------
sub fping_hostnames
{
my ($class, @hostnames) = @_;
my $fping = (-x '/usr/sbin/fping') || undef;
!$fping && return undef;
my @output = `/usr/sbin/fping -B 1.0 -r 1 -t 50 -i 10 -p 50 @hostnames`;
my @no_response = ();
foreach my $line (@output)
{
my ($hostname, $token, $status) = split ' ', $line;
!(($token eq 'is') && ($status eq 'alive'))
&& (push @no_response, $hostname);
}
return @no_response;
}
#---------------------------------------------------------------------------
@@ -709,23 +754,12 @@ sub pping_hostnames
my ($class, @hostnames) = @_;
my $hostname_list = join ",", @hostnames;
# read site table, usefping attribute
# if set then run pping -f to use fping
# this fixes a broken nmap in Redhat 6.2 with ip alias (3512)
my $cmd="$::XCATROOT/bin/pping $hostname_list"; # default
my @usefping=xCAT::Utils->get_site_attribute("usefping");
if ((defined($usefping[0])) && ($usefping[0] eq "1")) {
$cmd = "$::XCATROOT/bin/pping -f $hostname_list";
}
#my $rsp={};
#$rsp->{data}->[0] = "running command $cmd";
#xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
my @output =
xCAT::Utils->runcmd($cmd, -1);
xCAT::Utils->runcmd("$::XCATROOT/bin/pping $hostname_list", -1);
if ($::RUNCMD_RC !=0) {
my $rsp={};
$rsp->{data}->[0] = "Error from pping";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "Error from pping";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
}
$::RUNCMD_RC =0; # reset
my @no_response = ();
+4 -4
View File
@@ -35,7 +35,7 @@ foreach (@extSchema) {
if ($@) {
$warning ="Warning: The user defined database table schema file $file cannot be located or has compiling errors.\n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
next;
}
if (${"xCAT_schema::" . "$modname" . "::"}{tabspec}) {
@@ -44,7 +44,7 @@ foreach (@extSchema) {
if (exists($ext_tabspec{$tabname})) {
$warning = "Warning: File $file: the table name $tabname is used by other applications. Please rename the table.\n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
} else {
$ext_tabspec{$tabname}=$tabspec{$tabname};
}
@@ -52,7 +52,7 @@ foreach (@extSchema) {
} else {
$warning ="\n Warning: Cannot find \%tabspec variable in the user defined database table schema file $file\n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
}
#get the defspec from each file and merge them into %ext_defspec
@@ -74,7 +74,7 @@ foreach (@extSchema) {
if (exists($tmp_hash{$attrname})) {
$warning= " Warning: Conflict when adding user defined defspec from file $file. Attribute name $attrname is already defined in object $objname. \n";
print $warning;
`logger -t xCAT $warning`;
`logger -p local4.warning -t xCAT $warning`;
} else {
#print "\ngot here objname=$objname, attrname=" . $h->{attr_name} . "\n";
push(@{$ext_defspec{$objname}->{'attrs'}}, $h);
+15 -16
View File
@@ -10,10 +10,7 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -26,9 +23,10 @@ require xCAT::InstUtils;
require xCAT::NetworkUtils;
require xCAT::Schema;
require xCAT::Utils;
require xCAT::TableUtils;
#use Data::Dumper;
require xCAT::NodeRange;
use xCAT::MsgUtils qw(verbose_message);
#-------------------------------------------------------------------------------
@@ -69,7 +67,7 @@ sub getHcpAttribs
}
}
my @ps = $tabs->{ppc}->getAllNodeAttribs(['node','parent','nodetype', 'hcp']);
my @ps = $tabs->{ppc}->getAllNodeAttribs(['node','parent','nodetype']);
for my $entry ( @ps ) {
my $tmp_parent = $entry->{parent};
my $tmp_node = $entry->{node};
@@ -78,9 +76,6 @@ sub getHcpAttribs
push @{$ppchash{$tmp_parent}{children}}, $tmp_node;
#push @{$ppchash{$tmp_parent}}, $tmp_node;
}
if (defined($tmp_node) && defined($tmp_type) && ($tmp_type eq "blade") && defined($entry->{hcp})) {
push @{$ppchash{$tmp_node}{children}}, $entry->{hcp};
}
#if(exists($ppchash{$tmp_node})) {
# if( defined($tmp_type) ) {
@@ -136,7 +131,7 @@ sub getIPaddress
my $type = shift;
my $nodetocheck = shift;
my $port = shift;
if (xCAT::Utils::isIpaddr($nodetocheck)) {
if (xCAT::NetworkUtils::isIpaddr($nodetocheck)) {
return $nodetocheck;
}
my $side = "[A|B]";
@@ -178,8 +173,6 @@ sub getIPaddress
#the $nodetocheck is its' hcp. So set $nodetocheck to $parent variable.
#And then get the FSPs IPs for the CEC.
$parent = $nodetocheck;
} elsif ($type eq "blade") {
return $ppc->{$nodetocheck}->{children}->[0];
} else {
return undef;
}
@@ -196,7 +189,7 @@ sub getIPaddress
if ($tmp_s and $tmp_s =~ /^$side-$port$/i) {
$tmp_s =~ s/a/A/;
$tmp_s =~ s/b/B/;
if (xCAT::Utils::isIpaddr($tmp_n)) {
if (xCAT::NetworkUtils::isIpaddr($tmp_n)) {
$node_side_pairs{$tmp_s} = $tmp_n;
$children_num++;
} else {
@@ -290,6 +283,7 @@ sub fsp_api_action {
}
$id = $$attrs[0];
$fsp_name = $$attrs[3];
xCAT::MsgUtils->verbose_message($request, "fsp_api_action START node:$node_name,type:$$attrs[4].");
if($$attrs[4] =~ /^fsp$/ || $$attrs[4] =~ /^lpar$/ || $$attrs[4] =~ /^cec$/) {
$type = 0;
$fsp_bpa_type="fsp";
@@ -312,7 +306,7 @@ sub fsp_api_action {
} else {
$fsp_ip = getIPaddress($request, $$attrs[4], $fsp_name );
}
xCAT::MsgUtils->verbose_message($request, "fsp_api_action getIPaddress:$fsp_ip.");
if(!defined($fsp_ip)) {
$res = "Failed to get IP address for $fsp_name or the related FSPs/BPAs.";
return ([$node_name, $res, -1]);
@@ -353,7 +347,7 @@ sub fsp_api_action {
}
my $cmd;
my $install_dir = xCAT::Utils->getInstallDir();
my $install_dir = xCAT::TableUtils->getInstallDir();
if( $action =~ /^(code_update|get_compatible_version_from_rpm)$/) {
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:$parameter -d $install_dir/packages_fw/";
} elsif($action =~ /^code_updateD$/) {
@@ -376,7 +370,7 @@ sub fsp_api_action {
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
}
}
xCAT::MsgUtils->verbose_message($request, "fsp_api_action cmd:$cmd.");
#print "cmd: $cmd\n";
$SIG{CHLD} = 'DEFAULT';
# secure passwords in verbose mode
@@ -398,6 +392,7 @@ sub fsp_api_action {
if(defined($res)) {
$res =~ s/$node_name: //g;
}
xCAT::MsgUtils->verbose_message($request, "fsp_api_action return:$Rc.");
return( [$node_name,$res, $Rc] );
}
@@ -449,6 +444,7 @@ sub fsp_state_action {
$fsp_name = $node_name;
xCAT::MsgUtils->verbose_message($request, "fsp_state_action START node:$node_name,type:$$attrs[4].");
if( $$attrs[4] =~ /^(fsp|lpar|cec|blade)$/) {
$type = 0;
} else {
@@ -464,11 +460,13 @@ sub fsp_state_action {
return ([-1, $res[0]]);
}
xCAT::MsgUtils->verbose_message($request, "fsp_state_action getIPaddress:$fsp_ip.");
#print "fsp name: $fsp_name\n";
#print "fsp ip: $fsp_ip\n";
my $cmd;
#$cmd = "$fsp_api -a $action -u $user -p $password -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:";
xCAT::MsgUtils->verbose_message($request, "fsp_state_action cmd:$cmd.");
#print "cmd: $cmd\n";
$SIG{CHLD} = 'DEFAULT';
@res = xCAT::Utils->runcmd($cmd, -1);
@@ -482,6 +480,7 @@ sub fsp_state_action {
if( @res ) {
$res[0] =~ s/$node_name: //g;
}
xCAT::MsgUtils->verbose_message($request, "fsp_state_action return:$Rc.");
return( [$Rc,@res] );
}
+8 -2
View File
@@ -7,6 +7,7 @@ use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::NetworkUtils;
use xCAT::FSPUtils;
use xCAT::MsgUtils qw(verbose_message);
#use Data::Dumper;
##########################################################################
@@ -46,7 +47,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt,qw(h|help V|Verbose v|version ))) {
if ( !GetOptions( \%opt,qw(h|help V|verbose v|version ))) {
return( usage() );
}
####################################
@@ -135,12 +136,13 @@ sub rbootseq {
#print "d";
#print Dumper($d);
xCAT::MsgUtils->verbose_message($request, "rbootseq START for node:$node_name, type=$$d[4].");
if (!($$d[4] =~ /^(lpar|blade)$/)) {
push @output, [$node_name, "\'boot\' command not supported for CEC or BPA", -1 ];
return (\@output);
}
# add checking the power state of the cec
xCAT::MsgUtils->verbose_message($request, "rbootseq check machine state for node:$node_name.");
my $power_state = xCAT::FSPUtils::fsp_api_action ($request, $node_name, $d, "cec_state", $tooltype);
if ( @$power_state[2] != 0 ) {
push @output, [$node_name, @$power_state[1], -1 ];
@@ -205,14 +207,17 @@ sub rbootseq {
push @output, [$node_name, "The mac address in mac table could NOT be used for rbootseq with -net. HFI mac , or other wrong format?", -1 ];
return( \@output );
}
xCAT::MsgUtils->verbose_message($request, "rbootseq <$node_name> net=$parameter");
}
if( $opt->{hfi}) {
$parameter = "/hfi-iohub/hfi-ethernet:$o->{server},,$o->{client},$o->{gateway},$bootp_retries,$tftp_retries,$o->{netmask},$blksize";
xCAT::MsgUtils->verbose_message($request, "rbootseq <$node_name> hfi=$parameter");
}
xCAT::MsgUtils->verbose_message($request, "rbootseq set_lpar_bootstring for node:$node_name.");
my $res = xCAT::FSPUtils::fsp_api_action ($request, $node_name, $d, "set_lpar_bootstring", $tooltype, $parameter);
#print "In boot, state\n";
#print Dumper($res);
@@ -222,6 +227,7 @@ sub rbootseq {
##################################
# Output error
##################################
xCAT::MsgUtils->verbose_message($request, "rbootseq return:$Rc.");
if ( $Rc != SUCCESS ) {
push @output, [$node_name,$data,$Rc];
} else {
+15 -5
View File
@@ -6,10 +6,11 @@ use Getopt::Long;
use xCAT::Usage;
use xCAT::Utils;
use xCAT::FSPUtils;
use xCAT::TableUtils;
use xCAT::PPCcfg;
#use Data::Dumper;
#use xCAT::PPCcli;
use xCAT::MsgUtils qw(verbose_message);
##########################################
# Globals
@@ -173,7 +174,7 @@ sub parse_args {
Getopt::Long::Configure( "bundling" );
$request->{method} = undef;
if ( !GetOptions( \%opt, qw(V|Verbose resetnet))) {
if ( !GetOptions( \%opt, qw(V|verbose resetnet))) {
return( usage() );
}
####################################
@@ -224,7 +225,7 @@ sub parse_args {
my $ppc_cmds_string = &array_to_string(\@ppc_cmds);
return (usage("Invalid command array: $fsp_cmds_string can not execute with $ppc_cmds_string."));
} elsif(scalar(@ppc_cmds)) {
my @enableASMI = xCAT::Utils->get_site_attribute("enableASMI");
my @enableASMI = xCAT::TableUtils->get_site_attribute("enableASMI");
if (defined($enableASMI[0])) {
$enableASMI[0] =~ tr/a-z/A-Z/; # convert to upper
if (($enableASMI[0] eq "1") || ($enableASMI[0] eq "YES")) {
@@ -466,6 +467,7 @@ sub do_query {
while (my ($mtms, $h) = each(%$hash)) {
while (my($name, $d) = each(%$h)) {
my $action = $fspapi_action{$cmd}{query}{@$d[4]};
xCAT::MsgUtils->verbose_message($request, "rspconfig :$action for node:$name.");
my $values = xCAT::FSPUtils::fsp_api_action($request, $name, $d, $action);
&do_process_query_res($name, $cmd, \@result, $values);
#my $res = &do_process_query_res($name, $cmd, \@result, $values);
@@ -512,6 +514,7 @@ sub do_set {
while (my ($mtms, $h) = each(%$hash)) {
while (my($name, $d) = each(%$h)) {
my $action = $fspapi_action{$cmd}{set}{@$d[4]};
xCAT::MsgUtils->verbose_message($request, "rspconfig :$action for node:$name, param:$value.");
my $para = &do_set_get_para($name, $cmd, $value);
my $values = xCAT::FSPUtils::fsp_api_action($request, $name, $d, $action, 0, $para);
# print Dumper($values);
@@ -595,6 +598,7 @@ sub passwd {
while ( my ($node,$d) = each(%$h) ) {
my $type = @$d[4];
my $fsp_api = ($::XCATROOT) ? "$::XCATROOT/sbin/fsp-api" : "/opt/xcat/sbin/fsp-api";
xCAT::MsgUtils->verbose_message($request, "rspconfig :modify password of $usr for node:$node.");
my $cmd = xCAT::FSPcfg::fsp_api_passwd ($request, $node, $d, $usr, $passwd, $newpasswd);
my $Rc = @$cmd[2];
my $data = @$cmd[1];
@@ -607,6 +611,7 @@ sub passwd {
# Write the new password to table
##################################
if ( $Rc == 0 ) {
xCAT::MsgUtils->verbose_message($request, "rspconfig :update xCATdb for node:$node,ID:$usr.");
xCAT::PPCdb::update_credentials( $node, $type, $usr, $newpasswd );
}
}
@@ -677,6 +682,7 @@ sub frame {
# Get frame number
#################################
#$data = xCAT::PPCcli::lssyscfg( $exp, @$d[4], @$d[2], 'frame_num' );
xCAT::MsgUtils->verbose_message($request, "rspconfig :get_frame_number for node:$node.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "get_frame_number");
$Rc = pop(@$data);
@@ -708,6 +714,7 @@ sub frame {
return( [[$node,"Cannot find frame num in database", -1]] );
}
#$data = xCAT::PPCcli::chsyscfg( $exp, "bpa", $d, "frame_num=".$ent->{id} );
xCAT::MsgUtils->verbose_message($request, "rspconfig :set_frame_number for node:$node,id:$ent->{id}.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "set_frame_number", 0, $ent->{id});
$Rc = pop(@$data);
@@ -727,6 +734,7 @@ sub frame {
# Read the frame number from opt
#################################
#$data = xCAT::PPCcli::chsyscfg( $exp, "bpa", $d, "frame_num=$value" );
xCAT::MsgUtils->verbose_message($request, "rspconfig :set_frame_number for node:$node,id:$value.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "set_frame_number", 0, $value);
$Rc = pop(@$data);
@@ -775,6 +783,7 @@ sub cec_off_policy {
#################################
# Get platform IPL parameters
#################################
xCAT::MsgUtils->verbose_message($request, "rspconfig :get_phyp_cfg_power_off_policy for node:$node.");
$data = xCAT::FSPUtils::fsp_api_action( $request, $node, $d, "get_phyp_cfg_power_off_policy");
$Rc = pop(@$data);
@@ -794,6 +803,7 @@ sub cec_off_policy {
#################################
# Set cec off policy
#################################
xCAT::MsgUtils->verbose_message($request, "rspconfig :set power_off_policy for node:$node,policy:$value.");
if( $value eq "poweroff") {
$value = "cec_off_policy_poweroff";
} else {
@@ -862,8 +872,8 @@ sub fsp_api_passwd {
############################
# Get IP address
############################
#$fsp_ip = xCAT::Utils::get_hdwr_ip($fsp_name);
#$fsp_ip = xCAT::Utils::getNodeIPaddress($fsp_name);
#$fsp_ip = xCAT::NetworkUtils::get_hdwr_ip($fsp_name);
#$fsp_ip = xCAT::NetworkUtils::getNodeIPaddress($fsp_name);
#$fsp_ip = xCAT::Utils::getIPaddress($fsp_name);
$fsp_ip = xCAT::FSPUtils::getIPaddress($request, $$attrs[4], $fsp_name );
if(!defined($fsp_ip) or ($fsp_ip == -3)) {
+4 -1
View File
@@ -8,6 +8,7 @@ use xCAT::Usage;
#use Data::Dumper;
use xCAT::FSPUtils;
use xCAT::PPCconn;
use xCAT::MsgUtils qw(verbose_message);
##############################################
# Globals
@@ -571,7 +572,7 @@ sub mkhwconn
my $Rc = undef;
my $tooltype= $opt->{T};
xCAT::MsgUtils->verbose_message($request, "mkhwconn START.");
for my $cec_bpa ( keys %$hash)
{
my $node_hash = $hash->{$cec_bpa};
@@ -596,6 +597,7 @@ sub mkhwconn
#}
xCAT::MsgUtils->verbose_message($request, "mkhwconn :add_connection for node:$node_name.");
my $res = xCAT::FSPUtils::fsp_api_action($request, $node_name, $d, "add_connection", $tooltype, $opt->{port} );
$Rc = @$res[2];
if( @$res[1] ne "") {
@@ -604,6 +606,7 @@ sub mkhwconn
}
}
xCAT::MsgUtils->verbose_message($request, "mkhwconn END.");
return \@value;
}
##########################################################################
+6 -6
View File
@@ -44,11 +44,11 @@ sub dpush {
# Parse the command line for options and operands
##########################################################################
sub parse_args {
my $req = shift;
$req->{mgt} = __PACKAGE__;
my $req = shift;
$req->{mgt} = __PACKAGE__;
my $opt = xCAT::PPCrflash::parse_args($req);
delete($req->{mgt});
return $opt;
delete($req->{mgt});
return $opt;
}
##########################################################################
@@ -340,8 +340,8 @@ sub rflash {
#if($activate =~ /^concurrent$/) {
my $res = "\'$activate\' option not supported in FSPflash. Please use disruptive or deferred mode";
push @value, [$name, $res, -1];
next;
}
next;
}
my $msg;
if(!defined($housekeeping)) {
+1 -1
View File
@@ -66,7 +66,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose x) )) {
if ( !GetOptions( \%opt, qw(V|verbose x) )) {
return( usage() );
}
####################################
+5 -1
View File
@@ -6,7 +6,7 @@ use strict;
use Getopt::Long;
use xCAT::PPCmac;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::MsgUtils qw(verbose_message);
use xCAT::LparNetbootExp;
##########################################################################
# Parse the command line for options and operands
@@ -184,6 +184,7 @@ sub do_getmacs {
# last;
# }
#}
xCAT::MsgUtils->verbose_message($request, "getmacs :lparnetbootexp for node:$node.");
my $Rc = xCAT::LparNetbootExp->lparnetbootexp(\%optarg, $request);
######################################
# Split results into array
@@ -442,6 +443,7 @@ sub getmacs {
#########################################
# Connect to fsp to achieve MAC address
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs START.");
my $d = $par;
#########################################
@@ -501,6 +503,7 @@ sub getmacs {
#########################################
# Manually collect MAC addresses.
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs :do_getmacs for node:$node.");
$result = do_getmacs( $request, $d, $exp, $name, $node );
#}
#$sitetab->close;
@@ -575,6 +578,7 @@ sub getmacs {
writemac( $node, $value );
}
#return( [[$node,$data,$Rc]] );
xCAT::MsgUtils->verbose_message($request, "getmacs END.");
return $res;
}
}
+1 -1
View File
@@ -236,7 +236,7 @@ sub powercmd {
if($action =~ /^lowpower$/) { $action = "cec_on_low_power"; }
#if($action =~ /^cycle$/) {$action = "cec_reboot";}
if($action =~ /^cycle$/) {$action = "reset";}
if($action !~ /^cec_on_autostart$/ && $action !~ /^cec_off$/ && $action !~ /^cec_on_low_power$/ && $action !~ /^onstandby$/ && $action !~ /^reboot_service_processor$/ && $action !~ /^reset$/ && $action !~ /^sms$/) {
if($action !~ /^cec_on_autostart$/ && $action !~ /^cec_off$/ && $action !~ /^cec_on_low_power$/ && $action !~ /^onstandby$/ && $action !~ /^reboot_service_processor$/ && $action !~ /^reset$/) {
push @output, [$node_name, "\'$action\' command not supported for $$d[4]", -1 ];
return (\@output);
}
+1 -6
View File
@@ -116,9 +116,6 @@ sub enumerate_lcds {
} else {
my @array = split(/\n/, $data);
foreach my $a (@array) {
if ($a !~ /:\s?[^\s]*\s?[0|1]/) {
next;
}
my @t = split(/:/, $a);
my $name = $t[0];
$data = $t[1];
@@ -432,10 +429,8 @@ sub lcds {
}
}
if( $type eq "lpar" ) {
if( $type =~ /lpar|blade/ ) {
$action = "query_lcds";
} elsif ($type eq "blade") {
$action = "pblade_query_lcds";
} else {
$action = "cec_query_lcds";
}
+21 -14
View File
@@ -16,7 +16,7 @@ use xCAT::Usage;
use xCAT::NodeRange;
use xCAT::FSPUtils;
#use Data::Dumper;
use xCAT::MsgUtils qw(verbose_message);
##############################################
# Globals
##############################################
@@ -202,11 +202,8 @@ sub chvm_parse_args {
# pending memory interleaving mode (1- interleaved, 2- non-interleaved)
# non-interleaved mode: Memory allocations are only interleaved across the two
# memory controllers on a local chip in the octant
# interleaved mode: Memory allocations are interleaved evenly across all eight
# memory controllers in the octant
# Note: A octant with partition value 2-5 can not be set with memory interleaving = 1.
# non-interleaved mode means the memory cannot be shared across the processors in an octant.
# interleaved means the memory can be shared.
if( exists($opt{m}) ) {
if( $opt{m} =~ /^interleaved$/ || $opt{m} =~ /^1$/ ) {
$opt{m} = 1;
@@ -241,9 +238,6 @@ sub chvm_parse_args {
if( grep(/^$subelems[1]$/, @ratio ) != 1) {
return(usage( "Invalid octant configuration value in $elem.\n For Power 775, octant configuration values only could be 1, 2, 3, 4, 5. Please see the details in manpage of chvm." ));
}
if( $opt{m} == 1 && $subelems[1] > 1 ) {
return(usage("Need to specify \"-m 2\" when specifying an octant configuration value greater than 1. Error!"));
}
if( exists($octant_cfg{$subelems[0]}) && $octant_cfg{$subelems[0]} == $subelems[1] ) {
return(usage("In the octant configuration rule, same octant with different octant configuration value. Error!"));
}
@@ -255,9 +249,6 @@ sub chvm_parse_args {
if( $left < 0 || $left > 7 || $right < 0 || $right > 7) {
return(usage("Octant ID only could be 0 to 7 in the octant configuration rule $elem"));
}
if( $opt{m} == 1 && $subelems[1] > 1 ) {
return(usage("Need to specify \"-m 2\" when specifying an octant configuration value greater than 1. Error!"));
}
if($left == $right) {
if( grep(/^$subelems[1]$/, @ratio ) != 1) {
return(usage( "Invalid octant configuration value in $elem.\n For Power 775, octant configuration values only could be 1, 2, 3, 4, 5. Please see the details in manpage of chvm." ));
@@ -653,6 +644,7 @@ sub do_op_extra_cmds {
while (my ($mtms, $h) = each(%$hash)) {
while (my($name, $d) = each(%$h)) {
my $tmp_value = ($param eq '*') ? $name : $param;
xCAT::MsgUtils->verbose_message($request, "$request->{command} $action for node:$name, parm:$tmp_value.");
my $value = xCAT::FSPUtils::fsp_api_action($request, $name, $d, $action, 0, $tmp_value);
if (@$value[1] && ((@$value[1] =~ /Error/i) && (@$value[2] ne '0'))) {
return ([[$name, @$value[1], '1']]) ;
@@ -707,7 +699,7 @@ sub modify_by_prof {
my %io = ();
my %lpar_state = ();
my @result;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
if (defined( $request->{stdin} )) {
my $p = $request->{stdin};
my @io = split(/\n/, $p) ;
@@ -730,6 +722,7 @@ sub modify_by_prof {
}
$td->[4] = "cec";
#get the current I/O slot information
xCAT::MsgUtils->verbose_message($request, "$request->{command} :get_io_slot_info for node:$cec_name.");
my $action = "get_io_slot_info";
my $values = xCAT::FSPUtils::fsp_api_action ($request, $cec_name, $td, $action);
my $Rc = $$values[2];
@@ -746,6 +739,7 @@ sub modify_by_prof {
}
#get all the nodes state in the same cec
xCAT::MsgUtils->verbose_message($request, "$request->{command} :get all the nodes state for CEC:$cec_name.");
$action = "all_lpars_state";
undef($values);
my $values = xCAT::FSPUtils::fsp_state_action ($request, $cec_name, $td, $action);
@@ -780,6 +774,7 @@ sub modify_by_prof {
return ( \@result );
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} :set_io_slot_owner io_slot_info:$f,owner:$lpar.");
my $values = xCAT::FSPUtils::fsp_api_action ($request, $lpar, $d, $action, $tooltype, $drc_index);
#my $Rc = shift(@$values);
my $Rc = pop(@$values);
@@ -791,6 +786,7 @@ sub modify_by_prof {
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@result );
}
@@ -805,6 +801,7 @@ sub enumerate {
my $type;
my @td;
xCAT::MsgUtils->verbose_message($request, "lsvm :enumerate START for mtms:$mtms.");
while (my ($name,$d) = each(%$h) ) {
$cec = @$d[3];
$type = @$d[4];
@@ -812,6 +809,7 @@ sub enumerate {
}
$td[4]="cec";
xCAT::MsgUtils->verbose_message($request, "lsvm :enumerate get_io_slot_info for node:$cec.");
my $action = "get_io_slot_info";
my $values = xCAT::FSPUtils::fsp_api_action ($request, $cec, \@td, $action);
#my $Rc = shift(@$values);
@@ -828,6 +826,7 @@ sub enumerate {
#}
if( $type =~ /^(fsp|cec)$/ ) {
xCAT::MsgUtils->verbose_message($request, "lsvm :enumerate query_octant_cfg for node:$cec.");
$action = "query_octant_cfg";
my $values = xCAT::FSPUtils::fsp_api_action ($request, $cec, \@td, $action);
my $Rc = pop(@$values);
@@ -848,6 +847,7 @@ sub enumerate {
$outhash{ $cec } = $res;
}
xCAT::MsgUtils->verbose_message($request, "lsvm :enumerate END for mtms:$mtms.");
return( [0,\%outhash] );
}
@@ -996,6 +996,7 @@ sub list {
my %lpar_huges = ();
my $l_string = "\n";
#print Dumper($hash);
xCAT::MsgUtils->verbose_message($request, "lsvm START");
while (my ($mtms,$h) = each(%$hash) ) {
my $info = enumerate($request, $h, $mtms );
my $Rc = shift(@$info);
@@ -1018,7 +1019,7 @@ sub list {
# push @result, [$node_name, "Node not found",1];
# next;
# }
xCAT::MsgUtils->verbose_message($request, "lsvm :parse io info for node:$node_name.");
if( defined($msg)) {
push @result,[$node_name, $msg, 0];
} else {
@@ -1093,6 +1094,7 @@ sub list {
# get the octant configuration value
if ($type=~/^(fsp|cec)$/) {
xCAT::MsgUtils->verbose_message($request, "lsvm :parse octant info for $type:$node_name.");
my $value = $data->{$cec};
if ($request->{opt}->{l}) {
my $cec_bsr = get_cec_cec_bsr($node_name, $bsr_infos);
@@ -1110,6 +1112,7 @@ sub list {
$l_string = "\n";
} # end of while
}# end of while
xCAT::MsgUtils->verbose_message($request, "lsvm END.");
return( \@result );
}
@@ -1203,6 +1206,7 @@ sub create {
my %node_id = ();
my @nodes = @{$opt->{target}};
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
#print Dumper($request);
#####################################
# Get source node information
@@ -1222,6 +1226,7 @@ sub create {
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} :query_octant_cfg for CEC:$cec_name.");
my $values = xCAT::FSPUtils::fsp_api_action ($request, $cec_name, $d, "query_octant_cfg");
my $Rc = shift(@$values);
if ( $Rc != 0 ) {
@@ -1298,6 +1303,7 @@ sub create {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :set_octant_cfg for CEC:$cec_name,param:$parameters.");
#$values = xCAT::FSPUtils::fsp_api_create_parttion( $starting_lpar_id, $octant_cfg, $node_number, $d, "set_octant_cfg");
$values = xCAT::FSPUtils::fsp_api_action ($request,$cec_name, $d, "set_octant_cfg", 0, $parameters);
my $Rc = $$values[2];
@@ -1315,6 +1321,7 @@ sub create {
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@result );
}
+28
View File
@@ -33,6 +33,12 @@ $::NODETYPE_PPC="ppc";
$::NODETYPE_ZVM="zvm";
$::NODETYPE_MP="mp";
#valid values for nodelist.updatestatus
$::STATUS_SYNCING="syncing";
$::STATUS_OUT_OF_SYNC="out-of-sync";
$::STATUS_SYNCED="synced";
# valid values for nodelist.status columns or other status
$::STATUS_ACTIVE="alive";
$::STATUS_INACTIVE="unreachable";
@@ -48,6 +54,28 @@ $::STATUS_STANDING_BY="standingby";
$::STATUS_SHELL="shell";
$::STATUS_DEFINED="defined";
$::STATUS_UNKNOWN="unknown";
$::STATUS_FAILED="failed";
%::VALID_STATUS_VALUES = (
$::STATUS_ACTIVE=>1,
$::STATUS_INACTIVE=>1,
$::STATUS_INSTALLING=>1,
$::STATUS_INSTALLED=>1,
$::STATUS_BOOTING=>1,
$::STATUS_NETBOOTING=>1,
$::STATUS_BOOTED=>1,
$::STATUS_POWERING_OFF=>1,
$::STATUS_DISCOVERING=>1,
$::STATUS_CONFIGURING=>1,
$::STATUS_STANDING_BY=>1,
$::STATUS_SHELL=>1,
$::STATUS_DEFINED=>1,
$::STATUS_UNKNOWN=>1,
$::STATUS_FAILED=>1,
$::STATUS_SYNCING=>1,
$::STATUS_OUT_OF_SYNC=>1,
$::STATUS_SYNCED=>1,
);
#defined->[discovering]->[configuring]->[standingby]->installing->[installed]->booting->alive, defined->[discovering]->[configuring]-[standingby]->netbooting->booted->alive, alive/unreachable->booting->alive, powering-off->unreachable, alive->unreachable
%::NEXT_NODESTAT_VAL=(
+14 -20
View File
@@ -9,12 +9,8 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i)
{
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
if ($^O =~ /^aix/i) {
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -27,7 +23,7 @@ use File::Path;
use strict;
require xCAT::Schema;
use xCAT::NetworkUtils;
use xCAT::TableUtils;
#require Data::Dumper;
#use Data::Dumper;
require xCAT::NodeRange;
@@ -71,12 +67,14 @@ sub getnimprime
# the primary NIM master is either specified in the site table
# or it is the xCAT management node.
my $nimprime = xCAT::Utils->get_site_Master();
my $sitetab = xCAT::Table->new('site');
(my $et) = $sitetab->getAttribs({key => "nimprime"}, 'value');
if ($et and $et->{value})
my $nimprime = xCAT::TableUtils->get_site_Master();
#my $sitetab = xCAT::Table->new('site');
#(my $et) = $sitetab->getAttribs({key => "nimprime"}, 'value');
my @nimprimes = xCAT::TableUtils->get_site_attribute("nimprime");
my $tmp = $nimprimes[0];
if (defined($tmp))
{
$nimprime = $et->{value};
$nimprime = $tmp;
}
my $hostname;
@@ -128,7 +126,7 @@ sub myxCATname
if (xCAT::Utils->isMN())
{
# read the site table, master attrib
my $hostname = xCAT::Utils->get_site_Master();
my $hostname = xCAT::TableUtils->get_site_Master();
if (($hostname =~ /\d+\.\d+\.\d+\.\d+/) || ($hostname =~ /:/))
{
$name = xCAT::NetworkUtils->gethostname($hostname);
@@ -752,11 +750,11 @@ sub get_server_nodes
else
{
# get ip facing node
$serv = xCAT::Utils->my_ip_facing($node);
$serv = xCAT::NetworkUtils->my_ip_facing($node);
}
chomp $serv;
if (xCAT::Utils->validate_ip($serv)) {
if (xCAT::NetworkUtils->validate_ip($serv)) {
push (@{$servernodes{$serv}}, $node);
}
}
@@ -1134,10 +1132,6 @@ sub dolitesetup
# $file could be full path file name or dir name
# ex. /foo/bar/ or /etc/lppcfg
my ($node, $option, $file) = split (/\|/, $line);
if (!$file) {
next;
}
# ex. .../inst_root/foo/bar/ or .../inst_root/etc/lppcfg
my $instrootfile = $instrootloc . $file;
@@ -1288,7 +1282,7 @@ sub dolitesetup
# add aixlitesetup to ..inst_root/aixlitesetup
# this will wind up in the root dir on the node ("/")
my $install_dir = xCAT::Utils->getInstallDir();
my $install_dir = xCAT::TableUtils->getInstallDir();
my $cpcmd = "/bin/cp $install_dir/postscripts/aixlitesetup $instrootloc/aixlitesetup; chmod +x $instrootloc/aixlitesetup";
my $out = xCAT::Utils->runcmd("$cpcmd", -1);
+199
View File
@@ -0,0 +1,199 @@
#!/usr/bin/env perl
## IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::KitPluginUtils;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
use lib "$::XCATROOT/lib/perl";
use strict;
use warnings;
require xCAT::Table;
#-------------------------------------------------------
=head3 get_kits_used_by_nodes
Get the kits used by a list of nodes. A node uses a kit
if one or more of the kit's components are installed
on the node.
Arguments: list of node names (ref)
Returns: Return hash table which indexes the node names
by kitname (ref)
e.g.,
{ "kitname1" => ["node11","node12",...],
"kitname2" => ["node21","node22",...]
...
}
Examples:
my @nodes = ("node11", "node12",...);
my $result = xCAT::KitPluginUtils->get_kits_used_by_nodes(\@nodes);
=cut
#-------------------------------------------------------
sub get_kits_used_by_nodes {
my $class = shift;
my $nodes = shift;
# Group the nodes by what osimage they use
my $tablename = "nodetype";
my $table = xCAT::Table->new($tablename);
my $ent = $table->getNodesAttribs($nodes, ["provmethod"]);
my $osimage_to_nodes = {};
foreach my $node (keys(%$ent)) {
my $provmethod = $ent->{$node}->[0]->{"provmethod"};
if (defined($provmethod)) {
push(@{ $osimage_to_nodes->{$provmethod} }, $node);
}
}
# Group the osimages by what kits they use
my @osimages = keys(%$osimage_to_nodes);
my $kits_to_osimages = xCAT::KitPluginUtils->get_kits_used_by_osimages(\@osimages);
# Group nodes by kit
my $kits_to_nodes = {};
foreach my $kit (keys(%$kits_to_osimages)) {
my $tmphash = {};
my $osimages = $kits_to_osimages->{$kit};
foreach my $osimage (@$osimages) {
# Store nodes as hash keys to eliminate duplicates
my @nodes = @{ $osimage_to_nodes->{$osimage} };
@$tmphash{@nodes} = ();
}
my @nodes = keys(%$tmphash);
$kits_to_nodes->{$kit} = \@nodes;
}
return $kits_to_nodes;
}
#-------------------------------------------------------
=head3 get_kits_used_by_osimages
Get the kits used by a list of osimages. An osimage
uses a kit if one or more of the kit's components
are associated with the osimage.
Arguments: list of osimage names (ref)
Returns: Return hash table which indexes the osimage
names by kitname (ref)
e.g.,
{ "kitname1" => ["osimage11","osimage12",...],
"kitname2" => ["osimage21","osimage22",...]
...
}
Examples:
my @osimages = ("osimage11","osimage12", ...);
my $result = xCAT::KitPluginUtils->get_kits_used_by_osimages(\@osimages);
=cut
#-------------------------------------------------------
sub get_kits_used_by_osimages {
my $class = shift;
my $osimages = shift;
# Get the kit components used by each osimage
my $tablename = "osimage";
my $table = xCAT::Table->new($tablename);
my $osimages_str = join ",", map {'\''.$_.'\''} @$osimages;
my $filter_stmt = sprintf("imagename in (%s)", $osimages_str);
my @table_rows = $table->getAllAttribsWhere($filter_stmt, ("imagename", "kitcomponents"));
my $kitcomps_to_osimages = {};
foreach my $row (@table_rows) {
if (defined($row->{kitcomponents})) {
my @kitcomps = split(/,/, $row->{kitcomponents});
foreach my $kitcomp (@kitcomps) {
push(@{ $kitcomps_to_osimages->{$kitcomp} }, $row->{imagename});
}
}
}
# Get the kit for each kit component
$tablename = "kitcomponent";
$table = xCAT::Table->new($tablename);
my $kitcomps_str = join ",", map {'\''.$_.'\''} keys(%$kitcomps_to_osimages);
$filter_stmt = sprintf("kitcompname in (%s)", $kitcomps_str);
@table_rows = $table->getAllAttribsWhere($filter_stmt, ("kitcompname", "kitname"));
my $kits_to_kitcomps = {};
foreach my $row (@table_rows) {
my $kitname = $row->{kitname};
my $kitcompname = $row->{kitcompname};
push(@{ $kits_to_kitcomps->{$kitname} }, $kitcompname);
}
# Match up kits to osimages
my $kits_to_osimages = {};
foreach my $kit (keys(%$kits_to_kitcomps)) {
my $tmphash = {};
my $kitcomps = $kits_to_kitcomps->{$kit};
foreach my $kitcomp (@$kitcomps) {
# Store osimages as hash keys to eliminate duplicates
my @osimages = @{ $kitcomps_to_osimages->{$kitcomp} };
@$tmphash{@osimages} = ();
}
my @osimages = keys(%$tmphash);
$kits_to_osimages->{$kit} = \@osimages;
}
return $kits_to_osimages;
}
#-------------------------------------------------------
=head3 get_kits_used_by_image_profiles
Get the kits used by a list of image profiles.
Arguments: list of image profile names (ref)
Returns: Return hash table which indexes the image
profile names by kitname (ref)
e.g.,
{ "kitname1" => ["imgprofile11","imgprofile12",...],
"kitname2" => ["imgprofile21","imgprofile22",...]
...
}
Examples:
my @imgprofiles = ("imgprofile11","imgprofile12",...);
my $result = xCAT::KitPluginUtils->get_kits_used_by_image_profiles(\@imgprofiles);
=cut
#-------------------------------------------------------
sub get_kits_used_by_image_profiles {
my $class = shift;
return xCAT::KitPluginUtils->get_kits_used_by_osimages(@_);
}
+16 -87
View File
@@ -827,7 +827,7 @@ sub get_mac_addr {
$done[0] = 0;
$cmd[0] = "\" local-mac-address\" ". $phandle . " get-package-property\r";
$msg[0] = "Status: return code and mac-address now on stack\n";
$pattern[0] = "local-mac-address.*ok";#"\s*3 >";
$pattern[0] = "ok";#"\s*3 >";
$newstate[0] = 1;
# cmd(1) is a dot (.). This is a stack manipulation command that removes one
@@ -1231,8 +1231,8 @@ sub ping_server{
$done[2] = 0;
$cmd[2] = "dev /packages/net\r";
$msg[2] = "Status: selected the /packages/net node as the active package\n";
$pattern[2] = ".*dev.*packages.*net(.*)ok(.*)0 >(.*)";
#$pattern[2] = "ok";
#$pattern[2] = ".*dev(.*)ok(.*)0 >(.*)";
$pattern[2] = "ok";
$newstate[2]= 3;
# state 3, ping the server
@@ -1266,7 +1266,6 @@ sub ping_server{
# state 5, all done
$done[5] = 1;
# for ping, only need to set speed and duplex for ethernet adapters
#
if ( $list_type eq "ent" ) {
@@ -1324,10 +1323,8 @@ sub ping_server{
$timeout = 300;
while ( $done[$state] eq 0 ) {
send_command($verbose, $rconsole, $cmd[$state]);
@result = $rconsole->expect(
$timeout,
[qr/$pattern[$state]/s=>
sub {
@@ -1365,9 +1362,7 @@ sub ping_server{
}
],
);
return 1 if ($rc eq 1);
return 1 if ($rc eq 1);
if ( $state eq 1 ) {
$adap_conn = $adap_conn_list[$j];
$cmd[1] = "\" ethernet,$adap_speed,$adap_conn,$adap_duplex\" encode-string \" chosen-network-type\" property\r";
@@ -1854,14 +1849,6 @@ sub boot_network {
$state = $newstate[$state];
}
],
# For some old firmware, does not output "----"
[qr/BOOTP/=>
sub {
nc_msg ($verbose, $msg[$state]);
$rconsole->clear_accum();
$state = $newstate[$state];
}
],
[qr/]/=>
sub {
nc_msg($verbose, "Unexpected prompt\n");
@@ -1930,28 +1917,7 @@ sub Boot {
#],
[qr/BOOTP/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding - matched BOOTP, exiting.\n");
$rconsole->clear_accum();
}
],
# Welcome to AIX - some old firmware does not output BOOTP or ----
[qr/Welcome/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding - matched Welcome, exiting.\n");
$rconsole->clear_accum();
}
],
# tftp file download - some old firmware does not output BOOTP or ----
[qr/FILE/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding - matched FILE.\n");
$rconsole->clear_accum();
}
],
# some old firmware does not output BOOTP or ----
[qr/Elapsed/=> #-ex
sub {
nc_msg($verbose, "# Network boot proceeding - matched Elapsed, exiting.\n");
nc_msg($verbose, "# Network boot proceeding, exiting.\n");
$rconsole->clear_accum();
}
],
@@ -2055,46 +2021,14 @@ sub multiple_open_dev {
; \r";
send_command($verbose, $rconsole, $command);
$timeout = 30;
$rconsole->expect(
$timeout,
[qr/new-open-dev(.*)ok/=>
#[qr/>/=>
sub {
nc_msg($verbose, "Status: at End of multiple_open_dev \n");
$rconsole->clear_accum();
}
],
[qr/]/=>
sub {
nc_msg($verbose, "Unexpected prompt\n");
$rconsole->clear_accum();
$rc = 1;
}
],
[timeout =>
sub {
send_user(2, "Timeout\n");
$rconsole->clear_accum();
$rc = 1;
}
],
[eof =>
sub {
send_user(2, "Cannot connect to $node\n");
$rconsole->clear_accum();
$rc = 1;
}
],
);
$command = "patch new-open-dev open-dev net-ping \r";
send_command($verbose, $rconsole, $command);
$timeout = 30;
$rconsole->expect(
$timeout,
[qr/patch new-open-dev(.*)ok/=>
#[qr/>/=>
#[qr/patch new-open-dev(.*)>/=>
[qr/>/=>
sub {
nc_msg($verbose, "Status: at End of multiple_open_dev \n");
$rconsole->clear_accum();
@@ -2123,7 +2057,6 @@ sub multiple_open_dev {
}
],
);
return $rc;
}
###################################################################
@@ -2607,7 +2540,7 @@ sub lparnetbootexp
####################################
nc_msg($verbose, "Connecting to the $node.\n");
sleep 3;
$timeout = 10;
$timeout = 2;
$rconsole->expect(
$timeout,
[ qr/Enter.* for help.*/i =>
@@ -2816,8 +2749,6 @@ sub lparnetbootexp
$done = 0;
$retry_count = 0;
$timeout = 10;
while (!$done) {
my @result = $rconsole->expect(
$timeout,
@@ -2925,7 +2856,6 @@ sub lparnetbootexp
}
}
##############################
# Call multiple_open_dev to
# circumvent firmware OPEN-DEV
@@ -2960,7 +2890,6 @@ sub lparnetbootexp
$match_pat = ".*";
}
if($colon) {
nc_msg($verbose, "#Type:Location_Code:MAC_Address:Full_Path_Name:Ping_Result:Device_Type:Size_MB:OS:OS_Version:\n");
$outputarrayindex++; # start from 1, 0 is used to set as 0
@@ -3014,7 +2943,7 @@ sub lparnetbootexp
} else {
for( $i = 0; $i < $adapter_found; $i++) {
if ($adap_type[$i] =~ /$match_pat/) {
if (!($adap_type[$i] eq "hfi-ent")) {
if ($adap_type[$i] eq "hfi-ent") {
$mac_address = get_mac_addr($phandle_array[$i], $rconsole, $node, $verbose);
$loc_code = get_adaptr_loc($phandle_array[$i], $rconsole, $node, $verbose);
}
@@ -3219,12 +3148,12 @@ sub lparnetbootexp
}
],
);
return [1] if ($rc eq 1);
nc_msg($verbose, "# bootp sent over network.\n");
$rc = Boot($rconsole, $node, $verbose);#, @expect_out);
unless ($rc eq 0) {
nc_msg($verbose, "Can't boot here. \n");
}
return [1] if ($rc eq 1);
}
nc_msg($verbose, "# bootp sent over network.\n");
$rc = Boot($rconsole, $node, $verbose);#, @expect_out);
unless ($rc eq 0) {
nc_msg($verbose, "Can't boot here. \n");
}
}
+12 -6
View File
@@ -15,6 +15,7 @@ use strict;
use xCAT::Table;
use xCAT::Utils;
use xCAT::MsgUtils;
use xCAT::TableUtils;
use IO::Select;
use IO::Handle;
use Sys::Syslog;
@@ -172,9 +173,11 @@ sub rvlan {
# operation => "pvid=<vid> or vlan=<vid>" for now, addvlan= and delvlan= for tagged vlans, 'pvid', vlan, or stat without = checks current value
my $self=shift;
my $community = "public";
$self->{sitetab} = xCAT::Table->new('site');
my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
if ($tmp and $tmp->{value}) { $community = $tmp->{value} }
#$self->{sitetab} = xCAT::Table->new('site');
#my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
my @snmpcs = xCAT::TableUtils->get_site_attribute("snmpc");
my $tmp = $snmpcs[0];
if ( defined($tmp) ) { $community = $tmp }
my %args = @_;
my $op=$args{operation};
my $nodes=$args{nodes};
@@ -302,9 +305,12 @@ sub refresh_table {
$self->{switchestab} = xCAT::Table->new('switches', -create => 1);
my @switchentries=$self->{switchestab}->getAllNodeAttribs([qw(switch snmpversion username password privacy auth)]);
my $community = "public";
$self->{sitetab} = xCAT::Table->new('site');
my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
if ($tmp and $tmp->{value}) { $community = $tmp->{value} }
#$self->{sitetab} = xCAT::Table->new('site');
#my $tmp = $self->{sitetab}->getAttribs({key=>'snmpc'},'value');
#if ($tmp and $tmp->{value}) { $community = $tmp->{value} }
my @snmpcs = xCAT::TableUtils->get_site_attribute("snmpc");
my $tmp = $snmpcs[0];
if ( defined($tmp) ) { $community = $tmp }
else { #Would warn here..
}
$self->{switchparmhash}={};
+12 -12
View File
@@ -5,12 +5,8 @@ package xCAT::MsgUtils;
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i)
{
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
if ($^O =~ /^aix/i) {
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use strict;
@@ -137,7 +133,8 @@ This program module file, supports the xcat messaging and logging
D - DATA goes to STDOUT
E - error. This type of message will be sent to STDERR.
I - informational goes to STDOUT
si - informational status info (sinfo)
I - informational goes to STDOUT
N - Node informational goes to STDOUT
S - Message will be logged to syslog ( severe error)
Note S can be combined with other flags for example
@@ -213,12 +210,14 @@ This program module file, supports the xcat messaging and logging
$rsp->{node}->[0]->{data}->[0] ="mydata";
xCAT::MsgUtils->message("N", $rsp, $callback);
my $rsp = {};
$rsp->{info}->[0] = "No hosts in node list\n";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
my $rsp = {};
$rsp->{sinfo}->[0] = "No hosts in node list\n";
xCAT::MsgUtils->message("IS", $rsp, $::CALLBACK);
my $rsp = {};
$rsp->{warning}->[0] = "No hosts in node list\n";
@@ -275,7 +274,7 @@ sub message
my $call_back = shift; # optional
my $exitcode = shift; # optional
# should be I, D, E, S, SA ,LS, W , L,N
# should be I,IS, D, E, S, SA ,LS, W , L,N
# or S(I, D, E, S, W, L,N)
#
# if new SA option need to split syslog messages from auditlog entry
@@ -357,6 +356,7 @@ sub message
my $sevkey;
if ($sev =~ /D/) { $sevkey = 'data'; }
elsif ($sev =~ /N/) { $sevkey = 'node'; }
elsif ($sev =~ /IS/) { $sevkey = 'sinfo'; }
elsif ($sev =~ /I/) { $sevkey = 'info'; }
elsif ($sev =~ /W/) { $sevkey = 'warning'; }
elsif ($sev =~ /E/)
@@ -408,7 +408,7 @@ sub message
return;
}
if ($exitcode)
if (defined($exitcode))
{
push @{$rsp->{errorcode}}, $exitcode;
}
@@ -720,7 +720,7 @@ sub verbose_message
}
my ($sec,$min,$hour,$mday,$mon,$yr,$wday,$yday,$dst) = localtime(time);
my $time = sprintf "%04d%02d%02d.%02d:%02d:%02d", $yr+1900,$mon+1,$mday,$hour,$min,$sec;
$data = "$time ($$) ".$data;
$data = "$time ($$) ".$data;
if (defined($req->{callback})) {
my %rsp;
$rsp{data} = [$data];
File diff suppressed because it is too large Load Diff
+8 -11
View File
@@ -189,13 +189,12 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
@allnodeset = $nodelist->getAllAttribs('node','groups');
%allnodehash = map { $_->{node} => 1 } @allnodeset;
}
my $verify = (scalar(@_) >= 1 ? shift : 1);
my %args = @_;
my $verify = (scalar(@_) == 1 ? shift : 1);
my @nodes= ();
#TODO: these env vars need to get passed by the client to xcatd
my $nprefix=(defined ($ENV{'XCAT_NODE_PREFIX'}) ? $ENV{'XCAT_NODE_PREFIX'} : 'node');
my $nsuffix=(defined ($ENV{'XCAT_NODE_SUFFIX'}) ? $ENV{'XCAT_NODE_SUFFIX'} : '');
if (not $args{genericrange} and $allnodehash{$atom}) { #The atom is a plain old nodename
if ($allnodehash{$atom}) { #The atom is a plain old nodename
return ($atom);
}
if ($atom =~ /^\(.*\)$/) { # handle parentheses by recursively calling noderange()
@@ -209,7 +208,6 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
# Try to match groups?
unless ($args{genericrange}) {
unless ($grptab) {
$grptab = xCAT::Table->new('nodegroup');
}
@@ -271,7 +269,6 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
}
}
}
if ($atom =~ m/[=~]/) { #TODO: this is the clunky, slow code path to acheive the goal. It also is the easiest to write, strange coincidence. Aggregating multiples would be nice
my @nodes;
@@ -290,7 +287,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
if ($atom =~ m/^[0-9]+\z/) { # if only numbers, then add the prefix
my $nodename=$nprefix.$atom.$nsuffix;
return expandatom($nodename,$verify,%args);
return expandatom($nodename,$verify);
}
my $nodelen=@nodes;
if ($nodelen > 0) {
@@ -325,12 +322,12 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
$subrange=$subrange."$start$subelem" . ($morebrackets?'':$ending) . "$subop";
}
foreach (split /,/,$subrange) {
my @newnodes=expandatom($_, ($morebrackets?0:$verify), genericrange=>$morebrackets);
my @newnodes=expandatom($_, ($morebrackets?0:$verify));
if (!$morebrackets) { push @nodes,@newnodes; }
else {
# for each of the new nodes, add the 2nd brackets and then expand
foreach my $n (@newnodes) {
push @nodes, expandatom("$n$ending", $verify, %args);
push @nodes, expandatom("$n$ending", $verify);
}
}
}
@@ -352,7 +349,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
$suf=$nsuffix;
}
foreach ("$startnum".."$endnum") {
my @addnodes=expandatom($pref.$_.$suf,$verify,%args);
my @addnodes=expandatom($pref.$_.$suf,$verify);
@nodes=(@nodes,@addnodes);
}
return (@nodes);
@@ -379,7 +376,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
$right=$2;
}
if ($left eq $right) { #if they said node1-node1 for some strange reason
return expandatom($left,$verify,%args);
return expandatom($left,$verify);
}
my @leftarr=split(/(\d+)/,$left);
my @rightarr=split(/(\d+)/,$right);
@@ -416,7 +413,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels
}
}
foreach ($leftarr[$idx]..$rightarr[$idx]) {
my @addnodes=expandatom($prefix.$_.$luffix,$verify,%args);
my @addnodes=expandatom($prefix.$_.$luffix,$verify);
push @nodes,@addnodes;
}
return (@nodes); #the return has been built, return, exiting loop and all
+8 -4
View File
@@ -8,6 +8,7 @@ use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Usage;
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::MsgUtils;
use xCAT::LparNetbootExp;
@@ -467,9 +468,12 @@ sub rnetboot {
}
}
my $sitetab = xCAT::Table->new('site');
my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
#my $sitetab = xCAT::Table->new('site');
#my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
my @vcons = xCAT::TableUtils->get_site_attribute("conserverondemand");
my $vcon = $vcons[0];
#if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
if ( defined($vcon) and $vcon eq "yes" ) {
$result = xCAT::PPCcli::lpar_netboot(
$exp,
$request->{verbose},
@@ -482,7 +486,7 @@ sub rnetboot {
#########################################
$result = do_rnetboot( $request, $d, $exp, $name, $node, \%opt );
}
$sitetab->close;
#$sitetab->close;
if (defined($request->{opt}->{m})) {
+4 -3
View File
@@ -8,6 +8,7 @@ use xCAT::PPCfsp;
use xCAT::Usage;
use Storable qw(freeze thaw);
use POSIX "WNOHANG";
use xCAT::NetworkUtils;
use xCAT::MsgUtils qw(verbose_message);
use LWP;
@@ -737,7 +738,7 @@ sub doresetnet {
$nodetype = ( $nodetype =~ /^frame$/i ) ? "bpa" : "fsp";
if ($cnodep) {
foreach my $cnode (@$cnodep) {
my $ip = xCAT::Utils::getNodeIPaddress( $cnode );
my $ip = xCAT::NetworkUtils::getNodeIPaddress( $cnode );
my $oi = $oihash{$cnode};
if(!defined $ip) {
send_msg($req, "doresetnet: can't get $cnode ip");
@@ -786,7 +787,7 @@ sub doresetnet {
# this brunch is just for the xcat 2.5(or 2.5-) databse
} elsif ( $nodetype =~ /^(fsp|bpa)$/ ) {
foreach my $nn ( @{ $req->{node}} ) {
my $ip = xCAT::Utils::getNodeIPaddress( $nn );
my $ip = xCAT::NetworkUtils::getNodeIPaddress( $nn );
if(!defined $ip) {
send_msg($req, "doresetnet: can't get $nn ip");
next;
@@ -1047,6 +1048,7 @@ sub child_process {
}
my $msg = "login result is :".join(',', @exp);
xCAT::MsgUtils->verbose_message( $req, $msg);
####################################
# do resetnet
####################################
@@ -1430,4 +1432,3 @@ sub connect {
1;
+2 -2
View File
@@ -6,7 +6,7 @@ require Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(SUCCESS RC_ERROR EXPECT_ERROR NR_ERROR);
use Expect;
use xCAT::NetworkUtils;
#############################################
# Removes Ctrl characters from term output
@@ -1335,7 +1335,7 @@ sub getHMCcontrolIP
#my @newnodes = split(/,/, $nodes_found->[0]);
#$Rc = shift(@newnodes);
#for my $entry (@newnodes) {
# if(xCAT::Utils->isIpaddr($entry)) {
# if(xCAT::NetworkUtils->isIpaddr($entry)) {
# push @ips,$entry;
# }
# $ip_result = join( ",", @ips );
+17 -31
View File
@@ -5,9 +5,10 @@ use strict;
use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Usage;
use xCAT::NetworkUtils;
use xCAT::DBobjUtils;
use xCAT::FSPUtils;
use xCAT::MsgUtils qw(verbose_message);
##############################################
# Globals
##############################################
@@ -98,7 +99,7 @@ sub mkhwconn_parse_args
#my $nodetype_hash = $nodetypetab->getNodeAttribs( $node,[qw(nodetype)]);
my $node_parent_hash = $ppctab->getNodeAttribs( $node,[qw(parent)]);
#$nodetype = $nodetype_hash->{nodetype};
$nodetype = xCAT::DBobjUtils->getnodetype($node,"ppc");
$nodetype = xCAT::DBobjUtils->getnodetype($node);
$node_parent = $node_parent_hash->{parent};
if ( !$nodetype )
{
@@ -106,7 +107,7 @@ sub mkhwconn_parse_args
next;
} else
{
unless ( $nodetype =~ /^(blade|fsp|bpa|frame|cec|hmc)$/)
unless ( $nodetype =~ /^(fsp|bpa|frame|cec|hmc)$/)
{
return ( usage("Node type is incorrect. \n"));
}
@@ -473,6 +474,7 @@ sub mkhwconn
my @value = ();
my $Rc = undef;
xCAT::MsgUtils->verbose_message($request, "mkhwconn START.");
for my $cec_bpa ( keys %$hash)
{
my $node_hash = $hash->{$cec_bpa};
@@ -484,13 +486,9 @@ sub mkhwconn
# Get IP address
############################
my $cnode;
#my $ntype = xCAT::DBobjUtils::getnodetype($node_name);
my $ntype = $$d[4];
if ($ntype =~ /^(cec|frame|blade)$/)
my $ntype = xCAT::DBobjUtils::getnodetype($node_name);
if ($ntype =~ /^(cec|frame)$/)
{
if ($ntype eq "blade") {
delete $opt->{port};
}
$cnode = xCAT::DBobjUtils::getchildren($node_name, $opt->{port});
} else {
$cnode = $node_name;
@@ -505,11 +503,12 @@ sub mkhwconn
} else {
push @newnodes,$cnode;
}
xCAT::MsgUtils->verbose_message($request, "mkhwconn :mksysconn for node:$node_name.");
for my $nn ( @newnodes )
{
my $node_ip;
unless ( xCAT::Utils->isIpaddr($nn) ) {
$node_ip = xCAT::Utils::getNodeIPaddress( $nn );
unless ( xCAT::NetworkUtils->isIpaddr($nn) ) {
$node_ip = xCAT::NetworkUtils::getNodeIPaddress( $nn );
} else {
$node_ip = $nn;
}
@@ -519,17 +518,12 @@ sub mkhwconn
next;
}
my ( undef,undef,$mtms,undef,$type,$bpa) = @$d;
my ( undef,undef,$mtms,undef,$type) = @$d;
my ($user, $passwd);
if ( exists $opt->{P})
{
($user, $passwd) = ('HMC', $opt->{P});
}
elsif ($type eq "blade") {
$user = "USERID";
($user, $passwd) = xCAT::PPCdb::credentials($bpa, $type, $user);
$type = "cec";
}
else
{
($user, $passwd) = xCAT::PPCdb::credentials( $node_name, $type,'HMC');
@@ -558,6 +552,7 @@ sub mkhwconn
# }
}
}
xCAT::MsgUtils->verbose_message($request, "mkhwconn END.");
return \@value;
}
##########################################################################
@@ -648,7 +643,7 @@ sub lshwconn
{
#my $node_ip_hash = $hosttab->getNodeAttribs( $node_name,[qw(ip)]);
#$node_ip = $node_ip_hash->{ip};
#$node_ip = xCAT::Utils::getNodeIPaddress( $node_name );
#$node_ip = xCAT::NetworkUtils::getNodeIPaddress( $node_name );
my $d = $node_hash->{$node_name};
$node_ip = xCAT::FSPUtils::getIPaddress($request, $$d[4], $node_name );
}
@@ -712,7 +707,7 @@ sub rmhwconn
my $d = $node_hash->{$node_name};
my ( undef,undef,undef,undef,$type) = @$d;
if ($type eq "blade") {$type = "cec";}
############################
# Get IP address
############################
@@ -729,19 +724,10 @@ sub rmhwconn
my @ips;
foreach my $entry ( @$nodes_found ) {
if ($entry =~ /type_model_serial_num=([^,]*),/) {
my $match_mtm1 = $1;
my $match_mtm2 = $match_mtm1;
$match_mtm2 =~ s/\-//;
if ($match_mtm1 =~ /$mtm\*$serial/ || $match_mtm2 =~ /$mtm\*$serial/) {
$entry =~ /ipaddr=(\d+\.\d+\.\d+\.\d+),/;
push @ips, $1;
}
if ( $entry =~ /$mtm\*$serial/) {
$entry =~ /ipaddr=(\d+\.\d+\.\d+\.\d+),/;
push @ips, $1;
}
#if ( $entry =~ /$mtm\*$serial/) {
# $entry =~ /ipaddr=(\d+\.\d+\.\d+\.\d+),/;
# push @ips, $1;
#}
}
if (!@ips)
{
+10 -8
View File
@@ -4,7 +4,9 @@ package xCAT::PPCdb;
use strict;
use xCAT::Table;
use xCAT::GlobalDef;
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::NetworkUtils;
###########################################
# Factory defaults
@@ -947,7 +949,7 @@ sub get_host {
#######################################
if ($ip)
{
my $nets = xCAT::Utils::my_nets();
my $nets = xCAT::NetworkUtils::my_nets();
my $avip = getip_from_iplist( $ip, $nets);
#if ( !defined( $ip )) {
# return undef;
@@ -984,7 +986,7 @@ sub get_host {
}
if ( $tmpmtm eq $mtm and $tmpsn eq $sn) {
my $ifip = xCAT::Utils->isIpaddr($oldnode);
my $ifip = xCAT::NetworkUtils->isIpaddr($oldnode);
if ( $ifip ) {# which means that the node is defined by the new lsslp
if ( $tmpside eq $side ) {# match! which means that node is the same as the new one
if ( $ip eq $tmpip ) { #which means that the ip is not changed
@@ -1104,7 +1106,7 @@ sub get_host {
}
# not matched, use the new name
my $ifip = xCAT::Utils->isIpaddr($nodename);
my $ifip = xCAT::NetworkUtils->isIpaddr($nodename);
unless ($ifip) {
return $nodename;
}else {
@@ -1150,8 +1152,8 @@ sub getip_from_iplist
for my $net ( keys %$nets)
{
my ($n,$m) = split /\//,$net;
if ( xCAT::Utils::isInSameSubnet( $n, $ip, $m, 1) and
xCAT::Utils::isPingable( $ip))
if ( xCAT::NetworkUtils::isInSameSubnet( $n, $ip, $m, 1) and
xCAT::NetworkUtils::isPingable( $ip))
{
return $ip;
}
@@ -1165,7 +1167,7 @@ sub read_from_table {
my %typehash;
my %iphash;
my %vpdhash;
if ( !defined(%::OLD_DATA_CACHE))
if ( !(%::OLD_DATA_CACHE))
{
# find out all the existed nodes' ipaddresses
my $hoststab = xCAT::Table->new('hosts');
@@ -1211,7 +1213,7 @@ sub read_from_table {
@{$::OLD_DATA_CACHE{$entry->{node}}}[1] = @{$vpdhash{$entry->{node}}}[1];#sn
@{$::OLD_DATA_CACHE{$entry->{node}}}[2] = @{$vpdhash{$entry->{node}}}[2];#side
# find node ip address, check node name first, then check hosts table
my $ifip = xCAT::Utils->isIpaddr($entry->{node});
my $ifip = xCAT::NetworkUtils->isIpaddr($entry->{node});
if ( $ifip )
{
@{$::OLD_DATA_CACHE{$entry->{node}}}[3] = $entry->{node};#ip
+89 -25
View File
@@ -2,13 +2,19 @@
package xCAT::PPCenergy;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
use lib "$::XCATROOT/lib/perl";
use strict;
use Getopt::Long;
use xCAT::Usage;
use xCAT::NodeRange;
use xCAT::DBobjUtils;
use xCAT::FSPUtils;
use xCAT::TableUtils qw(get_site_Master);
%::QUERY_ATTRS = (
'savingstatus' => 1,
'dsavingstatus' => 1,
@@ -251,7 +257,7 @@ sub renergy {
if( !defined($fsps) ) {
return ([[$node, "Failed to get the FSPs for the cec $hcphost.", -1]]);
}
#my $hcp_ip = xCAT::Utils::getNodeIPaddress($hcphost);
#my $hcp_ip = xCAT::NetworkUtils::getNodeIPaddress($hcphost);
my $hcp_ip = xCAT::FSPUtils::getIPaddress($request, $hw_type, $hcphost);
if (!defined($hcp_ip) or ($hcp_ip == -3)) {
return ([[$node, "Failed to get IP address for $hcphost.", -1]]);
@@ -264,7 +270,7 @@ sub renergy {
}
} else {
# for the case that hcp is hmc or fsp
push @hcps_ip, xCAT::Utils::getNodeIPaddress($hcphost);
push @hcps_ip, xCAT::NetworkUtils::getNodeIPaddress($hcphost);
}
if (!$user || !$password) {
@@ -279,28 +285,80 @@ sub renergy {
}
$verbose = $tmpv;
my $master = xCAT::Utils->get_site_Master();
my $masterip = xCAT::NetworkUtils->getipaddr($master);
if ($masterip =~ /:/) { #IPv6, needs fping6 support
if (!-x '/usr/bin/fping6')
{
push @return_msg, [$node, "fping6 is not availabe for IPv6 ping.", -1];
return \@return_msg;
}
open (FPING, "fping6 ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
} else {
open (FPING, "fping ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
}
my @pingable_hcp;
while (<FPING>) {
if ($verbose) {
push @return_msg, [$node, $_, 0];
}
if ($_ =~ /is alive/) {
s/ is alive//;
push @pingable_hcp, $_;
}
if (-x '/usr/bin/nmap' or -x '/usr/local/bin/nmap') { #use nmap
#print "use nmap\n";
if ($verbose) {
push @return_msg, [$node, "Checking ping status using nmap for @hcps_ip", 0];
}
my %deadnodes;
foreach (@hcps_ip) {
$deadnodes{$_}=1;
}
open (NMAP, "nmap -PE --system-dns --send-ip -sP ". join(' ',@hcps_ip) . " 2> /dev/null|") or die("Cannot open nmap pipe: $!");
my $node1;
my $msg1;
while (<NMAP>) {
#print "$_\n";
if (/Host (.*) \((.*)\) appears to be up/) {
$node1=$2;
unless ($deadnodes{$node1}) {
foreach (keys %deadnodes) {
if ($node1 =~ /^$_\./) {
$node1 = $_;
last;
}
}
}
delete $deadnodes{$node1};
if ($verbose) {
push @return_msg, [$node, $_, 0];
}
push(@pingable_hcp, $node1);
} elsif (/Nmap scan report for ([^ ]*) \((.*)\)/) {
$node1=$2;
$msg1=$_;
} elsif (/Host is up./) {
unless ($deadnodes{$node1}) {
foreach (keys %deadnodes) {
if ($node1 =~ /^$_\./) {
$node1 = $_;
last;
}
}
}
delete $deadnodes{$node1};
if ($verbose) {
push @return_msg, [$node, "$msg1$_", 0];
}
push(@pingable_hcp, $node1);
}
}
} else {
#use fping
#print "use fping\n";
my $master = xCAT::TableUtils->get_site_Master();
my $masterip = xCAT::NetworkUtils->getipaddr($master);
if ($masterip =~ /:/) { #IPv6, needs fping6 support
if (!-x '/usr/bin/fping6')
{
push @return_msg, [$node, "fping6 is not availabe for IPv6 ping.", -1];
return \@return_msg;
}
open (FPING, "fping6 ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
} else {
open (FPING, "fping ".join(' ',@hcps_ip). " 2>&1 |") or die("Cannot open fping pipe: $!");
}
while (<FPING>) {
if ($verbose) {
push @return_msg, [$node, $_, 0];
}
if ($_ =~ /is alive/) {
s/ is alive//;
push @pingable_hcp, $_;
}
}
}
if (!@pingable_hcp) {
@@ -319,17 +377,23 @@ sub renergy {
# Generate the url path for CIM communication
chomp($hcp);
my $url_path = "https://"."$user".":"."$password"."\@"."$hcp".":5989";
# Not display password in command outupt.
my $display_url_path = "https://"."$user".":"."xxxxxx"."\@"."$hcp".":5989";
# Execute the request
my $cmd = "";
my $display_cmd = "";
if ($opt->{'set'}) {
$cmd = "$::CIM_CLIENT_PATH $verb_arg -u $url_path -n $cec_name -o $opt->{'set'}";
$display_cmd = "$::CIM_CLIENT_PATH $verb_arg -u $display_url_path -n $cec_name -o $opt->{'set'}";
} elsif ($opt->{'query'}) {
$cmd = "$::CIM_CLIENT_PATH $verb_arg -u $url_path -n $cec_name -o $opt->{'query'}";
$display_cmd = "$::CIM_CLIENT_PATH $verb_arg -u $display_url_path -n $cec_name -o $opt->{'query'}";
}
if ($verbose) {
push @noerr_msg, [$node, "Run following command: $cmd", 0];
push @noerr_msg, [$node, "Run following command: $display_cmd", 0];
}
# Disable the CHID signal before run the command. Otherwise the
+3 -2
View File
@@ -12,6 +12,7 @@ use Socket;
use xCAT::PPCdb;
use xCAT::MsgUtils qw(verbose_message);
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::NetworkUtils;
##########################################
# Globals
@@ -77,7 +78,7 @@ sub handler {
# Disconnect from FSP
#####################################
unless ($flag) {
xCAT::PPCfsp::disconnect( $exp );
xCAT::PPCfsp::disconnect( $exp );
}
return( \@outhash );
@@ -1913,7 +1914,7 @@ sub set_netcfg
elsif ( $inc_ip eq '*')
{
$inc_type = 'Static';
($inc_ip, $inc_host, $inc_gateway, $inc_netmask) = xCAT::Utils::getNodeNetworkCfg(@$exp[1]);
($inc_ip, $inc_host, $inc_gateway, $inc_netmask) = xCAT::NetworkUtils::getNodeNetworkCfg(@$exp[1]);
}
else
{
+1 -1
View File
@@ -59,7 +59,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose) )) {
if ( !GetOptions( \%opt, qw(V|verbose) )) {
return( usage() );
}
####################################
+22 -9
View File
@@ -6,8 +6,11 @@ use strict;
use Getopt::Long;
use Data::Dumper;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Utils;
use xCAT::TableUtils;
use xCAT::ServiceNodeUtils;
use xCAT::NetworkUtils;
use xCAT::MsgUtils qw(verbose_message);
use xCAT::LparNetbootExp;
##########################################################################
@@ -46,7 +49,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt,qw(h|help V|Verbose v|version C=s G=s S=s D d f M o F=s arp))) {
if ( !GetOptions( \%opt,qw(h|help V|verbose v|version C=s G=s S=s D d f M o F=s arp))) {
return( usage() );
}
####################################
@@ -99,9 +102,9 @@ sub parse_args {
if ( exists($opt{S}) ) {
push @network, $_;
} else {
$server = xCAT::Utils->getSNformattedhash( $node, "xcat", "node", "primary" );
$server = xCAT::ServiceNodeUtils->getSNformattedhash( $node, "xcat", "node", "primary" );
foreach my $key ( keys %$server ) {
my $valid_ip = xCAT::Utils->validate_ip( $key );
my $valid_ip = xCAT::NetworkUtils->validate_ip( $key );
if ( $valid_ip ) {
###################################################
# Service node is returned as hostname, Convert
@@ -206,7 +209,7 @@ sub parse_args {
if ( scalar(@network) != 3 ) {
return( usage() );
}
my $result = xCAT::Utils->validate_ip( $opt{C}, $opt{G}, $opt{S} );
my $result = xCAT::NetworkUtils->validate_ip( $opt{C}, $opt{G}, $opt{S} );
if ( @$result[0] ) {
return(usage( @$result[1] ));
}
@@ -403,6 +406,7 @@ sub do_getmacs {
# last;
# }
#}
xCAT::MsgUtils->verbose_message($request, "getmacs :lparnetbootexp for node:$node.");
my $Rc = xCAT::LparNetbootExp->lparnetbootexp(\%optarg, $request);
######################################
# Split results into array
@@ -640,6 +644,7 @@ sub getmacs {
#########################################
# Connect to fsp to achieve MAC address
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs START.");
my $d = $par;
#########################################
@@ -660,6 +665,7 @@ sub getmacs {
# Get name known by HCP
#########################################
my $filter = "name,lpar_id";
xCAT::MsgUtils->verbose_message($request, "getmacs :lssyscfg filter '$filter'.");
my $values = xCAT::PPCcli::lssyscfg( $exp, $type, $mtms, $filter );
my $Rc = shift(@$values);
@@ -685,9 +691,14 @@ sub getmacs {
return( [[$node,"Node not found, lparid=$lparid",RC_ERROR]] );
}
my $sitetab = xCAT::Table->new('site');
my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
#my $sitetab = xCAT::Table->new('site');
#my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
#there may be something wrong with the conserverondemand attribute.
# Currently, the code is not used. So not fix this time. Just keep it here.
my @vcons = xCAT::TableUtils->get_site_attribute("conserverondemand");
my $vcon = $vcons[0];
#if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
if ( defined($vcon) and $vcon eq "yes" ) {
$result = xCAT::PPCcli::lpar_netboot(
$exp,
$request->{verbose},
@@ -698,10 +709,11 @@ sub getmacs {
#########################################
# Manually collect MAC addresses.
#########################################
xCAT::MsgUtils->verbose_message($request, "getmacs :do_getmacs for node:$node.");
$result = do_getmacs( $request, $d, $exp, $name, $node );
$Rc = shift(@$result);
}
$sitetab->close;
#$sitetab->close;
##################################
@@ -753,6 +765,7 @@ sub getmacs {
if ( !exists( $opt->{d} )) {
writemac( $node, $result );
}
xCAT::MsgUtils->verbose_message($request, "getmacs END.");
return( [[$node,$data,$Rc]] );
}
}
+1 -1
View File
@@ -40,7 +40,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose m:s@ t=s T=s r=s nodeps) )) {
if ( !GetOptions( \%opt, qw(V|verbose m:s@ t=s T=s r=s nodeps) )) {
return( usage() );
}
####################################
+13 -12
View File
@@ -8,6 +8,8 @@ use xCAT::Usage;
use xCAT::PPCinv;
use xCAT::DSHCLI;
use xCAT::Table;
use xCAT::Utils;
use xCAT::TableUtils;
use Getopt::Long;
use File::Spec;
use POSIX qw(tmpnam);
@@ -49,7 +51,6 @@ sub parse_args {
my %opt = ();
my $cmd = $request->{command};
my $args = $request->{arg};
#############################################
# Change CEC/Frame node into FSPs/BPAs
#############################################
@@ -157,15 +158,15 @@ sub parse_args {
#--activate's value only can be concurrent and disruptive
################################
if(exists($opt{activate})) {
if (defined($request->{mgt}) && ($request->{mgt} =~ /xCAT::FSP/i)) {
if (($opt{activate} ne "deferred") && ($opt{activate} ne "disruptive")) {
return (usage("--activate's value can only be deferred or disruptive"));
if (defined($request->{mgt}) && $request->{mgt} =~ /xCAT::FSP/i) {
if ($opt{activate} !~ /deferred|disruptive/) {
return (usage("--activate's value can only be deferred or disruptive."));
}
} else {
if( ($opt{activate} ne "concurrent") && ($opt{activate} ne "disruptive")) {
return (usage("--activate's value can only be disruptive or concurrent"));
if(($opt{activate} ne "disruptive") && ($opt{activate} ne "concurrent")) {
return (usage("--activate's value can only be disruptive or concurrent."));
}
}
}
if(!exists( $opt{d} )) {
$opt{d} = "/tmp";
}
@@ -325,7 +326,7 @@ sub preprocess_for_rflash {
my $request = shift;
my $opt = shift;
my $callback = $request->{callback};
my $install_dir = xCAT::Utils->getInstallDir();
my $install_dir = xCAT::TableUtils->getInstallDir();
my $packages_fw = "$install_dir/packages_fw";
my $c = 0;
my $packages_d;
@@ -534,21 +535,21 @@ sub get_lic_filenames {
if($fff ne $2) {
$upgrade_required = 1;
if($activate ne "disruptive") {
$msg = "Option --activate's value should be 'disruptive'";
$msg = "Option --activate's value should be disruptive";
return ("", "","", $msg, -1);
}
} else {
if(($pns eq $1) && ($3 > $active_level) && ($4 <= $active_level)) {
if(($pns eq $1) && ($3 > $active_level) &&($4 <= $active_level)) {
$msg = $msg. "Upgrade $mtms $activate!";
if($activate ne "concurrent") {
$msg = "Option --actviate's value should be 'concurrent'";
$msg = "Option --actviate's value should be concurrent";
return ("", "","", $msg, -1);
}
} else {
$msg = $msg . "Upgrade $mtms!";
if($activate ne "disruptive") {
$msg = "Option --activate's value should be 'disruptive'";
$msg = "Option --activate's value should be disruptive";
return ("", "","", $msg, -1);
}
}
+1 -1
View File
@@ -74,7 +74,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose u w x z) )){
if ( !GetOptions( \%opt, qw(V|verbose u w x z) )){
return( usage() );
}
####################################
+1 -1
View File
@@ -40,7 +40,7 @@ sub parse_args {
$Getopt::Long::ignorecase = 0;
Getopt::Long::Configure( "bundling" );
if ( !GetOptions( \%opt, qw(V|Verbose) )) {
if ( !GetOptions( \%opt, qw(V|verbose) )) {
return( usage() );
}
####################################
+29 -3
View File
@@ -8,7 +8,7 @@ use xCAT::PPCdb;
use xCAT::Usage;
use xCAT::NodeRange;
use Data::Dumper;
use xCAT::MsgUtils qw(verbose_message);
##############################################
# Globals
@@ -504,6 +504,7 @@ sub clone {
# Enumerate CECs
#####################################
my $filter = "type_model,serial_num";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg fsps.filter:'$filter'.");
my $cecs = xCAT::PPCcli::lssyscfg( $exp, "fsps", $filter );
my $Rc = shift(@$cecs);
@@ -579,6 +580,7 @@ sub clone {
$temp[2] = $destcec;
$temp[4] = 'lpar';
xCAT::MsgUtils->verbose_message($request, "$request->{command} :mksyscfg lpar.cfg:'$cfg'.");
my $result = xCAT::PPCcli::mksyscfg( $exp, "lpar", \@temp, $cfg );
$Rc = shift(@$result);
@@ -618,6 +620,7 @@ sub remove {
my @lpars = ();
my @values = ();
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
while (my ($mtms,$h) = each(%$hash) ) {
while (my ($lpar,$d) = each(%$h) ) {
my $lparid = @$d[0];
@@ -641,6 +644,7 @@ sub remove {
####################################
else {
my $filter = "name,lpar_id";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg lpar.filter:'$filter'.");
my $result = xCAT::PPCcli::lssyscfg(
$exp,
"lpar",
@@ -673,6 +677,7 @@ sub remove {
###############################################
# begin to retrieve the CEC's service lpar id
###############################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg fsp.filter:'service_lpar_id'.");
my $service_lparid = xCAT::PPCcli::lssyscfg(
$exp,
"fsp",
@@ -687,6 +692,7 @@ sub remove {
my $cfgdata = @$service_lparid[0];
if ( ($id == $cfgdata) && ($cfgdata !~ /none/) ) {
$cfgdata = "service_lpar_id=none";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg fsp.filter:'$cfgdata'.");
my $result = xCAT::PPCcli::chsyscfg( $exp, "fsp", $d, $cfgdata );
$Rc = shift(@$result);
if ( $Rc != SUCCESS ) {
@@ -703,6 +709,7 @@ sub remove {
################################
# Send remove command
################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :rmsyscfg lpar.id:$id.");
my $result = xCAT::PPCcli::rmsyscfg( $exp, \@d );
my $Rc = shift(@$result);
@@ -710,6 +717,7 @@ sub remove {
# Remove LPAR from database
################################
if ( $Rc == SUCCESS and !exists( $opt->{r} ) ) {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :remove lpar:$name from xCATdb.");
my $err = xCATdB( "rmvm", $name,"", $id,"", $type,"" , $lpar );
if ( defined( $err )) {
push @values, [$lpar,$err,RC_ERROR];
@@ -720,6 +728,7 @@ sub remove {
}
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@values );
}
@@ -791,6 +800,7 @@ sub modify_by_attr {
my $attrstr= $opt->{a};
my @values;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
# attrstr will be in stdin for "cat vmdef | chvm nodename"
if (!defined($attrstr) && defined($request->{stdin})) {
my $tempattr = $request->{stdin};
@@ -836,6 +846,7 @@ sub modify_by_attr {
###########################
# Get current profile
###########################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg node.id:'@$d[0]'.");
my $cfg_res = xCAT::PPCcli::lssyscfg(
$exp,
"node",
@@ -868,6 +879,7 @@ sub modify_by_attr {
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=@$d[0],profile_names=@$cfg_res[0]'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -893,12 +905,14 @@ sub modify_by_attr {
push @values, [$lpar, $err_msg, $Rc];
next;
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} :chsyscfg prof.cfg:'$cfgdata'.");
my $result = xCAT::PPCcli::chsyscfg( $exp, "prof", $d, $cfgdata );
$Rc = shift(@$result);
push @values, [$lpar,@$result[0],$Rc];
}
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return (\@values);
}
@@ -1004,6 +1018,7 @@ sub modify_by_prof {
my $profile = $opt->{p};
my @values;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
#######################################
# -p flag, find profile specified
#######################################
@@ -1029,6 +1044,7 @@ sub modify_by_prof {
###########################
# Get LPAR profiles
###########################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=@$d[0],profile_names=$profile'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -1100,6 +1116,7 @@ sub modify_by_prof {
# Send command
###############################
if ( defined( $profile )) {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :mksyscfg prof.cfg:'$cfg'.");
my $result = xCAT::PPCcli::mksyscfg( $exp, "prof", $d, $cfg );
my $Rc = shift(@$result);
@@ -1112,12 +1129,14 @@ sub modify_by_prof {
push @values, [$lpar,@$result[0],$Rc];
}
else {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :chsyscfg prof.cfg:'$cfg'.");
my $result = xCAT::PPCcli::chsyscfg( $exp, "prof", $d, $cfg );
my $Rc = shift(@$result);
push @values, [$lpar,@$result[0],$Rc];
}
}
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@values );
}
@@ -1136,6 +1155,7 @@ sub list {
my @lpars = ();
my $result;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
while (my ($mtms,$h) = each(%$hash) ) {
while (my ($lpar,$d) = each(%$h) ) {
my $lparid = @$d[0];
@@ -1161,6 +1181,7 @@ sub list {
####################################
else {
my $filter = "name,lpar_id";
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg lpar.filter:'$filter'.");
my $result = xCAT::PPCcli::lssyscfg(
$exp,
"lpar",
@@ -1191,6 +1212,7 @@ sub list {
#################################
# Get source LPAR profile
#################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=$id'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -1244,7 +1266,7 @@ sub list {
foreach ( sort keys %$values ) {
push @value,$values->{$_};
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@value );
}
##########################################################################
@@ -1604,7 +1626,7 @@ sub create {
my $mtms;
my $type;
my $profile;
xCAT::MsgUtils->verbose_message($request, "$request->{command} START.");
#####################################
# Get source node information
#####################################
@@ -1643,6 +1665,7 @@ sub create {
#####################################
# Get source LPAR profile
#####################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :lssyscfg prof.filter:'lpar_ids=$lparid'.");
my $prof = xCAT::PPCcli::lssyscfg(
$exp,
"prof",
@@ -1721,6 +1744,7 @@ sub create {
#################################
# Create new LPAR
#################################
xCAT::MsgUtils->verbose_message($request, "$request->{command} :mksyscfg lpar.cfg:'$cfgdata'.");
$result = xCAT::PPCcli::mksyscfg( $exp, "lpar", $d, $cfgdata );
$Rc = shift(@$result);
@@ -1728,6 +1752,7 @@ sub create {
# Add new LPAR to database
#################################
if ( $Rc == SUCCESS ) {
xCAT::MsgUtils->verbose_message($request, "$request->{command} :add lpar:$name from xCATdb.");
my $err = xCATdB( "mkvm", $name, $profile, $id, $d, $hwtype, $lpar);
if ( defined( $err )) {
push @values, [$name,$err,RC_ERROR];
@@ -1738,6 +1763,7 @@ sub create {
push @values, [$name,@$result[0],$Rc];
$id++;
}
xCAT::MsgUtils->verbose_message($request, "$request->{command} END.");
return( \@values );
}
File diff suppressed because it is too large Load Diff
+34 -15
View File
@@ -5,7 +5,7 @@ package xCAT::RSYNC;
# cannot use strict
use base xCAT::DSHRemoteShell;
use xCAT::TableUtils qw(get_site_attribute);
# Determine if OS is AIX or Linux
# Configure standard locations of commands based on OS
@@ -35,6 +35,7 @@ if ($^O eq 'linux')
$class - Calling module name (discarded)
$config - Reference to copy command configuration hash table
$exec_path - Path to rsync executable
$localhost - 1 indicates we are running on the Management Node
Returns:
A command array for the rsync command with the appropriate
@@ -68,7 +69,7 @@ if ($^O eq 'linux')
sub remote_copy_command
{
my ($class, $config, $exec_path) = @_;
my ($class, $config, $exec_path,$localhost) = @_;
$exec_path || ($exec_path = $RSYNC_CMD);
@@ -76,7 +77,7 @@ sub remote_copy_command
my $usersh=0;
if ($^O eq 'aix')
{
my @useSSH = xCAT::Utils->get_site_attribute("useSSHonAIX");
my @useSSH = xCAT::TableUtils->get_site_attribute("useSSHonAIX");
if (defined($useSSH[0])) {
$useSSH[0] =~ tr/a-z/A-Z/; # convert to upper
if (($useSSH[0] eq "0") || ($useSSH[0] eq "NO"))
@@ -96,13 +97,13 @@ sub remote_copy_command
if ($^O eq 'aix')
{
if (-e ("/usr/bin/rsync")) {
if ($usersh == 0) { # using ssh
if (($usersh == 0) || ($localhost == 1)) { # using ssh, or local
$sync_opt = '--rsync-path /usr/bin/rsync ';
} else {
$sync_opt = '--rsh /bin/rsh --rsync-path /usr/bin/rsync ';
}
} else {
if ($usersh == 0) { # using ssh
if (($usersh == 0) || ($localhost == 1)) { # using ssh, or local
$sync_opt = '--rsync-path /usr/local/bin/rsync ';
} else {
$sync_opt = '--rsh /bin/rsh --rsync-path /usr/local/bin/rsync ';
@@ -113,9 +114,10 @@ sub remote_copy_command
{
$sync_opt = '--rsync-path /usr/bin/rsync ';
}
# if only syncing the service node or no postscripts then do not
# if only syncing the service node or
# (no postscripts and no append lines) then do not
# get update file notification
if (($::SYNCSN == 1) || (!(defined @::postscripts))) {
if (($::SYNCSN == 1) || ((!(defined @::postscripts)) && (!(defined @::appendlines)) && (!(defined @::mergelines)))) {
$sync_opt .= '-Lprogtz ';
} else {
$sync_opt .= '-Liprogtz --out-format=%f%L '; # add notify of update
@@ -140,12 +142,17 @@ sub remote_copy_command
"$$config{'dest-user'}@" . "$$config{'dest-host'}";
}
print RSCYCCMDFILE "#!/bin/sh\n";
if ($usersh == 0) { # using ssh
print RSCYCCMDFILE
"/usr/bin/ssh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
} else {
print RSCYCCMDFILE
"/usr/bin/rsh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
if ($localhost == 1) { # running to the MN from the MN
print RSCYCCMDFILE
"/bin/mkdir -p $dest_dir_list\n";
} else { # running to another node
if ($usersh == 0) { # using ssh
print RSCYCCMDFILE
"/usr/bin/ssh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
} else {
print RSCYCCMDFILE
"/usr/bin/rsh $dest_user_host '/bin/mkdir -p $dest_dir_list'\n";
}
}
foreach my $dest_dir (keys %{$$config{'destDir_srcFile'}})
{
@@ -155,16 +162,28 @@ sub remote_copy_command
my $src_file_list = join ' ', @src_file;
if ($src_file_list)
{
if ($localhost == 1) { # running local ( on MN)
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_list $dest_user_host:$dest_dir\n";
"$exec_path $sync_opt $src_file_list $dest_dir\n";
} else { # running to another node
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_list $dest_user_host:$dest_dir\n";
}
}
my %diff_dest_hash =
%{$$config{'destDir_srcFile'}{$dest_dir}{'diff_dest_name'}};
foreach my $src_file_diff_dest (keys %diff_dest_hash)
{
my $diff_basename = $diff_dest_hash{$src_file_diff_dest};
print RSCYCCMDFILE
# if localhost do not put in hostname:
if ($localhost == 1) { # running to the MN from the MN (local)
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_diff_dest $dest_dir/$diff_basename\n";
} else { # running remote
print RSCYCCMDFILE
"$exec_path $sync_opt $src_file_diff_dest $dest_user_host:$dest_dir/$diff_basename\n";
}
}
}
+25 -25
View File
@@ -76,7 +76,7 @@ sub remoteshellexp
if (!($flag))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"No flag provide to remoteshellexp.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 2);
return 2;
@@ -84,7 +84,7 @@ sub remoteshellexp
if (($flag ne "k") && ($flag ne "t") && ($flag ne "s")) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Invalid flag $flag provided.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 2;
@@ -99,14 +99,14 @@ sub remoteshellexp
if ($flag eq "s"){
if (!$to_user_password) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"The DSH_REMOTE_PASSWORD environment variable has not been set to the user id password on the node which will have their ssh keys updated (ususally root).";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 2;
}
if (!$nodes) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"No nodes were input to update the user's ssh keys.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 2;
@@ -162,7 +162,7 @@ sub remoteshellexp
# Check to see if empty
if (-z $key) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"The $key file is empty. Remove it and rerun the command.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -170,7 +170,7 @@ sub remoteshellexp
}
if (-z $key2) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"The $key2 file is empty. Remove it and rerun the command.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -187,7 +187,7 @@ sub remoteshellexp
{
if (!($nodes)) {
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"There are no nodes defined to update the ssh keys.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -267,7 +267,7 @@ sub gensshkeys
unless ($keygen->spawn($spawncmd))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawncmd.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -324,8 +324,8 @@ sub gensshkeys
return 0;
} else {
my $rsp = {};
$rsp->{data}->[0] = $msg;
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = $msg;
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
@@ -394,7 +394,7 @@ sub testkeys
unless ($testkeys->spawn($spawncmd))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawncmd.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
return 1;
@@ -446,8 +446,8 @@ sub testkeys
return 0;
} else {
my $rsp = {};
$rsp->{data}->[0] = $msg;
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = $msg;
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
return 1;
}
@@ -522,7 +522,7 @@ sub sendnodeskeys
unless ($sendkeys->spawn($spawnmkdir))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawnmkdir on $node";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next;
@@ -571,8 +571,8 @@ sub sendnodeskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "mkdir:$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "mkdir:$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
}
}
@@ -612,7 +612,7 @@ sub sendnodeskeys
unless ($sendkeys->spawn($spawncopyfiles))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawncopyfiles on $node.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next;
@@ -658,8 +658,8 @@ sub sendnodeskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "copykeys:$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "copykeys:$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
}
}
@@ -693,7 +693,7 @@ sub sendnodeskeys
unless ($sendkeys->spawn($spawnruncopy))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawnruncopy.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next; # go to next node
@@ -743,8 +743,8 @@ sub sendnodeskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "copy.sh:$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "copy.sh:$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
}
}
@@ -829,7 +829,7 @@ sub senddeviceskeys
unless ($sendkeys->spawn($spawnaddkey))
{
my $rsp = {};
$rsp->{data}->[0] =
$rsp->{error}->[0] =
"Unable to run $spawnaddkey.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1);
next; # go to next node
@@ -877,8 +877,8 @@ sub senddeviceskeys
$rc=0;
} else {
my $rsp = {};
$rsp->{data}->[0] = "$node has error,$msg";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
$rsp->{error}->[0] = "$node has error,$msg";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
$rc=1;
next; # go to next node
}
Executable → Regular
+69 -228
View File
@@ -23,10 +23,7 @@ my $gprlist;
my %searchmacs;
my %ip4neigh;
my %ip6neigh;
my %servicehash;
my %sendhash;
my $attrpy = 0;
my $serrpy = 0;
sub getmulticasthash {
my $hash=0;
my @nums = unpack("C*",shift);
@@ -43,13 +40,10 @@ sub getmulticasthash {
sub dodiscover {
my %args = @_;
my $unicast = $args{unicast}; #should be used with -s !
my $ipranges = $args{range};
my $rspcount = 0;
my $rspcount1 = 0;
my $sendcount = 1;
$xid = int(rand(16384))+1;
my %rethash;
unless ($args{'socket'}) {
if ($ip6support) {
$args{'socket'} = IO::Socket::INET6->new(Proto => 'udp');
@@ -66,7 +60,7 @@ sub dodiscover {
$args{'socket'}->sockopt(SO_RCVBUF,$maxrcvbuf/2);
}
}
} #end of unless socket
}
unless ($args{SrvTypes}) { croak "SrvTypes argument is required for xCAT::SLP::Dodiscover"; }
unless (xCAT::Utils->isAIX()) { # AIX bug, can't set socket with SO_BROADCAST, otherwise multicast can't work.
setsockopt($args{'socket'},SOL_SOCKET,SO_BROADCAST,1); #allow for broadcasts to be sent, we know what we are doing
@@ -87,7 +81,6 @@ sub dodiscover {
}
}
}
# for print information
my @printip;
foreach my $iface (keys %{$interfaces}) {
foreach my $sip (@{$interfaces->{$iface}->{ipv4addrs}}) {
@@ -97,158 +90,20 @@ sub dodiscover {
}
}
my $printinfo = join(",", @printip);
if ($unicast) {
if (xCAT::Utils->isAIX()){
send_message($args{reqcallback}, 1, "lsslp unicast is not supported on AIX");
exit 1;
}
if (! -f "/usr/bin/nmap"){
send_message($args{reqcallback}, 1, "nmap does not exist, lsslp unicast is not possible");
exit 1;
}
my @servernodes;
my @iprange = split /,/, $ipranges;
foreach my $range (@iprange) {
`/usr/bin/nmap $range -sn -PE -n --send-ip -T5 `;
my $nmapres = `/usr/bin/nmap $range -PE -p 427 -n --send-ip -T5 `;
foreach my $line (split(/\n\n/,$nmapres)) {#\n/,$nmapres)) {
my $server;
foreach my $sline (split(/\n/, $line)) {
if ($sline =~ /Nmap scan report for (\d+\.\d+\.\d+\.\d+)/) {
$server = $1;
}
if ($sline =~ /427/ and ($sline =~ /open/ or $sline =~ /filtered/)){
push @servernodes, $server;
}
} # end of foreach line
} # end of foreach line
} # end of foreach pi-range
unless (@servernodes){
send_message($args{reqcallback}, 0, "Nmap returns nothing");
return undef;
}
my $number = scalar (@servernodes);
send_message($args{reqcallback}, 0, "Begin to do unicast to $number nodes...");
my %rechash;
pipe CREAD,PWRITE;
my $pid = xCAT::Utils->xfork();
if ( !defined($pid) ) {
send_message($args{reqcallback}, 1, "Fork error: $!" );
return undef;
} elsif ( $pid == 0 ) {
close PWRITE;
foreach my $srvtype (@srvtypes) {
my $packet = generate_attribute_request(%args, SrvType=>$srvtype);
foreach my $destserver (@servernodes) {
my $destip = inet_aton($destserver);
my $destaddr = sockaddr_in(427,$destip);
my $res = $args{'socket'}->send($packet,0,$destaddr);
} # end of foreach destserver
}# end of foreach services
while(<CREAD>){
chomp;
my $destserver = $_;
if ($destserver =~ /NowYouNeedToDie/){
close CREAD;
exit 0;
}
foreach my $srvtype (@srvtypes) {
my $packet = generate_attribute_request(%args, SrvType=>$srvtype);
my $destip = inet_aton($destserver);
my $destaddr = sockaddr_in(427,$destip);
for( my $j = 0; $j < 1; $j++) {
my $res = $args{'socket'}->send($packet,0,$destaddr);
} # end of foreach j++
}# end of foreach services
} # end of while (cread)
} else {
close CREAD;
$rspcount = 0;
my $waittime = ($args{Time}>0)?$args{Time}:300;
my $deadline = time()+ $waittime;
my $waitforsocket = IO::Select->new();
$waitforsocket->add($args{'socket'});
my $rectime = time() + 5;
my $recvzero = 0;
while ($deadline > time()) {
$rspcount1 = 0;
while ($rectime > time()) {
while ($waitforsocket->can_read(0)) {
my $slppacket;
my $peer = $args{'socket'}->recv($slppacket,3000,0);
$rechash{$peer} = $slppacket;
} #end of can_read
} # end of receiving
# now begin to parse the packets
for my $tp (keys %rechash) {
my @restserver ;
my $pkg = $tp; #$peerarray[$j];
my $slpkg = $rechash{$tp}; #$pkgarray[$j];
my( $port,$flow,$ip6n,$ip4n,$scope);
my $peername;
if ($ip6support) {
( $port,$flow,$ip6n,$scope) = Socket6::unpack_sockaddr_in6_all($pkg);
$peername = Socket6::inet_ntop(Socket6::AF_INET6(),$ip6n);
} else {
($port,$ip4n) = sockaddr_in($pkg);
$peername = inet_ntoa($ip4n);
}
if ($peername =~ /\./) { #ipv4
$peername =~ s/::ffff://;
}
if ($rethash{$peername}) {
next; #got a dupe, discard
}
my $result = process_slp_packet(packet=>$slpkg,sockaddr=>$pkg,'socket'=>$args{'socket'}, peername=>$peername, callback=>$args{reqcallback});
if ($result) {
$rspcount++;
$rspcount1++;
$result->{peername} = $peername;
$result->{scopeid} = $scope;
$result->{sockaddr} = $pkg;
my $hashkey;
if ($peername =~ /fe80/) {
$peername .= '%'.$scope;
}
$rethash{$peername} = $result;
if ($args{Callback}) {
$args{Callback}->($result);
}
foreach my $mynode (@servernodes) {
unless ($mynode =~ $peername) {
push @restserver, $mynode;
}#end of mynode=~peername
} # end of foreach
@servernodes = @restserver;
} # end of if result
} # end of foreach processing
foreach my $node (@servernodes) {
syswrite PWRITE,"$node\n";
} # end of foreach servernodes
$recvzero++ unless ($rspcount1);
last if ($recvzero > 2);
} # end of while(deadline)
syswrite PWRITE,"NowYouNeedToDie\n";
close PWRITE;
if (@servernodes) {
my $miss = join(",", @servernodes);
send_message($args{reqcallback}, 0, "Warning: can't get attributes from these nodes' replies: $miss. Please re-send unicast to these nodes.") if ($args{reqcallback});
}
}# end of parent process
} else {
send_message($args{reqcallback}, 0, "Sending SLP request on interfaces: $printinfo ...") if ($args{reqcallback} and !$args{nomsg} );
send_message($args{reqcallback}, 0, "Sending SLP request on interfaces: $printinfo ...") if ($args{reqcallback});
foreach my $srvtype (@srvtypes) {
send_service_request_single(%args,ifacemap=>$interfaces,SrvType=>$srvtype);
}
my %rethash;
unless ($args{NoWait}) { #in nowait, caller owns the responsibility..
#by default, report all respondants within 3 seconds:
my $waitforsocket = IO::Select->new();
$waitforsocket->add($args{'socket'});
$waitforsocket->add($args{'socket'});
my $retrytime = ($args{Retry}>0)?$args{Retry}+1:3;
my $retryinterval = ($args{Retry}>0)?$args{Retry}:REQ_INTERVAL;
my $waittime = ($args{Time}>0)?$args{Time}:20;
my @peerarray;
my @pkgarray;
my @pkgarray;
my $startinterval = time();
my $interval;
@@ -268,80 +123,80 @@ sub dodiscover {
#######################################
# process the packets
#######################################
for(my $j = 0; $j< scalar(@peerarray); $j++) {
my $pkg = $peerarray[$j];
my $slpkg = $pkgarray[$j];
if ($ip6support) {
( $port,$flow,$ip6n,$scope) = Socket6::unpack_sockaddr_in6_all($pkg);
$peername = Socket6::inet_ntop(Socket6::AF_INET6(),$ip6n);
} else {
($port,$ip4n) = sockaddr_in($pkg);
$peername = inet_ntoa($ip4n);
}
if ($rethash{$peername}) {
next; #got a dupe, discard
}
my $result = process_slp_packet(packet=>$slpkg,sockaddr=>$pkg,'socket'=>$args{'socket'});
if ($result) {
if ($peername =~ /\./) { #ipv4
$peername =~ s/::ffff://;
}
$result->{peername} = $peername;
if ($gprlist) {
$gprlist .= ','.$peername if(length($gprlist) < 1250);
} else {
$gprlist = $peername;
}
$result->{scopeid} = $scope;
$result->{sockaddr} = $pkg;
my $hashkey;
if ($peername =~ /fe80/) {
$peername .= '%'.$scope;
}
$rspcount++;
$rspcount1++;
$rethash{$peername} = $result;
if ($args{Callback}) {
$args{Callback}->($result);
}
}
}
for(my $j = 0; $j< scalar(@peerarray); $j++) {
my $pkg = $peerarray[$j];
my $slpkg = $pkgarray[$j];
if ($ip6support) {
( $port,$flow,$ip6n,$scope) = Socket6::unpack_sockaddr_in6_all($pkg);
$peername = Socket6::inet_ntop(Socket6::AF_INET6(),$ip6n);
} else {
($port,$ip4n) = sockaddr_in($pkg);
$peername = inet_ntoa($ip4n);
}
if ($rethash{$peername}) {
next; #got a dupe, discard
}
my $result = process_slp_packet(packet=>$slpkg,sockaddr=>$pkg,'socket'=>$args{'socket'});
if ($result) {
if ($peername =~ /\./) { #ipv4
$peername =~ s/::ffff://;
}
$result->{peername} = $peername;
if ($gprlist) {
$gprlist .= ','.$peername if(length($gprlist) < 1250);
} else {
$gprlist = $peername;
}
$result->{scopeid} = $scope;
$result->{sockaddr} = $pkg;
my $hashkey;
if ($peername =~ /fe80/) {
$peername .= '%'.$scope;
}
$rspcount++;
$rspcount1++;
$rethash{$peername} = $result;
if ($args{Callback}) {
$args{Callback}->($result);
}
}
}
#############################
# check if need to return
#############################
@peerarray = ();
@pkgarray = ();
$interval = time() - $startinterval;
if ($args{Time} and $args{Count}) {
if ($rspcount >= $args{Count} or $interval >= $args{Time}) {
send_message($args{reqcallback}, 0, "Received $rspcount1 responses.") if ($args{reqcallback} and !$args{nomsg});
last;
}
@peerarray = ();
@pkgarray = ();
$interval = time() - $startinterval;
if ($args{Time} and $args{Count}) {
if ($rspcount >= $args{Count} or $interval >= $args{Time}) {
send_message($args{reqcallback}, 0, "Received $rspcount1 responses.") if ($args{reqcallback});
last;
}
}
if ($sendcount > $retrytime and $rspcount1 == 0) {
send_message($args{reqcallback}, 0, "Received $rspcount1 responses.") if ($args{reqcallback} and !$args{nomsg});
send_message($args{reqcallback}, 0, "Received $rspcount1 responses.") if ($args{reqcallback});
last;
}
#########################
# send request again
#########################
if ( $interval > $retryinterval){#* (2**$sendcount))) { #double time
$sendcount++;
$startinterval = time();
send_message($args{reqcallback}, 0, "Received $rspcount1 responses.") if ($args{reqcallback} and !$args{nomsg});
send_message($args{reqcallback}, 0, "Sending SLP request on interfaces: $printinfo ...") if ($args{reqcallback} and !$args{nomsg});
foreach my $srvtype (@srvtypes) {
send_service_request_single(%args,ifacemap=>$interfaces,SrvType=>$srvtype);
}
if ( $interval > $retryinterval){#* (2**$sendcount))) { #double time
$sendcount++;
$startinterval = time();
send_message($args{reqcallback}, 0, "Received $rspcount1 responses.") if ($args{reqcallback});
send_message($args{reqcallback}, 0, "Sending SLP request on interfaces: $printinfo ...") if ($args{reqcallback});
foreach my $srvtype (@srvtypes) {
send_service_request_single(%args,ifacemap=>$interfaces,SrvType=>$srvtype);
}
$rspcount1 = 0;
}
}
} #end nowait
} #end of if( unicast )
foreach my $entry (keys %rethash) {
handle_new_slp_entity($rethash{$entry});
}
}
} #end nowait
foreach my $entry (keys %rethash) {
handle_new_slp_entity($rethash{$entry})
}
if (xCAT::Utils->isAIX()) {
foreach my $iface (keys %{$interfaces}) {
foreach my $sip (@{$interfaces->{$iface}->{ipv4addrs}}) {
@@ -370,19 +225,12 @@ sub process_slp_packet {
}
my $srvtype = $xid_to_srvtype_map{$parsedpacket->{Xid}};
my $packet = generate_attribute_request(%args,SrvType=>$srvtype);
$sendhash{$args{peername}}->{package} = $packet;
$sendhash{$args{peername}}->{sockaddy} = $sockaddy;
$serrpy++;
$socket->send($packet,0,$sockaddy);
return undef;
} elsif ($parsedpacket->{FunctionId} == 7) { #attribute reply
$attrpy++;
$parsedpacket->{SrvType} = $xid_to_srvtype_map{$parsedpacket->{Xid}};
$parsedpacket->{attributes} = parse_attribute_reply($parsedpacket->{payload});
#delete $parsedpacket->{payload};
my $attributes = $parsedpacket->{attributes};
my $type = ${$attributes->{'type'}}[0] ;
return undef unless ($type) ;
return $parsedpacket;
} else {
return undef;
@@ -545,11 +393,9 @@ sub send_service_request_single {
$ipnum= $ipnum | (2**(32-$maskbits))-1;
my $bcastn = pack("N",$ipnum);
my $bcastaddr = sockaddr_in(427,$bcastn);
$socket->sockopt(SO_BROADCAST, 1) or die("sockopt: $!\n");
$socket->send($packet,0,$bcastaddr);
setsockopt($socket,0,IP_MULTICAST_IF,$ipn);
$socket->send($packet,0,$ipv4sockaddr);
$socket->send($packet,0,$bcastaddr);
}
}
}
@@ -799,16 +645,11 @@ sub get_ipv6_neighbors {
}
}
##########################################################################
# Invokes the callback with the specified message
##########################################################################
sub send_message {
my $callback = shift;
my $ecode = shift;
my $msg = shift;
my %output;
$output{errorcode} = $ecode;
$output{data} = $msg;
$callback->( \%output );
Regular → Executable
View File
+643 -84
View File
File diff suppressed because it is too large Load Diff
+4 -3
View File
@@ -1,6 +1,7 @@
package xCAT::Scope;
use xCAT::Utils;
use xCAT::Table;
use xCAT::ServiceNodeUtils qw(getSNList);
sub get_broadcast_scope {
my $req = shift;
if ($req =~ /xCAT::Scope/) {
@@ -10,8 +11,8 @@ sub get_broadcast_scope {
if ($req->{_xcatpreprocessed}->[0] == 1) { return [$req]; }
#Exit if the packet has been preprocessed in its history
my @requests = ({%$req}); #Start with a straight copy to reflect local instance
foreach (xCAT::Utils->getSNList()) {
if (xCAT::Utils->thishostisnot($_)) {
foreach (xCAT::ServiceNodeUtils->getSNList()) {
if (xCAT::NetworkUtils->thishostisnot($_)) {
my $reqcopy = {%$req};
$reqcopy->{'_xcatdest'} = $_;
$reqcopy->{_xcatpreprocessed}->[0] = 1;
@@ -24,7 +25,7 @@ sub get_broadcast_scope {
#$sitetab->close;
#if ($ent and $ent->{value}) {
# foreach (split /,/,$ent->{value}) {
# if (xCAT::Utils->thishostisnot($_)) {
# if (xCAT::NetworkUtils->thishostisnot($_)) {
# my $reqcopy = {%$req};
# $reqcopy->{'_xcatdest'} = $_;
# push @requests,$reqcopy;
+825
View File
@@ -0,0 +1,825 @@
#!/usr/bin/env perl
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::ServiceNodeUtils;
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
}
use lib "$::XCATROOT/lib/perl";
use strict;
#-----------------------------------------------------------------------------
=head3 readSNInfo
Read resource, NFS server, Master node, OS an ARCH from the database
for the service node
Input: service nodename
Output: Masternode, OS and ARCH
Example:
xCAT::ServiceNodeUtils->readSNInfo;
=cut
#-----------------------------------------------------------------------------
sub readSNInfo
{
my ($class, $nodename) = @_;
my $rc = 0;
my $et;
my $masternode;
my $os;
my $arch;
$rc = xCAT::Utils->exportDBConfig();
if ($rc == 0)
{
if ($nodename)
{
$masternode = xCAT::TableUtils->GetMasterNodeName($nodename);
if (!($masternode))
{
xCAT::MsgUtils->message('S',
"Could not get Master for node $nodename\n");
return 1;
}
$et = xCAT::TableUtils->GetNodeOSARCH($nodename);
if ($et == 1)
{
xCAT::MsgUtils->message('S',
"Could not get OS/ARCH for node $nodename\n");
return 1;
}
if (!($et->{'os'} || $et->{'arch'}))
{
xCAT::MsgUtils->message('S',
"Could not get OS/ARCH for node $nodename\n");
return 1;
}
}
$et->{'master'} = $masternode;
return $et;
}
return $rc;
}
#-----------------------------------------------------------------------------
=head3 isServiceReq
Checks the service node table in the database to see
if input Service should be setup on the
input service node
Input:servicenodename,ipaddres(s) and hostnames of service node
Output:
array of services to setup for this service node
Globals:
$::RUNCMD_RC = 0; good
$::RUNCMD_RC = 1; error
Error:
none
Example:
@servicestosetup=xCAT::ServiceNodeUtils->isServiceReq($servicenodename, @serviceip) { blah; }
=cut
#-----------------------------------------------------------------------------
sub isServiceReq
{
require xCAT::Table;
my ($class, $servicenodename, $serviceip) = @_;
# list of all services from service node table
# note this must be updated if more services added
my @services = (
"nameserver", "dhcpserver", "tftpserver", "nfsserver",
"conserver", "monserver", "ldapserver", "ntpserver",
"ftpserver", "ipforward"
);
my @ips = @$serviceip; # list of service node ip addresses and names
my $rc = 0;
$rc = xCAT::Utils->exportDBConfig(); # export DB env
if ($rc != 0)
{
xCAT::MsgUtils->message('S', "Unable export DB environment.\n");
$::RUNCMD_RC = 1;
return;
}
# get handle to servicenode table
my $servicenodetab = xCAT::Table->new('servicenode');
unless ($servicenodetab)
{
xCAT::MsgUtils->message('S', "Unable to open servicenode table.\n");
$::RUNCMD_RC = 1;
return; # do not setup anything
}
my @process_service_list = ();
# read all the nodes from the table, for each service
foreach my $service (@services)
{
my @snodelist = $servicenodetab->getAllNodeAttribs([$service]);
foreach $serviceip (@ips) # check the table for this servicenode
{
foreach my $node (@snodelist)
{
if ($serviceip eq $node->{'node'})
{ # match table entry
if ($node->{$service})
{ # returns service, only if set
my $value = $node->{$service};
$value =~ tr/a-z/A-Z/; # convert to upper
# value 1 or yes then we setup the service
if (($value eq "1") || ($value eq "YES"))
{
push @process_service_list,
$service; # found service to setup
}
}
}
}
}
}
$servicenodetab->close;
$::RUNCMD_RC = 0;
return @process_service_list;
}
#-----------------------------------------------------------------------------
=head3 getAllSN
Returns an array of all service nodes from service node table
Arguments:
ALL" - will also return the management node in the array, if
if has been defined in the servicenode table
Returns:
array of Service Nodes or empty array, if none
Globals:
none
Error:
1 - error
Example:
@SN=xCAT::ServiceNodeUtils->getAllSN
@allSN=xCAT::ServiceNodeUtils->getAllSN("ALL")
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getAllSN
{
my ($class, $options) = @_;
require xCAT::Table;
# reads all nodes from the service node table
my @servicenodes;
my $servicenodetab = xCAT::Table->new('servicenode');
unless ($servicenodetab) # no servicenode table
{
xCAT::MsgUtils->message('I', "Unable to open servicenode table.\n");
$servicenodetab->close;
return @servicenodes;
}
my @nodes = $servicenodetab->getAllNodeAttribs(['tftpserver']);
foreach my $nodes (@nodes)
{
push @servicenodes, $nodes->{node};
}
# if did not input "ALL" and there is a MN, remove it
my @newservicenodes;
if ((!defined($options)) || ($options ne "ALL")) {
my $mname = xCAT::Utils->noderangecontainsMn(@servicenodes);
if ($mname) { # if there is a MN
foreach my $nodes (@servicenodes) {
if ($mname ne ($nodes)){
push @newservicenodes, $nodes;
}
}
$servicenodetab->close;
return @newservicenodes; # return without the MN in the array
}
}
$servicenodetab->close;
return @servicenodes;
}
#-----------------------------------------------------------------------------
=head3 getSNandNodes
Returns an hash-array of all service nodes and the nodes they service
Arguments:
none
#-----------------------------------------------------------------------------
=head3 getSNandNodes
Returns an hash-array of all service nodes and the nodes they service
Arguments:
none
Returns:
Service Nodes and the nodes they service or empty , if none
Globals:
none
Error:
1 - error
Example:
$sn=xCAT::ServiceNodeUtils->getSNandNodes()
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getSNandNodes
{
require xCAT::Table;
# read all the nodes from the nodelist table
# call get_ServiceNode to find which Service Node
# the node belongs to.
my %sn;
my @nodes;
my $nodelisttab = xCAT::Table->new('nodelist');
my $recs = $nodelisttab->getAllEntries();
foreach (@$recs)
{
push @nodes, $_->{node};
}
$nodelisttab->close;
my $sn = xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes, "xcat", "MN");
return $sn;
}
#-----------------------------------------------------------------------------
=head3 getSNList
Reads the servicenode table. Will return all the enabled Service Nodes
that will setup the input Service ( e.g tftpserver,nameserver,etc)
If service is blank, then will return the list of all enabled Service
Nodes.
Arguments:
Servicename ( xcat,tftpserver,dhcpserver,conserver,etc)
If no servicename, returns all Servicenodes
"ALL" argument means you also want the MN returned. It can be in the
servicenode list. If no "ALL", take out the MN if it is there.
Returns:
Array of service node names
Globals:
none
Error:
1 - error
Example:
$sn= xCAT::ServiceNodeUtils->getSNList($servicename) { blah; }
$sn= xCAT::ServiceNodeUtils->getSNList($servicename,"ALL") { blah; }
$sn= xCAT::ServiceNodeUtils->getSNList() { blah; }
$sn= xCAT::ServiceNodeUtils->getSNList("","ALL") { blah; }
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getSNList
{
require xCAT::Table;
my ($class, $service,$options) = @_;
# reads all nodes from the service node table
my @servicenodes;
my $servicenodetab = xCAT::Table->new('servicenode', -create => 1);
unless ($servicenodetab) # no servicenode table
{
xCAT::MsgUtils->message('I', "Unable to open servicenode table.\n");
return ();
}
my @nodes = $servicenodetab->getAllNodeAttribs([$service]);
$servicenodetab->close;
foreach my $node (@nodes)
{
if ($service eq "") # want all the service nodes
{
push @servicenodes, $node->{node};
}
else
{ # looking for a particular service
if ($node->{$service})
{ # if null then do not add node
my $value = $node->{$service};
$value =~ tr/a-z/A-Z/; # convert to upper
# value 1 or yes or blank then we setup the service
if (($value == 1) || ($value eq "YES"))
{
push @servicenodes, $node->{node};
}
}
}
}
# if did not input "ALL" and there is a MN, remove it
my @newservicenodes;
if ((!defined($options)) || ($options ne "ALL")) {
my $mname = xCAT::Utils->noderangecontainsMn(@servicenodes);
if ($mname) { # if there is a MN
foreach my $nodes (@servicenodes) {
if ($mname ne ($nodes)){
push @newservicenodes, $nodes;
}
}
return @newservicenodes; # return without the MN in the array
}
}
return @servicenodes;
}
#-----------------------------------------------------------------------------
=head3 get_ServiceNode
Will get the Service node ( name or ipaddress) as known by the Management
Node or Node for the input nodename or ipadress of the node
which can be a Service Node.
If the input node is a Service Node then it's Service node
is always the Management Node.
input: list of nodenames and/or node ipaddresses (array ref)
service name
"MN" or "Node" determines if you want the Service node as known
by the Management Node or by the node.
recognized service names: xcat,tftpserver,
nfsserver,conserver,monserver
service "xcat" is used by command like xdsh that need to know the
service node that will process the command but are not tied to a
specific service like tftp
Todo: Handle dhcpserver and nameserver from the networks table
output: A hash ref of arrays, the key is the service node pointing to
an array of nodes that are serviced by that service node
Globals:
$::ERROR_RC
Error:
$::ERROR_RC=0 no error $::ERROR_RC=1 error
example: $sn =xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes,$service,"MN");
$sn =xCAT::ServiceNodeUtils->get_ServiceNode(\@nodes,$service,"Node");
Note: this rountine is important to hierarchical support in xCAT
and used in many places. Any changes to the logic should be
reviewed by xCAT architecture
=cut
#-----------------------------------------------------------------------------
sub get_ServiceNode
{
require xCAT::Table;
my ($class, $node, $service, $request) = @_;
my @node_list = @$node;
my $cmd;
my %snhash;
my $nodehash;
my $sn;
my $nodehmtab;
my $noderestab;
my $snattribute;
my $oshash;
my $nodetab;
$::ERROR_RC = 0;
# determine if the request is for the service node as known by the MN
# or the node
if ($request eq "MN")
{
$snattribute = "servicenode";
}
else # Node
{
$snattribute = "xcatmaster";
}
# get site.master this will be the default
my $master = xCAT::TableUtils->get_site_Master();
$noderestab = xCAT::Table->new('noderes');
unless ($noderestab) # no noderes table, use default site.master
{
xCAT::MsgUtils->message('I',
"Unable to open noderes table. Using site->Master.\n");
if ($master) # use site Master value
{
foreach my $node (@node_list)
{
push @{$snhash{$master}}, $node;
}
}
else
{
xCAT::MsgUtils->message('E', "Unable to read site Master value.\n");
$::ERROR_RC = 1;
}
return \%snhash;
}
if ($service eq "xcat")
{ # find all service nodes for the nodes in the list
$nodehash = $noderestab->getNodesAttribs(\@node_list, [$snattribute]);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{$snattribute}) # use noderes.servicenode
{
my $key = $rec->{$snattribute};
push @{$snhash{$key}}, $node;
}
else # use site.master
{
push @{$snhash{$master}}, $node;
}
}
}
$noderestab->close;
return \%snhash;
}
else
{
if (
($service eq "tftpserver") # all from noderes table
|| ($service eq "nfsserver") || ($service eq "monserver")
)
{
$nodehash =
$noderestab->getNodesAttribs(\@node_list,
[$service, $snattribute]);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{$service})
{
# see if both MN and Node address in attribute
my ($msattr, $nodeattr) = split ':', $rec->{$service};
my $key = $msattr;
if ($request eq "Node")
{
if ($nodeattr) # override with Node, if it exists
{
$key = $nodeattr;
}
}
push @{$snhash{$key}}, $node;
}
else
{
if ($rec and $rec->{$snattribute}) # if it exists
{
my $key = $rec->{$snattribute};
push @{$snhash{$key}}, $node;
}
else
{ # use site.master
push @{$snhash{$master}}, $node;
}
}
}
}
$noderestab->close;
return \%snhash;
}
else
{
if ($service eq "conserver")
{
# read the nodehm table
$nodehmtab = xCAT::Table->new('nodehm');
unless ($nodehmtab) # no nodehm table
{
xCAT::MsgUtils->message('I',
"Unable to open nodehm table.\n");
# use servicenode
$nodehash =
$noderestab->getNodesAttribs(\@node_list, [$snattribute]);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{$snattribute})
{
my $key = $rec->{$snattribute};
push @{$snhash{$key}}, $node;
}
else
{ # use site.master
push @{$snhash{$master}}, $node;
}
}
}
$noderestab->close;
return \%snhash;
}
# can read the nodehm table
$nodehash =
$nodehmtab->getNodesAttribs(\@node_list, ['conserver']);
foreach my $node (@node_list)
{
foreach my $rec (@{$nodehash->{$node}})
{
if ($rec and $rec->{'conserver'})
{
# see if both MN and Node address in attribute
my ($msattr, $nodeattr) = split ':',
$rec->{'conserver'};
my $key = $msattr;
if ($request eq "Node")
{
if ($nodeattr
) # override with Node, if it exists
{
$key = $nodeattr;
}
}
push @{$snhash{$key}}, $node;
}
else
{ # use service node for this node
$sn =
$noderestab->getNodeAttribs($node,
[$snattribute]);
if ($sn and $sn->{$snattribute})
{
my $key = $sn->{$snattribute};
push @{$snhash{$key}}, $node;
}
else
{ # no service node use master
push @{$snhash{$master}}, $node;
}
}
}
}
$noderestab->close;
$nodehmtab->close;
return \%snhash;
}
else
{
xCAT::MsgUtils->message('E',
"Invalid service=$service input.\n");
$::ERROR_RC = 1;
}
}
}
return \%snhash;
}
#-----------------------------------------------------------------------------
=head3 getSNformattedhash
Will call get_ServiceNode to get the Service node ( name or ipaddress)
as known by the Management
Server or Node for the input nodename or ipadress of the node
It will then format the output into a single servicenode key with values
the list of nodes service by that service node. This routine will
break up pools of service nodes into individual node in the hash unlike
get_ServiceNode which leaves the pool as the key.
input: Same as get_ServiceNode to call get_ServiceNode
list of nodenames and/or node ipaddresses (array ref)
service name
"MN" or "Node" determines if you want the Service node as known
by the Management Node or by the node.
recognized service names: xcat,tftpserver,
nfsserver,conserver,monserver
service "xcat" is used by command like xdsh that need to know the
service node that will process the command but are not tied to a
specific service like tftp
output: A hash ref of arrays, the key is a single service node
pointing to
a list of nodes that are serviced by that service node
'rra000-m'=>['blade01', 'testnode']
'sn1'=>['blade01', 'testnode']
'sn2'=>['blade01']
'sn3'=>['testnode']
Globals:
$::ERROR_RC
Error:
$::ERROR_RC=0 no error $::ERROR_RC=1 error
example: $sn =xCAT::ServiceNodeUtils->getSNformattedhash(\@nodes,$service,"MN", $type);
$sn =xCAT::ServiceNodeUtils->getSNformattedhash(\@nodes,$service,"Node", "primary");
=cut
#-----------------------------------------------------------------------------
sub getSNformattedhash
{
my ($class, $node, $service, $request, $btype) = @_;
my @node_list = @$node;
my $cmd;
my %newsnhash;
my $type="";
if ($btype) {
$type=$btype;
}
# get the values of either the servicenode or xcatmaster attributes
my $sn = xCAT::ServiceNodeUtils->get_ServiceNode(\@node_list, $service, $request);
# get the keys which are the service nodes and break apart any pool lists
# format into individual service node keys pointing to node lists
if ($sn)
{
foreach my $snkey (keys %$sn)
{
# split the key if pool of service nodes
push my @tmpnodes, $sn->{$snkey};
my @nodes;
for my $i (0 .. $#tmpnodes) {
for my $j ( 0 .. $#{$tmpnodes[$i]}) {
my $check=$tmpnodes[$i][$j];
push @nodes,$check;
}
}
# for SN backup we might only want the primary or backup
my @servicenodes;
my ($primary, $backup) = split /,/, $snkey;
if (($primary) && ($type eq "primary")) {
push @servicenodes, $primary;
} elsif (($backup) && ($type eq "backup")) {
push @servicenodes, $backup;
} else {
@servicenodes = split /,/, $snkey;
}
# now build new hash of individual service nodes
foreach my $newsnkey (@servicenodes) {
push @{$newsnhash{$newsnkey}}, @nodes;
}
}
}
return \%newsnhash;
}
#----------------------------------------------------------------------------
=head3 getAIXSNinterfaces
Get a list of ip addresses for each service node in a list
Arguments:
list of service nodes
Returns:
hash of ips for each service node
Globals:
none
Error:
none
Example:
my $sni = xCAT::ServiceNodeUtils->getAIXSNinterfaces(\@servlist, $callback, $subreq);
Comments:
=cut
#-----------------------------------------------------------------------------
sub getAIXSNinterfaces
{
my ($class, $list, $callback, $sub_req) = @_;
my @snlist = @$list;
my %SNinterfaces;
# get all the possible IPs for the node I'm running on
my $ifcmd = "/usr/sbin/ifconfig -a | grep 'inet ' ";
foreach my $sn (@snlist)
{
my $SNIP;
my $out = xCAT::InstUtils->xcmd($callback, $sub_req, "xdsh", $sn, $ifcmd, 0);
if ($::RUNCMD_RC != 0)
{
my $rsp;
push @{$rsp->{data}}, "Could not get IP addresses from service node $sn.\n";
xCAT::MsgUtils->message("E", $rsp, $callback);
next;
}
my @result;
foreach my $line ( split(/\n/, $out)) {
$line =~ s/$sn:\s+//;
push(@result, $line);
}
foreach my $int (@result) {
my ($inet, $SNIP, $str) = split(" ", $int);
chomp $SNIP;
$SNIP =~ s/\/.*//; # ipv6 address 4000::99/64
$SNIP =~ s/\%.*//; # ipv6 address ::1%1/128
push(@{$SNinterfaces{$sn}}, $SNIP);
}
} # end foreach SN
return \%SNinterfaces;
}
#-----------------------------------------------------------------------------
=head3
getSNandCPnodes - Take an array of nodes and returns
an array of the service
nodes and an array of the computenode .
Arguments:
none
Returns:
array of Service Nodes and/or array of compute nodesarray of compute nodes empty array, if none
Globals:
none
Error:
1 - error
Example:
xCAT::ServiceNodeUtils->getSNandCPnodes(\@nodes,\@SN,\@CN);
Comments:
none
=cut
#-----------------------------------------------------------------------------
sub getSNandCPnodes
{
my ($class, $nodes,$sn,$cn) = @_;
my @nodelist = @$nodes;
# get the list of all Service nodes
my @allSN=xCAT::ServiceNodeUtils->getAllSN;
foreach my $node (@nodelist) {
if (grep(/^$node$/, @allSN)) { # it is a SN
push (@$sn,$node);
} else { # a CN
push (@$cn,$node);
}
}
return ;
}
1;
+27 -50
View File
@@ -12,7 +12,9 @@
# -cache to persist so long as '_build_cache' calls concurrently stack (for NodeRange interpretation mainly) (done)
# -Allow plugins to define a staleness threshold for getNodesAttribs freshness (complicated enough to postpone...)
# so that actions requested by disparate managed nodes may aggregate in SQL calls
# reference count managed cache lifetime, if clear_cache is called, and build_chache has been called twice, decrement the counter
# cache lifetime is no longer determined strictly by function duration
# now it can live up to 5 seconds. However, most calls will ignore the cache unless using a special option.
# Hmm, potential issue, getNodesAttribs might return up to 5 second old data even if caller expects brand new data
# if called again, decrement again and clear cache
# for getNodesAttribs, we can put a parameter to request allowable staleneess
# if the cachestamp is too old, build_cache is called
@@ -49,10 +51,7 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -214,9 +213,10 @@ sub init_dbworker {
};
if ($@) { #this should never be reached, but leave it intact just in case
my $err=$@;
xCAT::MsgUtils->message("S","xcatd: possible BUG encountered by xCAT DB worker ".$err);
eval { xCAT::MsgUtils->message("S","xcatd: possible BUG encountered by xCAT DB worker ".$err); };
}
if ($intendedpid != $$) { #avoid redundant fork
eval { xCAT::MsgUtils->message("S","Pid $$ shutting itself down because only pid $intendedpid is permitted to be in this area"); };
exit(0);
}
}
@@ -360,8 +360,6 @@ sub handle_dbc_request {
return $opentables{$tablename}->{$autocommit}->_set_use_cache(@args);
} elsif ($functionname eq '_build_cache') {
return $opentables{$tablename}->{$autocommit}->_build_cache(@args);
} elsif ($functionname eq '_clear_cache') {
return $opentables{$tablename}->{$autocommit}->_clear_cache(@args);
} else {
die "undefined function $functionname";
}
@@ -2093,10 +2091,8 @@ sub getNodesAttribs {
my @nodeentries=$self->getNodeAttribs($_,\@realattribs,%options);
$rethash->{$_} = \@nodeentries; #$self->getNodeAttribs($_,\@attribs);
}
$self->_clear_cache;
$self->{_use_cache} = 0;
if ($self->{tabname} ne 'nodelist') { #avoid calling clear_cache on nodelist twice
$self->{nodelist}->_clear_cache;
if ($self->{tabname} ne 'nodelist') {
$self->{nodelist}->{_use_cache} = 0;
}
return $rethash;
@@ -2123,27 +2119,6 @@ sub _refresh_cache { #if cache exists, force a rebuild, leaving reference counts
return;
}
sub _clear_cache { #PRIVATE FUNCTION TO EXPIRE CACHED DATA EXPLICITLY
#This is no longer sufficient to do at destructor time, as Table objects actually live an indeterminite amount of time now
#TODO: only clear cache if ref count mentioned in build_cache is 1, otherwise decrement ref count
my $self = shift;
if ($dbworkerpid) {
return dbc_call($self,'_clear_cache',@_);
}
if ($self->{_cache_ref} > 1) { #don't clear the cache if there are still live references
$self->{_cache_ref} -= 1;
return;
} elsif ($self->{_cache_ref} == 1) { #If it is 1, decrement to zero and carry on
return;
#$self->{_cache_ref} = 0;
}
#it shouldn't have been zero, but whether it was 0 or 1, ensure that the cache is gone
$self->{_use_cache}=0; # Signal slow operation to any in-flight operations that may fail with empty cache
$self->{_cached_attriblist} = undef;
undef $self->{_tablecache};
undef $self->{_nodecache};
}
sub _build_cache { #PRIVATE FUNCTION, PLEASE DON'T CALL DIRECTLY
#TODO: increment a reference counter type thing to preserve current cache
#Also, if ref count is 1 or greater, and the current cache is less than 3 seconds old, reuse the cache?
@@ -2159,10 +2134,6 @@ sub _build_cache { #PRIVATE FUNCTION, PLEASE DON'T CALL DIRECTLY
}
if (not $refresh and $self->{_cache_ref}) { #we have active cache reference, increment counter and return
#TODO: ensure that the cache isn't somehow still ludirously old
unless ($copts{noincrementref}) {
$self->{_cache_ref} += 1;
}
my $currattr;
my $cachesufficient=1;
foreach $currattr (@$attriblist) { #if any of the requested attributes are not cached, we must rebuild
@@ -2174,6 +2145,7 @@ sub _build_cache { #PRIVATE FUNCTION, PLEASE DON'T CALL DIRECTLY
if ($self->{_cachestamp} < (time()-5)) { #NEVER use a cache older than 5 seconds
$cachesufficient=0;
}
if ($cachesufficient) { return; }
#cache is insufficient, now we must do the converse of above
#must add any currently cached columns to new list if not requested
@@ -2929,7 +2901,9 @@ sub getAllAttribsWhere
Arguments:
Table handle
Attribute list
Attribute list
optional hash return style
( changes the return hash structure format)
Returns:
Array of attribute values
Globals:
@@ -2937,7 +2911,8 @@ sub getAllAttribsWhere
Error:
Example:
my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']);
my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']);
my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch'],1);
Comments:
none
@@ -2976,8 +2951,6 @@ sub getAllNodeAttribs
unless ($options{prefetchcache}) {
$self->{_use_cache} = 0;
$self->{nodelist}->{_use_cache}=0;
$self->_clear_cache();
$self->{nodelist}->_clear_cache();
}
$self->_build_cache($attribq);
$self->{nodelist}->_build_cache(['node','groups']);
@@ -3031,11 +3004,8 @@ sub getAllNodeAttribs
}
}
}
$self->_clear_cache();
$self->{nodelist}->_clear_cache();
$self->{_use_cache} = 0;
$self->{nodelist}->{_use_cache} = 0;
xCAT::NodeRange::retain_cache(0);
$query->finish();
if ($hashretstyle) {
return $rethash;
@@ -3151,11 +3121,18 @@ sub getAllAttribs
Error:
Example:
my $table=xCAT::Table->new("notification", -create => 1,-autocommit => 0);
my %key_col = (filename=>$fname);
$table->delEntries(\%key_col);
$table->commit;
my $table=xCAT::Table->new("nodelist");
my %keyhash;
$keyhash{node} = "node1";
$keyhash{groups} = "compute1";
$table->delEntries(\%keyhash);
$table->commit;
Build delete statement and'ing the elements of the hash
DELETE FROM nodelist WHERE ("groups" = "compute1" AND "node" = "node1")
If called with no attributes, it will delete all entries in the table.
$table->delEntries();
$table->commit;
Comments:
none
@@ -3292,7 +3269,7 @@ sub getAttribs
{
#Takes two arguments:
#-Node name (will be compared against the 'Node' column)
#-Key(s) name (will be compared against the table key(s) value)
#-List reference of attributes for which calling code wants at least one of defined
# (recurse argument intended only for internal use.)
# Returns a hash reference with requested attributes defined.
@@ -3922,7 +3899,7 @@ sub writeAllEntries
# open the file for write
unless (open($fh," > $filename")) {
my $msg="Unable to open $filename for write \n.";
`logger -t xcat $msg`;
`logger -p local4.err -t xcat $msg`;
return 1;
}
my $query;
@@ -4007,7 +3984,7 @@ sub writeAllAttribsWhere
# open the file for write
unless (open($fh," > $filename")) {
my $msg="Unable to open $filename for write \n.";
`logger -t xcat $msg`;
`logger -p local4.err -t xcat $msg`;
return 1;
}
my $header;
File diff suppressed because it is too large Load Diff
+15 -33
View File
@@ -36,7 +36,7 @@ my %usage = (
LPAR(using Direct FSP Management) specific:
rpower <noderange> [on|off|reset|stat|state|boot|of|sms]
Blade(using Direct FSP Management) specific:
rpower <noderange> [on|onstandby|off|cycle|state|sms]
rpower <noderange> [on|off|cycle|state]
Blade(using AMM) specific:
rpower <noderange> [cycle|softoff] [-V|--verbose]
zVM specific:
@@ -90,7 +90,7 @@ my %usage = (
"rbootseq" =>
"Usage:
Common:
rbootseq [-h|--help|-v|--version]
rbootseq [-h|--help|-v|--version|-V|--verbose]
Blade specific:
rbootseq <noderange> [hd0|hd1|hd2|hd3|net|iscsi|usbflash|floppy|none],...
PPC (using Direct FSP Management) specific:
@@ -101,7 +101,7 @@ my %usage = (
"rspconfig" =>
"Usage:
Common:
rspconfig [-h|--help|-v|--version]
rspconfig [-h|--help|-v|--version|-V|--verbose]
BMC/MPA Common:
rspconfig <noderange> [snmpdest|alert|community] [-V|--verbose]
rspconfig <noderange> [snmpdest=<dest ip address>|alert=<on|off|en|dis|enable|disable>|community=<string>]
@@ -115,7 +115,7 @@ my %usage = (
rspconfig <noderange> [sshcfg|snmpcfg|pd1|pd2|network|swnet|ntp|textid|frame]
rspconfig <singlenode> [textid=name]
rspconfig <singlenode> [frame=number]
rspconfig <singlenode> [USERID=passwd]
rspconfig <singlenode> [USERID=passwd] [updateBMC=<y|n>]
rspconfig <noderange> [sshcfg=<enable|disable>|
snmpcfg=<enable|disable>|
pd1=<nonred|redwoperf|redwperf>|
@@ -261,8 +261,8 @@ my %usage = (
rmvm [-p] [-f]",
"lsslp" =>
"Usage: lsslp [-h|--help|-v|--version]
lsslp [<noderange>][-V|--verbose][-i ip[,ip..]][-w][-r|-x|-z][-n][-I][-s FRAME|CEC|MM|IVM|RSA|HMC|CMM|IMM2|FSP]
[-u][--range IPranges][-t tries][--vpdtable][-C counts][-T timeout]",
lsslp [<noderange>][-V|--verbose][-i ip[,ip..]][-w][-r|-x|-z][-n][-I][-s FRAME|CEC|MM|IVM|RSA|HMC|CMM]
[-t tries][--vpdtable][-C counts][-T timeout][--flexdiscover]",
"rflash" =>
"Usage:
rflash [ -h|--help|-v|--version]
@@ -272,7 +272,7 @@ my %usage = (
PPC (using Direct FSP Management) specific:
rflash <noderange> -p <rpm_directory> --activate <disruptive|deferred> [-d <data_directory>]
rflash <noderange> [--commit | --recover] [-V|--verbose]
rflash <noderange> [--bpa_acdl]",
rflash <noderange> [--bpa_acdl]",
"mkhwconn" =>
"Usage:
mkhwconn [-h|--help]
@@ -317,34 +317,17 @@ my %usage = (
renergy noderange [-V] { all | { [savingstatus] [dsavingstatus] [cappingstatus] [cappingmaxmin] [cappingvalue] [cappingsoftmin] [averageAC] [averageDC] [ambienttemp] [exhausttemp] [CPUspeed] [syssbpower] [sysIPLtime] [fsavingstatus] [ffoMin] [ffoVmin] [ffoTurbo] [ffoNorm] [ffovalue] } }
renergy noderange [-V] { {savingstatus}={on | off} | {dsavingstatus}={on-norm | on-maxp | off} | {fsavingstatus}={on | off} | {ffovalue}=MHZ | {cappingstatus}={on | off} | {cappingwatt}=watt | {cappingperc}=percentage }
BladeCenter specific :
For Management Modules:
renergy noderange [-V] { all | pd1all | pd2all | [pd1status] [pd2status] [pd1policy] [pd2policy] [pd1powermodule1] [pd1powermodule2] [pd2powermodule1] [pd2powermodule2] [pd1avaiablepower] [pd2avaiablepower] [pd1reservedpower] [pd2reservedpower] [pd1remainpower] [pd2remainpower] [pd1inusedpower] [pd2inusedpower] [availableDC] [averageAC] [thermaloutput] [ambienttemp] [mmtemp] }
For a blade server nodes:
renergy noderange [-V] { all | [averageDC] [capability] [cappingvalue] [CPUspeed] [maxCPUspeed] [savingstatus] [dsavingstatus] }
renergy noderange [-V] { savingstatus={on | off} | dsavingstatus={on-norm | on-maxp | off} }
Flex specific :
For Flex Management Modules:
renergy noderange [-V] { all | [powerstatus] [powerpolicy] [powermodule] [avaiablepower] [reservedpower] [remainpower] [inusedpower] [availableDC] [averageAC] [thermaloutput] [ambienttemp] [mmtemp] }
For Flex node (power and x86):
renergy noderange [-V] { all | [averageDC] [capability] [cappingvalue] [cappingmaxmin] [cappingmax] [cappingmin] [cappingGmin] [CPUspeed] [maxCPUspeed] [savingstatus] [dsavingstatus] }
renergy noderange [-V] { cappingstatus={on | off} | cappingwatt=watt | cappingperc=percentage | savingstatus={on | off} | dsavingstatus={on-norm | on-maxp | off} }
iDataPlex specific :
renergy noderange [-V] [ { cappingmaxmin | cappingmax | cappingmin } ] [cappingstatus] [cappingvalue] [relhistogram]
renergy noderange [-V] { cappingstatus={on | enable | off | disable} | {cappingwatt|cappingvalue}=watt }",
Blade specific :
renergy noderange [-V] { all | pd1all | pd2all | { [pd1status] [pd2status] [pd1policy] [pd2policy] [pd1powermodule1] [pd1powermodule2] [pd2powermodule1] [pd2powermodule2] [pd1avaiablepower] [pd2avaiablepower] [pd1reservedpower] [pd2reservedpower] [pd1remainpower] [pd2remainpower] [pd1inusedpower] [pd2inusedpower] [availableDC] [averageAC] [thermaloutput] [ambienttemp] [mmtemp] } }
renergy noderange [-V] { all | { [averageDC] [capability] [cappingvalue] [CPUspeed] [maxCPUspeed] [savingstatus] [dsavingstatus] } }
renergy noderange [-V] { {savingstatus}={on | off} | {dsavingstatus}={on-norm | on-maxp | off} }",
"updatenode" =>
"Usage:
updatenode [-h|--help|-v|--version]
or
updatenode <noderange> [-V|--verbose] [-k|--security] [-s|--sn]
or
updatenode <noderange> [-V|--verbose] [-k|--security] [--user]
[--devicetype]
or
updatenode <noderange> [-V|--verbose] [-F|--sync | -f|--snsync] [-S|--sw]
updatenode <noderange> [-V|--verbose] [-F|--sync | -f|--snsync] [-l|--user[username]] [-S|--sw]
[-P|--scripts [script1,script2,...]] [-s|--sn]
[-A|--updateallsw] [-c|--cmdlineonly] [-d alt_source_dir]
[attr=val [attr=val...]]
@@ -357,13 +340,12 @@ Options:
[-k|--security] Update the security keys and certificates for the
target nodes.
[-k|--security] [--user] [--devicetype] Update the ssh keys for
specific device.
[-F|--sync] Perform File Syncing.
[-f|--snsync] Performs File Syncing to the service nodes that service
the nodes in the noderange.
[-l|--user] User name to run the updatenode command. It overrides the
current user which is the default.
[-S|--sw] Perform Software Maintenance.
@@ -399,7 +381,7 @@ Options:
"Usage:
Common:
nodeset [-h|--help|-v|--version]
nodeset <noderange> [install|shell|boot|runcmd=bmcsetup|netboot|iscsiboot|osimage=<imagename>|statelite|offline]",
nodeset <noderange> [install|shell|boot|runcmd=bmcsetup|netboot|iscsiboot|osimage[=<imagename>]|statelite|offline]",
"rmflexnode" =>
"Usage:
rmflexnode [-h|--help|-v|--version]
+273 -3759
View File
File diff suppressed because it is too large Load Diff
+2 -5
View File
@@ -10,10 +10,7 @@ BEGIN
# if AIX - make sure we include perl 5.8.2 in INC path.
# Needed to find perl dependencies shipped in deps tarball.
if ($^O =~ /^aix/i) {
use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/5.8.2";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi";
use lib "/usr/opt/perl5/lib/site_perl/5.8.2";
unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2));
}
use lib "$::XCATROOT/lib/perl";
@@ -41,7 +38,7 @@ use strict;
sub Version
{
#The following tag tells the build script where to append build info
#The following tags tells the build script where to append build info
my $version = shift;
if ($version eq 'short')
{
+22 -2
View File
@@ -18,9 +18,24 @@ sub localize_yumrepo {
$installpfx = "$installroot/$distname/$arch";
mkpath("$installroot/postscripts/repos/$distname/$arch/");
open($yumrepofile,">","$installroot/postscripts/repos/$distname/$arch/local-repository.tmpl");
find(\&check_tofix,$installpfx);
close($yumrepofile);
my %options=(
wanted => \&check_tofix,
follow_fast => 1
);
find(\%options,$installpfx);
close($yumrepofile);
}
sub remove_yumrepo {
my $self = shift;
my $installroot = shift;
$distname = shift;
$arch = shift;
rmtree("$installroot/postscripts/repos/$distname/$arch/");
}
sub check_tofix {
if (-d $File::Find::name and $File::Find::name =~ /\/repodata$/) {
if($distname =~ /rhels5/)
@@ -29,7 +44,12 @@ sub check_tofix {
}
generate_repo($File::Find::name);
}
elsif($File::Find::name =~ /\/RPM-GPG-KEY/){
qx(rpm --import $File::Find::name);
}
}
sub generate_repo
{
#write local-repository.tmpl
+13 -15
View File
@@ -1,9 +1,10 @@
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
# You can get copycds to recognize new distro DVDs/ISOs (so that you do not have to specify -n and -a)
# by adding the disc ids to the %distnames hash below. Follow the syntax carefully.
# Reload xcatd to have it take affect (service xcatd reload).
package xCAT::data::discinfo;
#BEGIN
#{
# $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
#}
require Exporter;
@ISA=qw(Exporter);
@@ -11,11 +12,10 @@ require Exporter;
@EXPORT_OK=qw(distnames numdiscs);
%distnames = (
"1310229985.226287" => "centos6",
"1323560292.885204" => "centos6.2",
"1341569670.539525" => "centos6.3",#x86
"1176234647.982657" => "centos5",
"1156364963.862322" => "centos4.4",
"1178480581.024704" => "centos4.5",
@@ -25,6 +25,7 @@ require Exporter;
"1214240246.285059" => "centos5.2",
"1237641529.260981" => "centos5.3",
"1272326751.405938" => "centos5.5",
"1330913492.861127" => "centos5.8",#x86_64
"1195488871.805863" => "centos4.6",
"1195487524.127458" => "centos4.6",
"1301444731.448392" => "centos5.6",
@@ -43,18 +44,20 @@ require Exporter;
"1269262918.904535" => "rhels5.5", #ppc
"1269260915.992102" => "rhels5.5", #i386
"1269263646.691048" => "rhels5.5", #x86_64
"1328205744.315196" => "rhels5.8", #x86_64
"1285193176.460470" => "rhels6", #x86_64
"1285192093.430930" => "rhels6", #ppc64
"1305068199.328169" => "rhels6.1", #x86_64
"1305067911.467189" => "rhels6.1", #ppc64
"1321546114.510099" => "rhels6.2", #x86_64
"1321546739.676170" => "rhels6.2", #ppc64
"1339641244.734735" => "rhels6.3", #ppc64
"1339641244.734735" => "rhels6.3", #ppc64
"1339640147.274118" => "rhels6.3", #x86_64
"1339638991.532890" => "rhels6.3", #i386
"1359576752.435900" => "rhels6.4", #x86_64
"1359576196.686790" => "rhels6.4", #ppc64
"1285193176.593806" => "rhelhpc6",
"1285193176.593806" => "rhelhpc6", #x86_64
"1305067719.718814" => "rhelhpc6.1",#x86_64
"1321545261.599847" => "rhelhpc6.2",#x86_64
"1339640148.070971" => "rhelhpc6.3",#x86_64
"1194015916.783841" => "fedora8",
"1194015385.299901" => "fedora8",
"1210112435.291709" => "fedora9",
@@ -80,9 +83,4 @@ my %numdiscs = (
);
#sub handled_commands
#{
# return;
#};
1;
+1 -1
View File
@@ -14,7 +14,7 @@ package xCAT::hpoa;
use strict;
use SOAP::Lite;
#use SOAP::Lite; # hpblade.pm requires SOAP::Lite before requiring hpoa.pm, so we can check for SOAP::Lite dynamically
use vars qw(@ISA);
@ISA = qw(SOAP::Lite);
+296 -80
View File
@@ -1,4 +1,4 @@
# IBM(c) 2012 EPL license http://www.eclipse.org/legal/epl-v10.html
# IBM(c) 2013 EPL license http://www.eclipse.org/legal/epl-v10.html
#-------------------------------------------------------
=head1
@@ -19,7 +19,8 @@ use warnings;
=head3 getUserId
Description : Get the user ID of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : UserID
Example : my $userID = xCAT::zvmCPUtils->getUserId($node);
@@ -29,10 +30,15 @@ use warnings;
sub getUserId {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get user ID using VMCP
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q userid"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q userid"`;
my @results = split( ' ', $out );
return ( $results[0] );
@@ -43,7 +49,8 @@ sub getUserId {
=head3 getHost
Description : Get the z/VM host of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : z/VM host
Example : my $host = xCAT::zvmCPUtils->getHost($node);
@@ -53,10 +60,15 @@ sub getUserId {
sub getHost {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get host using VMCP
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q userid"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q userid"`;
my @results = split( ' ', $out );
my $host = $results[2];
@@ -68,7 +80,8 @@ sub getHost {
=head3 getPrivileges
Description : Get the privilege class of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Privilege class
Example : my $class = xCAT::zvmCPUtils->getPrivileges($node);
@@ -78,10 +91,15 @@ sub getHost {
sub getPrivileges {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get privilege class
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q priv"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q priv"`;
my @out = split( '\n', $out );
$out[1] = xCAT::zvmUtils->trimStr( $out[1] );
$out[2] = xCAT::zvmUtils->trimStr( $out[2] );
@@ -95,7 +113,8 @@ sub getPrivileges {
=head3 getMemory
Description : Get the memory of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Memory
Example : my $memory = xCAT::zvmCPUtils->getMemory($node);
@@ -105,21 +124,29 @@ sub getPrivileges {
sub getMemory {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get memory
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual storage"`;
my @out = split( '=', $out );
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual storage"`;
my @out = split( ' ', $out );
return ( xCAT::zvmUtils->trimStr( $out[1] ) );
return ( xCAT::zvmUtils->trimStr( $out[2] ) );
}
#-------------------------------------------------------
=head3 getCpu
Description : Get the processor(s) of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Processor(s)
Example : my $proc = xCAT::zvmCPUtils->getCpu($node);
@@ -129,10 +156,15 @@ sub getMemory {
sub getCpu {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get processors
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual cpus"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual cpus"`;
my $str = xCAT::zvmUtils->tabStr($out);
return ($str);
@@ -143,7 +175,8 @@ sub getCpu {
=head3 getNic
Description : Get the network interface card (NIC) of a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : NIC(s)
Example : my $nic = xCAT::zvmCPUtils->getNic($node);
@@ -153,10 +186,15 @@ sub getCpu {
sub getNic {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get NIC
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual nic"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual nic"`;
my $str = xCAT::zvmUtils->tabStr($out);
return ($str);
@@ -167,7 +205,8 @@ sub getNic {
=head3 getNetworkNames
Description : Get a list of network names available to a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Network names
Example : my $lans = xCAT::zvmCPUtils->getNetworkNames($node);
@@ -177,10 +216,15 @@ sub getNic {
sub getNetworkNames {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get network names
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q lan | egrep 'LAN|VSWITCH'"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan | egrep 'LAN|VSWITCH'"`;
my @lines = split( '\n', $out );
my @parms;
my $names;
@@ -213,7 +257,8 @@ sub getNetworkNames {
=head3 getNetworkNamesArray
Description : Get an array of network names available to a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Array of networks names
Example : my @networks = xCAT::zvmCPUtils->getNetworkNamesArray($node);
@@ -223,12 +268,17 @@ sub getNetworkNames {
sub getNetworkNamesArray {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my @networks;
my %netHash;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get the networks used by the node
my $out = `ssh $node "vmcp q v nic" | egrep -i "VSWITCH|LAN"`;
my $out = `ssh $user\@$node "$sudo /sbin/vmcp q v nic" | egrep -i "VSWITCH|LAN"`;
my @lines = split( '\n', $out );
# Loop through each line
@@ -264,7 +314,8 @@ sub getNetworkNamesArray {
=head3 getNetwork
Description : Get the network info for a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Network name
Returns : Network configuration
Example : my $config = xCAT::zvmCPUtils->getNetwork($node, $netName);
@@ -275,14 +326,19 @@ sub getNetworkNamesArray {
sub getNetwork {
# Get inputs
my ( $class, $node, $netName ) = @_;
my ( $class, $user, $node, $netName ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get network info
my $out;
if ( $netName eq "all" ) {
$out = `ssh -o ConnectTimeout=5 $node "vmcp q lan"`;
$out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan"`;
} else {
$out = `ssh -o ConnectTimeout=5 $node "vmcp q lan $netName"`;
$out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan $netName"`;
}
return ($out);
@@ -293,7 +349,8 @@ sub getNetwork {
=head3 getDisks
Description : Get the disk(s) of given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Disk(s)
Example : my $storage = xCAT::zvmCPUtils->getDisks($node);
@@ -303,10 +360,15 @@ sub getNetwork {
sub getDisks {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get disks
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q virtual dasd"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q virtual dasd"`;
my $str = xCAT::zvmUtils->tabStr($out);
return ($str);
@@ -317,7 +379,8 @@ sub getDisks {
=head3 loadVmcp
Description : Load Linux VMCP module on a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Nothing
Example : xCAT::zvmCPUtils->loadVmcp($node);
@@ -327,10 +390,15 @@ sub getDisks {
sub loadVmcp {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Load Linux VMCP module
my $out = `ssh -o ConnectTimeout=5 $node "modprobe vmcp"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/modprobe vmcp"`;
return;
}
@@ -339,7 +407,8 @@ sub loadVmcp {
=head3 getVswitchId
Description : Get the VSwitch ID(s) of given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : VSwitch ID(s)
Example : my @vswitch = xCAT::zvmCPUtils->getVswitchId($node);
@@ -349,10 +418,15 @@ sub loadVmcp {
sub getVswitchId {
# Get inputs
my ( $class, $node ) = @_;
my ( $class, $user, $node ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get VSwitch
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q v nic" | grep "VSWITCH"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q v nic" | grep "VSWITCH"`;
my @lines = split( '\n', $out );
my @parms;
my @vswitch;
@@ -369,7 +443,8 @@ sub getVswitchId {
=head3 grantVSwitch
Description : Grant VSwitch access for a given userID
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
User ID
VSWITCH ID
Returns : Operation results (Done/Failed)
@@ -381,15 +456,23 @@ sub getVswitchId {
sub grantVSwitch {
# Get inputs
my ( $class, $callback, $hcp, $userId, $vswitchId ) = @_;
my ( $class, $callback, $user, $hcp, $userId, $vswitchId ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Grant VSwitch for specified userID
my $out = `ssh $hcp "vmcp set vswitch $vswitchId grant $userId"`;
# Use SMAPI EXEC
my $out = `ssh $user\@$hcp "$sudo $dir/smcli Virtual_Network_Vswitch_Set -T SYSTEM -n $vswitchId -I $userId"`;
$out = xCAT::zvmUtils->trimStr($out);
# If return string contains 'Command complete' - Operation was successful
# If return string contains 'Done' - Operation was successful
my $retStr;
if ( $out =~ m/Command complete/i ) {
if ( $out =~ m/Done/i ) {
$retStr = "Done\n";
} else {
$retStr = "Failed\n";
@@ -403,12 +486,15 @@ sub grantVSwitch {
=head3 flashCopy
Description : Flash copy (Class B users only)
Arguments : Node
Description : Flash copy
Arguments : User (root or non-root)
zHCP
Source userId
Source address
Target userId
Target address
Returns : Operation results (Done/Failed)
Example : my $results = xCAT::zvmCPUtils->flashCopy($node, $srcAddr, $targetAddr);
Example : my $results = xCAT::zvmCPUtils->flashCopy($user, $hcp, $srcAddr, $targetAddr);
=cut
@@ -416,19 +502,78 @@ sub grantVSwitch {
sub flashCopy {
# Get inputs
my ( $class, $node, $srcAddr, $tgtAddr ) = @_;
my ( $class, $user, $hcp, $srcAddr, $tgtAddr ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Flash copy
my $out = `ssh $node "vmcp flashcopy $srcAddr 0 end to $tgtAddr 0 end synchronous"`;
# Flash copy using CP
my $out = `ssh $user\@$hcp "$sudo /sbin/vmcp flashcopy $srcAddr 0 end to $tgtAddr 0 end synchronous"`;
$out = xCAT::zvmUtils->trimStr($out);
# If return string contains 'Command complete' - Operation was successful
my $retStr = "";
if ( $out =~ m/Command complete/i ) {
$retStr = "Done\n";
$retStr = "Copying data via CP FLASHCOPY... Done\n";
} else {
$out = xCAT::zvmUtils->tabStr($out);
$retStr = "Failed\n$out";
$retStr = "Copying data via CP FLASHCOPY... Failed\n$out";
}
return $retStr;
}
#-------------------------------------------------------
=head3 smapiFlashCopy
Description : Flash copy using SMAPI
Arguments : User (root or non-root)
zHCP
Source userId
Source address
Target userId
Target address
Returns : Operation results (Done/Failed)
Example : my $results = xCAT::zvmCPUtils->smapiFlashCopy($user, $node, $srcId, $srcAddr, $tgtId, $targetAddr);
=cut
#-------------------------------------------------------
sub smapiFlashCopy {
# Get inputs
my ( $class, $user, $hcp, $srcId, $srcAddr, $tgtId, $tgtAddr ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
my $hcpUserId = xCAT::zvmCPUtils->getUserId($user, $hcp);
# Use SMAPI EXEC to flash copy
my $cmd = '\"' . "CMD=FLASHCOPY $srcId $srcAddr 0 END $tgtId $tgtAddr 0 END" . '\"';
my $out = `ssh $user\@$hcp "$sudo $dir/smcli xCAT_Commands_IUO -T $hcpUserId -c $cmd"`;
$out = xCAT::zvmUtils->trimStr($out);
# If return string contains 'Done' - Operation was successful
my $retStr = "";
if ( $out =~ m/Done/i ) {
$retStr = "Copying data via SMAPI FLASHCOPY... Done\n";
} else {
$out = xCAT::zvmUtils->tabStr($out);
$retStr = "Copying data via SMAPI FLASHCOPY... $out";
}
return $retStr;
@@ -439,7 +584,8 @@ sub flashCopy {
=head3 punch2Reader
Description : Write file to z/VM punch and transfer it to reader
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
UserID to receive file
Source file
Target file to be created by punch (e.g. sles.parm)
@@ -451,11 +597,29 @@ sub flashCopy {
#-------------------------------------------------------
sub punch2Reader {
my ( $class, $hcp, $userId, $srcFile, $tgtFile, $options ) = @_;
my ( $class, $user, $hcp, $userId, $srcFile, $tgtFile, $options ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get source node OS
my $os = xCAT::zvmUtils->getOsVersion($user, $hcp);
# Punch to reader
my $out = `ssh -o ConnectTimeout=5 $hcp "vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
# VMUR located in different directories on RHEL and SLES
my $out;
if ( $os =~ m/sles10/i ) {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
} elsif ( $os =~ m/sles11/i ) {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /usr/sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
} elsif ( $os =~ m/rhel/i ) {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /usr/sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
} else {
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /usr/sbin/vmur punch $options -u $userId -r $srcFile -N $tgtFile"`;
}
# If punch is successful -- Look for this string
my $searchStr = "created and transferred";
if ( !( $out =~ m/$searchStr/i ) ) {
@@ -471,8 +635,9 @@ sub punch2Reader {
=head3 purgeReader
Description : Purge reader (Class D users only)
Arguments : HCP node
Description : Purge reader
Arguments : User (root or non-root)
zHCP
UserID to purge reader
Returns : Nothing
Example : my $rc = xCAT::zvmCPUtils->purgeReader($hcp, $userId);
@@ -481,12 +646,28 @@ sub punch2Reader {
#-------------------------------------------------------
sub purgeReader {
my ( $class, $hcp, $userId ) = @_;
my ( $class, $user, $hcp, $userId ) = @_;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
my $out;
if (xCAT::zvmUtils->smapi4xcat($user, $hcp)) {
# Use SMAPI EXEC to purge reader
my $cmd = '\"' . "CMD=PURGE $userId RDR ALL" . '\"';
$out = `ssh $user\@$hcp "$sudo $dir/smcli xCAT_Commands_IUO -T $userId -c $cmd"`;
} else {
# Purge reader using CP
$out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /sbin/vmcp purge $userId rdr all"`;
}
# Purge reader
my $out = `ssh -o ConnectTimeout=5 $hcp "vmcp purge $userId rdr all"`;
return;
$out = xCAT::zvmUtils->trimStr($out);
return $out;
}
#-------------------------------------------------------
@@ -494,7 +675,8 @@ sub purgeReader {
=head3 sendCPCmd
Description : Send CP command to a given userID (Class C users only)
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
UserID to send CP command
Returns : Nothing
Example : xCAT::zvmCPUtils->sendCPCmd($hcp, $userId, $cmd);
@@ -503,11 +685,27 @@ sub purgeReader {
#-------------------------------------------------------
sub sendCPCmd {
my ( $class, $hcp, $userId, $cmd ) = @_;
my ( $class, $user, $hcp, $userId, $cmd ) = @_;
# Send CP command to given userID
my $out = `ssh $hcp "vmcp send cp $userId $cmd"`;
# Directory where executables are
my $dir = '/opt/zhcp/bin';
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
my $out;
if (xCAT::zvmUtils->smapi4xcat($user, $hcp)) {
# Use SMAPI EXEC to send command
$cmd = '\"' . "CMD=SEND CP $userId " . uc($cmd) . '\"';
$out = `ssh $user\@$hcp "$sudo $dir/smcli xCAT_Commands_IUO -T $userId -c $cmd"`;
} else {
# Send CP command to given user
$out = `ssh $user\@$hcp "$sudo /sbin/vmcp send cp $userId $cmd"`;
}
$out = xCAT::zvmUtils->trimStr($out);
return;
}
@@ -516,7 +714,8 @@ sub sendCPCmd {
=head3 getNetworkLayer
Description : Get the network layer for a given node
Arguments : Node
Arguments : User (root or non-root)
Node
Network name
Returns : 2 - Layer 2
3 - Layer 3
@@ -527,15 +726,20 @@ sub sendCPCmd {
#-------------------------------------------------------
sub getNetworkLayer {
my ( $class, $node, $netName ) = @_;
my ( $class, $user, $node, $netName ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Exit if the network name is not given
if ( !$netName ) {
return -1;
}
# Get network type (Layer 2 or 3)
my $out = `ssh -o ConnectTimeout=5 $node "vmcp q lan $netName"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp q lan $netName"`;
if ( !$out ) {
return -1;
}
@@ -559,7 +763,8 @@ sub getNetworkLayer {
=head3 getNetworkType
Description : Get the network type of a given network
Arguments : HCP node
Arguments : User (root or non-root)
zHCP
Name of network
Returns : Network type (VSWITCH/HIPERS/QDIO)
Example : my $netType = xCAT::zvmCPUtils->getNetworkType($hcp, $netName);
@@ -568,10 +773,15 @@ sub getNetworkLayer {
#-------------------------------------------------------
sub getNetworkType {
my ( $class, $hcp, $netName ) = @_;
my ( $class, $user, $hcp, $netName ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Get network details
my $out = `ssh -o ConnectTimeout=5 $hcp "vmcp q lan $netName" | grep "Type"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$hcp "$sudo /sbin/vmcp q lan $netName" | grep "Type"`;
# Go through each line and determine network type
my @lines = split( '\n', $out );
@@ -602,7 +812,8 @@ sub getNetworkType {
=head3 defineCpu
Description : Add processor(s) to given node
Arguments : Node
Arguments : User (root or non-root)
Node
Returns : Nothing
Example : my $out = xCAT::zvmCPUtils->defineCpu($node, $addr, $type);
@@ -612,10 +823,15 @@ sub getNetworkType {
sub defineCpu {
# Get inputs
my ( $class, $node, $addr, $type ) = @_;
my ( $class, $user, $node, $addr, $type ) = @_;
my $sudo = "sudo";
if ($user eq "root") {
$sudo = "";
}
# Define processor(s)
my $out = `ssh -o ConnectTimeout=5 $node "vmcp define cpu $addr type $type"`;
my $out = `ssh -o ConnectTimeout=5 $user\@$node "$sudo /sbin/vmcp define cpu $addr type $type"`;
return ($out);
}
+1035 -122
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
xcat-ibmhpc (2.8.0-1) stable; urgency=low
* Initial Release
-- OCF xCAT <xcat@ocf.co.uk> Tue, 03 Apr 2012 09:00:00 -0000
+1
View File
@@ -0,0 +1 @@
5
+15
View File
@@ -0,0 +1,15 @@
Source: xcat-ibmhpc
Section: admin
Priority: extra
Maintainer: Arif Ali <aali@ocf.co.uk>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2
Package: xcat-ibmhpc
Architecture: all
Depends: ${perl:Depends}, perl-xcat (>= 2.8.0), xcat-client (>= 2.8.0)
Description: Install and configuration utilities for IBM HPC products in an xCAT cluster
xCAT-IBMhpc provides sample installation and configuration scripts for running
the IBM HPC software stack in an xCAT cluser. Support for the following IBM
products is provided: GPFS, LoadLeveler, Parallel Environment, ESSL and Parallel
ESSL libraries, some compilers (vac, xlC, xlf).
+88
View File
@@ -0,0 +1,88 @@
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
+8
View File
@@ -0,0 +1,8 @@
opt/xcat/share/xcat/IBMhpc/compilers
opt/xcat/share/xcat/IBMhpc/essl
opt/xcat/share/xcat/IBMhpc/gpfs
opt/xcat/share/xcat/IBMhpc/loadl
opt/xcat/share/xcat/IBMhpc/pe
opt/xcat/share/xcat/IBMhpc/rsct
opt/xcat/share/xcat/IBMhpc/compilers
opt/xcat/share/doc/packages/xCAT-IBMhpc
+1
View File
@@ -0,0 +1 @@
LICENSE.html
+2
View File
@@ -0,0 +1,2 @@
share/xcat/IBMhpc/* opt/xcat/share/xcat/IBMhpc/
LICENSE.html share/doc/packages/xCAT-IBMhpc/
+70
View File
@@ -0,0 +1,70 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_COMPAT=5
build:
pwd
dh_quilt_patch
clean:
dh_testdir
dh_testroot
dh_clean -d
install:
pwd
dh_testdir
dh_testroot
dh_installdirs
dh_install -X".svn"
dh_link
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch:
pwd
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
# dh_installexamples
dh_install -X".svn"
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
# dh_link
# dh_strip
dh_compress
# dh_fixperms
dh_perl
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
+1
View File
@@ -0,0 +1 @@
1.0
@@ -0,0 +1,7 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist#
@@ -0,0 +1,5 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.ppc64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist#
@@ -0,0 +1,4 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.ppc64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhels6.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist#
@@ -0,0 +1,62 @@
#!/bin/sh
# Sample postinstall script for building a diskless SLES11 PPC64 image
# with all IBM HPC products
#
#-- this script is run after all packages from $profile.pkglist are installed
#--
#-- it gets these arguments:
#--
#-- $1 = install root (chroot directory for profile)
#-- $2 = OS version
#-- $3 = architecture
#-- $4 = profile name
#-- $5 = work dir (where genimage is located)
#--
#--
installroot=$1
osver=$2
arch=$3
profile=$4
workdir=$5
otherpkgs=/install/post/otherpkgs/$osver/$arch
################
# This script runs other postinstall scripts from the $hpc directory
# If you have created a custom copy of ANY of these scripts,
# make sure to change the execution path from $hpc/<product> to the location
# you have placed your script in
###############
hpc=/opt/xcat/share/xcat/IBMhpc
custom=/install/custom/netboot/rh
installps=/install/postscripts
# Run default postinstall shipped with xcat
/opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall $1 $2 $3 $4 $5
# Run general IBMhpc postinstall script
$hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5
# Run script to install gpfs updates
installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates
# Run script to update GPFS mmsdrfs file in the image
installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs
# Run script to accept compiler license
installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license
# Run script to install PE and accept license
installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install-1200
# Run script to accept LoadLeveler license, install product rpms,
# and do some config
installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install-5103
# Run script to install RSCT rpms
installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install
@@ -0,0 +1,7 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist#
@@ -0,0 +1,3 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.x86_64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.x86_64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist#
@@ -0,0 +1,4 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.x86_64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhels6.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist#
@@ -0,0 +1,60 @@
#!/bin/sh
# Sample postinstall script for building a diskless SLES11 PPC64 image
# with all IBM HPC products
#
#-- this script is run after all packages from $profile.pkglist are installed
#--
#-- it gets these arguments:
#--
#-- $1 = install root (chroot directory for profile)
#-- $2 = OS version
#-- $3 = architecture
#-- $4 = profile name
#-- $5 = work dir (where genimage is located)
#--
#--
installroot=$1
osver=$2
arch=$3
profile=$4
workdir=$5
otherpkgs=/install/post/otherpkgs/$osver/$arch
################
# This script runs other postinstall scripts from the $hpc directory
# If you have created a custom copy of ANY of these scripts,
# make sure to change the execution path from $hpc/<product> to the location
# you have placed your script in
###############
hpc=/opt/xcat/share/xcat/IBMhpc
custom=/install/custom/netboot/rh
installps=/install/postscripts
# Run default postinstall shipped with xcat
/opt/xcat/share/xcat/netboot/rh/compute.rhels6.x86_64.postinstall $1 $2 $3 $4 $5
# Run general IBMhpc postinstall script
$hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5
# Run script to install gpfs updates
installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates
# Run script to update GPFS mmsdrfs file in the image
installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs
# Run script to accept compiler license. x86_64 is using gcc, comment this line.
#installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license
# Run script to install PE and accept license
installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install-1200
# Run script to accept LoadLeveler license, install product rpms,
# and do some config
installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install-5103
# Run script to install RSCT rpms. Not available on x86_64
#installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install
@@ -0,0 +1,10 @@
# Sample exlude list for building a diskless SLES 11 PPC64 image
#INCLUDE:/opt/xcat/share/xcat/netboot/sles/compute.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.ppc64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist#
@@ -0,0 +1,13 @@
# Sample otherpkgs pkglist for installing all IBM HPC products in a
# SLES11 PPC64 diskless image
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.otherpkgs.pkglist#
#NEW_INSTALL_LIST#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist#
# For full-disk (stateful) images, EDIT below to use rsct.otherpkgs
# For diskless, rpms are installed with postinstall script
#do not INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.otherpkgs.pkglist#
@@ -0,0 +1,10 @@
# Sample package list for installing all IBM HPC products in a
# SLES11 ppc64 diskless image
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.ppc64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.sles11.ppc64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.pkglist#
@@ -0,0 +1,68 @@
#!/bin/sh
# Sample postinstall script for building a diskless SLES11 PPC64 image
# with all IBM HPC products
#
#-- this script is run after all packages from $profile.pkglist are installed
#--
#-- it gets these arguments:
#--
#-- $1 = install root (chroot directory for profile)
#-- $2 = OS version
#-- $3 = architecture
#-- $4 = profile name
#-- $5 = work dir (where genimage is located)
#--
#--
installroot=$1
osver=$2
arch=$3
profile=$4
workdir=$5
otherpkgs=/install/post/otherpkgs/$osver/$arch
################
# This script runs other postinstall scripts from the $hpc directory
# If you have created a custom copy of ANY of these scripts,
# make sure to change the execution path from $hpc/<product> to the location
# you have placed your script in
###############
hpc=/opt/xcat/share/xcat/IBMhpc
custom=/install/custom/netboot/sles
installps=/install/postscripts
# Run default postinstall shipped with xcat
/opt/xcat/share/xcat/netboot/sles/compute.sles11.postinstall $1 $2 $3 $4 $5
# Run general IBMhpc postinstall script
$hpc/IBMhpc.sles.postinstall $1 $2 $3 $4 $5
# Run script to install gpfs updates
installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates
# Run script to update GPFS mmsdrfs file in the image
installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs
# Run script to accept compiler license
installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license
# Run script to install PE and accept license
installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install
# Run script to install ESSL and PESSL rpms
#installroot=$installroot essldir=$otherpkgs/essl NODESETSTATE=genimage $hpc/essl/essl_install
# Run script to accept LoadLeveler license, install product rpms,
# and do some config
installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install-5103
# Run script to install RSCT rpms
installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install
@@ -0,0 +1,3 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.x86_64.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
@@ -0,0 +1,3 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.x86_64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.sles11.x86_64.otherpkgs.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist#
@@ -0,0 +1,2 @@
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.x86_64.pkglist#
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.sles11.x86_64.pkglist#
@@ -0,0 +1,65 @@
#!/bin/sh
# Sample postinstall script for building a diskless SLES11 PPC64 image
# with all IBM HPC products
#
#-- this script is run after all packages from $profile.pkglist are installed
#--
#-- it gets these arguments:
#--
#-- $1 = install root (chroot directory for profile)
#-- $2 = OS version
#-- $3 = architecture
#-- $4 = profile name
#-- $5 = work dir (where genimage is located)
#--
#--
installroot=$1
osver=$2
arch=$3
profile=$4
workdir=$5
otherpkgs=/install/post/otherpkgs/$osver/$arch
################
# This script runs other postinstall scripts from the $hpc directory
# If you have created a custom copy of ANY of these scripts,
# make sure to change the execution path from $hpc/<product> to the location
# you have placed your script in
###############
hpc=/opt/xcat/share/xcat/IBMhpc
custom=/install/custom/netboot/sles
installps=/install/postscripts
# Run default postinstall shipped with xcat
/opt/xcat/share/xcat/netboot/sles/compute.sles11.postinstall $1 $2 $3 $4 $5
# Run general IBMhpc postinstall script
$hpc/IBMhpc.sles.postinstall $1 $2 $3 $4 $5
# Run script to install gpfs updates
installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates
# Run script to update GPFS mmsdrfs file in the image
installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs
# Run script to accept compiler license. x86_64 is using gcc, comment this line.
#installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license
# Run script to install PE and accept license
installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install-1200
# Run script to install ESSL and PESSL rpms. Not available on x86_64.
#installroot=$installroot essldir=$otherpkgs/essl NODESETSTATE=genimage $hpc/essl/essl_install
# Run script to accept LoadLeveler license, install product rpms,
# and do some config
installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install-5103
# Run script to install RSCT rpms. Not available on x86_64
#installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install
@@ -1,4 +1,4 @@
#image,file,options,comments,disable
"ALL","/var/mmfs/","tmpfs","for GPFS",
"ALL","/var/mmfs/","persistent","for GPFS",
"ALL","/var/adm/ras/","persistent","for GPFS",
"ALL","/gpfs/",,"for GPFS",
1 #image file options comments disable
2 ALL /var/mmfs/ tmpfs persistent for GPFS
3 ALL /var/adm/ras/ persistent for GPFS
4 ALL /gpfs/ for GPFS
@@ -1,10 +0,0 @@
./opt/ibmhpc/lapi/include*
./opt/ibmhpc/lapi/pnsd/include*
./opt/ibmhpc/lapi/samples*
./opt/ibmhpc/pecurrent/ppe.poe/include*
./opt/ibmhpc/pecurrent/ppe.poe/man/*
./opt/ibmhpc/pecurrent/ppe.poe/samples*
./opt/ibmhpc/pecurrent/hal/include*
./etc/opt/ibmhpc/license/*.txt
@@ -0,0 +1,9 @@
# The following are for systems running InfiniBand networks
##############
# Temporary for xCAT 2.6:
# You should comment out these packages when running with HFI,
# but you will also then need to use the xCAT 2.6 pe_install script
# that does a force install of pe. The current pe packages prereq
# these libibverbs packages.
libibverbs.i686
libibverbs.x86_64
+1 -1
View File
@@ -9,5 +9,5 @@ I:ppe.loc.license
#I:ppedev.hpct
# LAPI
#I:rsct.lapi
I:rsct.lapi
#I:rsct.sci

Some files were not shown because too many files have changed in this diff Show More