Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Dbvserver is the Web server that provides the web interface to Dbvisit. This component is optional and only required if:

...

The default http port for Dbvserver is 8081. The default username/password is admin/admin.
Dbvserver should be running on all primary and standby servers.

Anchor
_Toc312347555
_Toc312347555
Starting Dbvserver on Linux/Unix

Dbvserver can be started on Linux/Unix as follows. Dbvserver will start in the background and the session can be exited.

...

Some erroneous messages may appear on the console if the session is not exited. This is normal.

Anchor
_Toc312347556
_Toc312347556
Stopping Dbvserver on Linux/Unix

Dbvserver can be stopped on Linux/Unix by killing the dbvserverd processes or by running the following command:

/usr/local/dbvisit> dbvserverd stop

 

Anchor
_Toc312347557
_Toc312347557
Starting and stopping Dbvserver on Windows

Dbvserver on Windows is a Windows service, which can be started, and stopped as a regular Windows service.
Image Modified
The Dbvserver service logs on as the Oracle windows account user.

Anchor
_Toc312347558
_Toc312347558
Managing the Dbvserver service on Windows

The Dbvserver service can be managed using the dbvisit_install_win32 executable. Start the Dbvisit Standby Command Console and change directory to the Dbvserver\bin directory.
Image Modified
To delete or remove the service

...

C:\Program Files (x86)\Dbvisit\Dbvserver\bin> dbvisit_install_win32

 

Anchor
_Toc312347559
_Toc312347559
Dbvserver directories

Dbvserver includes the following directories under the main dbvserver directory

  • log. This contains the log files for:
  • Dbvserver log files.
  • Scheduler log files.
  • Http access log files.
  • Optional debug log files.
  • etc. This contains the following files:
    • dbvserver.conf, which is the configuration file for Dbvserver.
    • scheduler.conf, which is the configuration file for the scheduler.
    • init.d directory, which contains the init.d templates to auto start Dbvserver at boot time.
  • tmp. Temporary directory used by Dbvserver.

Anchor
_Toc312347560
_Toc312347560
Auto start Dbvserver at boot

If Dbvserver is used, then it is recommended to auto start the Dbvserver process at boot.
On Windows, this can be done by setting the Startup Type on the Dbvserver service to automatic:
Image Modified
On Unix/Linux this can be done by creating an init.d script to auto start Dbvserver at boot time. Example template init.d files can be found in:

...

  1. Source function library.
    . /etc/init.d/functions
    DBVISIT=/usr/local/dbvisit
    DBVSERVERD=$DBVISIT/dbvserverd
    PIDFILE=$DBVISIT/dbvserver/tmp/dbvserverd.pid
    PATH=/usr/bin:/bin:/usr/sbin:/sbin
    RETVAL=0
    prog="dbvserverd"

    start() {
  2. Check if already running
    echo -n $"Starting $prog: "
    sudo -u oracle $DBVSERVERD
    RETVAL=$?
    echo return $RETVAL
    }
    stop() {
    echo -n $"Stopping $prog: "
    if [ -f "$PIDFILE" ]; then
    killproc $DBVSERVERD
    fi
    RETVAL=$?
    echo
    return $RETVAL
    }
    restart() {
    stop
    start
    } case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    restart)
    restart
    ;;
    *)
    echo $"Usage: $0 {start

stop

restart}"
exit 1
esac
exit $? e
xit $RETVAL

Anchor
_Toc312347561
_Toc312347561
Dbvserver configuration

The Dbvserver configuration is determined by the settings in the dbvserver.conf file which is located in the etc directory.
This configuration file can be edited manually or updated through the web-based interface by going to the Settings page. The settings page should also be used to update the default password.
Image Modified

Anchor
_Toc312347562
_Toc312347562
Dbvserver debugging

Dbvserver debugging can be turned on by setting debug = 1 in the dbvserver.conf file.
The debug information will be written to the dbvserver file on the log directory.