473,405 Members | 2,176 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,405 software developers and data experts.

Understand the big picture ...

Jep

We plan for 1 (big) server to host both a production and test database
for a system, and some other small db's. Databases to be put on a SAN.

But I don't understand the topics concerning installation and
administration. What can I do and what can't I do, when multiple
databases reside on the same server.

Can there be a setup, so that the test database can be stopped/started
without interupting the production database ??

There must be some Administrative topics I ought to know about??

/Jep
Nov 12 '05 #1
8 1608
Jep

Maybe it is INSTANCE(s) I'm looking for. Can there be more than one
instance on the same server ?? And how do I create these ??

Nov 12 '05 #2
Jep <do**********@jepweb.dk> wrote:

Maybe it is INSTANCE(s) I'm looking for. Can there be more than one
instance on the same server ??
Yes.
And how do I create these ??


With the command "db2icrt".

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #3
In a perfect world, you should like to have a separate server for
production and test systems. If that is not currently feasible, then
I would recommend creating a separate instance of DB2 for your test
databases. It can be a single server and single software installation.
A separate instance is a separate running copy of the DBMS server, listening
on a separate port for connections, and managing its own databases.

This will allow you to stop and start the test and production systems
separately, and also to test changes in the database manager configuration
on the test system isolated from your production databases. It will also
allow you to enforce different security policies in your test and production
systems-- for instance, where I work, all of our DBAs have SYSADM authority
on test instances, but only the DBAs with primary responsibility for DB2
administration have SYSADM on the production instances. You also can
do things like give DBAs SYSCTRL on production systems instead of SYSADM
if the data is sensitive and should be kept confidential from system
administrators.

Hope that helps,

Joseph

Jep <do**********@jepweb.dk> writes:

We plan for 1 (big) server to host both a production and test database
for a system, and some other small db's. Databases to be put on a SAN. But I don't understand the topics concerning installation and
administration. What can I do and what can't I do, when multiple
databases reside on the same server. Can there be a setup, so that the test database can be stopped/started
without interupting the production database ?? There must be some Administrative topics I ought to know about?? /Jep

Nov 12 '05 #4
Given answers in other notes, build an instance for each db. Each
instance can be started and stopped independently of each other.
When you create the db, I'd create one (prod or test, doesn't matter)
and define it completely.
Once defined and before you populate, backup the db and restore it as
new in the other instance.
You will have to redirect each tablespace container definition as they
cannot coexist in the same defined targets.
HTH, Pierre.

Jep wrote:
We plan for 1 (big) server to host both a production and test database
for a system, and some other small db's. Databases to be put on a SAN.

But I don't understand the topics concerning installation and
administration. What can I do and what can't I do, when multiple
databases reside on the same server.

Can there be a setup, so that the test database can be stopped/started
without interupting the production database ??

There must be some Administrative topics I ought to know about??

/Jep


--
Pierre Saint-Jacques
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #5
Jep

Thanks a lot - I'm getting closer.

Now I succeded making a new INSTANCE. But I can't create a new
database. It says DB2START not performed. Stop/start makes no
difference.

How do I Start/Stop these instances seperately?? Using the manual on
DB2START mentions node's ?? But what I expected is Instances!

/Jep

Nov 12 '05 #6
"Jep" <do**********@jepweb.dk> wrote in message
news:d3********************************@4ax.com...

Thanks a lot - I'm getting closer.

Now I succeded making a new INSTANCE. But I can't create a new
database. It says DB2START not performed. Stop/start makes no
difference.

How do I Start/Stop these instances seperately?? Using the manual on
DB2START mentions node's ?? But what I expected is Instances!

/Jep

The node name is really an alias for the node/instance. For example, see the
CATALOG LOCAL NODE in the Command Reference guide.
Nov 12 '05 #7
The "DB2INSTANCE" env variable will control which instance you're
starting/stopping.

Jep wrote:
Thanks a lot - I'm getting closer.

Now I succeded making a new INSTANCE. But I can't create a new
database. It says DB2START not performed. Stop/start makes no
difference.

How do I Start/Stop these instances seperately?? Using the manual on
DB2START mentions node's ?? But what I expected is Instances!

/Jep


Nov 12 '05 #8
Go to a command window and issue:
db2 get instance
The answer will give you the name of the instance you are currently
attached to. Then issue
db2start ---- This will start that instance.
Then issue the command:
set db2instance=otherinstancename
db2start
You now havw both instances started.
Use the set db2instance command to ensure you are in the proper instance
that you are concerned with and then issue
db2 create d dbanme ......

Note that in this set up, when you are attached to one instance, you do
not "see" the other instance's objects unless you catalog them properly
in the current instance.
For explanations to this and other issues that may come up, I'd highly
recommend you read the Quick Beginnings Manual for DB2 on the OS that
you are using and then refer to the DB2 Admin. Guide.
We can help you a lot here but some basics are expected and it makes vry
long replies to explain the manual.
HTH, Pierre.
Jep wrote:
Thanks a lot - I'm getting closer.

Now I succeded making a new INSTANCE. But I can't create a new
database. It says DB2START not performed. Stop/start makes no
difference.

How do I Start/Stop these instances seperately?? Using the manual on
DB2START mentions node's ?? But what I expected is Instances!

/Jep


--
Pierre Saint-Jacques
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #9

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

Similar topics

5
by: Michael | last post by:
Ive been programming for some time now, so i wanted to get into graphics, but i wanted to see if I could make a Picture Viewer. I have no experience with the picture control, ive tryed the MSDN...
2
by: Lyn | last post by:
What is the best way to import a picture (bmp format) via VBA from a Windows file and embed it into a Bound Object Frame (and thence to an OLE Object in a table)? I found an MS knowledge base...
6
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
6
by: nickybon | last post by:
Hi fellas, Im setting up a form in my Access project and I need to implement this rather special fucntion. This function is basically simple to understand but I really dont know how to create...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
1
by: software student | last post by:
i need to select a picture from sql server, picture is stored as path and have to display it in the picture box. now i dont understand how to covert it to picture box type
4
by: =?Utf-8?B?Q2FybGFKYWRl?= | last post by:
Can anyone help me? I need to use picture it 2000 every day and use to use it on Windows XP and had NO problems at all. If I would open up windows explorer i could be in my folder that has all of...
17
by: merrily | last post by:
Read in one forum the question someone asked after successfully (sort of) installing Picture It 2000 on new computer with Vista. Will this person or any other help me accomplish this install on...
1
by: orson4music | last post by:
I have two picture boxes on my form. One on top of the other. The top most picture box's movement is restricted within the picture box below making it look like the top most picture box is contained...
8
by: Jonathan Sachs | last post by:
I'm trying to compose a list of items, each of which consists of text that wraps around a picture at the left margin. The examples I have seen tell me to do it like this: <p><img src="xxxx.jpg"...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.