rah and db2_all commands

This topic includes descriptions of the rah and db2_all commands.

Command
Description
rah
Runs the command on all computers.
db2_all
Runs a non-interactive command on all database partition servers that you specify. db2_all does not support commands that require interactive user input.
db2_kill
Abruptly stops all processes being run on multiple database partition servers and cleans up all resources on all database partition servers. This command renders your databases inconsistent. Do not issue this command except under direction from IBM Software Support or as directed to recover from a sustained trap.
db2_call_stack
On Linux® and UNIX operating systems, causes all processes running on all database partition servers to write call traceback to the syslog.
On Linux and UNIX operating systems, these commands execute rah with certain implicit settings such as:
  • Run in parallel at all computers
  • Buffer command output in /tmp/$USER/db2_kill, /tmp/$USER/db2_call_stack respectively.

The command db2_call_stack is not available on Windows. Use the db2pd -stack command instead.