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!
==Final configuration== Final configuration file of each vm should look like the following <nowiki><domain type='kvm'></nowiki> <nowiki><name>CBS-DB2</name></nowiki> <nowiki><uuid>c4dbb197-ac51-7803-bd09-0f713145a2d2</uuid></nowiki> <nowiki><memory>7168000</memory></nowiki> <nowiki><currentMemory>7168000</currentMemory></nowiki> <nowiki><vcpu>8</vcpu></nowiki> <nowiki><os></nowiki> <nowiki><type arch='x86_64' machine='rhel5.4.0'>hvm</type></nowiki> <nowiki><boot dev='hd'/></nowiki> <nowiki></os></nowiki> <nowiki><features></nowiki> <nowiki><acpi/></nowiki> <nowiki><apic/></nowiki> <nowiki><pae/></nowiki> <nowiki></features></nowiki> <nowiki><clock offset='utc'/></nowiki> <nowiki><on_poweroff>destroy</on_poweroff></nowiki> <nowiki><on_reboot>restart</on_reboot></nowiki> <nowiki><on_crash>restart</on_crash></nowiki> <nowiki><devices></nowiki> <nowiki><emulator>/usr/libexec/qemu-kvm</emulator></nowiki> <nowiki><disk type='file' device='disk'></nowiki> <nowiki><driver name='qemu' cache='none'/></nowiki> <nowiki><source file='/var/lib/libvirt/images/CBS-DB2.img'/></nowiki> <nowiki><target dev='vda' bus='virtio'/></nowiki> <nowiki><shareable/></nowiki> <nowiki></disk></nowiki> <nowiki><disk type='block' device='cdrom'></nowiki> <nowiki><target dev='hdc' bus='ide'/></nowiki> <nowiki><readonly/></nowiki> <nowiki></disk></nowiki> <nowiki><disk type='block' device='disk'></nowiki> <nowiki><driver name='qemu' cache='none'/></nowiki> <nowiki><source dev='/dev/sdb'/></nowiki> <nowiki><target dev='vdb' bus='virtio'/></nowiki> <nowiki><shareable/></nowiki> <nowiki></disk></nowiki> <nowiki><interface type='bridge'></nowiki> <nowiki><mac address='54:52:00:6e:2d:29'/></nowiki> <nowiki><source bridge='bridge0'/></nowiki> <nowiki><model type='virtio'/></nowiki> <nowiki></interface></nowiki> <nowiki><serial type='pty'></nowiki> <nowiki><source path='/dev/pts/2'/></nowiki> <nowiki><target port='0'/></nowiki> <nowiki></serial></nowiki> <nowiki><console type='pty' tty='/dev/pts/2'></nowiki> <nowiki><source path='/dev/pts/2'/></nowiki> <nowiki><target port='0'/></nowiki> <nowiki></console></nowiki> <nowiki><input type='mouse' bus='ps2'/></nowiki> <nowiki><graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/></nowiki> <nowiki></devices></nowiki> <nowiki></domain></nowiki> '''CLUSTER''' '''IPMI CONFIGURATION''' Service ipmi restart dmesg(check ipmi no errors should come) ipmitool lan print 1(Displayrint ipmi chanel 1 configuration) ipmitool lan set 1 ipsrc static ipmitool lan set 1 ipaddr 192.168.0.46 ipmitool lan set 1 netmask 255.255.255.0 ipmitool lan set 1 arp respond on ipmitool lan set 1 arp generate on ipmitool lan set 1 arp interval 5 ipmitool lan set 1 user ipmitool lan set 1 access on ipmitool userlist Now we will create cluster on CBS-APP-PROD.capital.clab There will be two cluster one for application virtual machine and other for run fence_xvmd agent. luci_admin init username: admin password: capital123 service ricci start service luci restart login in browser by url [https://CBS-APP-PROD.capital.clab:8084/ https://CBS-APP-PROD.capital.clab:8084]
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)