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 and for https it is 8443.
The default username and password is admin
Dbvserver should be running on all primary and standby servers, if not used, Dbvserver can be shutdown. It is important that DBVNET is running on all nodes.
The default and recommended port for Windows is 8081 using HTTP The default and recommended port for Linux is 8443 using HTTPS |
Environment | HTTP | HTTPS |
---|---|---|
Linux | √ | √ |
Windows | √ | √ |
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.
Dbvserver can be stopped on Linux/Unix by killing the dbvserverd processes or by running the following command:
|
Dbvserver on Windows is a Windows service, which can be started, and stopped as a regular Windows service.
The Dbvserver service logs on as the Oracle windows account user.
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.
To delete or remove the service
|
To create the service, the path to the dbvserverd.exe is required, also the Oracle account owner and the password.
|
To show service
|
For help
|
Dbvserver includes the following directories under the main dbvserver directory
A backup of the Dbvserver configuration files can be made by backing up the /etc folder. This will ensure there is a backup of the
Dbvisit Standby needs to be scheduled on the primary server and the standby server. Please see
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:
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:
/usr/local/dbvisit/dbvserver/etc/init.d
An example init.d script for redhat is:
|
The Dbvserver configuration is determined by the settings in the dbvserver.conf file which is located in the etc or conf 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.
Whenever a change is made in the configuration, Dbvserver has to be restarted to read the new config file.
Parameters can be turned off by commenting them out.
Parameter | Value | Description |
---|---|---|
servers | https | Turn on https support |
servers | http | Turn on http support |
servers | scheduler | Turn on the scheduler to schedule Dbvisit Standby |
bind_port | 8081 | Http or https port |
bind_port_alternatives | 8082 | If bind_port is not available, then use this port |
proc_minimum | 2 | How many minimum server processes to start. The more processes the more concurrent users can log on to the web service. |
proc_maximum | 2 | How many maximum server processes to start. The more processes the more concurrent users can log on to the web service. |
date_time_zone | Pacific/Auckland | Time zone for the time displayed in the web interface. Please see here for all valid timezones: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/timezone.html |
date_time_format | %d %b %Y, %H:%M:%S | Date format |
username | admin | Username to login to the web front end |
password | Encrypted password | |
daemon_log_file | log/scheduler | Log file for the scheduler |
standby_delay_minutes | 0 | The lag between the primary server and standby server scheduler. |
logger_file | log/dbvserver | Dbvserver log file |
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.