Backing Up a Self Hosted Engine Ovirt

We can create a fullback of oVirt engine without stopping the oVirt infrastructure using the ovirt-backup command. To do this, ssh to the oVirt hosted-engine and specify this backup scope, the name of backup file and the name of the log file. [root@ovirtm ~]# engine-backup --scope=all --mode=backup --file=ovirtm-backup_20201223.tgz --log=backup_20201223.log Start of engine-backup with mode 'backup' scope: all archive file: ovirtm-backup_20201223.tgz log file: backup_20201223.log Backing up: Notifying engine - Files - Engine database 'engine' - DWH database 'ovirt_engine_history' Packing into file 'ovirtm-backup_20201223.tgz' Notifying engine Done. There is more in-depth explanation on how to do the backup of hosted-engine available at Red Hat Customer Portal.

December 23, 2020 · 1 min · 103 words · kenno

Line Continuation in PowerShell

Usually on bash command-line, the line break character is \. So when I first started to use PowerShell, the \ didn’t work for me. It turned out that the line-break or line continuation in PowerShell is the back tick: `. Here is an exmaple of PowerShell command to create a DNS delegation in one line: PS C:\ Add-DnsServerZoneDelegation -Name "example.net" -ChildZoneName "lab.example.net." -NameServer "idm.lab.example.net." -IPAddress 172.25.250.8 -PassThru -Verbose And we can break it to mutiple line as: ...

December 23, 2020 · 1 min · 99 words · kenno

Auto Connect to Hidden Wifi With Networkmanger

If you’re here to find out how to setup network connection to hidden wifi access point, you might want to check this post: How to Connect to Hidden Wifi Using nmcli instead. This post documents how I fix an issue of wifi connection on a laptop running Gentoo to a hidden access point. The problem is that the wifi connection doesn’t automatically connect despite I’ve set the autoconnect.connection yes. ❯ nmcli con show CamBlue | grep -i autoconnect connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.autoconnect-slaves: -1 (default) I don’t remember having done anything special on the Fedora laptops connecting to the same the network; and this problem didn’t exit on any of those Fedora machines at all. ...

December 21, 2020 · 2 min · 270 words · kenno

Systemd List Failed Units and Services

This is a quick note to list failed services on systemd system. [root@zilla ~]# systemctl status ● zilla State: degraded Jobs: 0 queued Failed: 1 units Since: Fri 2020-09-04 02:20:47 AEST; 3 months 11 days ago CGroup: / ├─1 /usr/lib/systemd/systemd --system --deserialize 22 └─system.slice ├─httpd.service │ ├─21860 /usr/sbin/httpd -DFOREGROUND │ ├─21861 /usr/sbin/httpd -DFOREGROUND │ ├─21862 /usr/sbin/httpd -DFOREGROUND │ ├─21863 /usr/sbin/httpd -DFOREGROUND │ ├─21864 /usr/sbin/httpd -DFOREGROUND │ └─21865 /usr/sbin/httpd -DFOREGROUND ... [root@zilla ~]# systemctl list-units --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● ipmi.service loaded failed failed IPMI Driver LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. Or ...

December 15, 2020 · 2 min · 233 words · kenno

oVirt - Removing a Storage Domain

This note is, again, for me to remind myself in case I couldn’t recall how to do this in the future. To remove a storage domain from the cluster, use the following steps: Click Storage -> Domains Click on the name of the storage domain to open the details view Click on the Data Center tab Click on Maintenance button, then click on OK The Detach button becomes active, click on it. Click on Remove Reference: ...

December 14, 2020 · 1 min · 81 words · kenno