Data Guard Workshop

The most important things for data guard configuration:

Listener control files are correctly set up;
Database parameter files are correctly set up;
All data files, control files and parameter files from Primary database are correctly transferred to Standby database.

Note:

It’s not necessary to create a database on Standby server.
On standby server, it only needs files in oradata and admin [...]

xhost setting problem for local users

$su – oracle
$env | grep DISPLAY
DISPLAY=:0.0
$xclock
Xlib: connection to “:0.0″ refused by server
Xlib: No protocol specified
Error: Can’t open display: :0.0
The problem is that the local users were not authorized to access control on xhost. To solve this problem, you need to make the authorization using “root”.
[root@localhost]# xhost
access control enabled, only authorized clients can connect
[root@localhost]# xhost +oracle
xhost:   [...]