You need to execute:
/home/instance-owner/sqllib/db2profile
for the instance you want to manipulate.
On systems I've set up involving multiple instances; I never attempt to
do this where I manipulate db2inst2 while logged on as db2inst1. I
either login as the appropriate instance owner or use a single DBA
userid that has administrative privileges for all of the instances. This
ID has a mechanism that provides a command window that can be tailored
to attach to any of the instances.
Administration of all of the instances can also be performed from a
single execution of the control center (db2cc).
Phil Sherman
Yasaswi Pulavarti wrote:
So when I am logged in as db2inst1 (username as well as instance name)
how can I run db2inst2 the second instance? Or do I need to log out as
db2inst1 and log back in as db2inst2
Please inform me.
Thanks,
Yasaswi
Ian <ia*****@mobileaudio.com> wrote in message news:<41**********@127.0.0.1>...
Yasaswi Pulavarti wrote:
On Aix or Linux how can I verify if the two instances I have on the
same server are running? If I run ps -ef | grep 'db2inst' command I
see only db2inst1. I cataloged the second instance db2inst2 to the
local node myinst2. Even if I grep for myinst2, I don't see any thing.
Please help.
You will see processes running for each DB2 instance owner. If you only
see processes for db2inst1, then the other instance is not running.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---