LVM last nur auf einer Platte.

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Benutzeravatar
Voyager_MP
Beiträge: 628
Registriert: 22.06.2004 10:04:07
Wohnort: Aachen

LVM last nur auf einer Platte.

Beitrag von Voyager_MP » 27.09.2012 08:24:40

Hi, ich habs versaut :)
Hintergrund: Eine Oracle DB ist furchtbar langsam

Code: Alles auswählen

Linux 2.6.32-71.el6.x86_64 (nuudedb005.intern.local)    09/26/2012      _x86_64_        (16 CPU)

05:17:37 PM       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util
05:17:38 PM       sda      1.98      0.00     15.84      8.00      0.02     11.50      7.50      1.49
05:17:38 PM       sdb      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
05:17:38 PM       sdc      1.98     31.68      0.00     16.00      0.00      0.50      0.50      0.10
05:17:38 PM       sdd    542.57  72000.00  26518.81    181.58      4.15      7.65      1.83     99.11
05:17:38 PM       sde      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
05:17:38 PM ORACEL--VG-ORACLE    700.99  71920.79  26518.81    140.43      5.07      7.24      1.41     99.11

Code: Alles auswählen

  --- Physical volume ---
  PV Name               /dev/sdc
  VG Name               ORACEL-VG
  PV Size               2.00 TiB / not usable 4.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              523124
  Free PE               0
  Allocated PE          523124
  PV UUID               OY43Pt-ifg2-89hW-Fe6Y-P0Tx-akKa-Rq9D5f
   
  --- Physical volume ---
  PV Name               /dev/sdd
  VG Name               ORACEL-VG
  PV Size               2.00 TiB / not usable 4.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              523124
  Free PE               0
  Allocated PE          523124
  PV UUID               U9hQtu-Jfwq-XXrJ-0Tfz-tfGg-0HN2-87Lxt5
   
  --- Physical volume ---
  PV Name               /dev/sde
  VG Name               ORACEL-VG
  PV Size               6.13 TiB / not usable 2.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              1607752
  Free PE               0
  Allocated PE          1607752
  PV UUID               iaunWz-SOMk-fq84-84Oq-6JVa-PeLt-2n1QAM
Wie man oben sieht liegt die ganze last nur auf einem block device (sdd), die Oracle liegt im Logical volume.

Jetzt kann ich aber leider keine weiteres LV erstellen, weil ich so schlau war direkt 100% fuer ein LV zu nutzen.

Wie kann ich eine Art IO loadbalancing im LVM hinbekommen ?
Kann man im live betrieb die Inode's verschieben ? So das ich teile der Oracle (die indexe) auf das sde blockdevice lege ?


Ach ja die Datenbank ist HOT und kann auch nicht runtergefahren werden :)
Gruß Michel

Benutzeravatar
Six
Beiträge: 8071
Registriert: 21.12.2001 13:39:28
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Siegburg

Re: LVM last nur auf einer Platte.

Beitrag von Six » 27.09.2012 12:48:30

Das Schlagwort ist "multipath", aber ich kenne keinen Weg, das nachträglich einzurichten, sorry.

EDIT:Wie üblich hat Red Hat eine brauchbare Doku online: http://sources.redhat.com/lvm2/wiki/MultipathUsageGuide
Be seeing you!

Antworten