Issuing commands in partitioned database environments
In a partitioned database environment, you might want to issue commands to be run on computers in the instance, or on database partition servers. You can do so using the rah command or the db2_all command. The rah command allows you to issue commands that you want to run at computers in the instance.
If you want the commands to run at database partition servers in the instance, you run the db2_all command. This section provides an overview of these commands. The information that follows applies to partitioned database environments only.
On Windows, to run the rah command or the db2_all command, you must be logged on with a user account that is a member of the Administrators group.
On Linux® and UNIX operating systems, your login shell can be a Korn shell or any other shell; however, there are differences in the way the different shells handle commands containing special characters.
Also, on Linux and UNIX operating systems, rah uses the remote shell program specified by the DB2RSHCMD registry variable. You can select between the two remote shell programs: ssh (for additional security), or rsh. If DB2RSHCMD is not set, rsh is used. The ssh remote shell program is used to prevent the transmission of passwords in clear text in UNIX operating system environments.