Starting the Enterprise server
You can leave the Enterprise server running all the time so that it is always available to the clients. You only need to shut it down when you want to use Server Admin to add or maintain user-defined enumerators, user-defined fields and user-defined tables.
The way in which you start the Enterprise server depends on whether you are using a single Enterprise server, or whether you have set up more than one Enterprise server on a machine, or are enabling users to log on automatically via Active Directory®.
If you use a single Enterprise server on a machine, you do not need to specify a name or identification number when you start the server, as these are assigned automatically.
To start the Enterprise server:
- Launch a command prompt and use the cd command to change to the folder in which the server is installed.
- Enter the following command at the command prompt to run the server:
astapowerproject-enterprise
Although you do not have to specify a name for the server when you start it, it is good practice to specify a name for the server which is more meaningful for the users. To do this, you can start the server with a specific name.
If you have set up more than one Enterprise server on a machine or are enabling users to log in automatically via Active Directory, you must start the server with a unique name and identification number.
To start the Enterprise server:
- Launch a command prompt and use the cd command to change to the folder in which the server is installed.
- Enter the following command at the command prompt to run the server with a unique name and identification number:
astapowerproject-enterprise -server_id <server identification number> <servername>
For example, astapowerproject-enterprise -server_id 1 Project_Server starts the Enterprise server with the server identification number 1 and with the name Project_Server. - You can then repeat the above steps to run another Enterprise server on the machine, with a different name and server identification number.
Once you have started the server, you can premount projects and baselines that will be accessed frequently, to decrease the amount of time it takes to access them subsequently.
If you have installed the Enterprise server as a service, the server is loaded when Windows® starts and runs in the background, so you do not have to start it unless you have shut it down previously.
Starting the Enterprise server when Archive Manager is used
If you use Archive Manager to archive historic data from your projects, you must append -web to the command you use to start the Enterprise server. Appending -web to the command you use to start the Enterprise server turns on the web services that are required by Archive Manager.
Examples:
- astapowerproject-enterprise -web (single Enterprise server).
- astapowerproject-enterprise -server_id <server identification number> <servername> -web (more than one Enterprise server or where Active Directory is in use).
If you do not use Archive Manager, do not append -web to the command you use to turn on the Enterprise server.
Shutting down the Enterprise server
Starting the Enterprise server with a specific name
Using the Enterprise server as a service