Attaching to the remote RDS for Db2 DB instance
Use the following steps to attach to your remote RDS for Db2 DB instance and run get snapshot
operations.
To attach to the remote RDS for Db2 DB instance
-
Run a client-side IBM Db2 CLP session. For information about cataloging your RDS for Db2 DB instance and database, see Connecting to your Amazon RDS for Db2 DB instance with IBM Db2 CLP. Make a note of the master username and master password for your RDS for Db2 DB instance.
-
Attach to the RDS for Db2 DB instance. In the following example, replace
node_name
,master_username
, andmaster_password
with the TCPIP node name that you catalogued and the master username and master password for your RDS for Db2 DB instance.db2 attach to
node_name
usermaster_username
usingmaster_password
After attaching to the remote RDS for Db2 DB instance, you can run the following commands and
other get snapshot
commands. For more information, see GET
SNAPSHOT command
db2 list applications db2 get snapshot for all databases db2 get snapshot for database manager db2 get snapshot for all applications