Commit Graph

205 Commits

Author SHA1 Message Date
jbjohnso
045c7ba250 -Have rinv -t attempt to resync vm.storage/vm.cfgstore in xCAT table in VMware case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 17:30:48 +00:00
jbjohnso
54cdb92978 -Add chhypervisor to manage vCenter enter/exit maintenance mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-09 20:59:43 +00:00
jbjohnso
6bbbc4a0b4 Fix register vm to correctly place on a requested host
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-09 20:16:23 +00:00
jbjohnso
2dd7be8003 Fix clonevm in clustered placement operation of vSphere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-17 13:57:17 +00:00
jbjohnso
7cd6c40acd Implement chvm cdrom and eject for VMware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 16:08:49 +00:00
jbjohnso
a4dd8b7b22 Fix mkvm with up to three ide drives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 14:27:50 +00:00
jbjohnso
d5f84c1e22 Add empty optical drive on mkvm for vmware guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 14:22:03 +00:00
jbjohnso
3ebf425b4c On clonevm, assume URL matches source VM if not specified in a clonevm -t
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 16:46:48 +00:00
jbjohnso
6c8e21ef62 On clonevm, assume URL matches source VM if not specified in a clonevm -t
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 16:43:50 +00:00
jbjohnso
c3982e0e44 Update dhcp on clonevm if appropriate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 13:10:25 +00:00
jbjohnso
589cdec1a4 Fix various issues with the mac address fixup in clonevm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 13:03:54 +00:00
jbjohnso
ce96e2ff10 Fix various mistakes in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 12:58:24 +00:00
jbjohnso
20989e0c11 Remember vm uuid after clone for dhcpv6 and the like
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 12:55:00 +00:00
jbjohnso
4c28315be6 Fix clones to have distinct mac addresses in vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 12:53:16 +00:00
jbjohnso
d31e276cca generate mac addresses (but don't use... so far)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9444 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 12:31:54 +00:00
jbjohnso
f88f8cae5b *explicitly* don't do template in first stage of cloning to new master
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-30 17:25:59 +00:00
jbjohnso
0eb5073dcc -Delay clone master template status until after snapshot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-30 17:23:56 +00:00
jbjohnso
df60cd4ba9 First pass at making vmware do linked clones and behave like the clonevm man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-30 17:01:48 +00:00
jbjohnso
30abf2466b vSphere 5 uses vpxuser instead of vimuser, adjust accordingly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-27 15:09:24 +00:00
jbjohnso
96760fe2a3 Correct follow-up pruning of modules with previous path changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-25 18:00:19 +00:00
jbjohnso
fcfad918a8 Fix esxi5 path to xcatmod.tgz
M    xCAT-server/lib/xcat/plugins/esx.pm


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-25 17:56:02 +00:00
jbjohnso
a8e0f45821 -Make boot.cfg filenames relative in ESXi5 boot.cfg setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-25 17:53:31 +00:00
jbjohnso
aa36d25542 clean up warning on useless statement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 19:12:54 +00:00
jbjohnso
ad1794a25c fix append variable usage for esxi5 deployment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 19:11:23 +00:00
jbjohnso
c908e66f62 Fix esxi5 support for kernel/kcmdline set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 19:09:30 +00:00
jbjohnso
f205d298be -Fix up rest of mknetboot (hopefully) for esxi5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 18:36:47 +00:00
jbjohnso
a6eb5084e9 -Restore ESXi5 display of xCAT welcome
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 18:17:04 +00:00
jbjohnso
7de37672ff Change invocation for esxi5 tar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 18:14:41 +00:00
jbjohnso
b37c6a3634 Fixup makecustomizedmod for esxi5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 18:08:16 +00:00
jbjohnso
835831666b -Correct two last little mistakes in previous checkins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 17:47:51 +00:00
jbjohnso
33422b3e93 Correct copycds mistake in esxi5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 17:38:22 +00:00
jbjohnso
58e27df477 Fix up cpNetBootImages changes, only copy if destination doesn't exist or is older than source
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 15:28:02 +00:00
jbjohnso
0840129851 -Add cpNetBootimages support for esxi5, also add xcatmod.tgz to boot.cfg.stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 15:03:25 +00:00
jbjohnso
7e57e325de Add ESXi5 boot.cfg.stateless fixup on media import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-22 13:49:14 +00:00
jbjohnso
517f9a25f7 copycds for esxi5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-19 14:23:35 +00:00
jbjohnso
f1d0eaf2b0 -Don't attempt to inventory a VM with a missing 'config'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-08 13:36:56 +00:00
jbjohnso
33fceef337 -Add contingency for rmigrate -f if source hypervisor is out of inventory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-11 21:00:31 +00:00
jbjohnso
e9f1d08be2 Add force argument to rmhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-09 15:20:00 +00:00
jbjohnso
9b5e97a927 -Try to avoid chance of a file being written instead of directory on esxi netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-01 15:36:09 +00:00
jbjohnso
fde4639101 Fix rinv argument parsing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-25 23:31:19 +00:00
jbjohnso
1e48cdd307 -Reinstate vm reparenting when vCenter changed without xCAT being involved, without the previous
performance penalty it incurred.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-25 23:02:08 +00:00
jbjohnso
de779f7f2d -Fix rpower on -f for vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-25 20:40:35 +00:00
jbjohnso
01b720e92b -Add warning if about to mkpath but path exists as a non-directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-16 20:56:38 +00:00
jbjohnso
ccddc9616a -Pull in vm.othersettings on vm creation if specified
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-08 21:33:06 +00:00
jbjohnso
ef5b28fa7c -Expose ability to specify arbitrary vmx key=value pairs via chvm -o
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-08 21:13:19 +00:00
jbjohnso
9aeabaf8c3 -Fix vmware migration problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-28 01:18:32 +00:00
jbjohnso
c98beba6af -Fix for multi-vcenter concurrent operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-19 20:30:56 +00:00
cjhardee
e541850588 $cmd was set to a tar command and then printed to indicate what was happenning in the output, however $cmd was not being used. The same command but missing the verbose option was retyped when it was actually being executed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-15 19:16:33 +00:00
cjhardee
2170014aa0 Added a -t option to the vmware version of rinv to update the vm table with the values retrieved from vcener for memory and cpu count
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-11 20:49:49 +00:00
cjhardee
8b4a5fdb23 Creates the 'override' directory in cpNetbootImages if it doesn't already exist. This will be the default directory unless the user specifies a different osver value.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-10 16:21:58 +00:00