Sziasztok,
van egy Dell R930-as szerverem 64GB RAM, 4db 1TB-os SAS diszkkel RAID10 modban.
Kollegam szamara erre kene Oracle VM Servert felraknom, melyen 2-3 VM futna. Az egyik VM szamara tobb mint 2TB hely kene (Oracle adatbazis futna rajta).
Lehuztam a 3.4.1 Server es VM Manager iso fajlokat.
Fel is installaltam az Oracle VM Server-t, miutan azonban tovabb olvasgattam, rajottem, hogy ha lokalis storage-t szeretnek hasznalni
a VM-ek reszere, erre csak nem hasznalt fizikai diszket tudok hozzarendelni VM Manager alatt.
Tobb helyrol is infot szereztem:
[1] http://www.oracle.com/technetwork/server-storage/vm/ovm32-deployment-wp…
szerint, page 13:
"Also worth noting here is that local storage repositories have a couple of other restrictions that need to be planned for: (i) only whole, unpartitioned, physical disks can be used for local storage, and (ii) local SAS disks are not supported as local storage repositories.
This means that you cannot use the unused parts of Oracle VM Server boot disks as any form of storage repository, so turning all the drives in a machine into a single huge RAID device just results in wasted space.
You can use a local SAS disk as the boot disk for Oracle VM Server, which might allow you to use the remaining non-SAS disk as a local storage repository. Remember that any time you use a local storage repository that VMs and data located there are permanently fixed to that Oracle VM Server for normal purposes.
"
Mi az a non-SAS diszk? Hasznalhato az en hardwerem erre a celra?
[2] https://docs.oracle.com/cd/E26996_01/E18549/html/CHDIGACB.html
szerint azonban:
"If an Oracle VM Server has unused hard disks, they can be used as local storage for your environment. On condition that these spare disks are completely empty, meaning they have no partitions or file systems, they are included automatically in the local storage array of the Oracle VM Server.
Note that local storage arrays are not listed under the Storage tab of the Hardware view. You can, however, see the local storage entities in locations where you can use them; for example when you create a storage repository, select a physical disk for a VM, list the physical disks accessible to an Oracle VM Server, or select a physical clone target.
Local storage has the advantage that it is fast and easy to use, but users must be aware that there is no possibility to share this type of storage and that it cannot be used in a high-availability configuration.
The configuration where local storage is most useful is where you have an unclustered server pool that contains only one Oracle VM Server. By configuring a storage repository (see Section 4.8, “Preparing and Configuring Storage Repositories”) on local storage you can set up an Oracle VM virtualized environment quickly and easily on a single server: all your resources, virtual machines and their disks are stored locally. Since there is only one Oracle VM Server, access to resources is guaranteed.
"
A Section 4.8, “Preparing and Configuring Storage Repositories” irja:
https://docs.oracle.com/cd/E26996_01/E18549/html/BABHBHGF.html
"Local storage, or unused disks in your Oracle VM Servers, are discovered as LUNs in a local storage array. If you want to use a single-server setup with local storage, be sure to deactivate clustering in your server pool. This eliminates the need for a server pool file system, which cannot be on a local disk by definition."
Most nem tudom eldonteni, megfelel-e a szerverem a kovetelmenyeknek es ha igen, hogy kene a meg installacio elott a diszkeket elokeszitenem?
Megjegyzes: https://oracleexamples.wordpress.com/2014/09/25/how-to-configure-oracle…
alatt van egy jo kis leiras, hogy kell lokalis diszket hozzaadni Oracle VM Manager alatt. (mondjuk itt mas a hw :-))
Koszonom elore a magyarazatokat, hozzaszolasokat.
Ardi
- 1492 megtekintés
Hozzászólások
A raid vezérlőtől függ. Egyrészt jó esetben elrejti a diszkeket, bár a SAS diszk is támogatott lokál install esetén (a belinkelt doksi nagyon régi).
Akkor fog működni, ha a raid tömbből ki tudsz ajánlani több LUN-t, azaz az OS-nek több diszket kell látnia.
Célszerűen 10G, 12G, és a maradék alapján kiosztani. Az első amire installálod, második a pool fs, a haramadikra pedig a repository amire a VM-eket tudod pakolgatni.
- A hozzászóláshoz be kell jelentkezni
Koszonom a valaszt. Nem tudom azonban elkepzelni, honnan vesz az Oracle VM Manager alatt pool fs reszere tarhelyet es a majd letrehozando VM-ek szamara tarhelyet. Nem mentettem el az osszes screenshot-ot, de 4x1.2TB RAID10 eseten a kovetkezo felosztast kaptam:
Device Start End Size Type Mount Point
sdb
sdb1 1 26 200M efi /boot/efi
sdb2 26 90 500M ext4 /boot
sdb3 90 6617 51200M ext4 /
sdb4 6617 10637 31536M swap
sdb5 10637 291696 2204690 none
Megoldhato elmeletileg a kovetkezo?
Probaljam meg meeg egyszer az installaciot es a fenti felosztast ujbol modositsam a kovetkezore?:
Device Start End Size Type Mount Point
sdb
sdb1 1 26 200M efi /boot/efi
sdb2 26 90 500M ext4 /boot
sdb3 90 6617 51200M ext4 /
sdb4 6617 10637 31536M swap
sdb5 10637 ???? 12000M none #<---ide menne a pool fs
sdb6 ????? ???? ????? none #<---ide menne 2TB a VM1 reszere
sdb7 ????? ???? ??? none #<---ide menne mondjuk 500G VM2 reszere
sdb8 ????? ???? ??? none #uresen hagyva
A ???? reszt a rendszer szamolna ki - en csak a size reszt allitanam be.
Lathatova valna VM Manager alatt az sdb5,sdb6,sdb7,sdb8 min lokalis storage alatt levo, mas es mas LUN-nal rendelkezo tarhely?
Ardi
- A hozzászóláshoz be kell jelentkezni
Pont azt írtam, hogy külön LUN/diszk kell ezeknek, azaz az OVM alatt kell lennie sda, sdb, sdc-nek, nem elég a partició.
Ha a raid vezérlőben ki tudod osztani 3 LUN-ként a raid10 tömböt akkor menni fog. Ha nem akkor marad az egyéb vinyó rádugása cdrom helyett, stb. Esetleg meg lehet próbálkozni usb stick-re telepíteni, bár ezt nem próbáltam.
- A hozzászóláshoz be kell jelentkezni
Kezdem erteni (remelem :-)).
Ugy latszik azonban, hogy a RAID nem kepes masik Slot alatt uj diszket berakni. Igy feleslegesen van 4 diszkem ...:-(
- A hozzászóláshoz be kell jelentkezni
Töröld le a VD-t és próbáld meg az első VD-t kisebb méretűként létrehozni a 4 diszken (pl. 4 disk, raid10 és VD Size: 20Gb), majd próbálj mégegy VD-t (4 disk, raid10) létrehozni ugyanezen diskgroupon. Az LSI MegaRaid vezérlők szokták ezt tudni.
- A hozzászóláshoz be kell jelentkezni
Pont igy probaltam: eloszor a 4 diszket RAID10-ra allitva vd0 nev alatt 200GB helyet hoztam letre, majd probaltam ugyanigy vd1 nev alatt 15GB-ot a pool fs reszere rezervalni.
Sajnos, a vd0 mar nem volt ott.
A rendszer csupan egyetlen Slot-ot kinal - semmilyen DiskGroup-ot nem latok.
ardi
- A hozzászóláshoz be kell jelentkezni
Szia,
Fentebb már válaszoltak, ha RAID-ről tudsz több "lun"-t kiosztani akkor okés. Standalone módban nem kell pool.
Egyéb:
Mi a perverzió oka, hogy standalone(de egyébként is) módban szívatjátok magatokat ezzel? Licence?
- A hozzászóláshoz be kell jelentkezni
Valoszinuleg igen - a kollegam az Oracle licensz miatt nyomja ezt a "mindent egy helyen" alternativat.
Ardi
- A hozzászóláshoz be kell jelentkezni
Sziasztok,
sikerult rajonnom a hibara:
Boot Mode =BIOS (eredetileg UEFI volt) atallitas utan
letre tudtam hozni 2 RAID1 diszket vd0 (disk0+disk1) es vd1 (disk2+disk3) nevvel.
Oracle VM Manager alatt a Repository reszben hozza lehetett adni mindkettot.
Mar nehany iso lehuzasa utan nehany VM letrehozasa is sikerult.
Koszi a segitseget.
Ardi
- A hozzászóláshoz be kell jelentkezni