Upgrade from 2019.3

Version:
Current
Last modified: April 02, 2020

Follow these instructions to upgrade from 2019.3.x to 2019.4.0.

You have to run the Promote upgrade script from a machine with SSH access to your Promote cluster.

Upgrade Instructions

Unzip the file that contains the upgrade script:

Bash
  1. tar -xvzf PATH/TO/promote_upgrade_2019.4.0.tar.gz

Navigate to the extracted Promote 2019.4.0 upgrade directory: 

Bash
  1. cd promote_upgrade_2019.4.0.tar.gz

Open the upgrade script with a text editor (such as vi):

Bash
  1. vi upgrade.sh

After you open the file, you should see this:

Bash
  1.     # List ALL your existing nodes IPs to the NODE_IPS variable in bash array format.
  2. # If your cluster has more than three nodes, add their IP addresses to the array.
  3.  
  4. NODE_IPS=( '' '' '' )
  5.  
  6. # Add your ssh user and key path here:
  7.  
  8. SSH_USER=''
  9. KEY_PATH=''

Within each set of single quotation marks, use vi to insert this information:

  • External IP addresses of the nodes that are already a part of your Promote cluster
  • SSH user and key file

You can upgrade more than three nodes at a time. Simply add any additional external node IP to the NODE_IPS array variable, in addition to the external IP addresses of your three original nodes.

After you update the empty fields with needed information, the file should look like this:

Bash
  1.     # List ALL your existing nodes IPs to the NODE_IPS variable in bash array format.
  2. # If your cluster has more than three nodes, add their IP addresses to the array.
  3.  
  4. NODE_IPS=( 'NODE1_IP' 'NODE2_IP' 'NODE3_IP' 'NODE4_IP' )
  5.  
  6. # Add your ssh user and key path here:
  7.  
  8. SSH_USER='USERNAME_FOR_SSH'
  9. KEY_PATH='PATH/TO/SSH/KEY'

Run the upgrade script:

Bash
  1. sh ./upgrade.sh

The script prompts you to make a couple selections. Confirm that all information is correct by providing either a yes or no response:

If the script detects a custom-overlay subnet configuration in the promote.yml file on your nodes, the script asks if you would like to maintain it. We recommend that you answer yes if you see this prompt. If you answer no, the script removes your custom subnet configuration and continues with default settings.

The script asks if Promote is currently running. If so, answer yes, because you have to stop Promote to upgrade.

After you make those selections, the script kicks off several upgrade actions on your nodes:

1. Your manager node performs these actions:

  • Stops Promote
  • Waits about 10 seconds for Promote services to shut down

2. All nodes perform these actions:

  • Replace the promote.yml compose file.
  • Replace the updateImages.py file.
  • Replace the initPromote.py file.

3. Promote then restarts, which triggers a redeploy of all models.

After the script completes, wait for Promote services to build the UI and verify that it is up and running. You can watch these services generate:

Bash
  1. watch -n .3 docker services ls

Check the Promote UI to verify that it is running and that all your models successfully redeploy.

Troubleshoot

Browser Error

If you experience a browser error when you try to reload the UI, delete your Promote browser cookie. Reload the UI.

Model Fails to Redeploy

If a model fails to redeploy, trigger a manual redeploy. Select the Redeploy button in the UI. You can find the Redeploy button under the Advanced settings for your model. If a manual redeploy fails to resolve the problem, contact Alteryx Support.

 

Was This Helpful?

Running into problems or issues with your Alteryx product? Visit the Alteryx Community or contact support.