14.10. 强制激活集群容器

如果满足以下条件,私有容器及其对象将在节点上被激活:

类似地,如果节点属于当前具有仲裁的集群,则共享容器及其对象将在节点上被激活。但是,管理员可以通过覆盖这些规则来强制激活私有和共享容器。

Note注意
 

在执行此操作时请务必小心,确保集群容器所在的节点是集群中唯一活动的节点。 否则,节点上共享和私有容器上的卷中的数据可能会损坏。

  1. 在以下位置启用维护模式:/etc/evms.conf文件。 需要修改的选项在/etc/evms.conf文件中,如下所示:

    # cluster segment manager section
    csm {
    #	admin_mode=yes	# values are: yes or no
    				# The default is no. Set this key to
    				# yes when you wish to force the CSM
    				# to discover objects from all cluster
    				# containers, allowing you to perform
    				# configuration and maintenance.  Setting
    				# admin_mode to yes will cause the CSM
    				# to ignore container ownership, which
    				# will allow you to configure storage
    				# in a maintenance mode.
    

  2. 在该节点上运行 evms_activate 命令。