- Joined
- Dec 21, 2012
- Messages
- 126
I have a single ubuntu virtual machine that is running on Bhyve. Anytime I loose power that virtual machine is restarted, however FreeNAS stays up which is what I expect with it being on an UPS. Is there something I can do to change this behavior, or is this even expected? Also are there specific logs I can look that illustrate that the SIGHUP came from Bhyve and why?
From Ubuntu :
Nov 21 20:00:39 MissionControlCenter systemd[1]: Reloading OpenBSD Secure Shell server.
Nov 21 20:00:39 MissionControlCenter sshd[1330]: Received SIGHUP; restarting.
Nov 21 20:00:39 MissionControlCenter systemd[1]: Reloaded OpenBSD Secure Shell server.
Nov 21 20:00:39 MissionControlCenter sshd[1330]: Server listening on 0.0.0.0 port 22.
Nov 21 20:00:39 MissionControlCenter sshd[1330]: Server listening on :: port 22.
Nov 21 20:00:39 MissionControlCenter dockerd[1324]: time="2017-11-21T20:00:39.4778470
FreeNAS-11.0-U4 Version
upsc ups
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 3150
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 24.0
battery.voltage.nominal: 24
device.mfr: CPS
device.model: CP850PFCLCD
device.serial: 000000000000
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ugen0.2
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.data: CyberPower HID 0.4
driver.version.internal: 0.41
input.transfer.high: 139
input.transfer.low: 88
input.voltage: 120.0
input.voltage.nominal: 120
output.voltage: 136.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 12
ups.mfr: CPS
ups.model: CP850PFCLCD
ups.productid: 0501
ups.realpower.nominal: 510
ups.serial: 000000000000
ups.status: OL
ups.test.result: No test initiated
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764
Thanks!
From Ubuntu :
Nov 21 20:00:39 MissionControlCenter systemd[1]: Reloading OpenBSD Secure Shell server.
Nov 21 20:00:39 MissionControlCenter sshd[1330]: Received SIGHUP; restarting.
Nov 21 20:00:39 MissionControlCenter systemd[1]: Reloaded OpenBSD Secure Shell server.
Nov 21 20:00:39 MissionControlCenter sshd[1330]: Server listening on 0.0.0.0 port 22.
Nov 21 20:00:39 MissionControlCenter sshd[1330]: Server listening on :: port 22.
Nov 21 20:00:39 MissionControlCenter dockerd[1324]: time="2017-11-21T20:00:39.4778470
FreeNAS-11.0-U4 Version
upsc ups
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 3150
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 24.0
battery.voltage.nominal: 24
device.mfr: CPS
device.model: CP850PFCLCD
device.serial: 000000000000
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ugen0.2
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.data: CyberPower HID 0.4
driver.version.internal: 0.41
input.transfer.high: 139
input.transfer.low: 88
input.voltage: 120.0
input.voltage.nominal: 120
output.voltage: 136.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 12
ups.mfr: CPS
ups.model: CP850PFCLCD
ups.productid: 0501
ups.realpower.nominal: 510
ups.serial: 000000000000
ups.status: OL
ups.test.result: No test initiated
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764
Thanks!