Skip to content

Instantly share code, notes, and snippets.

@xlcommunity
Created March 12, 2015 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xlcommunity/c188e40cf09e9983fdb0 to your computer and use it in GitHub Desktop.
Save xlcommunity/c188e40cf09e9983fdb0 to your computer and use it in GitHub Desktop.
Using rules to interact with WebSphere cluster members
<?xml version="1.0"?>
<!--
Note: If you modify this file and automatic reloading is disabled in `planner.conf`, you must restart the XL Deploy server.
-->
<rules xmlns="http://www.xebialabs.com/xl-deploy/xl-rules">
<!--
THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS
FOR A PARTICULAR PURPOSE. THIS CODE AND INFORMATION ARE NOT SUPPORTED BY XEBIALABS.
-->
<rule name="CleanUpServersForEarDeployment" scope="deployed">
<conditions>
<type>was.EarModule</type>
<operation>CREATE</operation>
<operation>DESTROY</operation>
<operation>MODIFY</operation>
</conditions>
<planning-script-path>rules/server-cleanup.py</planning-script-path>
</rule>
</rules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment