19.07.2014 Views

OneSight Administrator Guide

OneSight Administrator Guide

OneSight Administrator Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Database Maintenance<br />

the Connection Parameters column. Change this machine name<br />

to the machine name for the new HWM database machine and<br />

edit the TCP port number if applicable.<br />

Note: By default, the server alias name is HWMDatabase. The<br />

alias name is based on the specification in the<br />

Database.ServerAlias value in the database section of the<br />

\properties\OSServer.properties file for SQL. The Server alias<br />

string does not need to be changed when moving the database.<br />

8. Use Query Analyzer to confirm that you can connect to the<br />

<strong>OneSight</strong> database on the new server using the <strong>OneSight</strong><br />

administrative user and password as specified in the<br />

OSServer.properties file on the <strong>OneSight</strong> Server.<br />

9. Using Notepad, edit the OSServer.properties file on the <strong>OneSight</strong><br />

Server. Change the ServerName, ServerPort, Detail.DataDirectory,<br />

and Detail.BackupDirectory properties to reflect the location of the<br />

remote SQL server.<br />

10. Restart the <strong>OneSight</strong> service.<br />

Automatic Database Backup<br />

<strong>OneSight</strong> automatically backs up the entire database file every<br />

Saturday at 10:41 pm. The location of the backup file and the name<br />

of the database is defined in the<br />

/empirix/onesight/properties/OSServer.properties file. <strong>OneSight</strong> creates a<br />

*.bak file in the backup directory. You may want to integrate regular<br />

backups of the <strong>OneSight</strong> database backup into your company’s<br />

current data backup routine or procedures.<br />

Some notable entries in this file include:<br />

Database.Detail.DatabaseName=hwm001<br />

Database.Detail.DataDirectory=C:\\Program<br />

Files\\Microsoft SQL Server\\MSSQL\\Data\\<br />

Chapter 2: Installing <strong>OneSight</strong> 65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!