472,960 Members | 2,286 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Starting DB2 UDBv9 Express-C in a Linux environment

Hi all,

I have gone through the process of installing DB2 UDBv9 Express-C in
my local linux environment. I am used to having icon placed on my
Desktop or taskbar for easy access to (db2cc) Control Center. After
installation, how then can I get access to DB2? How can I place a
desktop icon in linux for easy access to DB2?

Also, I will like to know how I can make DB2 control center in my
windows environment detect the recent DB2 installation in the local
linux environment. My windows control center currently can connect to
other remote DB2 instances, all on a Linux box. This was done using
specific IP addresses but I don't know how to catalog the local linux
instance so that I can at least do some minor work through DB2 control
center.

Finally, can anyone recommend a book (free or not) that takes a linux
newbie through the nitty-gritty of Linux and Db2? A book in the vein
of how-to books.
Thanks
Okonita


Thanks again

Oct 1 '07 #1
8 2767
Ok*****@gmail.com wrote:
Hi all,

I have gone through the process of installing DB2 UDBv9 Express-C in
my local linux environment. I am used to having icon placed on my
Desktop or taskbar for easy access to (db2cc) Control Center. After
installation, how then can I get access to DB2? How can I place a
desktop icon in linux for easy access to DB2?
I'm not sure if that thing exists for linux...
To start db2 use the "db2start" command from your shell (or
startup-script...)
>
Also, I will like to know how I can make DB2 control center in my
windows environment detect the recent DB2 installation in the local
linux environment. My windows control center currently can connect to
other remote DB2 instances, all on a Linux box. This was done using
specific IP addresses but I don't know how to catalog the local linux
instance so that I can at least do some minor work through DB2 control
center.
Hang on. You mean you try to have DB2 running Linux the same box as
Controlcenter on Windows? Unless you are running some vm thingy I don't
see how you can have Linux and Windows up at the same time....

I admit to being naive, but I though control center would run on Linux...
Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Oct 1 '07 #2
On Oct 1, 3:16 am, Okon...@gmail.com wrote:
Hi all,

I have gone through the process of installing DB2 UDBv9 Express-C in
my local linux environment. I am used to having icon placed on my
Desktop or taskbar for easy access to (db2cc) Control Center. After
installation, how then can I get access to DB2? How can I place a
desktop icon in linux for easy access to DB2?

Also, I will like to know how I can make DB2 control center in my
windows environment detect the recent DB2 installation in the local
linux environment. My windows control center currently can connect to
other remote DB2 instances, all on a Linux box. This was done using
specific IP addresses but I don't know how to catalog the local linux
instance so that I can at least do some minor work through DB2 control
center.

Finally, can anyone recommend a book (free or not) that takes a linux
newbie through the nitty-gritty of Linux and Db2? A book in the vein
of how-to books.

Thanks
Okonita

