Oracle集群文件系统(OCFS2)用户指南(二)

开发者在线 Builder.com.cn 更新时间:2007-09-14作者:中国IT实验室 来源:中国IT实验室

本文关键词: 集群 数据库

通过以下方式启动所有服务:

# /etc/init.d/o2cb load Loading module "configfs": OK Mounting configfs filesystem at /config: OK Loading module "ocfs2_nodemanager": OK Loading module "ocfs2_dlm": OK Loading module "ocfs2_dlmfs": OK Mounting ocfs2_dlmfs filesystem at /dlm: OK

通过以下方式使cluster ocfs2 启动:

# /etc/init.d/o2cb online ocfs2 Starting cluster ocfs2: OK

通过以下方式停止cluster ocfs2:

# /etc/init.d/o2cb offline ocfs2 Cleaning heartbeat on ocfs2: OK Stopping cluster ocfs2: OK

通过以下方式停止所有服务:

# /etc/init.d/o2cb unload Unmounting ocfs2_dlmfs filesystem: Unloading module "ocfs2_dlmfs": OK Unmounting configfs filesystem: OK Unloading module "configfs": OK

通过以下方式使O2CB在系统启动时自动被加载:

# /etc/init.d/o2cb configure Configuring the O2CB driver. This will configure the on-boot properties of the O2CB driver. The following questions will determine whether the driver is loaded on boot. The current values will be shown in brackets ('[]'). Hitting <ENTER> without typing an answer will keep that current value. Ctrl-C will abort. Load O2CB driver on boot (y/n) [n]: y Cluster to start on boot (Enter "none" to clear) []: ocfs2 Writing O2CB configuration: oK #

如果cluster已经被配置为系统启动时加载,可以通过以下方式启动和停止它:

# /etc/init.d/o2cb load Loading module "configfs": OK Mounting configfs filesystem at /config: OK Loading module "ocfs2_nodemanager": OK Loading module "ocfs2_dlm": OK Loading module "ocfs2_dlmfs": OK Mounting ocfs2_dlmfs filesystem at /dlm: OK

 

查看本文来源

用户评论

  • 用户名
  • 评论内容