Download O2 System Administration Reference Manual

Transcript
O2 System Commands : o2dba_shell
o2dba_shell
Summary
Syntax
Calls u p t h e O2 dat abase adm in ist r at ion u t ilit y. Th is gives you access t o
O2 DBA com m an ds.
o2dba_shell [-system system_name] [-server machine_name]
[-verbose] [-alpha]
o2dba_shell -version
o2dba_shell -help
o2dba_shell -env
Description
You m u st en t er t h e o2dba_shell com m an d t o u se database
adm in ist r at ion com m an ds an d OQL qu er y session s. o2dba_shell
m ak es available t h ose com m an ds wh ich do n ot r equ ir e a developm en t
licen se. Th ese com m an ds ar e descr ibed in Ch apt er 3.
o2dba_shell est ablish es a con n ect ion wit h a n am ed O2 dat abase
syst em u sin g o2server, wh ich m u st alr eady be r u n n in g.
Options
Default Options
-system
Specifies t h e O 2 n am ed syst em t o con n ect t o. An
o2server m u st alr eady be r u n n in g on th is syst em
befor e o2dba_shell is in vok ed.
-server
Specifies t h e m ach in e n am e wh er e o2server is
r u n n in g.
-alpha
Disables t h e gr aph ical in t er face for dat abase br owsin g.
Uses a du m b t er m in al style.
-verbose
Pr in t s in for m at ive m essages du r in g t h e o2dba_shell
session .
-version
Displays in for m at ion abou t t h e cu r r en t ver sion an d
exit s.
-help
Displays in for m at ion abou t t h e possible opt ion s an d
exit s.
-env
Displays t h e act u al valu e t ak en for t h e opt ion s an d
exit s. Allows you t o ver ify t h at t h e opt ion m ech an ism
(explicit an d im plicit ) is cor r ect ly set .
Th e pr eviou s o2opt ion s an d ot h er s can be im plicit ly set
as explain ed in 2.1.2.
O2 Syst em Adm in ist r ation Refer en ce Man u al
65