The server is started using the program CPSERVER. To start it, select the Process Server icon. In Windows, select "Start," "Run," and then enter "CPSERVER" and click OK.
The Costpoint Process Server Login screen will appear. Enter your Costpoint User ID, Password, and Database. Then select the OK pushbutton to continue or the Cancel pushbutton to exit the Process Server. The Process Server Configuration screen will display and you can enter the remaining login information.
Select an inactive server from the drop-down box in the Server field or enter a unique ID (to create a new server).
Select a queue from the drop-down box in the Queue field. A server can service only one queue; however, more than one server can service the same queue. You can have a single queue for your company, with users submitting a lot of entries, and several servers executing those entries.
Once you log in to the Process Server, the database is polled every minute for a new process in the associated queue. This continuous polling may interfere with database backups. However, by entering a shutdown time and reconnect time, you can have the Process Server stop polling for a period of time. So, if you run your database backup between 10:00 pm and 2:00 am, you could enter 9:00 pm in the Shutdown Time field and 3:00 am in the Reconnect Time field. This capability should help you reduce the number of times you need to logout of the Process Server.
All available printer IDs are displayed in the Printer ID field. Set up Printer IDs in the Maintain Printer IDs screen. You can associate a Printer ID with a process by using the Submit Process to Queue screen or by selecting the Submit to Queue function from the Options menu in a Costpoint function.
You can link Printer IDs to printers listed in the Printer field. The Printer field is populated with printers from your WIN.INI file.
After entering the information, select the OK pushbutton. The Costpoint server software will connect to the database and validate the profile information. Then, if you selected the Save Settings checkbox, it will save them to the CPSERVER.INI file. After that, you will receive the message "Start Server?" If you do not want to start the server, or if you wanted only to create a new INI file, select "N" (No) to exit. If you want the server to start, select "Y" (Yes). The Costpoint Process Server status screen will appear.
If you already have a CPSERVER.INI file in your working directory, the Process Server will start up without requiring any information. It will use the profile information in the CPSERVER.INI file instead; however, you may want to modify the profile before the server starts. To do that, start the server with the command: CPSERVER /C. If the "/C" is in the command line, the server program will display your CPSERVER.INI settings on the Server Profile screen so you can change them.
The Process Server can be configured for automatic startup.
As stated in the Starting a Server section, if there is a CPSERVER.INI file in your Windows working directory, the Process Server will start up without requiring any information. It will use the profile information in the CPSERVER.INI file instead.
You can set up a workstation to automatically start a Process Server when it reboots (for example, if there is a power failure during the night). Use the following steps:
Create a CPSERVER.INI file in your working directory.
Set the AUTOEXEC.BAT of the workstation to log into your network (if you are using one), change to your Windows directory, and start Windows.
Place an icon in your Windows Startup group that starts CPSERVER.
When you reboot your workstation, the Process Server will start.