Task C: Start the Manager
Start the Manager according to instructions in the Windows or UNIX section that follows.
Windows
Start the Windows Manager by running the server.bat file, located in the DS_MANAGER directory of the GridServer distribution. To test, open a command window and run server.bat run to launch the Manager and start GridServer. The command window contains log messages from the application server.
The server.bat script takes the following arguments:
|
Argument |
Description |
|
|
Start the Manager. The first time this runs, it copies volatile files into the data directory. |
|
|
Copy volatile files into the data directory without running the server. |
The Manager is typically run as a Windows Service in production systems. To do so, open a command window as administrator and run service.bat with the following arguments:
|
Argument |
Description |
|
|
Install the Manager as a Windows service. |
|
|
Remove the Manager’s service. |
|
|
Start the installed service. |
|
|
Stop the service. |
|
|
Can be specified to use a Windows service as another user. For example, to install as user
|
For initial installation, install the Manager as a Windows service, then start the service.
UNIX
Launch the Manager by invoking the server.sh script, located in the DS_MANAGER directory of the GridServer distribution, with the following arguments:
|
Argument |
Description |
|
|
Start the Manager in the foreground. The first time this runs, it copies volatile files into the data directory. |
|
|
Copy volatile files into the data directory without running the server. |
|
|
Start the Manager in the background. |
|
|
Stop the Manager running in the background |
You can configure the Manager to launch automatically at system startup and stop cleanly at shutdown. Since the server.sh script conforms to the standard start/stop argument convention (“rc script”), you can accomplish this simply by linking to the appropriate files in the /etc/rc.d directories. For more information about initialization and termination scripts, refer to the init and init.d man pages on your UNIX system and see A Sample UNIX rc.d Script
|
Note |
When installing the Manager on cloud (AWS), you might have to perform a few additional actions to improve the performance of your system. If you are likely to launch a large number of Engines simultaneously, you must apply AWS auto-scaling concepts. Engine installation steps are the same as those described earlier. You can then perform the following steps:
In the following example, we have set the value of
After the above changes, you must restart the Manager. The above steps might vary for other cloud service providers such as Azure or GCP. |