IBM Books

Administration Guide


Appendix P. Issuing Commands to Multiple Database Partitions

In a partitioned database environment, you may want to issue commands to be run on all database hosts or just on some database partitions. You can do so using the rah shell script or the db2_all shell script. This appendix gives you an overview of these shell scripts. This appendix is specific to all UNIX systems only.

The rah command allows you to issue commands that you wish to run at all hosts in a list. If you wish the commands to run at all partitions in a list, you run the db2_all shell script. Your login shell can be a kornshell or any other shell; however, there are differences in the way the different shells handle commands containing special characters.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]