SystemD scripts for Automated Startup of TIBCO MFT Command Center and Internet Server on UNIX

SystemD scripts for Automated Startup of TIBCO MFT Command Center and Internet Server on UNIX

book

Article ID: KB0076677

calendar_today

Updated On:

Products Versions
TIBCO Managed File Transfer Command Center All

Description

MFT services can be set to start automatically after a reboot on UNIX machines. SystemD scripts can be created to facilitate this. 

Issue/Introduction

Automated startup of MFT services after a reboot.

Environment

Tested on Linux OS

Resolution

Note: Absolute paths must be provided for variables in <>.

For TIBCO MFT Command Center 
============================

1. Create a Unit file in /etc/systemd/system/ titled mftcc.service 

Contents of the Unit file:

[Unit]
Description=MFT Command Center Service

[Service]

Type=oneshot
ExecStart=<MFTCC>/server/bin/startup.sh
RemainAfterExit=true
StandardOutput=journal
ExecStop=<MFTCC>/server/bin/shutdown.sh

[Install]
WantedBy=multi-user.target

2. Save the Unit file.

3. Run 'systemctl enable mftcc.service'. // enables the service to start automatically after a reboot.

4. Run 'systemctl start mftcc.service'. // starts the service 

5. To check if the process is started: 'systemctl status mftcc.service'. 

6. To stop the service: 'systemctl stop mftcc.service'.

Note: Steps 3 and 4 need to be performed only once, that is, after unit file creation.


Note: Absolute paths must be provided for variables in <>.

For TIBCO MFT Internet Server
=============================

1. Create a Unit file in /etc/systemd/system/ titled mftis.service

Contents of the Unit file:

[Unit]
Description=MFT Internet Server Service

[Service]

Type=oneshot
ExecStart=<MFTIS>/server/bin/startup.sh
RemainAfterExit=true
StandardOutput=journal
ExecStop=<MFTIS>/server/bin/shutdown.sh

[Install]
WantedBy=multi-user.target

2. Save the Unit file.

3. Run 'systemctl enable mftis.service'. // enables the service to start automatically after a reboot.

4. Run 'systemctl start mftis.service'. // starts the service 

5. To check if the process is started: 'systemctl status mftis.service'. 

6. To stop the service: 'systemctl stop mftis.service'.

Note: Steps 3 and 4 need to be performed only once, that is, after unit file creation.