Administering Voting disk and OCR in RAC

1.Administer Voting disk:
  1).back up Voting disk:
       dd if=voting_disk_name f=backup_file_name

  2).recover Voting disk:
       dd if=backup_file_name f=voting_disk_name

  3).add Voting disk:
       crsctl add css votedisk path

  4).remove Voting disk:
       crsctl delete css votedisk path

2.Administer OCR(Oracle Cluster Registry)

  1).add OCR and OCR mirror location:
       ocrconfig -replace ocr destination_file or disk
       
ocrconfig -replace ocrmirror destination_file or disk

  2).replace OCR
      verify that OCR that you are not going to replace is online
      
ocrconfig -replace ocr destination_file or disk      
      
ocrconfig -replace ocrmirror destination_file or disk

  3).repaire OCR on a local node
      run the command ocrconfig -repaire on any node that is stopped to enable that node to rejoin the cluster after you restart the stopped node.
      ocrconfig –repair ocrmirror device_name

  4).remove OCR and mirror OCR
      ocrconfig -replace ocr
      ocrconfig -replace ocrmirror

3.Manage backup and recover OCR using OCR backup files
  1).automatically generated OCR file copies
       The Oracle Clusterware automatically creates OCR backups every four hours. At any one time, Oracle always retains the last three backup copies of the OCR.
      The default location for generating backups on UNIX-based systems is crs_home/cdata/cluster_name where cluster_name is the name of your cluster.


  2).Restoring the OCR from Automatically Generated OCR Backups 
       Before the restore the OCR, run an ocrcheck and if the command returns a failure message, then both the primary OCR and the OCR mirror have failed
       Using the following procedure to restore the OCR:
       Step 1. Identify the OCR backups using the ocrconfig -showbackup command. Review the contents of the backup using ocrdump -backupfile file_name where file_name is the name of the backup file.
       Step 2. Stop Oracle Clusterware on all of the nodes in your RAC database by executing the init.crs stop command on all of the nodes.
       Step 3. Perform. the restore by applying an OCR backup file that you identified in Step 1 using the following command where file_name is the name of the OCR that you want to restore. Make sure that the OCR devices that you specify in the OCR configuration exist and that these OCR devices are valid before running this command ocrconfig -restore file_name
       
Step 4. Restart Oracle Clusterware on all of the nodes in your cluster by restarting each node or by running the init.crs start command.
       Step 5. Run the following command to verify the OCR integrity where the -n all argument retrieves a listing of all of the cluster nodes that are configured as part of your cluster: cluvfy comp ocr -n all [-verbose]


  3).manually created OCR export files

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13129975/viewspace-610785/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/13129975/viewspace-610785/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
探索全栈前端技术的魅力:HTML+CSS+JS+JQ+Bootstrap网站源码深度解析 在这个数字化时代,构建一个既美观又功能强大的网站成为了许多开发者和企业追逐的目标。本份资源精心汇集了一套完整网站源码,融合了HTML的骨架搭建、CSS的视觉美化、JavaScript的交互逻辑、jQuery的高效操作以及Bootstrap的响应式设计,全方位揭秘了现代网页开发的精髓。 HTML,作为网页的基础,它构建了信息的框架;CSS则赋予网页生动的外观,让设计创意跃然屏上;JavaScript的加入,使网站拥有了灵动的交互体验;jQuery,作为JavaScript的强力辅助,简化了DOM操作与事件处理,让编码更为高效;而Bootstrap的融入,则确保了网站在不同设备上的完美呈现,响应式设计让访问无界限。 通过这份源码,你将: 学习如何高效组织HTML结构,提升页面加载速度与SEO友好度; 掌握CSS高级技巧,如Flexbox与Grid布局,打造适应各种屏幕的视觉盛宴; 理解JavaScript核心概念,动手实现动画、表单验证等动态效果; 利用jQuery插件快速增强用户体验,实现滑动效果、Ajax请求等; 深入Bootstrap框架,掌握移动优先的开发策略,响应式设计信手拈来。 无论是前端开发新手渴望系统学习,还是资深开发者寻求灵感与实用技巧,这份资源都是不可多得的宝藏。立即深入了解,开启你的全栈前端探索之旅,让每一个网页都成为技术与艺术的完美融合!
探索全栈前端技术的魅力:HTML+CSS+JS+JQ+Bootstrap网站源码深度解析 在这个数字化时代,构建一个既美观又功能强大的网站成为了许多开发者和企业追逐的目标。本份资源精心汇集了一套完整网站源码,融合了HTML的骨架搭建、CSS的视觉美化、JavaScript的交互逻辑、jQuery的高效操作以及Bootstrap的响应式设计,全方位揭秘了现代网页开发的精髓。 HTML,作为网页的基础,它构建了信息的框架;CSS则赋予网页生动的外观,让设计创意跃然屏上;JavaScript的加入,使网站拥有了灵动的交互体验;jQuery,作为JavaScript的强力辅助,简化了DOM操作与事件处理,让编码更为高效;而Bootstrap的融入,则确保了网站在不同设备上的完美呈现,响应式设计让访问无界限。 通过这份源码,你将: 学习如何高效组织HTML结构,提升页面加载速度与SEO友好度; 掌握CSS高级技巧,如Flexbox与Grid布局,打造适应各种屏幕的视觉盛宴; 理解JavaScript核心概念,动手实现动画、表单验证等动态效果; 利用jQuery插件快速增强用户体验,实现滑动效果、Ajax请求等; 深入Bootstrap框架,掌握移动优先的开发策略,响应式设计信手拈来。 无论是前端开发新手渴望系统学习,还是资深开发者寻求灵感与实用技巧,这份资源都是不可多得的宝藏。立即深入了解,开启你的全栈前端探索之旅,让每一个网页都成为技术与艺术的完美融合!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值