Szerkesztő:Gydani

A Unix/Linux szerverek üzemeltetése wikiből
(Változatok közti eltérés)
a
a
40. sor: 40. sor:
   
 
:;Specialized storage containers
 
:;Specialized storage containers
:Csak olyan objektumot képez, amit fizikailag minden node elér a clusterből.
+
:Csak olyan objektumot képez, amit fizikailag minden node elér a clusterből.
 
:;Private storage container
 
:;Private storage container
:Olyan diszekek gyüjteménye, amit fizikailag minden node elér a clusterből, egy tárolóként kezelik és egyszerre csak egy node birtokollja és használja a clusterből.
+
:Olyan diszekek gyüjteménye, amit fizikailag minden node elér a clusterből, egy tárolóként kezelik és egyszerre csak egy node birtokollja és használja a clusterből.
 
 
 
:;Shared storage container
 
:;Shared storage container
:A collection of disks that are physically accessible from all nodes of a cluster, managed as a single pool of storage, and owned and accessed by all nodes of the cluster simultaneously.
+
:A collection of disks that are physically accessible from all nodes of a cluster, managed as a single pool of storage, and owned and accessed by all nodes of the cluster simultaneously.
   
 
:;Deported storage container
 
:;Deported storage container

A lap 2006. december 14., 14:15-kori változata

Tartalomjegyzék

1 EVMS használata

1.1 Mi az EVMS?

Az Enterprise Volume Management System, új módon közelíti meg a kötetkezelést. Egyben kezeli a partícionálást, LVM-et, MD kezelést és fájlrendszer műveleteket. Egy interfészen elérhetőek a különböző kötetkezelő technológiák, plug-in-ként bővíthető is.

Előnye, hogy különböző típusú köteteket és fájlrendszereket is együtt tud kezelni, ezáltal megkönnyíti bármilyen új diszk hozzáadását vagy beintegrálását. A program csak olyan utasítást hajlandó végrehajtani, ami (szerinte?) biztonságos, így nehéz elrontani az integritást. A többféle kötetkezelő menedzsmentet egy keretrendzserbe foglalja, rendszertípustól függetlenül módosíthatjuk köteteinket.

1.2 Felhasználó felületek

3 megoldást nyújt: grafikus (GUI), szöveges-menüs (Ncurses), parancssoros (CLI). Értelemszerűen az első kettőben csak a felajánlott utasításokat adhatjuk ki a rendszernek, ezen kívül semmiben nem különbözik a 3. (De: az első szép, színes-szagos).

1.3 Fogalmak

Az EVMS-ben az alábbi fogalmak a használtak (nem keverendek a többi technológi fogalmaival)

Logical disk
Bármi, amit az EVMS, mint fizikai diszk el tud érni. A fizikai diszkek reprezentációja.
Sector
Legkisebb egység, amit egy block device-on el lehet érni. Ez tehát hasonló más VM rendszerben levő definicióval.
Disk segment
Egy Strorage object-en lévő, fizikailag egymás után levő Sector-ok rendezett tömbje. (Kb. partíció)
Storage region
Sector-ok rendezett tömbje, amik nem feltétlenül vannak fizikailag egymás után.
Storage object
Bármilyen perzisztens memória tároló az EVMS-ben, ami használható objektumok vagy kötetek készítésére. Általánosan disk, segmens, region, feature object.
Storage container
Storage objekt-ek gyüjtője, amikből így újabb Storage object lesz.
Cluster storage container
Specialized storage containers
Csak olyan objektumot képez, amit fizikailag minden node elér a clusterből.
Private storage container
Olyan diszekek gyüjteménye, amit fizikailag minden node elér a clusterből, egy tárolóként kezelik és egyszerre csak egy node birtokollja és használja a clusterből.
Shared storage container
A collection of disks that are physically accessible from all nodes of a cluster, managed as a single pool of storage, and owned and accessed by all nodes of the cluster simultaneously.
Deported storage container
A shared cluster container that is not owned by any node of the cluster.
Feature object
A storage object that contains an EVMS native feature.
An EVMS Native Feature is a function of volume management designed and implemented by EVMS. These features are not intended to be backward compatible with other volume management technologies.
Logical volume
A volume that consumes a storage object and exports something mountable. There are two varieties of logical volumes: EVMS Volumes and Compatibility volumes.
EVMS Volumes contain EVMS native metadata and can support all EVMS features. /dev/evms/my_volume would be an example of an EVMS Volume.
Compatibility volumes do not contain any EVMS native metadata. Compatibility volumes are backward compatible to their particular scheme, but they cannot support EVMS features. /dev/evms/md/md0 would be an example of a compatibility volume.


Using the EVMS CLI

Use the evms command to start the EVMS CLI. If you do not enter an option with evms, the EVMS CLI starts in interactive mode. In interactive mode, the EVMS CLI prompts you for commands. The result of each command is immediately saved to disk. The EVMS CLI exits when you type exit. You can modify this behavior by using the following options with evms:

-b

   This option indicates that you are running in batch mode and anytime there is a prompt for input from the user, the default value is accepted automatically. This is the default behavior with the -f option.

-c

   This option saves changes to disk only when EVMS CLI exits, not after each command.

-f filename

   This option tells the EVMS CLI to use filename as the source of commands. The EVMS CLI exits when it reaches the end of filename. 

-p

   This option only parses commands; it does not execute them. When combined with the -f option, the -p option detects syntax errors in command files. 

-h

   This option displays help information for options used with the evms command.

-rl

   This option tells the CLI that all remaining items on the command line are replacement parameters for use with EVMS commands.

SCREEN

EVMS GUI

EVMSN

EVMS CLI

Adding a segment manager to a disk allows the disk to be subdivided into smaller storage objects called disk segments. The add command causes a segment manager to create appropriate metadata and expose freespace that the segment manager finds on the disk. You need to add segment managers when you have a new disk or when you are switching from one partitioning scheme to another.

EVMS displays disk segments as the following types:

   *
     Data: a set of contiguous sectors that has been allocated from a disk and can be used to construct a volume or object.
   *
     Freespace: a set of contiguous sectors that are unallocated or not in use. Freespace can be used to create a segment.
   *
     Metadata: a set of contiguous sectors that contain information needed by the segment manager.

6.2. Types of segment managers

There are seven types of segment managers in EVMS: DOS, GPT, S/390, Cluster, BSD, MAC, and BBR.

7. Creating segments

8. Creating a container

9. Creating regions

10. Creating drive links

11. Creating snapshots

12. Creating volumes

16. Expanding and shrinking volumes

Személyes eszközök