About the clean agent function for VCS agent for DB2

Last published : Jun 11, 2026
The agent first uses the db2stop command with the force option. If the command is unable to clean the agent function, the agent then uses the db2_kill script to kill the instance. If the db2_kill script fails, thekill -9 command is invoked. The command ipclean is used to ensure all the DB2 interprocess communications are cleaned for the particular instance.
\# su $DB2InstOwner -c "$InstHome/sqllib/adm/db2stop force
    nodenum $nodenum"