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 />

3. Use Enterprise Manager to back up the <strong>OneSight</strong> database (by<br />

default, named <strong>OneSight</strong>). Move the database backup device<br />

file, (<strong>OneSight</strong>_backup.bak, typically located in the mssql7\backup<br />

folder) to the remote SQL server. If you do not see a backup file<br />

with this name, use Enterprise Manager to check the path for<br />

the <strong>OneSight</strong>_backup device.<br />

4. Restore the database on the new server from the backup file.<br />

Note: Make sure you restore the same version of backup that<br />

you created on the other server. SQL Server supports multiple<br />

backups in the same device file.<br />

5. Use Query Analyzer to execute the stored procedure that<br />

creates the users and logins for the remote SQL server.<br />

Assuming the default name of <strong>OneSight</strong>, select the <strong>OneSight</strong><br />

database and execute the following command:<br />

exec SP_createusers '<strong>OneSight</strong>'<br />

6. Use Enterprise Manager to change the password of the<br />

<strong>OneSight</strong>Admin login on the remote SQL server to agree with<br />

the password in the database section of the OSServer.properties<br />

file on the <strong>OneSight</strong> server. (This is necessary only if you have<br />

changed the <strong>OneSight</strong> default password, null, to something<br />

else.)<br />

7. Change the SQL Alias machine specification. Open Enterprise<br />

Manager, then run the Client Network Utility.<br />

Version 2.0<br />

The Server alias is the machine name, and the same machine<br />

name is also specified in the Connection Parameters column.<br />

Change both of these machine name designations to the<br />

machine name of the new HWM database machine and edit the<br />

TCP port number if applicable.<br />

Version 2.1 and above<br />

The Server alias named HWMDatabase has the machine name in<br />

64 <strong>OneSight</strong> <strong>Administrator</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!