Stopping the
Realm Server
Stopping the Nirvana Realm server depends on the installation
operating system.
For win32 operating systems, the installer installs
a shortcut called ‘Stop Nirvana Realm Server’.
Furthermore, the server command prompt can be used to
open a console window and the server can be stopped
by typing nstopserver.
If however you have started the Realm from service control
panel then stopping it should also be done from there.
For Linux/Solaris/Generic Unix operating systems, stopping
the Realm can be done using the softlink inside the
‘Server’ directory:
[marvin@my-Channels.com]$ cd /home/my-Channels/Nirvana/links/Server/Nirvana
[marvin@my-Channels.com]$ ./Stop_Nirvana_Realm_Server
At this point the server will try and close down all
client links and resources and P2P services.
This may take some time to perform a graceful shutdown
due to the Operating System resources that the Realm
Server uses. The RealmServer will automatically perform
a complete shutdown within 10 seconds if the graceful
shutdown has not yet completed at which the Realm Server
will perform an immediate shutdown. The Realm Server
will generate a thread dump which will be written to
the log file prior to shutdown.
The Realm Server will then log the shutdown within
the server log and can be confirmed as complete by the
following entries
[Tue Apr 08 09:26:58 BST 2012],Shutdown:
Realm Server shutdown sequence started
[Tue Apr 08 09:26:58 BST 2012],Shutdown: Removed all
logger listeners
[Tue Apr 08 09:26:58 BST 2012],Shutdown: Disabling client
requests
[Tue Apr 08 09:26:58 BST 2012],Shutdown: Stopping Realm
status updates
[Tue Apr 08 09:26:58 BST 2012],Shutdown: Stopping Interface
Manager
[Tue Apr 08 09:26:58 BST 2012],Shutdown: Closing all
accept handlers
[Tue Apr 08 09:26:58 BST 2012],Shutdown: Closing all
sessions with connected clients
[Tue Apr 08 09:26:58 BST 2012],Shutdown: Stopping Cluster
management
[Tue Apr 08 09:26:58 BST 2012],Cluster> Cluster Agent
restoring client request table
[Tue Apr 08 09:26:58 BST 2012],Cluster> Cluster Agent
finished restoring client request table
[Tue Apr 08 09:26:58 BST 2012],--------- Log File Closed
---------
|