Search

Stop Core Application Server

Articles

Perform the following steps to stop the JIFFY.ai application whenever there is maintenance activity in the JIFFY.ai core server or application upgrades etc.

    Stop NGINX

    Log in to the JIFFY.ai core server and run the following command as a Root user to stop the NGINX.

    • /opt/nginx/sbin/nginx -s stop
    • ps -ef | grep nginx

    Image description

    Stop Elasticsearch/Kibana Cluster

    1. Navigate to the Jiffy installation folder.

      cd /opt/jiffy

    2. Change Directory into subfolder deps/elasticsearch.

      cd deps/elasticsearch

    3. Run the following command as a root user.

      docker-compose down

      Running instances of Elasticsearch and Kibana are down now.

      Image description

    Stop Service

    1. Run the following command to stop Elasticsearch Node1.

      docker-compose stop node1

    2. Run the following command to stop Elasticsearch Node2.

      docker-compose stop node2

    3. Run the following command to stop Kibana.

      docker-compose stop kibana

    Image description
  • Run the following command to inspect services.

    docker-compose ps

Image description

Stop Application-Level Services

Jiffy core services, such as stop/start Applications must be performed from jiffyapp-usr

Switch the user to JIFFY.ai app Linux user and run the following commands as JIFFY.ai app user to stop the Jiffy Application.

Stop Jiffy Application

  1. Switch the user to JIFFY.ai app Linux user and run the following commands as jiffy app user.
  2. application stop all

  3. Run the following command to check whether all the JIFFY.ai services have stopped.
  4. application status OR supervisorctl status

    Image description

    Stop Functionator Container

    1. Run the following command to stop Functionator Container.

    docker stop jiffy-functionator

    Image description

  5. Run the following command to check the status of Functionator Container.

docker ps -a

Did you find what you were looking for?