Zero Downtime Backup of MaxDB database with HP Data Protector
Figure 6. Flowchart of suspend_db.cmd script
Start
End
Pr
e-exec script
su
spend_db.c
md
invoked
Logout of M
axDB’s CLI uti
lity
dmbcli
qgr
ep
program en
ds processing
the
out
put file
tasks
.txt
pre-ex
ec script
susp
end_db.cmd
su
ccessfully ends
L
og on to MaxD
B’s CLI utility
d
mbcli
qgrep
p
rogram starts
processing
contents of out
put file
tasks.
txt
•Queriesthec
urrent status of
MaxDB
•Susp
ends MaxDB
instance’s logw
riter process
dbmcli
par
ses commands
in
suspend.t
xt
file
•Queriesth
e curr ent status
of
logwrite
r
process
•W
rites the
logw
riter
proces
s status to
tasks
.txt
file
dbmcli
parses comma
nds in
Igwr.t
xt
file
•
Prints out statu
sof
logwr
pro
cess status
qgrep
p
rocesses the c
onte nts of
task
s.txt
file
Start
End
Pr
e-exec script
su
spend_db.c
md
invoked
Logout of M
axDB’s CLI uti
lity
dmbcli
qgr
ep
program en
ds processing
the
out
put file
tasks
.txt
pre-ex
ec script
susp
end_db.cmd
su
ccessfully ends
L
og on to
Start
End
Pr
e-exec script
su
spend_db.c
md
invoked
Logout of M
axDB’s CLI uti
lity
dmbcli
qgr
ep
program en
ds processing
the
out
put file
tasks
.txt
pre-ex
ec script
susp
end_db.cmd
su
ccessfully ends
L
og on to MaxD
B’s CLI utility
d
mbcli
qgrep
p
rogram starts
processing
contents of out
put file
tasks.
txt
•Queriesthec
urrent status of
MaxDB
•Susp
ends MaxDB
instance’s logw
riter process
dbmcli
par
ses commands
in
suspend.t
xt
file
•Queri
MaxD
B’s CLI utility
d
mbcli
qgrep
p
rogram starts
processing
contents of out
put file
tasks.
txt
•Queriesthec
urrent status of
MaxDB
•Susp
ends MaxDB
instance’s logw
riter process
dbmcli
par
ses commands
in
suspend.t
xt
file
•Queriesth
e curr ent status
of
logwrite
r
process
•W
rites the
logw
riter
proces
s status to
tasks
.txt
file
dbmcli
parses comma
nds in
Igwr.t
xt
file
•
Prints out statu
sof
logwr
pro
cess status
qgre
es th
e curr ent status
of
logwrite
r
process
•W
rites the
logw
riter
proces
s status to
tasks
.txt
file
dbmcli
parses comma
nds in
Igwr.t
xt
file
•
Prints out statu
sof
logwr
pro
cess status
qgrep
p
rocesses the c
onte nts of
task
s.txt
file
13