Sheng Yang
4bc8686513
bug 10429: Backport redundant virtual router
...
Part 1
This backport contained:
commit 52317c718c25111c2535657139b541db0c9d1e1f
bug 9154: Initial check in for enabling redundant virtual router
commit 54199112055d754371bfb141168fb5538bf6d6ea
Add host verification for CheckRouterCommand
commit cef978a228c90056ead9be10cbc4de74c2b8de76
Fix CheckRouterAnswer's isMaster report
commit 4072f0a6991ac3b63601a1764fbe14188965f62f
Some build fixes and code refactoring for redundant router
commit 4d3350b7cd8ee2706a9bace4437fc194e36c8dd5
Redundant Router: Fix OVS
commit 6a228830e7c46d819fa0c3317e159e041337e887
Fix findByNetwork()/findByNetworkAndPod()'s return
commit c627777b3d5bdbcd60db4032cebd349a5b1ecd83
Redundant Router: Fix isVmAlive()
commit e1275d2514adc41f8744f5107d4069c38be195f1
Only issue CheckRouterCommand to redundant routers
And all modification to the scripts till
commit 4e3942462ed3fde3a3d7011e95839e2128fba514
logging changes
in the master branch.
2011-07-18 18:29:56 -07:00
anthony
18003deedf
bug 10628: root cause is CheckHealthCommand return false, XenServerInvestigator is not called
...
status 10628: resolved fixed
2011-07-14 20:42:26 -07:00
Alex Huang
db5afa4994
fix migration npe when recovering
2011-07-09 08:31:44 -07:00
anthony
931dcff710
bug 10628: if private network and storage network use the same nic, MS will start HA very quickly within 20 seconds, it breaks heartbeat check, which require 60 seconds interval. add 60s sleep before trying to HA on VMs
...
status 10628: resolved fixed
2011-07-07 12:36:39 -07:00
Alex Huang
1d7e70acd1
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:35:20 -07:00
Alex Huang
6137f216b1
bug 10094: The problem was we added code that won't add any more ha work items if it already has one. However, that is wrong. HA Manager stores the existing snapshot of the VM state machine. Before working on HA for a VM, it checks to see if that snapshot has been changed. So by not scheduling HA work, we've effectively made HA not work under multi-failure situations. I've fixed by removing that code and instead at the time of performing HA, do a quick check to see if there are pwork underway for the same VM and work scheduled in the future for that VM. If there are work scheduled in the future, then we simply cancel the current work. If there are already work underway, then we retry again in 1 minute.
2011-06-12 09:18:21 -07:00
Alex Huang
d9e0bcfa1e
bug 10126: Renamed getPodId() to getPodIdToDeployIn()
2011-06-03 22:17:08 -07:00
Alex Huang
154c6d9021
Propagating 1345af2a0e84684a804bde5b281c30df72f148a0
2011-05-10 05:52:39 -07:00
Alex Huang
efedf018c8
propagate b3aea1878395af343e18382b7f1c376b5be04567
2011-05-10 05:48:29 -07:00
Alex Huang
6ce656220f
bug 9643: propagate fix from 2.2.4
2011-04-29 17:51:42 -07:00
Alex Huang
99bc15f64a
changed getName to getHostname
2011-04-29 08:34:10 -07:00
prachi
c2824edc03
Bug 9446: Investigator reports that a system vm is down even if it isn't....
...
Changes:
- Added new Investigator 'ManagementIPSystemVMInvestigator' that checks if Vm is alive only for System VM's that have a management IP address.
- If no management IP is found, ping test cannot be done, so this investigator would return null in that case.
- Current implementation InvestigatorImpl is renamed as 'UserVmDomRInvestigator' and does the ping test for user VMs only.
- Corrected the ping test code that was checking a hard-coded string. Now if the ping answer is negative, we just return null
- Added the new investigator to components.xml
2011-04-28 12:28:51 -07:00
alena
7255d68875
HA: no need to investigate why vm was stopped on host when host is being Dicsonnected with investigate=false option
2011-04-22 13:38:25 -07:00
alena
f881d394e2
bug 9415: deleteHost - cleanup vms running on the host to be removed
...
status 9415: resolved fixed
2011-04-20 15:50:10 -07:00
Edison Su
d6b5acb852
bug 8532,8755: don't create multiple HA work if there already has one of HAwork of this VM is created, but not finished
...
status 8532: resolved fixed
status 8755: resolved fixed
2011-04-14 17:46:54 -04:00
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -07:00
Kelven Yang
1b9cbd9166
bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing
2011-04-13 15:13:54 -07:00
Alex Huang
075fba5899
stackmaid is now taskmanager
2011-04-05 10:17:22 -07:00
prachi
53f8ebf6f0
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:30:08 -07:00
alena
745aa1d66a
bug 8448: generate Alert when vm is scheduled for HA
...
status 8448: resolved fixed
2011-03-24 17:37:18 -07:00
Alex Huang
6b0d4947ed
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:58 -08:00
anthony
80a328034c
bug 8609: when failed to start a VM in HA (due to domr is not migrated), a runtimeException is thrown out, caused HA for this VM is not resheduced.
...
status 8609: resolved fixed
2011-02-16 14:20:28 -08:00
Alex Huang
db7bc893b9
added cluster awareness to vm start/stop
2011-02-11 17:03:04 -08:00
Alex Huang
c22d4948d0
Added context to ha work
2011-02-08 15:38:26 -08:00
Alex Huang
b322fb072f
bug 8186: Changed the investigator to use the new networking
2011-02-07 16:04:23 -08:00
Alex Huang
bee6953e09
ha done? needs testing
2011-02-07 10:58:25 -08:00
Alex Huang
86e51eb536
Made changes to the exceptions thrown by NetworkManagerImpl
2011-02-04 11:56:20 -08:00
Alex Huang
0105c03a27
initial HA work
2011-02-04 11:51:14 -08:00
Kelven Yang
b12444bb64
Let HA manager support native HA
2011-02-02 17:59:20 -08:00
Frank
e9652e67ad
migrate premium to oss
2011-01-28 16:07:46 -08:00
Alex Huang
2466589e2f
removed unused domain_router_id from uservm
2011-01-24 16:56:00 -08:00
Alex Huang
3a9d6884ce
Removed useless code
2011-01-20 09:54:05 -08:00
Kelven Yang
23cf2e048a
HA fix on VM-sync for VM in starting state, Mac Address fix
2011-01-18 19:28:51 -08:00
Alex Huang
1d8ece0671
missing state transitions for ha
2011-01-18 16:33:29 -08:00
Alex Huang
e8f89004d9
added more robust start code
2011-01-18 16:09:24 -08:00
alena
50540b2bba
Stop ConsoleProxy/SecondaryStorage vms: use the same code path as for user vms.
2011-01-14 17:57:15 -08:00
Alex Huang
42950f2e8b
migration complete
2011-01-14 15:12:13 -08:00
Alex Huang
19edfdfcdb
migration code
2011-01-14 15:12:13 -08:00
anthony
57ee66a22d
XenServer can tell if the VM is shutdowned from inside,
...
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
Alex Huang
4eba6d10d7
Moved State into VirtualMachine like other States of objects
2011-01-04 15:01:34 -08:00
Alex Huang
da4ed648ac
consolidated all of the vm destroy, cleanup and account cleanup.
2010-12-30 05:46:54 -08:00
kishan
bb0e6a0ae3
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
Alex Huang
356526db83
Changed exception code to give the scope of the problem
2010-12-21 03:54:30 -08:00
alena
d077b127aa
bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
...
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
Alex Huang
790bf40be6
Forgot what i change but must be important
2010-12-10 17:20:31 -08:00
Alex Huang
e49fab6903
Renamed MauricMoss now that we're going public with this.
2010-12-08 09:28:01 -08:00
Alex Huang
9bae18d915
merge changes
2010-12-08 09:17:44 -08:00
edison
b7cdae2688
fix for migration
2010-12-04 15:02:03 -08:00
edison
2e3ef1408c
refactor
2010-12-04 14:59:40 -08:00
edison
41fdbfc65e
new allocator
2010-12-04 14:59:39 -08:00