How To
Summary
How to restart all applications that are deployed to an App Host, via CLI
Steps
1) Find the paired App Host(s)
[user@apphost ~]$ sudo manageAppHost showconfig
[1] 8e873b6b-1793-426f-9c33-286f00216f40 SOAR 154 51.0.4 v1.15.3.2 Active
[2] c863d61f-8854-4d6e-8306-d829a4200894 Email-test - SOAR 154 v1.15.3.2 Active
2) Find the deployed applications and the namespace
[user@apphost ~]$ sudo kubectl get pods -A -l apps.isc.ibm.com/app-type=app -L app.kubernetes.io/instance
NAMESPACE NAME READY STATUS RESTARTS AGE INSTANCE
8e873b6b-1793-426f-9c33-286f00216f40 dc4fa000-aea7-48c1-a5ce-8e623c0821c5-597fc5c875-2scrt 1/1 Running 0 4d3h fn_outbound_email
8e873b6b-1793-426f-9c33-286f00216f40 3beff250-62c0-4f00-811e-5f7e52893bae-649465564d-c2cjd 1/1 Running 0 4d3h fn_virustotal
c863d61f-8854-4d6e-8306-d829a4200894 6287ca79-dba0-4fe6-9a0a-e55c6c2c161e-554d7dfd-8f9hq 1/1 Running 2 (2d2h ago) 4d3h fn_outbound_email
3) Restart the App Host and all deployed applications
In this example we want to restart the 2 applications deployed to namespace 8e873b6b-1793-426f-9c33-286f00216f40
[user@apphost ~]$ sudo kubectl rollout restart deployments -n 8e873b6b-1793-426f-9c33-286f00216f40
deployment.apps/deployment-synchronizer restarted
deployment.apps/3beff250-62c0-4f00-811e-5f7e52893bae restarted
deployment.apps/dc4fa000-aea7-48c1-a5ce-8e623c0821c5 restarted
deployment.apps/deployment-operator restarted
4) To watch the applications being terminated and restarted
This will refresh the screen every 2 seconds
[user@apphost ~]$ sudo watch kubectl get pods -A -l apps.isc.ibm.com/app-type=app -L app.kubernetes.io/instance
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSA230","label":"IBM Security QRadar SOAR"},"ARM Category":[{"code":"a8m0z0000001jTpAAI","label":"Integrations-\u003EAppHost"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"44.0.0;51.0.0"}]
Was this topic helpful?
Document Information
Modified date:
15 July 2025
UID
ibm17239772