473,395 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how to verify

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.
Thanks,
Yasaswi
Nov 12 '05 #1
5 1592
Ian
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 =---
Nov 12 '05 #2
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 =---

Nov 12 '05 #3
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 =---


Nov 12 '05 #4
ya*****@encfor.com (Yasaswi Pulavarti) wrote in message news:<aa**************************@posting.google. com>...
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

Logon as the instance owner and type db2start.
Nov 12 '05 #5
phu
What is the 'ps' command thatyou are running? Maybe you can choose
options that displays the processes of all users?

Bill

Yasaswi Pulavarti <ya*****@encfor.com> 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 =---

--
Bill Phu -- Dalhousie University (phu at cs dal ca)
"Three grand essentials to happiness in this life are something to do,
something to love, and something to hope for."
- Joseph Addison
Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: vishal | last post by:
how can i verify the email address entered by client??? is there any readily available function for that in php or mysql????? else suggest me some links for verifying email address enetered...
2
by: Wayne Wengert | last post by:
I want to write a Windows application to go through all the email addresses in an SQL Server table and to report which ones are invalid. From Googling and perusing NGs it is my understanding that...
0
by: CHC | last post by:
Hi, I would like to verify the authenticity of a X509 digital certificate. I'm using Crypt::X509 to create a certificate object and can extract the data fields. But, I can't find a way to verify...
43
by: Xancatal | last post by:
Hey everybody. I need help on this one. I need to verify that a number entered by a user is not either a negative number (-100.00), or an alphabet (a, b, c, X, Y) as well as other number other than...
1
by: Grey | last post by:
I have to write a program to verify email address availability. i have to verify thousand of email address. is there any way to verify the email in ..net instead. the requirement is to verify which...
3
by: Grey | last post by:
I have to write a program to verify email address availability. i have to verify thousand of email address. is there any way to verify the email in ..net instead. the requirement is to verify which...
7
by: =?Utf-8?B?Tmlrb2xheSBQb2Rrb2x6aW4=?= | last post by:
Good afternoon, community! How you help me? I need to know, how could I verify e-mail address? I don't mean ( for example: test@test.com it is valid or not) I wanna know is that real world...
1
by: wootmaster | last post by:
I'm writing a script that will run a few tests on a given mail server, it's meant to test to see if VRFY and EXPN is enabled or not. However, when I use "verify" to test to see if VRFY is enabled on...
1
by: rcamarda | last post by:
I have a database backup that our vendor proformed. I dont know if they verified the backup, nor do I have the disk space to create a new backup with verify or retore the current backup. Is...
0
by: Ahmedhussain | last post by:
Hi everyone, I am totally new to IIS. I somehow configured IIS and now whenever I try to add a website, on testing it gives me the error of authorization, i.e. "Cannot verify access to path :...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.