Creating $DB2InstHome/.rhosts

On each system, create a file named $DB2InstHome/.rhosts, and place a "+" character within it. This file permits a system to access the database without the use of a password.

If security is a concern, put the hostname and user ID inside the .rhosts file, as shown in the following examples:

dbmach01   db2inst1
dbmach02   db2inst1
dbmach03   db2inst1
dbmach04   db2inst1

Or

+   db2inst1

With the rsh system_name command, you can test password free remote logon. From one system in the cluster to another, the command tests that you can remotely log on with the DB2 instance (for example, db2inst1) account. You should not be prompted for a password. Test this command from each system in the cluster to all other systems.