About the offline agent function for VCS agent for DB2

Last published : Sep 11, 2026
The agent uses the db2gcf program to stop a DB2 database partition. For a database with only one partition, it stops the instance. The command is:
\# su $DB2InstOwner -c "$InstHome/sqllib/bin/db2gcf -d -i\
    $DB2InstOwner -p $nodenum"
The agent can also use the db2stop command to stop all DB2 partitions.
Note: The agent uses thedb2stopcommand when theUseDB2startattribute is set to 1 and the partition is of non-MPP type.