Stop Adapter Container and ASI
Depending on whether you are using UNIX/Linux, or Windows, you have a variety of commands to stop an adapter container. You can also stop an ASI (application server-independent) system without stopping the adapter containers.
- Stop Adapter Container - UNIX/Linux
- Stop Adapter Container - Windows
- Stop ASI System
Stop Adapter Container - UNIX/Linux
To stop an adapter container JVM in UNIX/Linux, run the following command from the install_dir/install/bin directory:
- ./stopContainer.sh - stops all adapter container nodes.
./stopContainer.sh # - stops a specific adapter container node.
In this convention, # refers to the container JVM number. For example, by running the command ./stopContainer.sh 1 stops container JVM number 1.
Stop Adapter Container - Windows
To stop an adapter container JVM in Windows, run the following command from the install_dir\install\bin directory:
- stopContainerWindowsService.cmd - stops all adapter container nodes.
stopContainerWindowsService.cmd # - stops a specific adapter container node.
In this convention, # refers to the container JVM number. For example, by running the command stopContainerWindowService 2 stops container JVM number 2.
To uninstall and reinstall a specific adapter container JVM as a Windows service, run the following command from the install_dir\install\bin directory:
UninstallContainerWindowsService.cmd #
- Run UninstallContainerWindowsService.cmd # command to uninstall adapter container JVM as a Windows service.
- Run InstallContainerWindowsService.cmd # command to install adapter container as a Windows service.
- Run InstallACPassPhraseWindowsService.cmd # command to install AC passphrase windows service, which is used to set up passphrase for container node.
To uninstall and reinstall all configured adapter containers, run the following commands:
- Run UninstallContainerWindowsService.cmd command to uninstall all adapter containers.
- Run installAllACNodes.cmd command to reinstall all adapter containers.
Stop an ASI System
You can stop an ASI (application server-independent) system without stopping the adapter containers. The adapter containers can continue to function and receive data. However, the database must be up and running during this time. You can install patches and perform maintenance on the ASI system while the adapter containers continue to function when Sterling B2B Integrator is stopped.
- (For Unix or Linux) stopASI.sh
- (For Windows) stopASIWindowsService.cmd