<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle Tips and Techniques &#187; CRS</title>
	<atom:link href="http://www.oraclecity.com/category/crs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclecity.com</link>
	<description>Oracle 11g, Oracle 10g, PL/SQL, Oracle Enterprise Manager 11g Grid Control, Oracle Performance Tuning, Microsoft SQL Server and T-SQL</description>
	<lastBuildDate>Thu, 12 Jan 2012 11:36:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>srvctl stop listener: command syntax and example</title>
		<link>http://www.oraclecity.com/crs/srvctl-stop-listener-command-syntax-and-example/</link>
		<comments>http://www.oraclecity.com/crs/srvctl-stop-listener-command-syntax-and-example/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 11:23:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CRS]]></category>
		<category><![CDATA[srvctl start]]></category>
		<category><![CDATA[srvctl stop]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=467</guid>
		<description><![CDATA[srvctl stop listener syntax and example]]></description>
			<content:encoded><![CDATA[<p>Stops the specified Listener or Listeners.</p>
<p><strong>Syntax:</strong></p>
<p>srvctl stop listener -n node_name [-l listener_name_list]</p>
<p><strong>Example:</strong></p>
<p>An example of this command is:<br />
<strong><br />
srvctl stop listener -n node01</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/crs/srvctl-stop-listener-command-syntax-and-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>srvctl modify nodeapps: command syntax and example</title>
		<link>http://www.oraclecity.com/crs/srvctl-modify-nodeapps-command-syntax-and-example/</link>
		<comments>http://www.oraclecity.com/crs/srvctl-modify-nodeapps-command-syntax-and-example/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 10:43:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CRS]]></category>
		<category><![CDATA[srvctl add]]></category>
		<category><![CDATA[srvctl modify]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=421</guid>
		<description><![CDATA[srvctl modify nodeapps - syntax and example]]></description>
			<content:encoded><![CDATA[<p>Modifies the configuration for a node application.Applies a new Oracle home or virtual IP address to nodeapps.<br />
<strong>Syntax:</strong></p>
<p>srvctl modify nodeapps -n node_name [-o oracle_home] [-A new_vip_address]</p>
<p>-n node_name<br />
-o oracle_home<br />
-A new_vip_address</p>
<p>The node level VIP address (name|ip/netmask[/if1[|if2|...]]).</p>
<p><strong>Example</strong></p>
<p>An example of this command is:</p>
<p><strong>srvctl modify nodeapps -n node01 -A 100.200.300.40/255.255.255.0/eth0</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/crs/srvctl-modify-nodeapps-command-syntax-and-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>srvctl modify service: command syntax and example</title>
		<link>http://www.oraclecity.com/crs/srvctl-modify-service-command-syntax-and-example/</link>
		<comments>http://www.oraclecity.com/crs/srvctl-modify-service-command-syntax-and-example/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 10:41:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CRS]]></category>
		<category><![CDATA[srvctl add]]></category>
		<category><![CDATA[srvctl modify]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=416</guid>
		<description><![CDATA[srvctl modify service command syntax and example]]></description>
			<content:encoded><![CDATA[<p>Modifies the configuration for a named service.</p>
<p><strong>Syntax: </strong><br />
srvctl modify service -d db_unique_name -s service_name -n -i pref_inst_list [-a avail_inst_list] [-f]<br />
srvctl modify service -d db_unique_name -s service_name -i old_inst_name  -t new_inst_name [-f]<br />
srvctl modify service -d db_unique_name -s service_name -n -i pref_inst_list [-a avail_inst_list] [-f]</p>
<p>-f : Disconnect all sessions during stop or relocate service operations.</p>
<p><strong>Example:</strong><br />
An example of moving a service member from one instance to another is:</p>
<p><strong>srvctl modify service -d mndb -s mndb_sales -i mndb1 -t node01</strong></p>
<p>An example of changing an available instance to a preferred instance is:</p>
<p><strong>srvctl modify service -d mndb -s mndb_sales -i mndb1 -r</strong></p>
<p>To change the status of multiple instances, you can use the srvctl modify service command to list which instances are to be the preferred and which are to be the available instances for a service as follows:</p>
<p>srvctl modify service -d db_unique_name -s service_name -n -i pref_inst_list [-a avail_inst_list] [-f]</p>
<p>An example of this command to exchange a preferred and available instance is:</p>
<p><strong>srvctl modify service -d mndb -s mndb_sales -n -i mndb1 -a mndb2</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/crs/srvctl-modify-service-command-syntax-and-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>srvctl modify database syntax and example</title>
		<link>http://www.oraclecity.com/crs/srvctl-modify-database-syntax-and-example/</link>
		<comments>http://www.oraclecity.com/crs/srvctl-modify-database-syntax-and-example/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 16:13:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CRS]]></category>
		<category><![CDATA[crs commands]]></category>
		<category><![CDATA[ocr]]></category>
		<category><![CDATA[srvctl]]></category>
		<category><![CDATA[srvctl add]]></category>
		<category><![CDATA[srvctl delete]]></category>
		<category><![CDATA[srvctl modify]]></category>
		<category><![CDATA[srvctl start]]></category>
		<category><![CDATA[srvctl stop]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=410</guid>
		<description><![CDATA[The srvctl modify database command is used to modify a database configurations in the  OCR (Oracle cluster registry).  Learn here the syntax and example of how to use this command

]]></description>
			<content:encoded><![CDATA[<p>The srvctl modify database command is used to modify a database configurations in the  OCR (Oracle cluster registry).<br />
The OCR is the repository used by the CRS (cluster readu services) processes to run a database in RAC environment.</p>
<p> </p>
<p><span style="text-decoration: underline;"><strong>Syntax:</strong></span><br />
srvctl modify database -d db_unique_name [-n db_name] [-o oracle_home] [-m domain_name]<br />
  [-p spfile] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY}] [-s start_options] [-y {AUTOMATIC | MANUAL}]<br />
 <br />
-d database name (unique name)<br />
-n db_name: database name if different from unique name<br />
-o oracle_home:Oracle home<br />
-m domain_name: Domain name of the database<br />
-p spfile: server parameter file<br />
-r role [PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY]: Role of the database<br />
-s start_options:Startup options for the database.<br />
-y Management policy for the database, either automatic or manual.<br />
-h</p>
<p><strong><span style="text-decoration: underline;">Example:</span></strong></p>
<p><strong>srvctl modify database -d mndb -r logical_standby</strong></p>
<p>This command makes the database mndb a LOGICAL_STANDBY database.</p>
<p><strong>srvctl modify database -d mndb -r physical_standby</strong></p>
<p>This command makes the database mndb a PHYSICAL_STANDBY database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/crs/srvctl-modify-database-syntax-and-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>srvctl add commands syntax and example</title>
		<link>http://www.oraclecity.com/crs/srvctl-add-commands-syntax-and-example/</link>
		<comments>http://www.oraclecity.com/crs/srvctl-add-commands-syntax-and-example/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 09:36:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CRS]]></category>
		<category><![CDATA[crs commands]]></category>
		<category><![CDATA[rac]]></category>
		<category><![CDATA[srvctl]]></category>
		<category><![CDATA[srvctl add]]></category>

		<guid isPermaLink="false">http://www.oraclecity.com/?p=406</guid>
		<description><![CDATA[List of CRS srvctl add commands with syntax and example]]></description>
			<content:encoded><![CDATA[<p>The srvctl add commands can be used to add a database, instance, service, nodeapps and asm configurations in the  OCR (Oracle cluster registry). The OCR is the repository used by the CRS (cluster readu services) processes to run a database in RAC environment.</p>
<p>So the following operation can be performed<br />
<strong><br />
srvctl add database<br />
srvctl add instance<br />
srvctl add service<br />
srvctl add nodeapps<br />
srvctl add asm</strong></p>
<p><strong><span style="text-decoration: underline;">SRVCTL ADD DATABASE</span></strong></p>
<p>This command should be used to add a database configuration to the clustered database configuration.</p>
<p>Sintax:</p>
<p><strong>srvctl add database -d db_name -o oracle_home</strong></p>
<p>-d is database name<br />
-o is oracle home</p>
<p>Example:</p>
<p><strong> srvctl add database -d mndb -o /u01/app/oracle/product/11.1.0/db_1</strong></p>
<p>This example adds a database named mndb and specifies that oracle home is in<br />
/u01/app/oracle/product/11.1.0/db_1</p>
<p><strong><span style="text-decoration: underline;">SRVCTL ADD INSTANCE</span></strong></p>
<p>This command should be used to add an instance configuration to the clustered database configuration.</p>
<p>Syntax:</p>
<p><strong>srvctl add instance -d db_name -i instance_name -n node_name</strong></p>
<p>-d is database name<br />
-i name of the instance<br />
-n name of the node where the instance should normally run</p>
<p>Example:</p>
<p><strong> srvctl add instance -d mndb -i mndb1 -n node01</strong></p>
<p>The above example will add an instance called mndb1 to the node node01. The instance will be based on the database called mndb.</p>
<p><strong><span style="text-decoration: underline;">SRVCTL ADD SERVICE</span></strong><br />
This command should be used to add service configuration to the clustered database configuration.</p>
<p>Syntax:</p>
<p><strong>srvctl add service -d db_unique_name -s service_name -r preferred_list [-a available_list] [-P TAF_policy]<br />
</strong><br />
-d db_unique_name (the unique database name)<br />
-s service_name (a name to the service that you are adding)<br />
-r preferred list, a list of preferred instance where the service should run<br />
-a available list on instances. The list will be used when no preffered instance is available<br />
-P TAF (transparent application failover) polic (e.g NONE, BASIC, or PRECONNECT).</p>
<p>Example:</p>
<p><strong>srvctl add  service -d mndb -s mndb_sales -r mndb1 -a mndb2<br />
srvctl add  service -d mndb -s mndb_sales -r mndb1 -a mndb2 -P Preconnect<br />
</strong></p>
<p><strong><span style="text-decoration: underline;">SRVCTL ADD NODEAPPS</span></strong><br />
This command should be used to add nodeapps configuration to the clustered database configuration.</p>
<p>Syntax:</p>
<p><strong> srvctl add nodeapps -n node_name -o oracle_home -A addr_str</strong></p>
<p>-n node name<br />
-o oracle home location<br />
-A address string</p>
<p>VIP (virtual ip) address (name|ip/netmask[/if1[|if2|...]]).</p>
<p>Example:</p>
<p><strong>srvctl add nodeapps -n node01 -o /u01/app/oracle/product/11.1.0/db_1 </strong><strong>-A </strong>132.12.23.40/255.255.255.0</p>
<p><span style="text-decoration: underline;"><strong>SRVCTL ADD ASM</strong></span><br />
This command should be used to add asm configuration to the clustered database configuration.<br />
Adds a record for an ASM instance to the specified node.</p>
<p>Syntax:</p>
<p><strong> srvctl add asm -n node_name -i asm_instance_name -o oracle_home</strong></p>
<p>-n node name<br />
-i asm instance name<br />
-o oracle home (e.g. /u01/app/oracle/product/11.1.0/db_1)</p>
<p>Example:</p>
<p><strong>srvctl add asm -n node01 -i asm01 -o /u01/app/oracle/product/11.1.0/db_1</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclecity.com/crs/srvctl-add-commands-syntax-and-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

