...
Code Block |
---|
pool my_pool { lb_mode fastest min active members 2 member 10.12.10.7:80 priority 3 member 10.12.10.8:80 priority 3 member 10.12.10.9:80 priority 3 member 10.12.10.4:80 priority 2 member 10.12.10.5:80 priority 2 member 10.12.10.6:80 priority 2 member 10.12.10.1:80 priority 1 member 10.12.10.2:80 priority 1 member 10.12.10.3:80 priority 1 } |
Virtualize Configuration
Ensure that the load balancer is configured so that changes are propagated to only one node before configuring Virtualize for load balancing.
...
Workspace Configuration
Anchor | ||||
---|---|---|---|---|
|
The workspace needs to be configured to share the VirtualAssets project and all of its associated content (.pmpdd, .pvadd, .pjcdd, VirtualAssets.xml, .git, and so on) across the cluster. This is necessary to keep members of the cluster in sync when changes are made. There are two ways to accomplish this:
- Use network attached storage to mount a shared file system with the workspace that all members of the cluster will read.
- Set up a source control repository (for example, git) that has a checked-in workspace.
- An external process would need to be responsible for pulling in new changes as appropriate to keep cluster members in sync. We recommend using a
git fetch
or equivalent command as a post-commit trigger to synchronize sharing.
- An external process would need to be responsible for pulling in new changes as appropriate to keep cluster members in sync. We recommend using a
Virtualize Configuration
WAR, Docker, or Kubernetes
After sharing the workspace (see Workspace Configuration), add the following jvm argument:
-Dparasoft.auto.deploy.new=false
Desktop/Command Line
Ensure that the load balancer is configured so that changes are propagated to only one node before configuring Virtualize for load balancing.
- Share the VirtualAssets project across the cluster. See Workspace Configuration for more information.
- etc.) across the cluster. We recommend using a
git fetch
command as a post commit trigger to synchronize sharing.Enable refreshing using native hooks or polling:- From the GUI:
- Choose Window > Preference > General > Workspace from the Virtualize main menu.
- Enable the Refresh using native hooks or polling option and restart the server.
- From the command line:
- Open the org.eclipse.core.resources.prefs file in the
<WORKSPACE>/.metadata/.plugins/org.eclipse.core.runtime/.settings/
directory. Add the
refresh.enabled=true
property, for example:Code Block eclipse.preferences.version=1 version=1 refresh.enabled=true
Restart the server.
- Open the org.eclipse.core.resources.prefs file in the
- From the GUI:
- Add the following Java option to your startup command on all nodes in the cluster to put the server. :
-J-Dparasoft.auto.deploy.new=false
- Restart your servers.
...