Oracle Linux Virtualization Manager

Da Emigar.
Jump to navigation Jump to search

Installazione

Network

VLAN 444 over bond0

nmcli con add type bond con-name bond0 ifname bond0 bond.options "mode=802.3ad" ipv4.method disabled ipv6.method ignore
nmcli con add type ethernet con-name p2p1 ifname p1p1 master bond0
nmcli con add type ethernet con-name p2p2 ifname p1p2 master bond0
nmcli con add type ethernet con-name p8p1 ifname p2p1 master bond0
nmcli con add type ethernet con-name p8p2 ifname p2p2 master bond0
nmcli con add type vlan con-name bond0.444 ifname bond0.444 dev bond0 id 444 ip4 10.10.10.1/24 gw4 10.10.10.254 ipv4.dns 10.10.10.30,10.11.11.30 ipv4.dns-search domain.local

Rimuovere da Network Manager

#!/bin/bash
cd /etc/sysconfig/network-scripts
for a in ifcfg-bond0 ifcfg-p1p1 ifcfg-p1p2 ifcfg-p2p1 ifcfg-p2p2 ifcfg-ovirtmgmt; do echo 'NM_CONTROLLED=no' >> $a; done

Bug RHEL/UEK

Oracle Linux 7: After Patching, ifup(8) Returns "./network-functions: line 119: .: /etc/sysconfig/network-scripts/: is a directory" Error When Bringing Up a Bond Interface. (Doc ID 2685282.1)

On Oracle Linux 7, after patching initscripts to version initscripts-9.49.47-1.0.1.el7 or later, ifup(8) now returns errors when bringing up a bond interface.

cd /etc/sysconfig/network-scripts


Patch ifup-eth

--- ifup-eth.orig	2021-02-24 00:41:39.897832270 +0100
+++ ifup-eth	2021-02-24 00:43:33.091272329 +0100
@@ -161,12 +161,12 @@
 # so it can actually get an IP.
 if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then
      BONDMASTERUP=0;
-     if ! check_device_down ${MASTER}; then
+     if ! check_device_down ${DEVICE}; then
         BONDMASTERUP=1
      fi
-     install_bonding_driver ${MASTER}
-     if [ ${BONDMASTERUP} -eq 1 ] && check_device_down ${MASTER}; then
-        /sbin/ip link set dev ${MASTER} up
+     install_bonding_driver ${DEVICE}
+     if [ ${BONDMASTERUP} -eq 1 ] && check_device_down ${DEVICE}; then
+        /sbin/ip link set dev ${DEVICE} up
      fi
 
     for device in $(LANG=C grep -l "^space:*MASTER=['\"]\?${DEVICE}['\"]\?\([[:space:]#]\|$\)" /etc/sysconfig/network-scripts/ifcfg-*) ; do

Console

OLVM:Open Console.vv with Remote Viewer Flickers then Disappear (Doc ID 2705123.1)

  • Commenta la riga vnc_tls=1 o disabilita la crittografia VNC con vnc_tls=0 in /etc/libvirt/qemu.conf sulle macchine KVM.
  • Mettere in manutenzione le macchine KVM ed eseguire la reinstallazione dal portale di amministrazione (Engine)

OLVM:[Master Note] Virtual Machine Console (Doc ID 2741186.1)

Hard Partitioning

https://www.oracle.com/a/ocom/docs/linux/ol-kvm-hard-partitioning.pdf