473,657 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2813
Ok*****@gmail.c om 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.c om 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.c om 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.c om <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.fiwrot e:
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.c omwrote in
news:47******** *************** @free.teranews. com:
Serge Rielau wrote:
>Ok*****@gmail.c om 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
installatio n, 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
Controlcente r 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.c omwrote in
news:47******** *************** @free.teranews. com:
>Serge Rielau wrote:
>>Ok*****@gmail.c om 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
Controlcent er 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
1965
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, especially as a Web server or a database server. The second is as a local client data store where the application data access does not depend on the network. Ease of use and simplicity are key design goals.
1
1381
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 start an application alone (without call through another COM DLL), it does nothing (no process activity). The application starts without problems from normal desktop application.
3
1328
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
286
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 your help. sean
1
6616
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 Express Edition x86: Component Microsoft SQL Server 2005 Express Edition x86 returned an unexpected value. ***EndOfSession***? Microsoft SQL Server 2005 Express Edition x86: Component Microsoft SQL Server 2005 Express Edition x86 returned an...
4
2517
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? 2. Does VWD Express Edition support the idea of Solutions? I coun't figure out how to create a blank solution which I usually do with VS2005 (and then add my web site to the solution.)
13
2425
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 assuming ) if I create an EXE and I load an MDB file, I can see if certain fields are there, and if not add them. Kinda like an Update that is imbeded into the EXE, so you dont always have to create an Install shield.
5
8294
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 No start database manager command was issued. SQLSTATE=57019 C:\Program Files\IBM\SQLLIB\BIN>db2start SQL1026N The database manager is already active. C:\Program Files\IBM\SQLLIB\BIN>db2stop
11
6233
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 have a problem with queries against a SQL server instance that I just found and is causing me fits. I hope someone can point me in the right direction, please. TIA. Basically, I got a Vista OS machine to test my VB6 app on it as some
5
4715
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 more, but I couldn't get it working, so I boiled it down to the exception to test. Anyway, the service can be installed using InstalUtil but when starting the service, I just get the message that the service stopped again withour reporting any...
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7352
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.