Displaying 11 results from an estimated 11 matches for "defaultdependencies".
2018 Jan 05
4
VM migration upon shutdown in centos 7
...oes not happen.
If someone has some idea please help me to migrate VM upon shutdown.
######## vPreShutdownHook.service ###############
[Unit]
Description=vPreShutdownHook
Requires=network.target
Requires=libvirtd.service
Requires=dbus.service
Requires=glusterd.service
Requires=glusterfsd.service
DefaultDependencies=no
Before=shutdown.target reboot.target
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/true
ExecStop=/root/vm_migrate.sh
[Install]
WantedBy=multi-user.target
########## Command to migrate ############
/usr/bin/virsh migrate --verbose --p2p --tunneled --live --compressed
--comp-meth...
2013 Aug 10
4
NUT on openSUSE 12.3 requires additional systemd service unit
...gineering in addition to the usual NUT
configuration files. A new systemd service unit is needed to power off
the UPS.
The service unit consists of a new file
/etc/systemd/system/ups-delayed-shutdown.service
[Unit]
Description=Initiate delayed UPS shutdown
Before=umount.target
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/lib/ups/driver/upsdrvctl shutdown
[Install]
WantedBy=poweroff.target
This service unit should be enabled with root command
systemctl --system reenable /etc/systemd/system/ups-delayed-shutdown.service
I have tested this setup with...
2013 Aug 10
0
NUT on openSUSE 12.3 requires additional systemd service unit
...the usual NUT configuration files. A new systemd service unit is needed to power off the UPS.
>
> The service unit consists of a new file /etc/systemd/system/ups-delayed-shutdown.service
>
> [Unit]
> Description=Initiate delayed UPS shutdown
> Before=umount.target
> DefaultDependencies=no
>
> [Service]
> Type=oneshot
> ExecStart=/usr/lib/ups/driver/upsdrvctl shutdown
>
> [Install]
> WantedBy=poweroff.target
>
> This service unit should be enabled with root command
>
> systemctl --system reenable /etc/systemd/system/ups-delayed-shut...
2013 Aug 14
0
NUT on openSUSE 12.3 requires additional systemd service unit
...onfiguration files. A new systemd service unit is needed
> to power off the UPS.
>
> The service unit consists of a new file
> /etc/systemd/system/ups-delayed-shutdown.service
>
> [Unit]
> Description=Initiate delayed UPS shutdown
> Before=umount.target
> DefaultDependencies=no
>
> [Service]
> Type=oneshot
> ExecStart=/usr/lib/ups/driver/upsdrvctl shutdown
>
> [Install]
> WantedBy=poweroff.target
>
> This service unit should be enabled with root command
>
> systemctl --system reenable
> /etc/systemd/system/ups...
2015 Dec 24
0
systemd-sysctl not running on boot
...modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Apply Kernel Variables
Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5)
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
After=systemd-modules-load.service
Before=sysinit.target shutdown.target
ConditionPathIsReadWrite=/proc/sys/
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-sysctl...
2018 Jan 11
0
Re: VM migration upon shutdown in centos 7
...vice ###############
>>>
>>> [Unit]
>>> Description=vPreShutdownHook
>>> Requires=network.target
>>> Requires=libvirtd.service
>>> Requires=dbus.service
>>> Requires=glusterd.service
>>> Requires=glusterfsd.service
>>> DefaultDependencies=no
>>> Before=shutdown.target reboot.target
>>>
>>> [Service]
>>> Type=oneshot
>>> RemainAfterExit=true
>>> ExecStart=/bin/true
>>> ExecStop=/root/vm_migrate.sh
>>>
>>> [Install]
>>> WantedBy=multi-user.target...
2015 Dec 24
2
systemd-sysctl not running on boot
also in /etc/sysctl.d/
On Thu, Dec 24, 2015 at 8:58 AM, Gordon Messmer <gordon.messmer at gmail.com>
wrote:
> On 12/23/2015 05:08 AM, Ofer Hasson wrote:
>
>> By running "systemctl status systemd-sysctl" I also receive the same
>> output, but a simple "cat /proc/sys/vm/swappiness" returns the default
>> value, and not the one set by my conf file.
2018 Jan 12
1
Re: VM migration upon shutdown in centos 7
...gt;>> [Unit]
> >>> Description=vPreShutdownHook
> >>> Requires=network.target
> >>> Requires=libvirtd.service
> >>> Requires=dbus.service
> >>> Requires=glusterd.service
> >>> Requires=glusterfsd.service
> >>> DefaultDependencies=no
> >>> Before=shutdown.target reboot.target
> >>>
> >>> [Service]
> >>> Type=oneshot
> >>> RemainAfterExit=true
> >>> ExecStart=/bin/true
> >>> ExecStop=/root/vm_migrate.sh
> >>>
> >>> [Ins...
2017 May 17
1
Fw: [Nut-upsdev] POWERCOM-UPS-USB : UPS Shutdown
Good Day Roger
AA. notice that during the test, you have little or no load, since despite
being in state OB
DISCHRG the battery.charge is still 100. It's best to perform such tests
with a dummy load
such as a table lamp and an old fashioned incandescent 100 watt bulb.
==> Yes. I got it and try to ascend load as below results
dinow-All-Series:~# upsc pcmups
Init SSL without
2019 Nov 26
2
systemd: Failed unmounting /var on reboot, should I worry about fs corruption?
Hi all,
I have Centos 8 installed on a physical machine (www6) with separate LVM
volumes for /, /var, /var/lib/mysql etc.
System boot proceeds without a hiccup, in terminal systemctl status says
everything is OK and running, journalctl says so as well - systemd
mounts everything stated in fstab.
However, on reboot systemd echoes problems with filesystem on /var :
...// unmounting all volumes
2017 Aug 21
5
TrippLite SMART1500LCD no delay before ups shutdown.
...NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
root at host:~# cat /etc/nut/upssched.conf
CMDSCRIPT /bin/upssched-cmd
root at host:~# cat /etc/systemd/system/nut-delayed-ups-shutdown.service
[Unit]
Description=Initiate delayed UPS shutdown
Before=umount.target
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/bin/logger -t upsdrvctl
"nut-delayed-ups-shutdown.service calling upsdrvctl to shut down UPS unit"
ExecStart=/sbin/upsdrvctl shutdown
[Install]
WantedBy=final.target
root at host:~# upsc TrippLiteUPS
Init SSL without certificate da...