Heim > Datenbank > MySQL-Tutorial > 使用crs_profile管理RAC资源配置文件

使用crs_profile管理RAC资源配置文件

PHPz
Freigeben: 2019-02-23 15:16:09
Original
1778 Leute haben es durchsucht

 crs_profile是用于管理OCR配置文件中资源的工具,可以对application等资源进行导出以实现备份,以及导出后进行更新,查看等。对于profile通常指配置文件,crs_profile望文生义可知,就是管理集群的配置文件。

在Oraclele RAC中,,所有的CRS资源存放在OCR磁盘中,对于OCR更形象的比喻是类似于Windows的注册表。我们知道Windows注册表由类似树状的节点构成,其形式是KEY-VALUE,集群中的资源也是如此。

Windows注册表可以整个导出,分支导出,也可以导入注册表信息。针对集群资源的管理crs_profile结合crs_register与crs_unregisterd等同于一个类似于Windows的regedit 管理工具。这么说就不陌生了吧,接着往下看。

相关mysql视频教程推荐:《mysql教程

一、crs_profile的帮助信息

对于Oracle clusterware大部分集群命令行工具而言,都提供丰富的操作指导。命令行下直接输入crs_profile将给出帮助信息

oracle@bo2dbp:~> crs_profile Usage:  crs_profile -create resource_name -t application         
 [-dir directory_path] [-a action_script] [-B binary_pathname]          
 [-d description] [-h hosting_members] [-r required_resources]          
 [-l optional_resources] [-p placement_policy]          
 [-o as=auto_start,ci=check_interval,ft=failure_threshold,          
 fi=failure_interval,ra=restart_attempts,fd=failover_delay,          
 st=script_timeout,ap=active_placement,bt=rebalance,          
 ut=uptime_threshold,rt=start_timeout,pt=stop_timeout] [-f] [-q]
        crs_profile -create resource_name -I template_file [-dir directory_path] [-f] [-q]
        crs_profile -delete resource_name [-dir directory_path] [-q]
        crs_profile -print [resource_name [...]] [-dir directory_path] [-q]
        crs_profile -template resource_name [-dir directory_path] [-O template_file]
        crs_profile -template -t application [-O template_file]
        crs_profile -update resource_name [-dir directory_path] [option ...] [-o option,...] [-q]
        crs_profile -validate resource_name [-dir directory_path] [-q]
Nach dem Login kopieren

Verwandte Etiketten:
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage