Virtualizare

Vmware ESXi 53 Solutii

Hyper-V 22 Solutii

How to Release Ownership of an ocfs2 Repository Force in Oracle VM

You are unable to release ownership of the problematic repository from the old environment, nor are you able to take ownership of the problematic repository from the new environment.

a. Identify LUN

# mounted.ocfs2 -d | grep xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
/dev/mapper/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx o2cb xxxxxxxxxxxxxxxx G xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx

b. Clean LUN with fsck and stamp it’s cluster’s ownership

# fsck.ocfs2 -y /dev/mapper/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

c. Mount LUN to /mnt temporarily

# mount /dev/mapper/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /mnt

d. Change OVS_REP_MGR_UUID to NONE:

# vi /mnt/.ovsrepo

OVS_REPO_UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OVS_REPO-VERSION=X.X
OVS_REP_MGR_UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OVS_REPO_ALIAS=Repository Name

change to

OVS_REPO_UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OVS_REPO-VERSION=X.X
OVS_REP_MGR_UUID=NONE
OVS_REPO_ALIAS=Repository Name

e. Unmount temporary mount at /mnt

# unmount /mnt

f. Log into the OVM CLI and list the filesystem

# ssh -l admin localhost -p 10000

OVM> list fileSystem

g. Log into the OVM Manager BUI

Go to Repositories tab.

Identify the repository disk (by disk lun) — In this example we choose 2, as it’s the 2nd disk or the 3rd repository disk.

h. From the previous output of the filesystem, identify 2nd

id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx name: fs on SAN Name (2)

i. From the CLI, refresh the repository disk:

OVM> refresh fileSystem id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

j. List repository

OVM> list repository

k. Identify the repository in question

id:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx name: Name of Repository

l. Go back to the OVM Manager BUI

  • Right-click on repository “Name of Repository’ and check the box “Take ownership”.
  • Now in the OVM Manager, refresh the repository “Name of Repository”.
[mai mult...]

Remote Desktop Connection – An authentication error has occurred

Vrem sa administram un server instalat pe un alt host de Hyper-v, iar la deschiderea consolei de administrare din Hyper-V si apoi conectarea la serverul in cauza aflam ca nu ne putem conecta. Eroarea  este urmatoarea: An authentication error has occurred. The function requested is not supported.

Cauza pentru aceasta eroare se datoreaza faptului ca nu avem instalate pe serverul de pe care se incearca conexiunea update-urile de Securitate necesare pentru a remedia problema legata de Credential Security Support Provider protocol (CredSSP). Pentru mai multe detalii despre aceasta problema accesati https://support.microsoft.com/en-us/topic/credssp-updates-for-cve-2018-0886-5cbf9e5f-dc6d-744f-9e97-7ba400d6d3ea

In cazul de fata trebuie instalate ultimele update-uri de Securitate.

[mai mult...]