This file is indexed.

/usr/share/cluster/orainstance.metadata is in resource-agents 1:3.9.7-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" ?>
<!-- $Id: orainstance.metadata 58 2009-06-29 05:15:12Z hevirtan $ -->

<!-- Resource metadata for Oracle DB agent -->
<resource-agent name="orainstance" version="rgmanager 2.0">
    <version>1.0</version>

    <longdesc lang="en">
	Oracle 10g Failover Instance
    </longdesc>
    <shortdesc lang="en">
	Oracle 10g Failover Instance
    </shortdesc>

    <parameters>
        <parameter name="name" primary="1">
	    	<longdesc lang="en">
				Instance name (SID) of oracle instance
	    	</longdesc>
        	<shortdesc lang="en">
				Oracle SID
        	</shortdesc>
	    	<content type="string"/>
        </parameter>

        <parameter name="user" required="1">
	    	<longdesc lang="en">
				Oracle user name.  This is the user name of the Oracle
				user which the Oracle instance runs as.
	    	</longdesc>
        	<shortdesc lang="en">
				Oracle User Name
        	</shortdesc>
	    	<content type="string"/>
        </parameter>

        <parameter name="home" required="1">
	    	<longdesc lang="en">
				This is the Oracle database home directory.
				This is configured when you install Oracle.
	    	</longdesc>
        	<shortdesc lang="en">
				Oracle Home Directory
        	</shortdesc>
	    	<content type="string"/>
        </parameter>

        <parameter name="listeners">
	    	<longdesc lang="en">
				List of Oracle listeners which will be started with
				the database instance. Listener names are separated by
				whitespace. Defaults to empty which disables listeners.
	    	</longdesc>
        	<shortdesc lang="en">
				Oracle listeners
        	</shortdesc>
	    	<content type="string" default=""/>
        </parameter>

        <parameter name="lockfile">
	    	<longdesc lang="en">
				Location for lockfile which will be used for checking if
				the Oracle should be running or not. Defaults to location
				under /tmp.
	    	</longdesc>
        	<shortdesc lang="en">
				Pathname for lockfile
        	</shortdesc>
	    	<content type="string"/>
        </parameter>

        <parameter name="tns_admin" required="0" unique="1">
	    <longdesc lang="en">
			Full path to the directory that contains the Oracle
        listener tnsnames.ora configuration file.  The shell
        variable TNS_ADMIN is set to the value provided.
	    </longdesc>
            <shortdesc lang="en">
		Full path to the directory containing tnsnames.ora
            </shortdesc>
	    <content type="string"/>
        </parameter>
    </parameters>

    <actions>
        <action name="start" timeout="900"/>
		<action name="stop" timeout="90"/>

		<!-- Note: status check will also perform recover 
			 (Oracle DB restart) if the check fails -->
		<action name="status" timeout="900" interval="1m"/>
		<action name="monitor" timeout="900" interval="1m"/>

		<action name="meta-data" timeout="0"/>
		<action name="verify-all" timeout="0"/>
    </actions>

</resource-agent>