HOWTO_set_up_EVMS_for_HOWTO-nopool (Sep 10 2003)


Contact the author.

HOWTO to create EVMS native shared volumes, using a single hardware
drive with the following configuration?

	/dev/evms/ogfs_cidev0   4 MBytes -- for cluster information
	/dev/evms/ogfs_jrnl0    128 MBytes -- for external journal 0
	/dev/evms/ogfs_jrnl1    128 MBytes -- for external journal 1
	/dev/evms/ogfs_fs0      rest of drive -- for filesystem data


PRELIMINARIES
-------------
This document assumes that you have installed EVMS (and the DM device mapper)
on your systems.  See installation documentation available at the EVMS website:

http://evms.sourceforge.net

. . . For your convenience, there are some patch tarballs available on the OGFS
Download page (*not* CVS!) that incorporate the kernel patches for OGFS, EVMS,
DM, and KDB (kernel debugger), and even more, all in one.  See HOWTO-nopool,
step 2.A. for details.


EVMS SETUP
---------

You may follow the steps below manually, using the EVMS GUI, but see also the 
scripts "evms_create" and "evms_delete" in the opengfs/scripts directory.

1.  Invoke the EVMS GUI by typing 'evmsgui'

2.  Click Action->Create->Container A 'Create Storage Container' dialog
	box pops up.

3.  Select 'Cluster Segment Manager' and click Next A 'Select Plugin
	Acceptable Objects' dialog box pops up.

4.  Select the disk on which you want to create the shared volumes, and
	click Next.  A 'Configuration Options' dialog box pops up.

5. Ignore the NodeId pull down menu.  Select 'shared' in the Type pull
   down menu and Fill in some name e.g 'ogfs_contnr' and click Create
   button.  A Operation 'Completed Successfully' dialog box appears.

6.  Click OK and you are taken to the main window.

7.  Click Action->Create->Container.  A 'Create Storage Container'
	dialog box pops up.

8.  Select 'LVM Region Manager' and click Next.  A 'Select Plugin
	Acceptable Objects' dialog box pops up.

9.  Select 'csm/ogfs_contnr/xxxx_data' where xxxx is the disk name you
	selected in step 4 and click Next.  A 'Configuration
	Options' dialog box pops up.

10.  Fill in some name e.g.  ogfs_lvm_contnr in the 'Name of the new LVM
	container' Text area.  Select 4.0 MB from the pull down menu in
	'PE size for new container' And Click Next.  A 'Operation
	Completed Successfully' dialog box appears.

11.  Click OK.  and you are taken to the main window.


12.  Click Action->Create->Region.  A 'Create Storage Region' dialog box
	pops up.

13.  Select 'LVM Region Manager' and click Next.  A 'Select Plugin
	Acceptable Objects' dialog box pops up.

14.  Select 'lvm/ogfs_lvm_contnr/Freespace' and click Next.  A
	'Configuration Options' dialog box pops up.

15.  In the Page1 tab, in the "Name of new LVM Region (LV)" text menu
	type in some region name e.g.  'ogfs_cidev0_rgn' and in the
	"Size of new region (MB)" text menu, type in 4MB and click
	Create

16.  A 'Operation Completed Successfully' dialog box appears.  Click OK
	and you are taken to the main window


17.  Click Action->Create->Region.  A 'Create Storage Region' dialog box
	pops up.

18.  Select 'LVM Region Manager' and click Next.  A 'Select Plugin
	Acceptable Objects' dialog box pops up.

19.  Select 'lvm/ogfs_lvm_contnr/Freespace' and click Next.  A
	'Configuration Options' dialog box pops up.

20.  In the Page1 tab, in the "Name of new LVM Region (LV)" text menu
	type in some region name e.g.  'ogfs_jrnl0_rgn' and in the "Size
	of new region (MB)" text menu, type in 128MB and click Create

21.  A 'Operation Completed Successfully' dialog box appears.  Click OK
	and you are taken to the main window


22.  Click Action->Create->Region.  A 'Create Storage Region' dialog box
	pops up.

23.  Select 'LVM Region Manager' and click Next.  A 'Select Plugin
	Acceptable Objects' dialog box pops up.

24.  Select 'lvm/ogfs_lvm_contnr/Freespace' and click Next.  A
	'Configuration Options' dialog box pops up.

25.  In the Page1 tab, in the "Name of new LVM Region (LV)" text menu
	type in some region name e.g.  'ogfs_jrnl1_rgn' and in the "Size
	of new region (MB)" text menu, type in 128MB and click Create

26.  A 'Operation Completed Successfully' dialog box appears.  Click OK
	and you are taken to the main window


27.  Click Action->Create->Region.  A 'Create Storage Region' dialog box
	pops up.

28.  Select 'LVM Region Manager' and click Next.  A 'Select Plugin
	Acceptable Objects' dialog box pops up.

29.  Select 'lvm/ogfs_lvm_contnr/Freespace' and click Next.  A
	'Configuration Options' dialog box pops up.

30.  In the Page1 tab, in the "Name of new LVM Region (LV)" text menu
	type in some region name e.g.  'ogfs_fs0_rgn' click Create

31.  A 'Operation Completed Successfully' dialog box appears.  Click OK
	and you are taken to the main window

32.  Click Action->Create->EVMS Volume.  A 'Create EVMS Volume' dialog
	box pops up.

33.  Select 'lvm/ogfs_lvm_contnr/ogfs_cidev0_rgn' in the selection box
	and then type in 'ogfs_cidev0' in Name text menu and click
	Create.  A 'Operation Results' box pops up indicating the
	creation of the volume is successful.  Click OK and you are
	taken to the main window


34.  Click Action->Create->EVMS Volume.  A 'Create EVMS Volume' dialog
	box pops up.

35.  Select 'lvm/ogfs_lvm_contnr/ogfs_jrnl0_rgn' in the selection box
	and then type in 'ogfs_jrnl0' in Name text menu and click
	Create.  A 'Operation Results' box pops up indicating the
	creation of the volume is successful.  Click OK and you are
	taken to the main window

36.  Click Action->Create->EVMS Volume.  A 'Create EVMS Volume' dialog
	box pops up.

37.  Select 'lvm/ogfs_lvm_contnr/ogfs_jrnl1_rgn' in the selection box
	and then type in 'ogfs_jrnl1' in Name text menu and click
	Create.  A 'Operation Results' box pops up indicating the
	creation of the volume is successful.  Click OK and you are
	taken to the main window

38.  Click Action->Create->EVMS Volume.  A 'Create EVMS Volume' dialog
	box pops up.

39.  Select 'lvm/ogfs_lvm_contnr/ogfs_fs0_rgn' in the selection box and
	then type in 'ogfs_fs0' in Name text menu and click Create.  A
	'Operation Results' box pops up indicating the creation of the
	volume is successful.  Click OK and you are taken to the main
	window

40.  Click Action->Save.  A 'Save Changes Confirmation' dialog box
	appears Click Save.

41. You might see a 'Messages' box popping up.  Click OK and you are
	taken to the main window.

42.  Click Action->Quit.  A 'Save Changes Confirmation' dialog box
	appears Click Save.

43. You might see a 'Messages' box popping up.  Click OK and you exit
	out of the GUI.

44.  Run evms_activate on all nodes of the cluster.


45. As a confirmation, check for the existence of the follow block
    devices on all nodes of the cluster.

	/dev/evms/ogfs_cidev0
	/dev/evms/ogfs_jrnl0
	/dev/evms/ogfs_jrnl1
	/dev/evms/ogfs_fs0
SourceForge Logo