To add Historical Server start-up parameters to the NT Registry:
Start the NT Registry Editor (regedt32.exe, usually in winnt\system32).
For NT 4.0, select the window named:
\\HKEY_LOCAL_MACHINE
or, for NT 3.5.1:
\\HKEY_USER
and select the appropriate user.
Save or print the existing settings before proceeding. From the registry menu, select the Save Subtree As command or the Print command.
In the tree view, highlight:
\SOFTWARE\SYBASE\Server
From the Edit menu, choose Add Key.
In the resulting dialog box, in the Key Name box, enter the name of the Historical Server you are adding.
Leave the Class box blank.
In the tree view, highlight:
\SOFTWARE\SYBASE\Server\hsName
where hsName is the new Historical Server name.
From the Edit menu, choose Add Value.
In the resulting dialog box, in the Value Name box, enter:
ServerType
From the Data Type drop-down list, choose:
REG_SZ
In the resulting String dialog box, enter:
HISServer
Make sure the entry for the new Historical Server name remains highlighted.
From the Edit menu, choose Add Key.
In the resulting dialog box, in the Key Name box, enter:
Parameters
Leave the Class box blank.
In the tree view, highlight:
\SOFTWARE\SYBASE\Server\hsName\Parameters
where hsName is the new Historical Server name.
From the Edit menu, choose Add Value.
In the resulting dialog box, in the Value Name box, enter:
Arg0
From the Data Type drop-down list, choose:
REG_SZ
In the resulting String dialog box, enter:
-ShsName
where hsName is the Historical Server name you used previously.
Repeat steps 13 through 15 until you have entered all of the start-up parameters for Historical Server. See “Setting Historical Server start-up parameters” for information about start-up parameters.
At a minimum, enter the following required parameters. The order does not matter; for example, -D does not have to be Arg1.
Value name |
Datatype |
String |
---|---|---|
Arg0 |
REG_SZ |
-ShsName where: hsName is the Historical Server name you used in step 5. Example: -SHS_SERVER1 |
Arg1 |
REG_SZ |
-DdataDirectoryName where: dataDirectoryName is the full path name of an existing directory where you want to store Historical Server data. All users who will create Historical Server recording sessions must have write access to this directory. Example: -Dc:\SYBASE\data\hs.data |
Arg2 |
REG_SZ |
-IinstallationRootDir\ini\sql.ini Example: -Ic:\SYBASE\ini\sql.ini |
Arg3 |
REG_SZ |
-linstallationRootDir\install\logName where: logName is the file name where you want to store Historical Server error messages. The server creates the file on start-up if it does not exist. Example: -lc:\SYBASE\install\hs.log |