mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
f814d763c6
This patch adds new options to lvmconf: --enable-halvm (just like --enable-cluster, but configure LVM for use in HA LVM - meaning disabling lvmetad and making sure we have locking_type=1) --disable-halvm (just like --disable-cluster, but configure LVM back from HA LVM - meaning enabling lvmetad if it's enabled by default and making sure we have default locking type set) --services (causes clvmd and lvmetad services to be enabled or disabled appropriately and conforming to the changes in lvm configuration we've just made with lvmconf) --mirrorservice (in addition to clvmd and lvmetad services, also enable or disable cmirrord service appropriately; this is a separate option because cmirrord is optional and it doesn't need to be always enabled when clvmd is enabled) --startstopservices (in addition to enabling or disabling services, start and stop these services immediately) These options are supposed to help users to make their system ready for cluster with clvmd (active-active) or HA LVM (active-passive) use while lvmconf script can handle services as well so users don't need to bother about setting them manually. Also, before this patch, we hardcoded global/use_lvmetad=0 as default value in lvmconf script. Howeverm this default may change by just flipping the value in config_settings.h and we may forget to edit the lvmconf. It's better to use lvm dumpconfig --type default global/use_lvmetad to get the actual default value and use this one instead of hardcoded one. |
||
---|---|---|
.. | ||
lvm2create_initrd | ||
.gitignore | ||
blk_availability_init_red_hat.in | ||
blk_availability_systemd_red_hat.service.in | ||
blkdeactivate.sh.in | ||
clvmd_fix_conf.sh | ||
clvmd_init_red_hat.in | ||
cmirrord_init_red_hat.in | ||
dm_event_systemd_red_hat.service.in | ||
dm_event_systemd_red_hat.socket.in | ||
fsadm.sh | ||
gdbinit | ||
lvm2_activation_generator_systemd_red_hat.c | ||
lvm2_cluster_activation_red_hat.sh.in | ||
lvm2_cluster_activation_systemd_red_hat.service.in | ||
lvm2_clvmd_systemd_red_hat.service.in | ||
lvm2_cmirrord_systemd_red_hat.service.in | ||
lvm2_lvmetad_init_red_hat.in | ||
lvm2_lvmetad_systemd_red_hat.service.in | ||
lvm2_lvmetad_systemd_red_hat.socket.in | ||
lvm2_monitoring_init_red_hat.in | ||
lvm2_monitoring_init_rhel4 | ||
lvm2_monitoring_systemd_red_hat.service.in | ||
lvm2_pvscan_systemd_red_hat@.service.in | ||
lvm2_tmpfiles_red_hat.conf.in | ||
lvmconf_lockingtype2.sh | ||
lvmconf.sh | ||
lvmdump.sh | ||
Makefile.in | ||
relpath.awk | ||
vg_convert | ||
vgimportclone.sh | ||
VolumeGroup.ocf |