Commit Graph

144 Commits

Author SHA1 Message Date
phamt
69f6fa5693 Added support for capture and deploy of system images for z/VM. This includes capturing ECKD/FBA and native SCSI/FCP devices. Each device is captured and stored as an image (.img) file. Note that mkvm has to be used to create the VM definition and chvm has to be used to add the disks. nodeset is used to put the .img contents onto existing disks.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 15:58:26 +00:00
phamt
f4b3f09bb0 Fixed issue with AutoYast where it expects the FCP channel, WWPN, and LUN to all be in lower-case. Otherwise, AutoYast would not find the SCSI/FCP device.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 20:20:59 +00:00
phamt
789c6ede3c Disabled SELinux in default kickstart template. Added check in rpower softoff to check if node is pingable, if not proceed to shutdown instead of waiting. Rearranged buttons on action bar in self-service page. Added shutdown button in nodes page to shutdown node gracefully.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-02 21:24:26 +00:00
phamt
4f8e82198a Changed rpower off to use Image_Deactivate with IMMED flag because without the flag, sometimes the VM would not power off correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-01 14:22:01 +00:00
phamt
8cb2dd56b9 Fixed how broadcast address is calculated using IP and netmask, instead of relying on ifcfg file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-29 16:59:46 +00:00
phamt
8acceb8579 Enabled multiple volumes to be removed. Allowed delete button to delete using noderm instead of rmvm if checked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 20:19:37 +00:00
phamt
6f94c8dcbe Removed the use of "-f IMMED" when powering off a VM because using smcli Image_Deactivate without the "-f" option powers off the VM more cleanly and accomplished the same thing.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 15:32:59 +00:00
phamt
0df98e654c Fixed grep to be case insensitive and find SCSI device using both WPN and LUN, instead of just LUN. A WPN and LUN uniquely identify a device.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-05 02:35:29 +00:00
phamt
bf4b276286 Updated output message of purgerdr option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 20:34:15 +00:00
phamt
9b378cdf85 Enabled remote Linux repositories to be specified in noderes.nfsserver. When specified, noderes.nfsserver will be used instead of the local /install directory.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 20:26:28 +00:00
phamt
41c00b59e2 Fixed bug where argument size check was not correct. Added default mode for chvm --add9336 option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 01:46:31 +00:00
phamt
631fa6d9ca Fixed typo in output string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 21:47:51 +00:00
phamt
1f07c5c769 Fixed disk format bug where code continues to run even though link is only R/O.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 21:38:55 +00:00
phamt
700b9a6483 Changed mount point during cloning so that multiple clones could be run independently.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 16:30:41 +00:00
phamt
cb171eab7a Cleaned up how smcli calls are logged in syslog.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-20 20:47:12 +00:00
phamt
e02c1b8b67 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/branches/2.8@15470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 23:10:58 +00:00
phamt
10d1f08e23 Added check for return code on Linux dd.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15444 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 22:50:16 +00:00
phamt
43de2697b3 Backport z/VM code in trunk to 2.8 branch.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 17:41:44 +00:00
phamt
f586f6453b Added range column into print output.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 21:22:14 +00:00
phamt
016c25940a 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/branches/2.8@15352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 21:00:51 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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