If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how to create an instance on AIX?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-09, 08:31
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
how to create an instance on AIX?

I am trying to create an instance under userid=instance name db2v8s1:
devdb2[/usr/opt/db2_08_01]db2icrt -a CLIENT -w 64 -s ESE -p 50008 -u db2v8fs1 db2v8s1

And get the following message:
ksh: db2icrt: not found.

Please advise.
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #2 (permalink)  
Old 02-02-09, 08:44
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
db2icrt is in the instance subdirectory

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 02-02-09, 09:01
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by sathyaram_s
db2icrt is in the instance subdirectory

HTH

Sathyaram
what does it mean? manual says in AIX this command is supposed to be run in /usr/opt/db2_08_01 directory, but because db2 is not installed there it does not work. what is the way around it?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #4 (permalink)  
Old 02-02-09, 09:31
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Can you search for db2icrt on the machine ... Does it exist? Where is it ? Is the directory in your path ? Is your current directory in your path and you are in that directory ?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 02-02-09, 11:40
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
I had to switch to root userid and then did:

/usr/opt/db2_08_01/instance#./db2icrt -w 64 -p 50008 -u db2v8fs1 db2v8s1

And it is taking forewer... How long does it normaly takes?

If I want to have dbm cfg params same as other existing dbms cfg params how do I copy them?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On