Upgrading node services


Upgrade all node services to the latest tag by restarting and upgrading to make sure optimal system performance.

To upgrade node services

  1. Navigate to the deployment hedge-core package directory.
  2. (Optional) If the deploy.sh script does not have execution permission; grant the permission by using the following command: 

    chmod +x deploy.sh 
  3. Update the VERSION file in the core deployment directory with a tag.
    For example, enter RC-beta-1.
  4. Perform one of the following steps:

    • To upgrade all services on a node, run the commands:

      • make down: This command shuts down all services associated with the node.
      • make pull: This command fetches the latest updates from the repository.
      • make run ENV=node: This command restarts all services on the node with the updated configuration.

      The system restarts or upgrades the processes for all node services.

    • To upgrade a specific service or services on a node, run the following commands: 

      • docker stop <service_name>: This command stops the specified service container.
      • docker remove <service_name>: This command removes the specified service container.
      • make run ENV=node <service_name>: This command restarts the specified service on the node with the updated configuration.

      The system restarts or upgrades the processes for a specific service or service on a node.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*