IBM VERSION 9 Manuale Utente

Pagina di 109
Related
 
reference:
  
v
   
“db2_deinstall
 
-
 
Uninstall
 
DB2
 
products
 
or
 
features
 
command”
 
in
 
Command
 
Reference
 
v
   
“db2_install
 
-
 
Install
 
DB2
 
product
 
command”
 
in
 
Command
 
Reference
 
v
   
“Multiple
 
DB2
 
copies
 
roadmap”
 
in
 
Administration
 
Guide:
 
Implementation
Stopping
 
DB2
 
instances
 
(Linux)
 
 
You
 
must
 
stop
 
all
 
DB2
 
instances
 
associated
 
with
 
the
 
DB2
 
copy
 
you
 
are
 
uninstalling.
 
Instances
 
associated
 
with
 
other
 
DB2
 
copies
 
should
 
not
 
be
 
affected
 
by
 
uninstalling
 
the
 
current
 
copy.
 
 
Procedure:
  
 
To
 
stop
 
a
 
DB2
 
instance:
 
1.
   
Log
 
in
 
as
 
a
 
user
 
with
 
root
 
authority.
 
2.
   
To
 
obtain
 
a
 
list
 
of
 
the
 
names
 
of
 
all
 
DB2
 
instances
 
associated
 
with
 
your
 
current
 
DB2
 
copy,
 
enter
 
the
 
following
 
command:
 
DB2DIR/bin/db2ilist
 
where
 
DB2DIR
 
is
 
the
 
location
 
you
 
specified
 
during
 
the
 
DB2
 
Version
 
9
 
installation.
 
The
 
default
 
installation
 
path
 
for
 
Linux
 
is
 
/opt/ibm/db2/V9.1.
 
3.
   
Log
 
out.
 
4.
   
Log
 
back
 
in
 
as
 
the
 
owner
 
of
 
the
 
instance
 
you
 
want
 
to
 
stop.
 
5.
   
Run
 
the
 
start
 
up
 
script
 
if
 
it
 
is
 
not
 
included
 
in
 
.profile
.
 
.
 
INSTHOME/sqllib/db2profile
       
(bash,
 
Bourne,
 
or
 
Korn
 
shells)
 
source
 
INSTHOME/sqllib/db2cshrc
       
(C
 
shell)
 
where
 
INSTHOME
 
is
 
the
 
home
 
directory
 
of
 
the
 
instance.
 
6.
   
You
 
might
 
want
 
to
 
save
 
the
 
database
 
manager
 
configuration
 
file,
 
db2systm
,
 
the
 
db2nodes.cfg
 
file,
 
or
 
user
 
defined
 
function
 
or
 
fenced
 
stored
 
procedure
 
applications
 
in
 
INSTHOME/sqllib/function
.
 
7.
   
Stop
 
the
 
DB2
 
database
 
manager
 
by
 
entering
 
the
 
db2stop
 
force
 
command.
 
8.
   
Confirm
 
that
 
the
 
instance
 
is
 
stopped
 
by
 
entering
 
the
 
db2
 
terminate
 
command.
 
9.
   
Repeat
 
these
 
steps
 
for
 
each
 
instance.
 
Related
 
reference:
  
v
   
“db2ilist
 
-
 
List
 
instances
 
command”
 
in
 
Command
 
Reference
 
v
   
“db2stop
 
-
 
Stop
 
DB2
 
command”
 
in
 
Command
 
Reference
 
v
   
“FORCE
 
APPLICATION
 
command”
 
in
 
Command
 
Reference
Stopping
 
the
 
DB2
 
administration
 
server
 
(Linux)
 
 
You
 
must
 
stop
 
the
 
DB2
 
administration
 
server
 
(DAS)
 
before
 
you
 
remove
 
your
 
DB2
 
product.
 
You
 
only
 
need
 
to
 
perform
 
this
 
task
 
if
 
the
 
DAS
 
is
 
associated
 
with
 
the
 
DB2
 
copy
 
you
 
are
 
uninstalling.
 
 
Procedure:
  
 
To
 
stop
 
the
 
DB2
 
administration
 
server:
 
1.
   
Log
 
in
 
as
 
the
 
DB2
 
administration
 
server
 
owner.
 
2.
   
Stop
 
the
 
DB2
 
administration
 
server
 
by
 
entering
 
the
 
db2admin
 
stop
 
command.
 
Appendix
 
D.
 
Uninstalling
 
your
 
DB2
 
product
 
75