Difference between revisions of "GDL/9.0/Deployment/Restart Kafka clusters"
From Genesys Documentation
(Published) |
|||
Line 6: | Line 6: | ||
|Section={{Section | |Section={{Section | ||
|sectionHeading=Stop Kafka Clusters | |sectionHeading=Stop Kafka Clusters | ||
− | | | + | |Standalone=No |
− | | | + | |ComingSoon=No |
+ | |Status=No | ||
+ | |alignment=Vertical | ||
+ | |structuredtext=To stop the clusters gracefully, type the following commands in command prompt. | ||
# Press '''Ctrl+C.'''(The clusters shutdowns in a sequential order to complete the process) | # Press '''Ctrl+C.'''(The clusters shutdowns in a sequential order to complete the process) | ||
# <code>sudo halt</code> (To exit as a super user) | # <code>sudo halt</code> (To exit as a super user) | ||
Line 14: | Line 17: | ||
}}{{Section | }}{{Section | ||
|sectionHeading=Restart Kafka Clusters | |sectionHeading=Restart Kafka Clusters | ||
− | | | + | |Standalone=No |
− | | | + | |ComingSoon=No |
+ | |Status=No | ||
+ | |alignment=Vertical | ||
+ | |structuredtext=<span>To restart the full cluster (3 Zookeepers + 3 Kafka layers + 1 Management API), follow the below steps.</span> | ||
# Launch Command Prompt as administrator. | # Launch Command Prompt as administrator. | ||
# Change the directory to Vagrant folder. (E.g <code>C:\HashiCorp\Vagrant\GDL</code>) | # Change the directory to Vagrant folder. (E.g <code>C:\HashiCorp\Vagrant\GDL</code>) |
Revision as of 13:45, January 17, 2020
How to restart Kafka clusters?
Stop Kafka Clusters
To stop the clusters gracefully, type the following commands in command prompt.
- Press Ctrl+C.(The clusters shutdowns in a sequential order to complete the process)
sudo halt
(To exit as a super user)vagrant halt
(To halt the virtual machine)exit
Restart Kafka Clusters
To restart the full cluster (3 Zookeepers + 3 Kafka layers + 1 Management API), follow the below steps.
- Launch Command Prompt as administrator.
- Change the directory to Vagrant folder. (E.g
C:\HashiCorp\Vagrant\GDL
) vagrant up
vagrant ssh
sudo su
cd /Shared
docker image/load -i IP_GDL_900_ENU_DockerLinux.tar
sudo docker-compose -f docker-compose-cluster-full.yml up
Kafka clusters starts running at the end of this step.
Comments or questions about this documentation? Contact us for support!