12.3.2 Starting as an NT/Unix service



Overview

 

AdventNet Web NMS's Central Server and the Distributed Mediation Server can be installed as an NT and Unix service. On installation as NT or Unix Service, the servers start when the machine boots up along with other services such as Telnet, FTP etc.

 

Warning: If you want to start a fresh installation of Web NMS Central Server or Distributed Mediation Server as NT Service, you must first start the server in the normal mode, supply the required license information and then restart as NT Service. The server will not start as an NT Service directly, owing to the license requirements.

 

Installing Central Server and Distributed Mediation Server as NT Service

The above procedure starts the Web NMS Central or Distributed Mediation Server as NT Service at the time of system reboot and will be stopped when the system is shut down.

 

Note: When Web NMS is started as a service, it takes MySQL as its database, as MySQL is the default database bundled with Web NMS. To start Web NMS with a different database, edit the java_service.ini file under the winnt or windows directory and change the classpath accordingly. In addition, modify the database_params.conf and DatabaseSchema.conf in the respective database directory under the <Central Home>/conf directory and copy the files to the <Central Home>/conf directory and respectively in Distributed Mediation Server.

 

Uninstalling the NT Service

Installing as Unix Service - Central Server

 

Linux User

ln -s /etc/rc.d/init.d/webnms /etc/rc.d/rc5.d/S91centralserver

ln -s /etc/rc.d/init.d/webnms /etc/rc.d/rc2.d/K20centralserver   

To start: /etc/rc.d/rc5.d/S91centralserver start

To shut down: /etc/rc.d/rc2.d/K20centralserver stop   

 

To console logs for startup operation will be present in <Central Home>/ ServiceStartupLogs.txt and console logs for shutdown operation in <Central Home>/ServiceShutdownLogs.txt.

 

Solaris User

The console logs for startup operation will be present in <Central Home>/ServiceStartupLogs.txt and console logs for shut down operation in <Central Home>/ServiceShutdownLogs.txt.

 

Installing as Unix Service - Distributed Mediation Server

 

Linux User

ln -s /etc/rc.d/init.d/rmeprobe /etc/rc.d/rc5.d/S91dms

ln -s /etc/rc.d/init.d/rmeprobe /etc/rc.d/rc2.d/K20dms

The console logs for startup operation will be present in <DMS Home>/ServiceStartupLogs.txt and console logs for shutdown operation in <DMS Home>/ServiceShutdownLogs.txt.

 

Solaris User

The console logs for startup operation will be present in <DMS Home>/ServiceStartupLogs.txt and console logs for shutdown operation in <DMS Home>/ServiceShutdownLogs.txt.

 

Uninstalling Unix Service - Central Server

 

Linux User

 

To uninstall Central Server as a Unix service, remove the following links and files which are created while installing the product as Unix service:

 

rm /etc/rc.d/rc5.d/S91centralserver
rm /etc/rc.d/rc2.d/K20centralserver
rm /etc/rc.d/init.d/centralserver

 

Solaris User

 

To uninstall Central Server or Standalone Server as a Unix service, remove the following links and files which are created while installing the product as Unix service:

 

rm  /etc/rc2.d/S100centralserver
rm /etc/rc0.d/K20centralserver
rm /etc/centralserver   

 

Uninstalling Unix Service - Distributed Mediation Server

 

Linux User

 

To uninstall Distributed Mediation Server as a Unix service, remove the following links and files which are created while installing the product as Unix service:

 

rm /etc/rc.d/rc5.d/S91dms
rm /etc/rc.d/rc2.d/K20dms
rm /etc/rc.d/init.d/dms

 

Solaris User

 

To uninstall Distributed Mediation Server as a Unix service, remove the following links and files which are created while installing the product as Unix service:

 

rm  /etc/rc2.d/S100dms
rm /etc/rc0.d/K20dms
rm /etc/dms

 

Central Server and Distributed Mediation Servers will be installed as a Unix Service at the time of system reboot and will be shut down when the system is shut down.



Copyright © 1996-2004, AdventNet Inc. All Rights Reserved.