This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Integrate with existing validation hook in the service class http://git.openstack.org/cgit/openstack/nova/tree/nova/service.py#n283 | |
2. Minimize performance effect on CI gate tests | |
3. Consider upgrade implications, integrate with upgrade testing tools | |
4. Stand-alone tool which will also work across services | |
5. Discover components to validate configurations for (e.g. if Neutron is configured, then check Neutron credentials are correct) | |
6. Stand-alone tool which will be run after initial deployment | |
7. Track validated configurations and only revalidate if needed | |
8. Run validation during service startup unless that affects performance | |
9. catch following error types: a) duplicate/nonexistant options; b) invalid mix of settings | |
10. generic standalone tool for case a) is in nova/tools: https://git.openstack.org/cgit/openstack/nova/tree/tools/config/analyze_opts.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10.0.0.4:comp3 | |
nova-compute-inst-175 | |
nova-compute-inst-190 10.0.0.22, 10.49.252.89 | |
nova-compute-inst-201 | |
nova-compute-inst-209 | |
nova-compute-inst-127 | |
10.0.0.4:comp4 | |
nova-compute-inst-27 | |
nova-compute-inst-182 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(drbd-node1)# vgs | |
VG #PV #LV #SN Attr VSize VFree | |
vg_shared 1 3 0 wz--nc 1.29t 1.04t | |
vg_sys 1 2 0 wz--n- 19.97g 5.97g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(drbd-node1)# vgchange -c y vg_shared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(drbd-node1)# service cman start | |
Starting cluster: | |
Checking if cluster has been disabled at boot... [ OK ] | |
Checking Network Manager... [ OK ] | |
Global setup... [ OK ] | |
Loading kernel modules... [ OK ] | |
Mounting configfs... [ OK ] | |
Starting cman... [ OK ] | |
Waiting for quorum... [ OK ] | |
Starting fenced... [ OK ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global { | |
... | |
locking_type = 3 | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compatibility: whitetank | |
totem { | |
version: 2 | |
secauth: off | |
threads: 0 | |
# fail_recv_const: 5000 | |
interface { | |
ringnumber: 0 | |
bindnetaddr: 10.0.0.0 | |
mcastaddr: 226.94.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<cluster name="cluster" config_version="1"> | |
<!-- post_join_delay: number of seconds the daemon will wait before | |
fencing any victims after a node joins the domain | |
post_fail_delay: number of seconds the daemon will wait before | |
fencing any victims after a domain member fails | |
clean_start : prevent any startup fencing the daemon might do. | |
It indicates that the daemon should assume all nodes | |
are in a clean state to start. --> | |
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(drbd-node1)# yum install clvmd | |
... | |
Dependencies Resolved | |
================================================================================ | |
Package Arch Version Repository Size | |
================================================================================ | |
Installing: | |
lvm2-cluster x86_64 2.02.84-1.fc15 fedora 331 k | |
Installing for dependencies: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vgchange -a y nova | |
1 logical volume(s) in volume group "nova" now active |
NewerOlder