You are currently reviewing an older revision of this page.

How To Go From High Availability to Standalone for On Premise Customers

Note: The following steps are not generally supported for Cloud sites unless there is a specific reason (such as an RRT issue). For the proper procedures to follow on Cloud sites, follow INT-1636 How to convert Appian Cloud sites between the three main server configurations: single node, hot/cold, high availability (hot/hot)

Instructions 

  1. Stop all Services that are dependent on the Messaging Service (Kafka & Zookeeper) on all servers
    Stopping the Application Suite on Linux Complete all steps prior to the one that says to “Stop the Appian engines”. 

  2. Note the host and port of the last Kafka broker listed in <APPIAN_HOME>/conf/appian-topology.xml.
    This is the server that should be removed since it was added most recently.
    Kafka brokers are listed under the <kafka-cluster> element

  3. Stop Service Manager & Engines without stopping Zookeeper & Kafka on all servers by running:
    <APPIAN_HOME>/services/bin/stop.sh -p <password> -no-kafka -cluster -s all

  4. Remove partitions from the broker that will be removed by running the following on any one server: 
    <APPIAN_HOME>/services/kafka_<versionInfo>/bin/decreaseBrokerCount.sh --exclude-brokers [<host:port>]
    1. The script needs to be passed the hostname and port of the server that will be removed. This is determined in step 1
  5. Make sure that the broker in step 9 is no longer replicating any partitions
    ssh onto the servers and run the following using any Zookeeper host and port:
     
    <APPIAN_HOME>/services/kafka_<versionInfo>/bin/kafka-topics.sh --describe --zookeeper <Zookeeper host>:<Zookeeper port>
    Make sure that the broker-id of the broker that will be removed does NOT appear in the values for any column. The highest broker-id displayed should be your target Kafka cluster size - 1  
  6. Stop Kafka on all servers
    <APPIAN_HOME>/services/stop.sh -p <password> -s kafka

  7. Once all Kafka brokers have stopped, stop Zookeeper on all servers by running: 
    <APPIAN_HOME>/services/stop.sh -p <password> -s zookeeper

  8. Edit appian-topology.xml on every server. The topology file must be the same on all servers
    Location: <APPIAN_HOME>conf/appian-topology.xml  
    Remove the appropriate lines from the <kafka-cluster> and <zookeeper-cluster> elements. These should be the lines with the same host name as the server you will be deactivating

  9. Deactivate server
    This step is handled by the customer’s Appian System Administrator

  10. Restart Appian
    Make sure you are looking at the version of docs that matches the version of Appian you are running  
    Starting the Application Suite on Linux