SIRA_PRISE server administration operations |
Starting the serverOnce installed, all it takes to start the server is to run the sp.startsrv.bat (.sh) script from within the server installation directory. You can verify that the server is running successfully by checking any of the following :
Please observe that the run scripts in the package are set up to run the server without the java security manager active. If you want to run SIRA_PRISE with the java security manager active, here are the permissions required by the server :
In which ${SP_Home_URL} stands for the SIRA_PRISE installation directory in URL format, e.g. "Program%20Files/Sira_Prise", ${SP_Home_DIR} stands for the same directory in pathname format, e.g. "Program Files\\Sira_Prise\\", and ${SP_Data_DIR} stands for the SIRA_PRISE data directory in pathname format, e.g. "Documents and settings\\All Users\\Shared Documents\\Sira_Prise\\server\\". Note that java's default permissions grant the "listen" SocketPermission to anyone, so this need not be explicitly specified again if you haven't changed java's default permission setup. Stopping the serverThe server has a builtin timeout (please see the ServerEngineProperties in the javadoc for exact details). If no client has connected to the server during this period, the server will exit and needs to be restarted. A running server can explicitly be stopped by executing the sp.stopsrv.bat (.sh) procedure from within the SIRA_PRISE server installation directory. A running server can also explicitly be stopped using the jconsole. The SIRA_PRISE engine implements an MBean that allows server administration using java's new "Managed Beans" technology. All these methods do a graceful shutdown, meaning a.o. that the server will not actually stop before all transactions that were started when the shutdown command was given, have ended. Obviously, the server will also stop if its thread or process is killed at the OS level. In that case, the server has not been able to shut down gracefully, and it will refuse to start up again until the recovery procedure has been run. Database recoveryAfter a forced shutdown, SIRA_PRISE cannot guarantee the consistency/integrity of its databases until the recovery procedure has been run. Running the recovery procedure involves the following steps :
Database backupsAs you can note from this recovery procedure, database backups consist of the complete contents of the DATABASES and RESOURCES directories. The SIRA_PRISE server must be shut down prior to taking backups. Backups cannot be taken while the server is running. |