Commit Graph

170 Commits

Author SHA1 Message Date
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
jbjohnso
5c5a2e8aed -Allow vmware administrators to skip attempts to reconfigure from xCAT tables
-Allow vmware admins to explicitly declare guestid when they do not or cannot rely upon nodetype.os

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-09 19:01:33 +00:00
jbjohnso
e919747d02 -Tolerate '=scsi' and similar n rmigrate -s (i.e. ignore)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-08 15:24:14 +00:00
cjhardee
56606ad705 changed custom install directory to use the os version instead of being hardodedto esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-05 14:26:14 +00:00
jbjohnso
0d110082c1 -Correct autojoin switching, change wording in site
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-04 18:49:27 +00:00
jbjohnso
88dfaba62a -Cleanup mistakes in recent vmware plugin work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-04 18:13:35 +00:00
jbjohnso
980476bb4e -Add managed object reference (turns out the value is actually verbatim text, the direct case just looked different from the vcenter approach
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-04 14:28:48 +00:00
jbjohnso
4575f4820b -Allow site value to disable vcenter autojoin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-02 20:20:56 +00:00
jbjohnso
65c126eeed -Skip makedhcp on kvm and esx when dhcpsetup suggests it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-20 18:41:08 +00:00
vallard
3c6a649f16 started adding support for vmfs clones... not finished yet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-01 17:18:37 +00:00
jbjohnso
9065b0a417 -Honor vm.host placement in clonevm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 19:50:43 +00:00
jbjohnso
070a8982c9 -Further make drs/ha work better
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 19:06:42 +00:00
jbjohnso
164fb30f7c -Further tweaks to cluster oriented operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 17:26:24 +00:00
jbjohnso
b9dc0c738c -Correct some issues with cluster based operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 13:18:59 +00:00
jbjohnso
f909d21ff7 -No, it probably doesn't work, but hey, it's unstable tree again (first chunk of DRS/HA code)
(I'll backport it to 2.5 on Monday, yes I'm running afoul of freeze, but it's so close..)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 21:10:58 +00:00
jbjohnso
36e22f9ced -Allow standalone hosts in specified datacenters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 16:58:57 +00:00
jbjohnso
803fefc867 -Have mkvm and clonevm work in multi-datacenter configs and honor vm.datacenter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 16:52:55 +00:00
jbjohnso
9e458341d7 -Fix oversight in unit allowance in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 14:36:27 +00:00
jbjohnso
5f705fd242 -Add --mem and --cpus to mkvm allowing table-free config of cpus and memory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 14:22:17 +00:00
jbjohnso
e58a2df6a7 -Have chvm properly update tables if set
-Skip check for reconfig if no table values for cpus/memory exist


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 14:07:23 +00:00
jbjohnso
09b3b994b2 -Implement rshutdown command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 13:02:26 +00:00
jbjohnso
5f903af01f -rpower softoff for vmware (requires vmware tools)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-16 20:41:23 +00:00
jbjohnso
13978e61d0 -ESX enhancements, clonevm works
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-16 19:28:25 +00:00
jbjohnso
be376df166 -Stricter umask around /etc/shadow modifications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-16 13:41:16 +00:00
jbjohnso
b3f7b2b499 -Fix errors in clone_vms_from_Master in esx plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-03 20:08:41 +00:00
jbjohnso
df5f195e84 -Fix getAttribs call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-03 19:11:14 +00:00
jbjohnso
cab4f3c0d1 -Correct list reference access error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-03 18:54:30 +00:00
jbjohnso
bdbca89b78 -Ensure the scalar for timestamp is used when clonevm creates a vmmaster entry for vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-03 18:51:19 +00:00
jbjohnso
607ca251c9 -Fix numerous mistakes in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 20:50:34 +00:00
jbjohnso
592daeb835 -Implement clonevm from base in vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 20:43:34 +00:00
jbjohnso
88b03ab604 -Record clonevm results in vmmaster table for vmware cloning
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 19:43:09 +00:00
jbjohnso
056876860a -Support switching models on the VM nics in vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7339 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 18:12:41 +00:00
jbjohnso
881bce3117 -Implement clonevm -t for vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 20:53:55 +00:00
jbjohnso
078f3fbce1 -Have rinv provide more contextual data in the in-band cross reference key
-have chvm support specification via new key
-have chvm more cleanly handle out of drive conditions (TODO: support adding more scsi controllers if someone asks)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 19:23:25 +00:00
jbjohnso
af99c0742b -For lsvm and revacuate and rmhypervisor, accept nodetype.os as a sufficient hint as how to proceed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 17:49:54 +00:00
jbjohnso
0395679e36 -Try to honor the now prefered nicmodel/storagemodel columns in vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 15:42:36 +00:00