Mesos slave
Service overview
| Software owner | Apache Software Foundation |
|---|---|
| System requirements | |
| Management | wfmanager (start | stop | restart | status) mesos-slave |
| Log files | Access logs: <INSTALL_DIR>/supervisord/log/mesos-slave.out.log |
| Startup scripts | <INSTALL_DIR>/supervisord/apps/mesos-slave.ini <INSTALL_DIR>/mesos/usr/sbin/mesos-slave |
| Configuration files | Service directory: <INSTALL_DIR>/mesos/ |
| Default Ports | tcp 5051 |
Default parameters
| Configuration file | Name | Default Value | Description |
|---|---|---|---|
| config.yml | install_dir | /opt/workfusion | Directory to put user files, logs and configs |
| config.yml | mesos_slave_port | 5051 | Default service port for installation |
Troubleshooting
Check if TCP port 5051 is available
netstat command output
$ netstat -lntp | grep 5051
tcp 0 0 0.0.0.0:5051 0.0.0.0:* LISTEN 6205/mesos-slave
ss command output
$ ss -ltn | egrep 5051
LISTEN 0 65535 *:5051 *:*
lsof command output
$ lsof -P -n -i :5051 | grep LISTEN
mesos-sla 6205 wfuser 6u IPv4 3656625 0t0 TCP *:5051 (LISTEN)
Check the default main log files
Access logs: <INSTALL_DIR>/supervisord/log/mesos-slave.out.log
Error logs: <INSTALL_DIR>/supervisord/log/mesos-slave.err.log
$ tail -f <INSTALL_DIR>/supervisord/log/mesos-slave.err.log <INSTALL_DIR>/supervisord/log/mesos-slave.out.log
Check mesos-slave out (access) log using Wfmanager util
wfmanager tail mesos-slave
Enable more detailed debug information
Set the debug log level to <INSTALL_DIR>/supervisord/apps/mesos-slave.ini and restart mesos-slave service:
${install_dir}/supervisord/apps/mesos-slave.ini
Add the following to the start-up configuration part of this file:
--enable-debug
wfmanager restart mesos-slave