Show pageOld revisionsBacklinksODT exportBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====Overview==== Obey files are files which contain instructures / commands to the golden gate. It is good if you want to automate stop / start. Or other procedures. ====Sample Obey File==== Let's see how they are configure. Well a simple ASCII file will do: <Code:bash|Obey file> [oracle@edvmr1p0 oggsrc]$ cat julien.oby info all stop mgr! <- "The ! indicates that we are sure we want that action and it won't ask us" info mgr start mgr info all </Code> ====Execution==== To execute an obey file just login in ggsci and run it :) <Code:bash|Execute Obey file> GGSCI (edvmr1p0) 1> obey julien.oby GGSCI (edvmr1p0) 2> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER RUNNING GGSCI (edvmr1p0) 3> stop mgr! Sending STOP request to MANAGER ... Request processed. Manager stopped. GGSCI (edvmr1p0) 4> info mgr Manager is DOWN! GGSCI (edvmr1p0) 5> start mgr Manager started. GGSCI (edvmr1p0) 6> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER RUNNING GGSCI (edvmr1p0) 7> </Code> oracle_golden_gate_obey_file.txt Last modified: 2020/10/26 19:04by andonovj