免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: cwinxp
打印 上一主题 下一主题

OCFS,OCFS2,ASM,RAW 讨论主题合并帖 [复制链接]

论坛徽章:
0
71 [报告]
发表于 2006-08-31 16:21 |只看该作者
ocr和voting disk用什么放无所谓,偶觉得个人习惯起决定性因素,用ocfs2更符合大部分人的使用习惯罢了。
至于lvm+raw,lvm只是用做datafile的管理方式罢了,存数据的是raw,当然,raw是建立在lv上的。

偶没有测试过,难道lvm不能管理rac下的raw?或者建立在lv上的raw,rac不能识别?

[ 本帖最后由 vecentli 于 2006-8-31 16:24 编辑 ]

论坛徽章:
0
72 [报告]
发表于 2006-08-31 16:29 |只看该作者
木有ups,无故调电后asm cache的数据丢了,db说不定就起不来了。
木有足够的技术储备,无法用rman备份数据库。

所以,用什么,还要看自身条件的啦。。

论坛徽章:
0
73 [报告]
发表于 2006-08-31 16:33 |只看该作者
原帖由 nntp 于 2006-8-31 16:07 发表



我的voting /orc 用 raw , 10gr2有 redundant 的配置,所以raw比较方便,而且因为尺寸都很小,所以需要额外backup的时候也很方便.

voting/orc 用raw与否,对于运行性能没有太多影响,但是当集群因为不稳 ...


有道理。。

lvm的配置不能传到其他机器,在node1上用lv,在node2上的instance无法识别。

论坛徽章:
0
74 [报告]
发表于 2006-08-31 18:01 |只看该作者
原帖由 vecentli 于 2006-8-31 16:29 发表
木有ups,无故调电后asm cache的数据丢了,db说不定就起不来了。
木有足够的技术储备,无法用rman备份数据库。

所以,用什么,还要看自身条件的啦。。



单机还是RAC? 如果是RAC的话, 就算掉电, asm 可以处理这种情况的,你订了oracle mag么?去年年底有一期介绍类似情况的.

论坛徽章:
0
75 [报告]
发表于 2006-08-31 22:02 |只看该作者
PROCESSES
# List and describe all OCFS2 threads?

[o2net]
    One per node. Is a workqueue thread started when the cluster is brought online and stopped when offline. It handles the network communication for all threads. It gets the list of active nodes from the o2hb thread and sets up tcp/ip communication channels with each active node. It sends regular keepalive packets to detect any interruption on the channels.
[user_dlm]
    One per node. Is a workqueue thread started when dlmfs is loaded and stopped on unload. (dlmfs is an in-memory file system which allows user space processes to access the dlm in kernel to lock and unlock resources.) Handles lock downconverts when requested by other nodes.
[ocfs2_wq]
    One per node. Is a workqueue thread started when ocfs2 module is loaded and stopped on unload. Handles blockable file system tasks like truncate log flush, orphan dir recovery and local alloc recovery, which involve taking dlm locks. Various code paths queue tasks to this thread. For example, ocfs2rec queues orphan dir recovery so that while the task is kicked off as part of recovery, its completion does not affect the recovery time.
[o2hb-14C29A7392]
    One per heartbeat device. Is a kernel thread started when the heartbeat region is populated in configfs and stopped when it is removed. It writes every 2 secs to its block in the heartbeat region to indicate to other nodes that that node is alive. It also reads the region to maintain a nodemap of live nodes. It notifies o2net and dlm any changes in the nodemap.
[ocfs2vote-0]
    One per mount. Is a kernel thread started when a volume is mounted and stopped on umount. It downgrades locks when requested by other nodes in reponse to blocking ASTs (BASTs). It also fixes up the dentry cache in reponse to files unlinked or renamed on other nodes.
[dlm_thread]
    One per dlm domain. Is a kernel thread started when a dlm domain is created and stopped when destroyed. This is the core dlm which maintains the list of lock resources and handles the cluster locking infrastructure.
[dlm_reco_thread]
    One per dlm domain. Is a kernel thread which handles dlm recovery whenever a node dies. If the node is the dlm recovery master, it remasters all the locks owned by the dead node.
[dlm_wq]
    One per dlm domain. Is a workqueue thread. o2net queues dlm tasks on this thread.
[kjournald]
    One per mount. Is used as OCFS2 uses JDB for journalling.
[ocfs2cmt-0]
    One per mount. Is a kernel thread started when a volume is mounted and stopped on umount. Works in conjunction with kjournald.
[ocfs2rec-0]
    Is started whenever another node needs to be be recovered. This could be either on mount when it discovers a dirty journal or during operation when hb detects a dead node. ocfs2rec handles the file system recovery and it runs after the dlm has finished its recovery.

论坛徽章:
0
76 [报告]
发表于 2006-09-01 00:44 |只看该作者
各位,我把本版几个主要讨论ocfs,ocfs2,ASM,raw 的讨论主题合并在一起了,大家可以在这里继续讨论

论坛徽章:
0
77 [报告]
发表于 2006-09-01 03:05 |只看该作者
如果要部署RAC, 如果需要快速完工并且在这方面经验欠缺的话,Oracle  提供的 \"Oracle Validated Configurations\" 是一个最好的帮手。
Oracle刚开始推出 OVC的时候,我觉得特别特别好,即便是对于非常熟悉linux/oracle/RAC得人来说,也是一个大大减轻工作量的好工具.

搞不清楚状况,被工作任务紧逼的朋友,可以完全按照 OVC来完成任务,已经做好RAC并且碰到故障问题的时候,也可以按照 OVC来做排查参考.

Oracle Validated Configurations
http://www.oracle.com/technology ... urations/index.html

论坛徽章:
0
78 [报告]
发表于 2006-09-01 03:46 |只看该作者
http://forums.oracle.com/forums/ ... 337838&#1337838
Oracle Forum 一个非常有意义的问答讨论, 我的看法和他们后面几位基本一致. 特别是有位仁兄提到的ASM<->RAW之间的便捷转换.
还有关于之前我回答本线索某位朋友关于 voting 和OCR的位置问题,我当时没有说太多原因,在这个讨论中也由简单的提及.

论坛徽章:
0
79 [报告]
发表于 2006-09-01 10:07 |只看该作者
原帖由 nntp 于 2006-8-31 18:01 发表



单机还是RAC? 如果是RAC的话, 就算掉电, asm 可以处理这种情况的,你订了oracle mag么?去年年底有一期介绍类似情况的.



对这个介绍比较感兴趣。能否提供一个url?
                 
如果要对这个进行恢复,我觉得是比较有难度的。。毕竟关于asm内部i/o机制的资料不多。

[ 本帖最后由 vecentli 于 2006-9-1 10:10 编辑 ]

论坛徽章:
0
80 [报告]
发表于 2006-09-01 12:01 |只看该作者
redhat的gfs和ibm的gpfs能不能也放一起讨论?
能不能把gfs, gpfs, ocfs, ocfs2比较一下?
用途, 可靠性, 可用性, 性能, 稳定性等
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP