Commit Graph

146 Commits

Author SHA1 Message Date
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
jbjohnso
54f23bbb00 -Fix problem where .ssh was excluded in esxi images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 15:12:38 +00:00
jbjohnso
9b06c9ec4b Fix missing close paren
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 15:03:29 +00:00
jbjohnso
7048a7700e Fix missing close paren
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 14:54:36 +00:00
jbjohnso
81d2ea1a55 -Have esxi hosts trust the root ssh key by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 14:48:31 +00:00
jbjohnso
31a14b17ca -Add RHEL6 to esx plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 13:32:35 +00:00
jbjohnso
64e6de14b5 -Enable TSM and show a little xCAT message on VTY1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 14:40:41 +00:00
jbjohnso
769e08fca4 -Auto-enable ipv6 in esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:15:57 +00:00
vallard
5b395ae747 added a hook for the custom mod.tgz that if its already there not to update it, because it may have other updates in it already
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 22:31:31 +00:00
jbjohnso
15cee34b33 -Change rpower back to coping with unregistered VMs the way it used to
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-10 18:22:21 +00:00
jbjohnso
02329afb34 -Streamline rpower operations for faster at-scale operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 21:02:17 +00:00
jbjohnso
7a9a541c26 -Speedup vm views, also fix bug with reparenting vms with large noderanges
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 20:46:36 +00:00
jbjohnso
b3cd409e87 -Optimize hostview acquisition to speed up operations in the face of vmware infrastructures using vCenter with many hypervisors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 18:43:26 +00:00
jbjohnso
50b73a444e -Fix potential issue where a hypervisor named 'conn' could make for a bad day. Slightly improve some performance by
eliminating string equality checks.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 15:12:05 +00:00
jbjohnso
6a01080492 -Speed up checks for host relocations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 14:29:25 +00:00
cjhardee
4dd2631bdf Refactered sendmsg to live in SvrUtils.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 15:29:07 +00:00
jbjohnso
3cb5d4e4aa -Fix esx problem where network_prereqs would not successfully acquire data about
newly created host bridges, it may take 1 to 2 seconds


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-05 14:49:21 +00:00
cjhardee
b1410412eb Added a couple of checks to make sure the vm exists and moved others so they'll be checked less often.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-29 20:03:05 +00:00
jbjohnso
17bbafe2be -Thin provision disks explicitly (so that VMFS act similarly to nfs provisioning)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 19:46:21 +00:00
jbjohnso
3482b19554 -Sometimes extracting a view on an inprogress task can go awry if the task completes in the middle of thinking
ignore that case


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 18:18:15 +00:00
jbjohnso
7a7c11650c -Correct mistake in previous optimization
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 17:02:25 +00:00
vallard
7c5a4ba731 Added support for local datastores: vmfs://<name> works. If the datastore is not found on the node it will try to create it with the first free disk it finds. If it finds no space, it errors out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 06:24:18 +00:00
jbjohnso
2cf271a1f9 -Comment unused line of code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-08 17:58:19 +00:00
jbjohnso
68be9856f4 -Fix problem where many vmware tasks would preclude results being grabbed in time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-08 15:19:18 +00:00
jbjohnso
c833ae295c -Remove most remaining calls to '_views' functions that become expensive on large configurations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-08 14:22:33 +00:00