| |
|
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.
|
 |

01-29-10, 11:17
|
|
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
|
|

01-29-10, 12:24
|
|
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
|
|

02-01-10, 09:27
|
|
Registered User
|
|
Join Date: Jan 2010
Posts: 19
|
|
|
Thanks
|
|
Thanks Andy for your reply.
Nav
|
|

02-01-10, 09:48
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
|
|
Quote:
Originally Posted by ARWinner
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
|
|

02-01-10, 09:56
|
|
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
|
|

02-01-10, 16:44
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
|
|
Quote:
Originally Posted by ARWinner
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
|
|

02-01-10, 16:51
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
You need to run db2set as the instance owner.
Andy
|
|

02-02-10, 04:59
|
|
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
|
|

02-02-10, 08:17
|
|
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
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|