Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Configuring an MC-CmdHandler as a service

Configuring an MC-CmdHandler as a service on Unix and Linux systems

If the MC-CmdHandler is to be started as a service then it must be configured. To do this, enter a line in the file /etc/init.d/bcmccmdhandler.dat for every service that is to be started. This line contains the user ID under which the service is to be started as well as the directory under which the MC-CmdHandler was installed, e.g.:

  • proxyuser /home2/proxyuser/BCCONT

To start/stop the MC-CmdHandler as a service, call the following script:

  • /etc/init.d/bcmccmdhandler.sh start | stop

    Alternatively, you may also call the script with the options restart or reload. restart and reload are identical and each contain stop and start.

To remove a service from the Unix or Linux system again, delete the corresponding line in the above-mentioned configuration file.

To enter and delete the service and to call the script /etc/init.d/bcmccmdhandler.sh, you require system administrator permissions. For further information on deleting a service, see Uninstalling the BeanConnect tools .

Configuring an MC-CmdHandler as a service on Windows systems

If the MC-CmdHandler is installed without a BeanConnect proxy container, then the MC-CmdHandler is entered as a service at installation time under the name BeanConnect MC-CmdHandler <port-number> with autostart type Manual.

If the MC-CmdHandler is installed together with the BeanConnect proxy container, then you must subsequently explicitly enter the MC-CmdHandler as a service. You do this using the script shsc/MCCmdHandler_InstallSrv.cmd in the proxy container's home directory. Call the script with administration authorization:

  • <Proxy_home>/shsc/MCCmdHandler_InstallSrv.cmd

This script enters the service with autostart type Manual.

If you want to use the MC-CmdHandler to administer a proxy container that is installed on a remote host then it can be necessary under certain circumstances to run the service under the corresponding user account and not under the system account (default value on the installation of the MC-CmdHandler). You change the user account setting via the Windows Control Panel (Control Panel/Administrative Tools/Services).

You can use the script shsc/MCCmdHandler_UnInstSrv.cmd (called with administrative permissions) to remove the service again.