Obsolete MBA7 cluster testing instructions (English)

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
=== Testování virtualizovaného kernelu v DRBD clusteru ===
+
=== Testing a virtualized kernel in a DRBD cluster ===
-
IP adresa prvního uzlu (hostitel):
+
IP address of the first node (host):
  10.48.1.29
  10.48.1.29
-
IP adresa druhého uzlu:
+
IP address of the second node:
  10.48.1.25
  10.48.1.25
-
IP adresa virtualizovaného kernelu:
+
Virtualized kernel IP address:
  10.48.1.47
  10.48.1.47
-
grafický správce virtuálních strojů:
+
graphical virtual machine manager:
  virt-manager
  virt-manager
-
Stav virtuálních strojů:
+
Status of virtual machines:
  virsh list --all
  virsh list --all
-
Nastartování virtuálního kernelu:
+
To start the virtual kernel:
  virsh start plcmba7krnl
  virsh start plcmba7krnl
-
Vypnutí (korektní):
+
Shutdown (correct):
  virsh shutdown plcmba7krnl
  virsh shutdown plcmba7krnl
-
Vypnutí (vytržení šňůry):
+
Switching off (pulling the cord):
  virsh destroy plcmba7krnl
  virsh destroy plcmba7krnl
-
Pozastavení (v RAM zůstává):
+
Pause (remains in RAM):
-
  virsh suspend plcmba7krnl
+
  virsh suspend plcmba7krnl:
-
Obnovení činnosti:
+
Resumption of activity:
  virsh resume plcmba7krnl
  virsh resume plcmba7krnl
-
Hibernace:
+
Hibernation:
  virsh managedsave plcmba7krnl
  virsh managedsave plcmba7krnl
-
Probuzení z hibernace:
+
Awakening from hibernation:
  virsh start plcmba7krnl
  virsh start plcmba7krnl
-
Stav DRBD úložiště:
+
DRBD storage status:
  drbd-overview
  drbd-overview
-
Připojení úložiště:
+
Storage connection:
  mount /opt
  mount /opt
-
Odpojení úložiště:
+
Disconnect storage:
   umount /opt
   umount /opt
-
Vypnutí úložiště na tomto uzlu:
+
To turn off storage on this node:
  drbdadm down all
  drbdadm down all
-
Zapnutí úložiště na tomto uzlu:
+
To turn on storage on this node:
  drbdadm up all
  drbdadm up all
-
Změna role úložiště na tomto uzlu na sekundární ("slave", nemůže být připojeno)
+
Change the storage role on this node to secondary ("slave", cannot be mounted)
  drbdadm secondary all
  drbdadm secondary all
-
Změna role úložiště na tomto uzlu na primární ("master", může být připojeno)
+
Change the storage role on this node to primary ("master" can be mounted)
  drbdadm primary all
  drbdadm primary all
-
==Typický test==
+
==Typical test==
-
Na 10.48.1.29:
+
At 10.48.1.29:
  virsh -c qemu:///system destroy plcmba7krnl
  virsh -c qemu:///system destroy plcmba7krnl
  umount /opt
  umount /opt
-
Na 10.48.1.25:
+
At 10.48.1.25:
  drbdadm primary all
  drbdadm primary all
  mount /opt
  mount /opt
  virsh -c qemu:///system start plcmba7krnl
  virsh -c qemu:///system start plcmba7krnl

Current revision as of 11:40, 29 April 2020

Testing a virtualized kernel in a DRBD cluster

IP address of the first node (host):

10.48.1.29

IP address of the second node:

10.48.1.25

Virtualized kernel IP address:

10.48.1.47

graphical virtual machine manager:

virt-manager

Status of virtual machines:

virsh list --all

To start the virtual kernel:

virsh start plcmba7krnl

Shutdown (correct):

virsh shutdown plcmba7krnl

Switching off (pulling the cord):

virsh destroy plcmba7krnl

Pause (remains in RAM):

virsh suspend plcmba7krnl:

Resumption of activity:

virsh resume plcmba7krnl

Hibernation:

virsh managedsave plcmba7krnl

Awakening from hibernation:

virsh start plcmba7krnl


DRBD storage status:

drbd-overview

Storage connection:

mount /opt

Disconnect storage:

 umount /opt

To turn off storage on this node:

drbdadm down all

To turn on storage on this node:

drbdadm up all

Change the storage role on this node to secondary ("slave", cannot be mounted)

drbdadm secondary all

Change the storage role on this node to primary ("master" can be mounted)

drbdadm primary all


Typical test

At 10.48.1.29:

virsh -c qemu:///system destroy plcmba7krnl
umount /opt

At 10.48.1.25:

drbdadm primary all
mount /opt
virsh -c qemu:///system start plcmba7krnl
Personal tools