GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BMD(8) FreeBSD System Manager's Manual BMD(8)

bmdbhyve management daemon

bmd [-F] [-f config_file] [-P pid_file] [-p plugin_directory] [-m unix_domain_socket_permission] [-v]

The bmd utility spawns bhyve processes according to the configuration file, and waits for them to terminate. If a bhyve process terminates with exit code 0 (rebooted), bmd spawns the bhyve process again. The bmd receives control commands from bmdctl(8) to manage bhyve processes via unix domain socket. See bmdctl(8) for detail.

Run in foreground.
config_file
Specify the pathname of an alternate configuration file. The default is /usr/local/etc/bmd.conf.
pid_file
Specify an alternative file in which to store the process ID. The default is /var/run/bmd.pid.
plugin_directory
Specify the directory path of an alternate plugin store. The default is /usr/local/libexec/bmd.
unix_domain_socket_permission
Specify the unix domain socket permission in octal number. The default is 0660. Please note that the unix domain socket path cannot be changed in command line options. See bmd.conf(5) to change the path.
Show version number.

The bmd waits for control commands from bmdctl(8) via unix domain socket. When bmd receives a boot request from bmdctl(8), bmd reloads the configuration file to check updates for boot target. If any updates are found, the bmd adopts the updated configuration.

bmd writes log messages to LOG_DAEMON facility. Usually it is written in the '/var/log/daemon.log' file by the syslogd(8). You can see error messages of BMD and informational messages such as starting a VM or stopping a VM with or without an error.

bmd deals with the following signals:

SIGTERM
Send SIGTERM to all bhyve processes and wait for them to terminate, then quit the daemon.
SIGHUP
Reload the configuration file.

bmd loads plugins on start up. Plugins extend the functionality of bmd. And also add configuration parameters for extended functionality if necessary.

/var/run/bmd.pid
Pid file
/var/run/bmd.sock
Unix domain socket
/usr/local/etc/bmd.conf
Configuration file
/usr/local/libexec/bmd
Plugin directory
/usr/local/var/cache/bmd
Storage for UEFI variables

bmdctl(8), bmd.conf(5)

April 2, 2024 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.