A typical network configuration involves a database server, a file server, and one or more client workstations. To establish this configuration, follow the procedures outlined below.
If you are using the same computer in more than one role, you follow the procedures outlined below, only you perform these steps on the same computer rather than on different ones.
On the computer that will act as the database server, install Adaptive Server Anywhere, using the instructions that came with your Sybase documentation.
Use the procedures below to get your ARCHIBUS project running on your database server computer.
Copy the project database file from the \databases\sybase
folder of the release DVD to your database server.
If you wish to start the
Headquarters sample project, use the Windows Explorer File/New/Folder
command to make a project folder on the database server. For example, \archibus\projects\hq\data
Next, use the Windows Explorer Cut and Paste commands
to move the hq.db
file to this new folder on your database server
machine.
If you wish to start your
own project, use the Windows Explorer New Folder command to make a project
folder on the database server. For example, \archibus\projects\myproject\data
Next, use the Windows Explorer Cut and Paste commands
to copy the schema.db
file to this new folder.
Use the Windows Explorer Rename command to rename this Schema.db file to the name of your project, such as, myproject.db.
Create a log file for the database using the Sybase Central interface. In the case of an error, having a log file gives you some added protection for recovering changes made to the database since the last time you backed it up.
\archibus\projects\myproject\data\myproject.db
), state that you wish to create
the log file, and name the log file after the project database (such as,
MyProject.log). You do not need a mirror log file or any Replication Server
settings.The database runs as an operating system service on the database server. When the computer is started, it can start automatically and log into an account without supervision. To instruct the computer to handle this startup, you create a network service for running the database.
gp 4096 -p 4096 -x tcpip,ipx,netbios -n myproject C:\users\public\archibus\projects\hq\data\hq.db
The meaning of these switches is as follows:
In the future, should you need to start, stop, or change the service yourself, do the following: start Sybase Central, select the service, and use the right-click menu to access the appropriate command.
If you have not set the cursor and statement count for this database, you should do so at this time. Once the database is started, from Utilities, select Interactive SQL. Log into the database with system manager rights. The default for this is user name DBA; the password is SQL. Execute the following statements:
SET OPTION Public.max_cursor_count = 0;
SET OPTION Public.max_statement_count = 0;
COMMIT;
Exit Interactive SQL.
Create the project preferences list entry per the instructions in this topic Adding a New Project.
Restart your application server to have the ARCHIBUS application connect to this new project.