jbjohnso
c519c111ec
Add some inital table formatting for typical output
...
Fix problem where Powershell replaces commas with spaces (hopefully fixed)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 23:27:53 +00:00
jbjohnso
717cd66082
Spice things up a little by putting in a vitals and a power test case, testing out the command send command
...
TODO: repackage the xml object into intended powershell objects
Output types:
-xCATData
-xCATNodeData
-xCATNoderangeData
xCAT Data has error and data not contained within a node
xCATNodeData has error and data contained within a node
xCATNoderangeData will be an aggregation of the above (to be treated differently ps1xml wise hopefully)
The original noderange will be chucked into any of these, for Merge-xCATNodeData to have as a hint maybe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:35 +00:00
jbjohnso
4a572f5015
Actually have the powershell module successfully be able to run commands
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:29 +00:00
jbjohnso
0344b08ba1
Actually have a test case that will get to the permission denied phase
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-16 01:50:22 +00:00
jbjohnso
c602006c04
Milestone for powershell client code, can now add the CA and successfully verify server:
...
PS R:\pst> import-module .\xCAT.psd1
PS R:\pst> Import-xCATCA .\ca-cert.pem
PS R:\pst> Connect-xCAT odin 3001
PS R:\pst>
(commit best reviewed while listening to O Fortuna)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 21:12:53 +00:00
jbjohnso
4337554e71
Correct Sys::Virt version check
...
Fix broken LVM behavior when faced with a pre-built LVM VG/PV (as reported by Michael Fenn)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:25 +00:00
jbjohnso
1dc28f2540
A little more PowerShell experimentation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:17 +00:00
yinle
57707391b4
fix bug 3428: lsslp -n does not check xCAT DB properly for current objects
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 07:46:16 +00:00
yinle
17abb515db
fix the issue that lsslp put in the SLP request messages into the "stana" files working with lsslp -z flag
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 06:02:37 +00:00
bp-sawyers
221a44d1bd
added author to tools help
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 14:18:54 +00:00
xq2005
45fb564db6
use the default pkglist on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:54:50 +00:00
xq2005
5a4e5a3559
support comment in the pkglist on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 08:50:57 +00:00
zhaoertao
bc44b57b73
add option '-s' for reventlog to output the event from latest to oldest
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:12:37 +00:00
jjhua
621ad77911
fixed bug 3259, have the addsiteyum be called before running the postscripts, the repos might be needed by some other user customized scripts.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:44:52 +00:00
bp-sawyers
111782a728
automatically build readme for tools
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 23:01:17 +00:00
jbjohnso
4b09b8f926
Fix bug with optional persistence where reset no longer survives
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:59:45 +00:00
jwsimpson
d07d624b01
Updated to skip Flex power blades when "-s CEC" is specified - also corrected model to not filter on 8236 for flex
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:21:41 +00:00
linggao
10ad3b6945
fix sf bug #3422 updatenode -P fails to resolve name of mypostscript file on the MN
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:05:27 +00:00
xq2005
2de350cf80
support makeknownhosts on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:11:02 +00:00
xq2005
2ce147d84b
support makeknownhosts on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:38 +00:00
xq2005
e05797bb60
support makeknownhosts on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:09 +00:00
wanghuaz
774c178272
Don't mount /proc fs since it will confuse the rpm or scripts that they are on diskless nodes.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 09:54:45 +00:00
xq2005
5f8ed93998
for kdump bug on non-p7 ih power server, bug number 2898
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 06:38:51 +00:00
phamt
50445cdc26
Fixed cloning issue where code was looking for a case-sensitive NIC address and not modifying the network configuration correctly. Added logging of smcli calls into syslog to improve debugging. Add loop to find the correct partition with file -s /dev/dasd*. This fixes a cloning issue where flashcopy is not instantaneous and flashed copy volumes do not appear immediately when linked.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 23:10:58 +00:00
lissav
907b14ba9d
add /opt/xcat/share/xcat/tools to the path for AIX
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 12:35:49 +00:00
daniceexi
ede3d3ced7
defect 3195: change the search pattern to the uxspi binary path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 11:12:15 +00:00
daniceexi
e59dc8a9ce
code drop for flex energy management support through cmm snmp interface
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 10:46:21 +00:00
immarvin
2abdf800d9
add anaconda template for compute.rhel5.ppc64
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 07:41:19 +00:00
phamt
a0d1d5b41a
Added check for return code on Linux dd.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15444 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 22:50:16 +00:00
jwsimpson
15447d0398
lsslp replaced flex filter for model 8236 (P7IH - mistake) with P24L model 1457
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 16:02:06 +00:00
lissav
51d4c30e4a
moved insptbls
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 11:41:20 +00:00
jjhua
7ab0cf1ffd
add the image name and timestamp into diskless image when it is packed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 06:07:30 +00:00
immarvin
20ff90225a
#3130 installnic=mac does not work for rh5 ppc64 netboot
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:05:32 +00:00
wanghuaz
04e63c307e
Create otherpkgdir if it doesn't exist on management node or service node
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 20:59:34 +00:00
lissav
9765d32dc6
fix defect 3403
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 14:25:34 +00:00
linggao
4613a85c23
fixed SF bug #3367 so that imgimport and imgexport will get all the attributes from the osimage and linuximage tables
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 00:18:44 +00:00
xq2005
6ae785af6e
fix infinite provision problem after use kit
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 10:33:41 +00:00
immarvin
a288b88bd9
prevent remount root filesystem in rw mode during reboot
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 08:47:47 +00:00
phamt
11ecff91d4
Fixed post-script to echo default gateway to /etc/sysconfig/network/routes file in mkay4z script.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 15:32:24 +00:00
xq2005
002b2ec9df
build xCAT-server on debian/ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-05 05:36:29 +00:00
linggao
845774a571
fixed a defect # 3398 updatenode -P fails if hostname on the node is FQDN
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 22:32:17 +00:00
jbjohnso
8612355df9
Append rather than prepend xcatpost to PATH
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:56:58 +00:00
jbjohnso
002d093a37
Add a manifest for the powershell xCAT client
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:45:29 +00:00
jbjohnso
b787fc643b
Rename xCAT powershell module
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:25:31 +00:00
jbjohnso
0073bfd6b3
Modify xCAT Powershell libs to load without warning/error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:25:23 +00:00
phamt
09d423997e
Moved mkay4z script into /opt/xcat/share/xcat/scripts directory.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 19:57:48 +00:00
lissav
9a7dba6d86
fix defect 3401
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 16:46:28 +00:00
sjing
1c2f665993
support imaged provisioning.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 03:05:07 +00:00
jwsimpson
706eca1ef7
update lsslp.pm to not report CEC for flex p blades. Also added support fro IMM2.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 22:01:04 +00:00
phamt
0d195918e3
Fixed nodeset to copy the contents of xcatinstallpost and xcatpostinit1 into the autoyast or kickstart template, allowing postbootscripts to be run.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 21:23:24 +00:00