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 > Installing DB2 V9.5 ESE for Linux, Unix, Windows

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-29-10, 11:17
navch navch is offline
Registered User
 
Join Date: Jan 2010
Posts: 19
Installing DB2 V9.5 ESE for Linux, Unix, Windows

Hi, I have to install DB2 V9.5 ESE for Linux. I have read articles on IBM site about the installation tasks. The 3 main tasks are db2install, then create DB2 Administrator server (DAS), and then create instance. Check for Licence. If there is a need for fixpack then install the fixpack too. Finally, restore and migrate the backup data.

My question is there any other steps during the installation including some configurations.

Thanks

Nav
Reply With Quote
  #2 (permalink)  
Old 01-29-10, 12:24
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
If you want to apply a fixpack, you no longer have to install the GA version and then apply the fixpack. You can just install the fixpack. I would user db2setup instead of db2install because it helps you create the DAS and 1 instance. These are the steps I usually go through:

1) install DB2 (db2setup). Do this at the fixpack you want to end up as to eliminate a step.
2) Configure DAS and instance (DBM) that were created in step 1 to company standards
3) restore backup image. If migration from previous version, it will automatically happen here
4) configure DB for new enviroment

Andy
Reply With Quote
  #3 (permalink)  
Old 02-01-10, 09:27
navch navch is offline
Registered User
 
Join Date: Jan 2010
Posts: 19
Thanks

Thanks Andy for your reply.

Nav
Reply With Quote
  #4 (permalink)  
Old 02-01-10, 09:48
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by ARWinner View Post
If you want to apply a fixpack, you no longer have to install the GA version and then apply the fixpack. You can just install the fixpack. I would user db2setup instead of db2install because it helps you create the DAS and 1 instance. These are the steps I usually go through:

1) install DB2 (db2setup). Do this at the fixpack you want to end up as to eliminate a step.
2) Configure DAS and instance (DBM) that were created in step 1 to company standards
3) restore backup image. If migration from previous version, it will automatically happen here
4) configure DB for new enviroment

Andy
installing db2 v9.5 on linux today
at what point do I set registry variables, instance and other .profile(s) and .db2profile(s)?

Thanks
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #5 (permalink)  
Old 02-01-10, 09:56
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Linux does not have registry variables like windows. If you mean the db2set options that you may want to set beyond the default, you can set them after step 2, but you will need to restart the instance at that point. Do not modify the .profile (DB2 recommends that you do not touch this at all, but to modify the .db2profile if necessary). You can modify the .db2profile after the instance is set up (after step 1).

Andy
Reply With Quote
  #6 (permalink)  
Old 02-01-10, 16:44
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by ARWinner View Post
Linux does not have registry variables like windows. If you mean the db2set options that you may want to set beyond the default, you can set them after step 2, but you will need to restart the instance at that point. Do not modify the .profile (DB2 recommends that you do not touch this at all, but to modify the .db2profile if necessary). You can modify the .db2profile after the instance is set up (after step 1).

Andy
can i edit /home/db2v9i1/sqllib] profile.env file to set registry variables?

i tried to use db2set and got an error:
COREDB@[/home/db2v9i1]db2set -i DB2AUTOSTART=FALSE
DBI1306N The instance profile is not defined.
Explanation:
The instance is not defined in the target machine registry.
User response:
Specify an existing instance name or create the required instance.


though .profile and db2profile of db2v9i1 user is the same as on AIX (i am mimicing existing environment on AIX)
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #7 (permalink)  
Old 02-01-10, 16:51
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You need to run db2set as the instance owner.

Andy
Reply With Quote
  #8 (permalink)  
Old 02-02-10, 04:59
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
You shouldn't fiddle around in sqllib/db2profile manually. In case you update your DB2 instance, those changes may be lost.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #9 (permalink)  
Old 02-02-10, 08:17
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Instead of changing sqllib/db2profile, you should sqllib/userprofile. The db2profile calls the userprofile before exiting.

Andy
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