Crs_profile is a tool used to manage resources in the OCR configuration file. You can export application and other resources for backup, update, and view after export. For
Crs_profile is a tool used to manage resources in the OCR configuration file. You can export application and other resources for backup, update, and view after export. For
Profile usually refers to the configuration file. crs_profile is the configuration file for managing the cluster. In systlele RAC, all CRS resources are stored on the OCR disk. OCR is more similar to the Windows registry. We know that the Windows registry is composed of a tree-like node in the form of KEY-VALUE, and the same is true for the resources in the cluster. You can export the entire Windows Registry, export branches, or import registry information. The combination of crs_register and crs_unregisterd for managing cluster resources is equivalent to a regedit management tool similar to Windows. Then let's look at it.
1. crs_profile help information
Most of Oracle clusterware's cluster command line tools provide rich operation instructions. Enter crs_profile in the command line to provide help information.
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]