Creating a Mirrored LVM Logical Volume

Latest response

Hi:

 

did any know how to create mirrored LVM logical Volume?

 

I try to follow this instrution on step 2. which is "verifies that the clvmd daemon is running"

but I don't see deamo running.

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/mirvol_create_ex.html

 

and then I run "chkconfig clvmd on " and service clvmd start" I got this message:

clvmd could not connect to cluster manager
Consult syslog for more information

 

please help me.

 

Thanks

Danny

Responses

Hi Danny,

 

If you are configuring the LVM mirror on single node (and not in a cluster) you can skip steps 1,2,3 and 4 from

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/mirvol_create_ex.html

 

as cmirror is only require on all the nodes when you have a cluster.

 

For details on cluster configuration and administration please see 

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Cluster_Administration/index.html

 

-Nitin

Sec 4.4.3 of the LVM manual describes non-clustered mirror configuration

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/mirror_create.html

Hi:

 

I have 2 servers and 2 SAN storage.

each server is connect to both SAN.

I need to mirror the both SAN in both servers.

so do I still need to skip the step?

 

Thanks

Danny

Hi Danny,

 

 

Do you want to build a cluster?

 

And do you want to share the Logical Volumes between the servers, or do you just share the SAN boxes but no data sharing?

 

For the situation is not clear.

 

If you want to build a cluster you need set it up first before you can do the lvm mirroring.

 

If no cluster is required, just share the boxes, but no data sharing, skip the cluster mirror steps.

 

 

Kind regards,

 

 

Jan Gerrit Kootstra

Hi:

 

Thanks every one first for the helping. I never build a proper server linux before.

yes, I do need a cluster build for the servers. all servers and SAN storages are direct FC connection.

 

currently I install the follow RPM Packets

yum update -y openais cman rgmanager lvm2-cluster gfs2-utils

But I am don't know how to enable the ports on section 2.3.1:

5404, 5405 UDP corosync/cman (Cluster Manager)
11111 TCP ricci (propagates updated cluster information)
21064 TCP dlm (Distributed Lock Manager)
16851 TCP modclusterd

 

Thanks

Danny

Hi

 

my server1 just installcluster and the got the WEB GUI runing.

I got few questions here when I create new cluster:

 

- node name? is it mean the name of server?

- password?

- Ricci Hostname?

 

Thanks

Danny

 

>>

- node name? is it mean the name of server?

>>

Not necessarily the hostname of the server.

 

>>

- password?

- Ricci Hostname?

>>

 

I case of RHEL 5 this is the root password of the system. If using RHEL 6, we assign a separate password for the ricci.

 

For more details, please see

 

https://access.redhat.com/knowledge/solutions/59173

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Administration/s1-creating-cluster-conga-CA.html

 

https://access.redhat.com/knowledge/solutions/63671

 

Thanks

Nitin