Thanks again
You can add an icon to your Linux Gnome Desktop (right click, "Create
Launcher"). Assuming the instance name is db2inst1, run program /home/
db2inst1/sqllib/bin/db2cc. When you double click, the Control Center
will appear.

Norm
Norm

Oct 2 '07 #3
Serge Rielau wrote:
Ok*****@gmail.com wrote:
>Hi all,

I have gone through the process of installing DB2 UDBv9 Express-C in
my local linux environment. I am used to having icon placed on my
Desktop or taskbar for easy access to (db2cc) Control Center. After
installation, how then can I get access to DB2? How can I place a
desktop icon in linux for easy access to DB2?
I'm not sure if that thing exists for linux...
To start db2 use the "db2start" command from your shell (or
startup-script...)
>>
Also, I will like to know how I can make DB2 control center in my
windows environment detect the recent DB2 installation in the local
linux environment. My windows control center currently can connect to
other remote DB2 instances, all on a Linux box. This was done using
specific IP addresses but I don't know how to catalog the local linux
instance so that I can at least do some minor work through DB2 control
center.
Hang on. You mean you try to have DB2 running Linux the same box as
Controlcenter on Windows? Unless you are running some vm thingy I don't
see how you can have Linux and Windows up at the same time....

I admit to being naive, but I though control center would run on Linux...
Cheers
Serge
Serge, I've had mixed results getting the desktop icons installed with both
8.2 and 9.1. I've done installs under KDE that will create the appropriate
folders on the Gnome desktop, others that don't. No rhyme or reason that I
can see, but I've had to create the icons on the KDE desktop manually every
time. Yes, the Control Center (all the tools) run fine with Java 1.5 or 1.6
on 32 bit installs but I'm having some Java problems with the 64-bit
version of 9.1. I'm still running a pre-release version of openSUSE 10.3,
so that is not unexpected. Matter of fact, the CC is apparently more
stable on Linux than on XP or W2K.

--
Will Honea

--
Posted via a free Usenet account from http://www.teranews.com

Oct 2 '07 #4
On 2007-10-01, Ok*****@gmail.com <Ok*****@gmail.comwrote:
I have gone through the process of installing DB2 UDBv9 Express-C in
my local linux environment. I am used to having icon placed on my
Desktop or taskbar for easy access to (db2cc) Control Center. After
installation, how then can I get access to DB2? How can I place a
desktop icon in linux for easy access to DB2?
You didn't spesify your desktop environment. In Gnome you
would have to do it manually either by right clicking on desktop -->
"Create launcher" and so on. Also if you want to have an icon, you have
to define it your self.
Also, I will like to know how I can make DB2 control center in my
windows environment detect the recent DB2 installation in the local
linux environment.
I don't understand this. If you are running Linux and Windows on
dual boot system, there's no way to do this. If you running Linux or
Windows on same machine as virtual machine, you will have to catalog
databases as any other remote databases.

Finally, can anyone recommend a book (free or not) that takes a linux
newbie through the nitty-gritty of Linux and Db2? A book in the vein
of how-to books.
There is an IBM Redbook "Up and Running with DB2 for Linux, SG24-6899-00".
I haven't red and it's actually already four years old, but I believe
most of the information is still accurate and the book is still very
popular.

--
sip:ta*@tav.iki.fi http://tav.iki.fi

The Internet is *full* - go away! -- Gert Doering
Oct 2 '07 #5
On 2007-10-02, Tapio Väättänen <ta*@iki.fiwrote:
You didn't spesify your desktop environment. In Gnome you
would have to do it manually either by right clicking on desktop -->
"Create launcher" and so on. Also if you want to have an icon, you have
to define it your self.
Ment to say that you can do this either on Gnome Desktop or Gnome Panel.

--
sip:ta*@tav.iki.fi http://tav.iki.fi

"By the way, I was being sarcastic" -- Homer J. Simpson
Oct 2 '07 #6
I may be wrong Will, so correct me if I am. I *THINK* what you are
trying to do is catalog DBs and Instances on your windows box that you
can then refer to and manage with the windows tools. I do that all the
time.

What you need is the command set for doing this. Search for "catalog
tcpip node" in the manuals if you have them online. I'd help further on
this but I'm relegated for a couple of months to my lame laptop.

First you catalog the node (the instance really) and then you catalog the
db AT that instance - here, let me google it.

http://publib.boulder.ibm.com/infoce.../v8/index.jsp?
topic=/com.ibm.db2.udb.doc/core/r0001944.htm

Example 2 is the one you want,... and then :

catalog db sample at node _____

node name you used in "catalog tcpip node _____"

"AT NODE nodename
Specifies the name of the node where the database being cataloged
resides. This name should match the name of an entry in the node
directory. If the node name specified does not exist in the node
directory, a warning is returned, but the database is cataloged in the
system database directory. The node name should be cataloged in the node
directory if a connection to the cataloged database is desired. "

that should get you up and running with the CC on Winder$
Hope it helps!!!

Mairhtin O'Feannag
Will Honea <wh****@yahoo.comwrote in
news:47***********************@free.teranews.com:
Serge Rielau wrote:
>Ok*****@gmail.com wrote:
>>Hi all,

I have gone through the process of installing DB2 UDBv9 Express-C in
my local linux environment. I am used to having icon placed on my
Desktop or taskbar for easy access to (db2cc) Control Center. After
installation, how then can I get access to DB2? How can I place a
desktop icon in linux for easy access to DB2?
I'm not sure if that thing exists for linux...
To start db2 use the "db2start" command from your shell (or
startup-script...)
>>>
Also, I will like to know how I can make DB2 control center in my
windows environment detect the recent DB2 installation in the local
linux environment. My windows control center currently can connect
to other remote DB2 instances, all on a Linux box. This was done
using specific IP addresses but I don't know how to catalog the
local linux instance so that I can at least do some minor work
through DB2 control center.
Hang on. You mean you try to have DB2 running Linux the same box as
Controlcenter on Windows? Unless you are running some vm thingy I
don't see how you can have Linux and Windows up at the same time....

I admit to being naive, but I though control center would run on
Linux... Cheers
Serge

Serge, I've had mixed results getting the desktop icons installed with
both 8.2 and 9.1. I've done installs under KDE that will create the
appropriate folders on the Gnome desktop, others that don't. No rhyme
or reason that I can see, but I've had to create the icons on the KDE
desktop manually every time. Yes, the Control Center (all the tools)
run fine with Java 1.5 or 1.6 on 32 bit installs but I'm having some
Java problems with the 64-bit version of 9.1. I'm still running a
pre-release version of openSUSE 10.3, so that is not unexpected.
Matter of fact, the CC is apparently more stable on Linux than on XP
or W2K.
Oct 2 '07 #7
Mairhtin O'Feannag wrote:
I may be wrong Will, so correct me if I am. I *THINK* what you are
trying to do is catalog DBs and Instances on your windows box that you
can then refer to and manage with the windows tools. I do that all the
time.

What you need is the command set for doing this. Search for "catalog
tcpip node" in the manuals if you have them online. I'd help further on
this but I'm relegated for a couple of months to my lame laptop.

First you catalog the node (the instance really) and then you catalog the
db AT that instance - here, let me google it.

http://publib.boulder.ibm.com/infoce.../v8/index.jsp?
topic=/com.ibm.db2.udb.doc/core/r0001944.htm

Example 2 is the one you want,... and then :

catalog db sample at node _____

node name you used in "catalog tcpip node _____"

"AT NODE nodename
Specifies the name of the node where the database being cataloged
resides. This name should match the name of an entry in the node
directory. If the node name specified does not exist in the node
directory, a warning is returned, but the database is cataloged in the
system database directory. The node name should be cataloged in the node
directory if a connection to the cataloged database is desired. "

that should get you up and running with the CC on Winder$
Hope it helps!!!

Mairhtin O'Feannag
Will Honea <wh****@yahoo.comwrote in
news:47***********************@free.teranews.com:
>Serge Rielau wrote:
>>Ok*****@gmail.com wrote:
Hi all,

I have gone through the process of installing DB2 UDBv9 Express-C in
my local linux environment. I am used to having icon placed on my
Desktop or taskbar for easy access to (db2cc) Control Center. After
installation, how then can I get access to DB2? How can I place a
desktop icon in linux for easy access to DB2?
I'm not sure if that thing exists for linux...
To start db2 use the "db2start" command from your shell (or
startup-script...)

Also, I will like to know how I can make DB2 control center in my
windows environment detect the recent DB2 installation in the local
linux environment. My windows control center currently can connect
to other remote DB2 instances, all on a Linux box. This was done
using specific IP addresses but I don't know how to catalog the
local linux instance so that I can at least do some minor work
through DB2 control center.
Hang on. You mean you try to have DB2 running Linux the same box as
Controlcenter on Windows? Unless you are running some vm thingy I
don't see how you can have Linux and Windows up at the same time....

I admit to being naive, but I though control center would run on
Linux... Cheers
Serge

Serge, I've had mixed results getting the desktop icons installed with
both 8.2 and 9.1. I've done installs under KDE that will create the
appropriate folders on the Gnome desktop, others that don't. No rhyme
or reason that I can see, but I've had to create the icons on the KDE
desktop manually every time. Yes, the Control Center (all the tools)
run fine with Java 1.5 or 1.6 on 32 bit installs but I'm having some
Java problems with the 64-bit version of 9.1. I'm still running a
pre-release version of openSUSE 10.3, so that is not unexpected.
Matter of fact, the CC is apparently more stable on Linux than on XP
or W2K.
Responding to the wrong post, I think. I use this lab for a sandbox and run
the drill of setting up a new server pretty frequently. Good info - but
since about the time of V7 I also find that the tools in the Control Center
work pretty well for mapping things. The discovery process is especially
handy when you wind up with an odd port assigned to an instance or have an
unfamiliar schema to wade through.

--
Will Honea

--
Posted via a free Usenet account from http://www.teranews.com

Oct 2 '07 #8
Going completely offtopic...

CoLinux hooks into the NT kernel and provides a Linux environment within
Windows. Having said that, I think he means something like 2
workstations. Or perhaps (X-)Windows.

Serge Rielau wrote:
Hang on. You mean you try to have DB2 running Linux the same box as
Controlcenter on Windows? Unless you are running some vm thingy I don't
see how you can have Linux and Windows up at the same time....

I admit to being naive, but I though control center would run on Linux...
Cheers
Serge
Oct 5 '07 #9

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

Similar topics

1
by: Darryl Kerkeslager | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/sseoverview.asp SQL Server Express was developed with two distinct uses in mind. The first is as a server product,...
1
by: Nusret Bajric | last post by:
Hello, I have a problem with starting a COM application from my ASP.NET application on the server machine. I get an error with a message permission denied during creation of COM object. If I...
3
by: newbie | last post by:
I'm fairly comfy with vb6 and would like to step right into vb.net. Anyone have suggestions for a really good beginner program to write? Thanks!
8
by: sean sobey | last post by:
Hi everyone! I am trying to teach myself VB and am starting from 0. Where can start off with online tutorials? I already know SQL scripting and I want to use VB with SQL. Thank so much for...
1
by: Peter | last post by:
I've purchased VS.NET 2005 Standard and have tried to install SQL Server 2005 Express, but get the following error in the error log. Please could someone help me.... Microsoft SQL Server 2005...
4
by: Andrew Robinson | last post by:
My main dev machine has WinXp and VS2005 (pro). 1. I need to install VWD Express Edition so that I can do some instruction on this. Any issues with both on the same machine. Installation order?...
13
by: Miro | last post by:
Ok I have been slowely - and ever so slowely teaching myself VB.net Currently I have created an MDB file by code, and added fields to the MDB file by code. I like this solution because, ( im...
5
by: Frank Swarbrick | last post by:
Has anyone come upon this problem? My DB2/LUW 9.1 database seems to be both "started and not started". Check out the following: C:\Program Files\IBM\SQLLIB\BIN>db2 connect to sample SQL1032N ...
11
by: HC | last post by:
I posted this in one of the VB forums but I'm starting to think it might be more appropriate to have it here, since it really seems to be a SQL server (MSDE/Express 2005) problem: Hey, all, I...
5
by: eliasen | last post by:
Hi I have created a Windows Service using C# and .NET2.0. The service is quite simple - right now it doesn't do anything except throwing an exception in the OnStart method. It used to something...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.