Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
VIRTUALIZATION AND CLUSTER IN CAPITAL BANK
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Application Cluster == First I created application cluster In order to provide fencing for virtual guests running in a cluster, the physical host systems must also be in a cluster of their own. For instance, HostA and HostB may be physical systems running KVM or Xen, and GuestA, GuestB, GuestC, and GuestD are virtual guests running on both hosts. ClusterA would have HostA and HostB as cluster nodes, whereas,ClusterB would be comprised of Guests A-D as nodes. These two clusters cannot share,any members.Red Hat Enterprise Linux Cluster provides the fence_xvmd daemon, which runs on the virtualization hosts to track the location and status of virtual cluster nodes, and listens for fencing requests from those nodes. These virtual nodes send the fencing requests using the fence_xvm agent, which sends a multicast request to the host cluster along with the libvirt domain name of the guest to be fenced. When the virtualization host receives this request,and authenticates it, it uses the libvirt interfaces to destroy and restart the errant guest. '''Authentication''' In order for the host nodes to be able to authenticate fencing requests from the guest cluster, each node must possess the same key to use for packet hashing and SHA authentication. This key can be created on any one of the host or guest systems like so: '''<nowiki># dd if=/dev/urandom of=/etc/cluster/fence_xvm.key bs=4096 count=1</nowiki>''' This key should then be copied to /etc/cluster/fence_xvm.key on every virtual host and Guest. [[Image:Capital9.png]] [[Image:Capital10.png]][[Image:Capital11.png]] [[Image:Capital12.png]] [[Image:Capital13.png]] [[Image:Capital14.png]] With this application cluster configuration over. Now the base cluster [[Image:Capital15.png]] [[Image:Capital17.png]] [[Image:Capital18.png]] [[Image:Capital19.png]] [[Image:Capital20.png]] [[Image:Capital21.png]] Now cluster on CBS-DB-PROD.capital.clab luci_admin init username: admin password: capital123 service ricci start service luci restart login in browser by url [https://CBS-DB-PROD.capital.clab:8084/ https://CBS-DB-PROD.capital.clab:8084] Name of cluster db_clust In this cluster,We have used storage (DAS box),with file system ext3. Exported storage in vm as virtio disk,and created the partitions as file system ext3 [[Image:Capital22.png]] [[Image:Capital23.png]] [[Image:Capital24.png]] [[Image:Capital25.png]] [[Image:Capital26.png]] [[Image:Capital27.png]] [[Image:Capital28.png]] [[Image:Capital29.png]]
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)