cloudstack/server/test/resources
Rohit Yadav 00cb1b6b45 APPLE FR22: Multiple Management Servers support for agents (FRO-72)
FR12 introduce basic support for comma-separated list of management
servers for agents, while makes an explicit LB unnecessary.

On the agent side, the 'host' is saved as:
<comma separated addresses>@<algorithm name>.

Where the algorithm name is the name of the lb algorithm. The

This FR introduces two new global settings:

- indirect.agent.lb.algorithm: The algorithm for the indirect agent LB.
- indirect.agent.lb.check.interval: The preferred host check interval
  for the agent's background task that checks and switches to agent's
  preferred host.

Any changes to the above two global settings and the 'host' setting does
not require restarting of the management server(s).

The indirect.agent.lb.algorithm supports following algorithm options:

- static: use the list as provided.
- roundrobin: evenly spreads hosts across management servers.
- shuffle: (pseudo) randomly sorts the list (not recommended for production).

From the agent's perspective, the first address in the propagated list
will be considered the preferred host. A new background task can be
activated by configuring the indirect.agent.lb.check.interval which is
a cluster level global setting from CloudStack or admins can override
this by configuring the 'host.lb.check.interval' in the host's
agent.properties file.

Comma-separated management server list is propagated to agents on
following cases:
- Addition of a host (including ssvm, cpvm systevms).
- Connection or reconnection by the agents to a management server.
- After admin changes the 'host' and/or the
  'indirect.agent.lb.algorithm' global settings.

First the agent connects to the management server and sends its current
management server list, which is compared by the management server and
in case of failure a new/update list is sent for the agent to persist.

Every time agent gets a ms-host list and the algorithm, the host specific
background check interval is also sent and it dynamically reconfigures
the background task without need to restart agents.

The 'static' and 'roundrobin' algorithms, strictly checks for the order
as expected by them, however, the 'shuffle' algorithm just checks for
content and not the order of the comma separate ms host addresses.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2018-02-21 13:50:56 +01:00
..
certs CLOUDSTACK-7822: Fixed SSL Cert Tests and relaxed chain validation 2014-11-21 03:38:52 -05:00
CloneSettingDaoTestContext.xml Update unit test configuraitons to new custom Spring AOP 2013-03-29 11:12:36 -07:00
SecurityGroupManagerTestContext.xml Moved security out into its own jar. Will be adding more to it. Fixed a few white space issues brought up by checkstyle in eclipse. 2014-01-09 16:12:25 -08:00
SnapshotDaoTestContext.xml Moved security out into its own jar. Will be adding more to it. Fixed a few white space issues brought up by checkstyle in eclipse. 2014-01-09 16:12:25 -08:00
StoragePoolDaoTestContext.xml Moved security out into its own jar. Will be adding more to it. Fixed a few white space issues brought up by checkstyle in eclipse. 2014-01-09 16:12:25 -08:00
UserVMDaoTestContext.xml CLOUDSTACK-1086: DeployVirtualMachine userdata enhancements 2013-04-24 13:42:38 +05:30
VpcApiUnitTestContext.xml Update unit test configuraitons to new custom Spring AOP 2013-03-29 11:12:36 -07:00
VpcTestContext.xml Update unit test configuraitons to new custom Spring AOP 2013-03-29 11:12:36 -07:00
appLoadBalancer.xml CLOUDSTACK-747: Internal LB between VPC tiers support 2013-05-09 11:54:41 -07:00
cleanup.sql Patch from Gavin Lee: Change license to ASL2.0 in server and tools 2012-08-30 10:36:29 -04:00
createNetworkOffering.xml APPLE FR22: Multiple Management Servers support for agents (FRO-72) 2018-02-21 13:50:56 +01:00
db.properties removed trailing space 2014-08-13 11:09:38 -07:00
fake.sql Patch from Gavin Lee: Change license to ASL2.0 in server and tools 2012-08-30 10:36:29 -04:00
network-mgr-component.xml Removed all reminants of the IdentityService. Created the KeysManager to move the management 2014-01-14 13:11:35 -08:00
testContext.xml APPLE FR22: Multiple Management Servers support for agents (FRO-72) 2018-02-21 13:50:56 +01:00