<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-50282588-1', 'lambiek.eu');
  ga('send', 'pageview');

</script>
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
		<id>http://www.lambiek.eu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lambiek</id>
		<title>Documents - Gebruikersbijdragen [nl]</title>
		<link rel="self" type="application/atom+xml" href="http://www.lambiek.eu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lambiek"/>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Speciaal:Bijdragen/Lambiek"/>
		<updated>2026-05-21T20:13:38Z</updated>
		<subtitle>Gebruikersbijdragen</subtitle>
		<generator>MediaWiki 1.27.4</generator>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=136</id>
		<title>Tienduizenden</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=136"/>
				<updated>2016-03-03T10:37:43Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: /* Punten */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Tienduizenden =&lt;br /&gt;
&lt;br /&gt;
== Inleiding ==&lt;br /&gt;
Tienduizenden is een dobbelspel waarbij de spelers tienduizend punten moeten behalen om te winnen.&lt;br /&gt;
&lt;br /&gt;
== Benodigdheden ==&lt;br /&gt;
5 dobbelstenen&lt;br /&gt;
&lt;br /&gt;
== Uitleg ==&lt;br /&gt;
De speler die aan de beurt is neemt de 5 dobbelstenen en rolt ze op tafel. Er wordt gekeken of er een 1, een 5 of een set van drie gelijke stenen ligt. Deze stenen worden geteld volgens de puntentabel en apart gelegd. Vervolgens heeft de speler volgende keuze:&lt;br /&gt;
&lt;br /&gt;
* stoppen, de optelling van de worpen word bij het spelertotaal opgeteld. Hier geldt wel een minimale optelling van 350 punten;&lt;br /&gt;
* doorgaan met de overige stenen. Hierbij geldt het risico dat bij de volgende worp geen geldige steen geworpen wordt.&lt;br /&gt;
&lt;br /&gt;
Indien er geen dobbelstenen meer apart te leggen zijn (dus geen 1, geen 5 en geen drietal) dan heeft de speler zijn ronde verspeeld en wordt het optelling niet bij het spelertotaal opgeteld. De volgende speler neemt de 5 dobbelstenen en start zijn/haar ronde.&lt;br /&gt;
&lt;br /&gt;
Indien alle dobbelstenen afgelegd zijn dan neemt dezelfde speler alle 5 de dobbelstenen weer in de hand en gaat door, net zolang totdat de speler stopt.&lt;br /&gt;
&lt;br /&gt;
'''Variant''': Er kan afgesproken worden dat een ronde die boven de 1.000 punten komt altijd bij het spelertotaal opgeteld word.&lt;br /&gt;
&lt;br /&gt;
De speler die als eerste meer dan 10.000 punten scoort wint het spel.&lt;br /&gt;
&lt;br /&gt;
== Punten ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;20%&amp;quot;&lt;br /&gt;
! Dobbelsteen || Punten&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 100&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 50&lt;br /&gt;
|-&lt;br /&gt;
| 3x1 || 1000&lt;br /&gt;
|-&lt;br /&gt;
| 3x2 || 200&lt;br /&gt;
|-&lt;br /&gt;
| 3x3 || 300&lt;br /&gt;
|-&lt;br /&gt;
| 3x4 || 400&lt;br /&gt;
|-&lt;br /&gt;
| 3x5 || 500&lt;br /&gt;
|-&lt;br /&gt;
| 3x6 || 600&lt;br /&gt;
|-&lt;br /&gt;
| 1+2+3+4+5+6 || 1500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Spellen|Tienduizenden]]&lt;br /&gt;
[[Category:Dobbelspellen|Tienduizenden]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Categorie:Dobbelspellen&amp;diff=135</id>
		<title>Categorie:Dobbelspellen</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Categorie:Dobbelspellen&amp;diff=135"/>
				<updated>2016-03-03T10:35:30Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nieuwe pagina aangemaakt met '== Dobbelspellen ==  Deze category bevat de dobbelspellen die beschreven zijn in deze wiki  Dobbelspellen'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Dobbelspellen ==&lt;br /&gt;
&lt;br /&gt;
Deze category bevat de dobbelspellen die beschreven zijn in deze wiki&lt;br /&gt;
&lt;br /&gt;
[[Category:Spellen|Dobbelspellen]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=134</id>
		<title>Tienduizenden</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=134"/>
				<updated>2016-03-03T10:32:08Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Tienduizenden =&lt;br /&gt;
&lt;br /&gt;
== Inleiding ==&lt;br /&gt;
Tienduizenden is een dobbelspel waarbij de spelers tienduizend punten moeten behalen om te winnen.&lt;br /&gt;
&lt;br /&gt;
== Benodigdheden ==&lt;br /&gt;
5 dobbelstenen&lt;br /&gt;
&lt;br /&gt;
== Uitleg ==&lt;br /&gt;
De speler die aan de beurt is neemt de 5 dobbelstenen en rolt ze op tafel. Er wordt gekeken of er een 1, een 5 of een set van drie gelijke stenen ligt. Deze stenen worden geteld volgens de puntentabel en apart gelegd. Vervolgens heeft de speler volgende keuze:&lt;br /&gt;
&lt;br /&gt;
* stoppen, de optelling van de worpen word bij het spelertotaal opgeteld. Hier geldt wel een minimale optelling van 350 punten;&lt;br /&gt;
* doorgaan met de overige stenen. Hierbij geldt het risico dat bij de volgende worp geen geldige steen geworpen wordt.&lt;br /&gt;
&lt;br /&gt;
Indien er geen dobbelstenen meer apart te leggen zijn (dus geen 1, geen 5 en geen drietal) dan heeft de speler zijn ronde verspeeld en wordt het optelling niet bij het spelertotaal opgeteld. De volgende speler neemt de 5 dobbelstenen en start zijn/haar ronde.&lt;br /&gt;
&lt;br /&gt;
Indien alle dobbelstenen afgelegd zijn dan neemt dezelfde speler alle 5 de dobbelstenen weer in de hand en gaat door, net zolang totdat de speler stopt.&lt;br /&gt;
&lt;br /&gt;
'''Variant''': Er kan afgesproken worden dat een ronde die boven de 1.000 punten komt altijd bij het spelertotaal opgeteld word.&lt;br /&gt;
&lt;br /&gt;
De speler die als eerste meer dan 10.000 punten scoort wint het spel.&lt;br /&gt;
&lt;br /&gt;
== Punten ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;20%&amp;quot;&lt;br /&gt;
! Dobbelsteen || Punten&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 100&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 50&lt;br /&gt;
|-&lt;br /&gt;
| 3x1 || 1000&lt;br /&gt;
|-&lt;br /&gt;
| 3x2 || 200&lt;br /&gt;
|-&lt;br /&gt;
| 3x3 || 300&lt;br /&gt;
|-&lt;br /&gt;
| 3x4 || 400&lt;br /&gt;
|-&lt;br /&gt;
| 3x5 || 500&lt;br /&gt;
|-&lt;br /&gt;
| 3x6 || 600&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Spellen|Tienduizenden]]&lt;br /&gt;
[[Category:Dobbelspellen|Tienduizenden]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=133</id>
		<title>Tienduizenden</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=133"/>
				<updated>2016-03-03T10:31:31Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Tienduizenden =&lt;br /&gt;
&lt;br /&gt;
== Inleiding ==&lt;br /&gt;
Tienduizenden is een dobbelspel waarbij de spelers tienduizend punten moeten behalen om te winnen.&lt;br /&gt;
&lt;br /&gt;
== Benodigdheden ==&lt;br /&gt;
5 dobbelstenen&lt;br /&gt;
&lt;br /&gt;
== Uitleg ==&lt;br /&gt;
De speler die aan de beurt is neemt de 5 dobbelstenen en rolt ze op tafel. Er wordt gekeken of er een 1, een 5 of een set van drie gelijke stenen ligt. Deze stenen worden geteld volgens de puntentabel en apart gelegd. Vervolgens heeft de speler volgende keuze:&lt;br /&gt;
&lt;br /&gt;
* stoppen, de optelling van de worpen word bij het spelertotaal opgeteld. Hier geldt wel een minimale optelling van 350 punten;&lt;br /&gt;
* doorgaan met de overige stenen. Hierbij geldt het risico dat bij de volgende worp geen geldige steen geworpen wordt.&lt;br /&gt;
&lt;br /&gt;
Indien er geen dobbelstenen meer apart te leggen zijn (dus geen 1, geen 5 en geen drietal) dan heeft de speler zijn ronde verspeeld en wordt het optelling niet bij het spelertotaal opgeteld.&lt;br /&gt;
&lt;br /&gt;
Indien alle dobbelstenen afgelegd zijn dan neemt dezelfde speler alle 5 de dobbelstenen weer in de hand en gaat door, net zolang totdat de speler stopt.&lt;br /&gt;
&lt;br /&gt;
'''Variant''': Er kan afgesproken worden dat een ronde die boven de 1.000 punten komt altijd bij het spelertotaal opgeteld word.&lt;br /&gt;
&lt;br /&gt;
De speler die als eerste meer dan 10.000 punten scoort wint het spel.&lt;br /&gt;
&lt;br /&gt;
== Punten ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;20%&amp;quot;&lt;br /&gt;
! Dobbelsteen || Punten&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 100&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 50&lt;br /&gt;
|-&lt;br /&gt;
| 3x1 || 1000&lt;br /&gt;
|-&lt;br /&gt;
| 3x2 || 200&lt;br /&gt;
|-&lt;br /&gt;
| 3x3 || 300&lt;br /&gt;
|-&lt;br /&gt;
| 3x4 || 400&lt;br /&gt;
|-&lt;br /&gt;
| 3x5 || 500&lt;br /&gt;
|-&lt;br /&gt;
| 3x6 || 600&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Spellen|Tienduizenden]]&lt;br /&gt;
[[Category:Dobbelspellen|Tienduizenden]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=132</id>
		<title>Tienduizenden</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Tienduizenden&amp;diff=132"/>
				<updated>2016-03-03T10:31:02Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nieuwe pagina aangemaakt met '= Tienduizenden =  == Inleiding == Tienduizenden is een dobbelspel waarbij de spelers tienduizend punten moeten behalen om te winnen.  == Benodigdheden == 5 dobbels...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Tienduizenden =&lt;br /&gt;
&lt;br /&gt;
== Inleiding ==&lt;br /&gt;
Tienduizenden is een dobbelspel waarbij de spelers tienduizend punten moeten behalen om te winnen.&lt;br /&gt;
&lt;br /&gt;
== Benodigdheden ==&lt;br /&gt;
5 dobbelstenen&lt;br /&gt;
&lt;br /&gt;
== Uitleg ==&lt;br /&gt;
De speler die aan de beurt is neemt de 5 dobbelstenen en rolt ze op tafel. Er wordt gekeken of er een 1, een 5 of een set van drie gelijke stenen ligt. Deze stenen worden geteld volgens de puntentabel en apart gelegd. Vervolgens heeft de speler volgende keuze:&lt;br /&gt;
&lt;br /&gt;
* stoppen, de optelling van de worpen word bij het spelertotaal opgeteld. Hier geldt wel een minimale optelling van 350 punten;&lt;br /&gt;
* doorgaan met de overige stenen. Hierbij geldt het risico dat bij de volgende worp geen geldige steen geworpen wordt.&lt;br /&gt;
&lt;br /&gt;
Indien er geen dobbelstenen meer apart te leggen zijn (dus geen 1, geen 5 en geen drietal) dan heeft de speler zijn ronde verspeeld en wordt het optelling niet bij het spelertotaal opgeteld.&lt;br /&gt;
&lt;br /&gt;
Indien alle dobbelstenen afgelegd zijn dan neemt dezelfde speler alle 5 de dobbelstenen weer in de hand en gaat door, net zolang totdat de speler stopt.&lt;br /&gt;
&lt;br /&gt;
'''Variant''': Er kan afgesproken worden dat een ronde die boven de 1.000 komt altijd bij het spelertotaal opgeteld word.&lt;br /&gt;
&lt;br /&gt;
De speler die als eerste meer dan 10.000 punten scoort wint het spel.&lt;br /&gt;
&lt;br /&gt;
== Punten ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;20%&amp;quot;&lt;br /&gt;
! Dobbelsteen || Punten&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 100&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 50&lt;br /&gt;
|-&lt;br /&gt;
| 3x1 || 1000&lt;br /&gt;
|-&lt;br /&gt;
| 3x2 || 200&lt;br /&gt;
|-&lt;br /&gt;
| 3x3 || 300&lt;br /&gt;
|-&lt;br /&gt;
| 3x4 || 400&lt;br /&gt;
|-&lt;br /&gt;
| 3x5 || 500&lt;br /&gt;
|-&lt;br /&gt;
| 3x6 || 600&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Spellen|Tienduizenden]]&lt;br /&gt;
[[Category:Dobbelspellen|Tienduizenden]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=131</id>
		<title>EMC CX3-80</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=131"/>
				<updated>2011-09-13T13:01:34Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: /* Unable to unbind LUN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== EMC CX3-80 Cheat sheet ==&lt;br /&gt;
&lt;br /&gt;
=== Unable to unbind LUN ===&lt;br /&gt;
If you get the following error while trying to unbind a LUN:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Error: unbind command failed&lt;br /&gt;
Being used by a feature of the storage system. Cannot unbind LUN:&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following command to see what SAN feature locks a LUN from being removed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/nas/sbin/navicli -h &amp;lt;hostname&amp;gt; getlun -messner &amp;lt;lunnumber&amp;gt; -stack&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following command to unlock a stalled remote mirror:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/nas/sbin/navicli -h &amp;lt;hostname&amp;gt; mirror -async -setfeature -off -LUN &amp;lt;lunnumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=130</id>
		<title>EMC CX3-80</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=130"/>
				<updated>2011-09-13T13:01:17Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== EMC CX3-80 Cheat sheet ==&lt;br /&gt;
&lt;br /&gt;
=== Unable to unbind LUN ===&lt;br /&gt;
If you get the following error while trying to unbind a LUN:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Error: unbind command failed&lt;br /&gt;
Being used by a feature of the storage system. Cannot unbind LUN:&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following command to see what SAN feature locks a LUN from being removed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/nas/sbin/navicli -h &amp;lt;hostname&amp;gt; getlun -messner &amp;lt;lunnumber&amp;gt; -stack&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following command to unlock a stalled remote mirror:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/nas/sbin/navicli -h 172.30.128.33 mirror -async -setfeature -off -LUN 1779&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=129</id>
		<title>Netbackup</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=129"/>
				<updated>2011-08-17T10:40:24Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Netbackup cheatsheet ==&lt;br /&gt;
&lt;br /&gt;
=== Check Drive status ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/vmoprcmd -dp&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
And/Or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/tpconfig -d&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Change Drive status ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/tpconfig -update -drive &amp;lt;index&amp;gt; -drstatus UP&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Scan bus ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/sgscan&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add cleaning type ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -p 0 -m &amp;lt;media&amp;gt; #change the pool to none&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -new_mt hcart2_clean -m &amp;lt;media&amp;gt; #change the media type to HC2_CLN&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -m &amp;lt;media&amp;gt; -n 50 #change number of remaining cleanings&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Expire backup images between dates ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /opt/openv/netbackup&lt;br /&gt;
for i in `./bin/admincmd/bpimagelist -d 03/07/2011 11:01:18 -e 03/08/2011 04:48:31 -L |grep &amp;quot;Backup ID&amp;quot; |cut -d &amp;quot;:&amp;quot; -f 2`; do ./bin/admincmd/bpexpdate -backupid $i -d 0 -force;done;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; bpimagelist:&lt;br /&gt;
: -d means from date&lt;br /&gt;
: -e means till date&lt;br /&gt;
: -L means long list&lt;br /&gt;
&lt;br /&gt;
Pipe output to filter out the backup ids&lt;br /&gt;
&lt;br /&gt;
Seperate the output to cut out the &amp;lt;backup id&amp;gt; from &amp;quot;Backup ID: &amp;lt;backup id&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; bpexpdate:&lt;br /&gt;
: -backupid specify backupid&lt;br /&gt;
: -d sets expirydate, 0 means immediate&lt;br /&gt;
: -force: don't ask user to confirm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== List files in a backup ===&lt;br /&gt;
Get the list of backups in the catalog specified by a policy:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpcatlist -policy &amp;lt;policy&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Query the file list specified by client and backupid:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpflist -client &amp;lt;client&amp;gt; -rl 10 -backupid &amp;lt;backupid&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=128</id>
		<title>Netbackup</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=128"/>
				<updated>2011-08-17T08:50:30Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: /* Check Drive status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Netbackup cheatsheet ==&lt;br /&gt;
&lt;br /&gt;
=== Check Drive status ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/vmoprcmd -dp&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
And/Or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/tpconfig -d&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Scan bus ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/sgscan&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add cleaning type ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -p 0 -m &amp;lt;media&amp;gt; #change the pool to none&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -new_mt hcart2_clean -m &amp;lt;media&amp;gt; #change the media type to HC2_CLN&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -m &amp;lt;media&amp;gt; -n 50 #change number of remaining cleanings&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Expire backup images between dates ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /opt/openv/netbackup&lt;br /&gt;
for i in `./bin/admincmd/bpimagelist -d 03/07/2011 11:01:18 -e 03/08/2011 04:48:31 -L |grep &amp;quot;Backup ID&amp;quot; |cut -d &amp;quot;:&amp;quot; -f 2`; do ./bin/admincmd/bpexpdate -backupid $i -d 0 -force;done;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; bpimagelist:&lt;br /&gt;
: -d means from date&lt;br /&gt;
: -e means till date&lt;br /&gt;
: -L means long list&lt;br /&gt;
&lt;br /&gt;
Pipe output to filter out the backup ids&lt;br /&gt;
&lt;br /&gt;
Seperate the output to cut out the &amp;lt;backup id&amp;gt; from &amp;quot;Backup ID: &amp;lt;backup id&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; bpexpdate:&lt;br /&gt;
: -backupid specify backupid&lt;br /&gt;
: -d sets expirydate, 0 means immediate&lt;br /&gt;
: -force: don't ask user to confirm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== List files in a backup ===&lt;br /&gt;
Get the list of backups in the catalog specified by a policy:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpcatlist -policy &amp;lt;policy&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Query the file list specified by client and backupid:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpflist -client &amp;lt;client&amp;gt; -rl 10 -backupid &amp;lt;backupid&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=127</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=127"/>
				<updated>2011-08-12T07:18:24Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: /* Standby database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make backup of control file from SQL prompt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; ALTER DATABASE BACKUP CONTROLFILE TO '&amp;lt;location&amp;gt;';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Standby database ==&lt;br /&gt;
=== Start standby database ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
SQL&amp;gt; alter database mount standby database;&lt;br /&gt;
SQL&amp;gt; alter database recover managed standby database disconnect from session;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stop standby database ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; alter database recover managed standby database cancel;&lt;br /&gt;
SQL&amp;gt; shutdown immediate;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Determine if database is standby ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
select CONTROLFILE_TYPE from v$database;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually register a logfile ===&lt;br /&gt;
 It is sometimes necessary to manually add a logfile if one misses the transport or so.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
alter database register logfile '/full_path_to/logfile';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
=== Backup ===&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/maint.htm#BRBSC174 Oracle - Recovery Manager Maintenance Tasks]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm Oracle - RMAN Restore]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm Oracle - Creating a Standby Database with Recovery Manager]&lt;br /&gt;
* [http://www.shutdownabort.com/dbaqueries/Backup_DataGuard.php Shutdown-Abort - Backup - DataGuard]&lt;br /&gt;
* [http://psoug.org/reference/control_file.html psoug.org - Oracle Control Files]&lt;br /&gt;
=== Standby database ===&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/manage_ps.htm Oracle - Managing a Physical Standby Database]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=126</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=126"/>
				<updated>2011-08-09T10:10:28Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make backup of control file from SQL prompt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; ALTER DATABASE BACKUP CONTROLFILE TO '&amp;lt;location&amp;gt;';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Standby database ==&lt;br /&gt;
=== Start standby database ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
SQL&amp;gt; alter database mount standby database;&lt;br /&gt;
SQL&amp;gt; alter database recover managed standby database disconnect from session;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stop standby database ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; alter database recover managed standby database cancel;&lt;br /&gt;
SQL&amp;gt; shutdown immediate;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Determine if database is standby ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
select CONTROLFILE_TYPE from v$database;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
=== Backup ===&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/maint.htm#BRBSC174 Oracle - Recovery Manager Maintenance Tasks]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm Oracle - RMAN Restore]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm Oracle - Creating a Standby Database with Recovery Manager]&lt;br /&gt;
* [http://www.shutdownabort.com/dbaqueries/Backup_DataGuard.php Shutdown-Abort - Backup - DataGuard]&lt;br /&gt;
* [http://psoug.org/reference/control_file.html psoug.org - Oracle Control Files]&lt;br /&gt;
=== Standby database ===&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/manage_ps.htm Oracle - Managing a Physical Standby Database]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=125</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=125"/>
				<updated>2011-08-09T10:06:31Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make backup of control file from SQL prompt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; ALTER DATABASE BACKUP CONTROLFILE TO '&amp;lt;location&amp;gt;';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Standby database ==&lt;br /&gt;
Start standby database&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
SQL&amp;gt; alter database mount standby database;&lt;br /&gt;
SQL&amp;gt; alter database recover managed standby database disconnect from session;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stop standby database&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; alter database recover managed standby database cancel;&lt;br /&gt;
SQL&amp;gt; shutdown immediate;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
=== Backup ===&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/maint.htm#BRBSC174 Oracle - Recovery Manager Maintenance Tasks]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm Oracle - RMAN Restore]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm Oracle - Creating a Standby Database with Recovery Manager]&lt;br /&gt;
* [http://www.shutdownabort.com/dbaqueries/Backup_DataGuard.php Shutdown-Abort - Backup - DataGuard]&lt;br /&gt;
* [http://psoug.org/reference/control_file.html psoug.org - Oracle Control Files]&lt;br /&gt;
=== Standby database ===&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/manage_ps.htm Oracle - Managing a Physical Standby Database]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=124</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=124"/>
				<updated>2011-08-09T09:19:59Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make backup of control file from SQL prompt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; ALTER DATABASE BACKUP CONTROLFILE TO '&amp;lt;location&amp;gt;';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/maint.htm#BRBSC174 Oracle - Recovery Manager Maintenance Tasks]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm Oracle - RMAN Restore]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm Oracle - Creating a Standby Database with Recovery Manager]&lt;br /&gt;
* [http://www.shutdownabort.com/dbaqueries/Backup_DataGuard.php Shutdown-Abort - Backup - DataGuard]&lt;br /&gt;
* [http://psoug.org/reference/control_file.html psoug.org - Oracle Control Files]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=123</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=123"/>
				<updated>2011-08-09T09:18:56Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup from SQL prompt ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; ALTER DATABASE BACKUP CONTROLFILE TO '&amp;lt;location&amp;gt;';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/maint.htm#BRBSC174 Oracle - Recovery Manager Maintenance Tasks]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm Oracle - RMAN Restore]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm Oracle - Creating a Standby Database with Recovery Manager]&lt;br /&gt;
* [http://www.shutdownabort.com/dbaqueries/Backup_DataGuard.php Shutdown-Abort - Backup - DataGuard]&lt;br /&gt;
* [http://psoug.org/reference/control_file.html psoug.org - Oracle Control Files]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=122</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=122"/>
				<updated>2011-08-09T09:14:22Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/maint.htm#BRBSC174 Oracle - Recovery Manager Maintenance Tasks]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm Oracle - RMAN Restore]&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm Oracle - Creating a Standby Database with Recovery Manager]&lt;br /&gt;
* [http://www.shutdownabort.com/dbaqueries/Backup_DataGuard.php Shutdown-Abort - Backup - DataGuard]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=121</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=121"/>
				<updated>2011-08-09T09:11:17Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
* [http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/maint.htm#BRBSC174 Recovery Manager Maintenance Tasks]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=120</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=120"/>
				<updated>2011-08-09T09:04:13Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manually add backup files to catalog ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CATALOG BACKUPPIECE '/location/backupfile1', '/location/backupfile2';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=119</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=119"/>
				<updated>2011-08-09T09:00:13Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make disk backup ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/bck_%s_%p_%t';&lt;br /&gt;
BACKUP DATABASE PLUS ARCHIVELOG;&lt;br /&gt;
RELEASE CHANNEL d2;&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '&amp;lt;location&amp;gt;/cntrl_%s_%p_%t';&lt;br /&gt;
BACKUP CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL d1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore disk backup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SQL&amp;gt; startup nomount;&lt;br /&gt;
RMAN&amp;gt; RESTORE CONTROLFILE FROM '&amp;lt;location&amp;gt;';&lt;br /&gt;
SQL&amp;gt; alter database mount;&lt;br /&gt;
RMAN&amp;gt; RESTORE DATABASE;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make backup using Netbackup ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
rman target /(@sid) NOCATALOG&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'bk_%s_%p_%t' DATABASE;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL;&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
RUN {&lt;br /&gt;
ALLOCATE CHANNEL t1 DEVICE TYPE 'SBT_TAPE' parms=&amp;quot;ENV=(NB_ORA_POLICY=&amp;lt;POLICY&amp;gt;,NB_ORA_SERV=&amp;lt;BACKUP_SERVER&amp;gt;, NB_ORA_CLIENT=&amp;lt;CLIENT_NAME&amp;gt;)&amp;quot;;&lt;br /&gt;
BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE (FOR STANDBY);&lt;br /&gt;
RELEASE CHANNEL t1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=118</id>
		<title>Netbackup</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=118"/>
				<updated>2011-06-01T08:39:33Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Netbackup cheatsheet ==&lt;br /&gt;
&lt;br /&gt;
=== Check Drive status ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/vmoprcmd -dp&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Scan bus ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/sgscan&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add cleaning type ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -p 0 -m &amp;lt;media&amp;gt; #change the pool to none&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -new_mt hcart2_clean -m &amp;lt;media&amp;gt; #change the media type to HC2_CLN&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -m &amp;lt;media&amp;gt; -n 50 #change number of remaining cleanings&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Expire backup images between dates ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /opt/openv/netbackup&lt;br /&gt;
for i in `./bin/admincmd/bpimagelist -d 03/07/2011 11:01:18 -e 03/08/2011 04:48:31 -L |grep &amp;quot;Backup ID&amp;quot; |cut -d &amp;quot;:&amp;quot; -f 2`; do ./bin/admincmd/bpexpdate -backupid $i -d 0 -force;done;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; bpimagelist:&lt;br /&gt;
: -d means from date&lt;br /&gt;
: -e means till date&lt;br /&gt;
: -L means long list&lt;br /&gt;
&lt;br /&gt;
Pipe output to filter out the backup ids&lt;br /&gt;
&lt;br /&gt;
Seperate the output to cut out the &amp;lt;backup id&amp;gt; from &amp;quot;Backup ID: &amp;lt;backup id&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; bpexpdate:&lt;br /&gt;
: -backupid specify backupid&lt;br /&gt;
: -d sets expirydate, 0 means immediate&lt;br /&gt;
: -force: don't ask user to confirm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== List files in a backup ===&lt;br /&gt;
Get the list of backups in the catalog specified by a policy:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpcatlist -policy &amp;lt;policy&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Query the file list specified by client and backupid:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpflist -client &amp;lt;client&amp;gt; -rl 10 -backupid &amp;lt;backupid&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=117</id>
		<title>Netbackup</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=117"/>
				<updated>2011-06-01T08:38:11Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Netbackup cheatsheet ==&lt;br /&gt;
&lt;br /&gt;
=== Check Drive status ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/vmoprcmd -dp&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Scan bus ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/sgscan&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add cleaning type ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -p 0 -m &amp;lt;media&amp;gt; #change the pool to none&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -new_mt hcart2_clean -m &amp;lt;media&amp;gt; #change the media type to HC2_CLN&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -m &amp;lt;media&amp;gt; -n 50 #change number of remaining cleanings&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Expire backup images between dates ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /opt/openv/netbackup&lt;br /&gt;
for i in `./bin/admincmd/bpimagelist -d 03/07/2011 11:01:18 -e 03/08/2011 04:48:31 -L |grep &amp;quot;Backup ID&amp;quot; |cut -d &amp;quot;:&amp;quot; -f 2`; do ./bin/admincmd/bpexpdate -backupid $i -d 0 -force;done;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; bpimagelist:&lt;br /&gt;
: -d means from date&lt;br /&gt;
: -e means till date&lt;br /&gt;
: -L means long list&lt;br /&gt;
&lt;br /&gt;
Pipe output to filter out the backup ids&lt;br /&gt;
&lt;br /&gt;
Seperate the output to cut out the &amp;lt;backup id&amp;gt; from &amp;quot;Backup ID: &amp;lt;backup id&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; bpexpdate:&lt;br /&gt;
: -backupid specify backupid&lt;br /&gt;
: -d sets expirydate, 0 means immediate&lt;br /&gt;
: -force: don't ask user to confirm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== List files in a backup ===&lt;br /&gt;
Get the list of backups in the catalog specified by a policy:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpcatlist -policy &amp;lt;policy&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/netbackup/bin/admincmd/bpflist -client &amp;lt;client&amp;gt; -rl 10 -backupid &amp;lt;backupid&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=116</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=116"/>
				<updated>2011-04-01T19:20:00Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=115</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=115"/>
				<updated>2011-04-01T19:19:21Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Oracle =&lt;br /&gt;
&lt;br /&gt;
== Startup / Shutdown ==&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RMAN ==&lt;br /&gt;
&lt;br /&gt;
=== Segmentation Fault while running sbttest ===&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=114</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=114"/>
				<updated>2011-04-01T18:48:20Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Oracle ==&lt;br /&gt;
&lt;br /&gt;
=== Startup / Shutdown ===&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RMAN ===&lt;br /&gt;
&lt;br /&gt;
==== Segmentation Fault while running sbttest ====&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=113</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=113"/>
				<updated>2011-04-01T18:47:39Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Oracle ==&lt;br /&gt;
&lt;br /&gt;
=== Startup / Shutdown ===&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sqlplus / as sysdba&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; startup nomount pfile='/path/to/init.ora';&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown immediate;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SQL&amp;gt; shutdown abort;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RMAN ===&lt;br /&gt;
&lt;br /&gt;
==== Segmentation Fault while restoring ====&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=112</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=112"/>
				<updated>2011-04-01T18:44:41Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Oracle ==&lt;br /&gt;
&lt;br /&gt;
=== Startup / Shutdown ===&lt;br /&gt;
&lt;br /&gt;
Login to SQL prompt: sqlplus / as sysdba&lt;br /&gt;
&lt;br /&gt;
Startup normally&lt;br /&gt;
SQL&amp;gt; startup&lt;br /&gt;
&lt;br /&gt;
Startup without actually mounting&lt;br /&gt;
SQL&amp;gt; startup nomount&lt;br /&gt;
&lt;br /&gt;
Use additional initialization file:&lt;br /&gt;
SQL&amp;gt; startup nomount pfile='/path/to/init.ora'&lt;br /&gt;
&lt;br /&gt;
Shutdown:&lt;br /&gt;
SQL&amp;gt; shutdown&lt;br /&gt;
&lt;br /&gt;
Shutdown and terminate existing connections&lt;br /&gt;
SQL&amp;gt; shutdown immediate;&lt;br /&gt;
&lt;br /&gt;
Shutdown and abort everything (last resort):&lt;br /&gt;
SQL&amp;gt; shutdown abort;&lt;br /&gt;
&lt;br /&gt;
=== RMAN ===&lt;br /&gt;
&lt;br /&gt;
==== Segmentation Fault while restoring ====&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=111</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=111"/>
				<updated>2011-04-01T18:40:22Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Oracle ==&lt;br /&gt;
&lt;br /&gt;
=== RMAN ===&lt;br /&gt;
&lt;br /&gt;
==== Segmentation Fault while restoring ====&lt;br /&gt;
&lt;br /&gt;
Netbackup server was unable to resolve clients ip address. Added an entry to the /etc/hosts file and the issue was solved.&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=110</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=110"/>
				<updated>2011-04-01T18:38:03Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Oracle ==&lt;br /&gt;
&lt;br /&gt;
=== RMAN ===&lt;br /&gt;
&lt;br /&gt;
==== Segmentation Fault while restoring ====&lt;br /&gt;
&lt;br /&gt;
http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Referenties ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=109</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=109"/>
				<updated>2011-04-01T18:36:45Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Oracle ==&lt;br /&gt;
&lt;br /&gt;
=== RMAN ===&lt;br /&gt;
&lt;br /&gt;
==== Segmentation Fault while restoring ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref&amp;gt;http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Referenties ==&lt;br /&gt;
{{Reflist|3}}&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=108</id>
		<title>Oracle</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Oracle&amp;diff=108"/>
				<updated>2011-04-01T18:35:00Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nieuwe pagina aangemaakt met '== Oracle ==  === RMAN ===  ==== Segmentation Fault while restoring ====  http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Oracle ==&lt;br /&gt;
&lt;br /&gt;
=== RMAN ===&lt;br /&gt;
&lt;br /&gt;
==== Segmentation Fault while restoring ====&lt;br /&gt;
&lt;br /&gt;
http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH57313&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=107</id>
		<title>EMC CX3-80</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=107"/>
				<updated>2011-03-31T06:26:32Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== EMC CX3-80 Cheat sheet ==&lt;br /&gt;
&lt;br /&gt;
=== Unable to unbind LUN ===&lt;br /&gt;
If you get the following error while trying to unbind a LUN:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Error: unbind command failed&lt;br /&gt;
Being used by a feature of the storage system. Cannot unbind LUN:&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following command to see what SAN feature locks a LUN from being removed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/nas/sbin/navicli -h &amp;lt;hostname&amp;gt; getlun -messner &amp;lt;lunnumber&amp;gt; -stack&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=106</id>
		<title>EMC CX3-80</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=EMC_CX3-80&amp;diff=106"/>
				<updated>2011-03-31T06:23:31Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nieuwe pagina aangemaakt met 'EMC CX3-80 Cheat sheet  If you get the following error while trying to unbind a LUN:  Error: unbind command failed Being used by a feature of the storage system. Canno...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;EMC CX3-80 Cheat sheet&lt;br /&gt;
&lt;br /&gt;
If you get the following error while trying to unbind a LUN:&lt;br /&gt;
&lt;br /&gt;
Error: unbind command failed&lt;br /&gt;
Being used by a feature of the storage system. Cannot unbind LUN:&lt;br /&gt;
&lt;br /&gt;
Use the following command to see what SAN feature locks a LUN from being removed:&lt;br /&gt;
&lt;br /&gt;
/nas/sbin/navicli -h &amp;lt;hostname&amp;gt; getlun -messner &amp;lt;lunnumber&amp;gt; -stack&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=105</id>
		<title>Netbackup</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=105"/>
				<updated>2011-03-08T14:57:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Netbackup cheatsheet ==&lt;br /&gt;
&lt;br /&gt;
=== Check Drive status ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/vmoprcmd -dp&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Scan bus ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/sgscan&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add cleaning type ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -p 0 -m &amp;lt;media&amp;gt; #change the pool to none&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -new_mt hcart2_clean -m &amp;lt;media&amp;gt; #change the media type to HC2_CLN&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -m &amp;lt;media&amp;gt; -n 50 #change number of remaining cleanings&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Expire backup images between dates ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /opt/openv/netbackup&lt;br /&gt;
for i in `./bin/admincmd/bpimagelist -d 03/07/2011 11:01:18 -e 03/08/2011 04:48:31 -L |grep &amp;quot;Backup ID&amp;quot; |cut -d &amp;quot;:&amp;quot; -f 2`; do ./bin/admincmd/bpexpdate -backupid $i -d 0 -force;done;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; bpimagelist:&lt;br /&gt;
: -d means from date&lt;br /&gt;
: -e means till date&lt;br /&gt;
: -L means long list&lt;br /&gt;
&lt;br /&gt;
Pipe output to filter out the backup ids&lt;br /&gt;
&lt;br /&gt;
Seperate the output to cut out the &amp;lt;backup id&amp;gt; from &amp;quot;Backup ID: &amp;lt;backup id&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; bpexpdate:&lt;br /&gt;
: -backupid specify backupid&lt;br /&gt;
: -d sets expirydate, 0 means immediate&lt;br /&gt;
: -force: don't ask user to confirm&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=104</id>
		<title>Netbackup</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=104"/>
				<updated>2011-03-08T10:35:37Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Netbackup cheatsheet ==&lt;br /&gt;
&lt;br /&gt;
=== Check Drive status: ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/vmoprcmd -dp&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Scan bus: ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/sgscan&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add cleaning type: ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -p 0 -m &amp;lt;media&amp;gt; #change the pool to none&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -new_mt hcart2_clean -m &amp;lt;media&amp;gt; #change the media type to HC2_CLN&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -m &amp;lt;media&amp;gt; -n 50 #change number of remaining cleanings&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Expire backup images between dates: ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /opt/openv/netbackup&lt;br /&gt;
for i in `./bin/admincmd/bpimagelist -d 03/07/2011 11:01:18 -e 03/08/2011 04:48:31 -L |grep &amp;quot;Backup ID&amp;quot; |cut -d &amp;quot;:&amp;quot; -f 2`; do ./bin/admincmd/bpexpdate -backupid $i -d 0 -force;done;&lt;br /&gt;
&lt;br /&gt;
bpimagelist:&lt;br /&gt;
-d means from date&lt;br /&gt;
-e means till date&lt;br /&gt;
-L means long list&lt;br /&gt;
&lt;br /&gt;
pipe output to filter out the backup ids&lt;br /&gt;
seperate the output to cut out the &amp;lt;backup id&amp;gt; from &amp;quot;Backup ID: &amp;lt;backup id&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
bpexpdate:&lt;br /&gt;
-backupid specify backupid&lt;br /&gt;
-d sets expirydate, 0 means immediate&lt;br /&gt;
-force: don't ask user to confirm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=103</id>
		<title>Netbackup</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Netbackup&amp;diff=103"/>
				<updated>2011-03-08T10:28:02Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Netbackup cheatsheet ==&lt;br /&gt;
&lt;br /&gt;
Check Drive status:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/vmoprcmd -dp&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Scan bus:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;/opt/openv/volmgr/bin/sgscan&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add cleaning type:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -p 0 -m &amp;lt;media&amp;gt; #change the pool to none&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -new_mt hcart2_clean -m &amp;lt;media&amp;gt; #change the media type to HC2_CLN&lt;br /&gt;
/opt/openv/volmgr/bin/vmchange -m &amp;lt;media&amp;gt; -n 50 #change number of remaining cleanings&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expire backup images:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /opt/openv/netbackup&lt;br /&gt;
for i in `./bin/admincmd/bpimagelist -d 03/07/2011 11:01:18 -e 03/08/2011 04:48:31 -L |grep &amp;quot;Backup ID&amp;quot; |cut -d &amp;quot;:&amp;quot; -f 2`; do ./bin/admincmd/bpexpdate -backupid $i -d 0 -force;done;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=102</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=102"/>
				<updated>2011-02-17T07:14:41Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
To disable the inetd (daemon.notice) log messages do the following:&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the nrpe (mail.info) messages I don't have a solution for local zones yet.&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&lt;br /&gt;
It seems that the nrpe [ID 927837 mail.info] messages still appears in local zones. The nrpe [ID 317013 daemon.notice] messages in the local zones can be prevented by setting tcp_wrappers to false in the local zone.&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Nagios - Disable messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=101</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=101"/>
				<updated>2011-02-16T16:22:54Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&lt;br /&gt;
It seems that the nrpe [ID 927837 mail.info] messages still appears in local zones. The nrpe [ID 317013 daemon.notice] messages in the local zones can be prevented by setting tcp_wrappers to false in the local zone.&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Nagios - Disable messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Categorie:Howto&amp;diff=100</id>
		<title>Categorie:Howto</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Categorie:Howto&amp;diff=100"/>
				<updated>2011-02-15T14:22:15Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Lijst van Howtos ==&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Categorie:Howto&amp;diff=99</id>
		<title>Categorie:Howto</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Categorie:Howto&amp;diff=99"/>
				<updated>2011-02-15T14:21:57Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nieuwe pagina aangemaakt met '== List of Howtos =='&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== List of Howtos ==&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=98</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=98"/>
				<updated>2011-02-15T14:19:15Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Nagios - Disable messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=97</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=97"/>
				<updated>2011-02-15T14:18:34Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[:Category:Howto|Nagios - Disable messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=96</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=96"/>
				<updated>2011-02-15T14:13:19Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Nagios - Disable messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=95</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=95"/>
				<updated>2011-02-15T14:13:03Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|[Nagios - Disable messages logging]]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=94</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=94"/>
				<updated>2011-02-15T14:12:21Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|&amp;quot;Nagios - Disable messages logging&amp;quot;]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=93</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=93"/>
				<updated>2011-02-15T14:11:50Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Nagios - Disable messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=92</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=92"/>
				<updated>2011-02-15T14:11:36Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto,Nagios - Disable messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=90</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=90"/>
				<updated>2011-02-15T14:10:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nagios hernoemd naar Disable nagios messages logging: Betere titel&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Nagios&amp;diff=91</id>
		<title>Nagios</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Nagios&amp;diff=91"/>
				<updated>2011-02-15T14:10:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nagios hernoemd naar Disable nagios messages logging: Betere titel&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#DOORVERWIJZING [[Disable nagios messages logging]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=89</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=89"/>
				<updated>2011-02-15T14:02:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=88</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=88"/>
				<updated>2011-02-15T14:02:24Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
== Symtoms ==&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	<entry>
		<id>http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=87</id>
		<title>Disable nagios messages logging</title>
		<link rel="alternate" type="text/html" href="http://www.lambiek.eu/wiki/index.php?title=Disable_nagios_messages_logging&amp;diff=87"/>
				<updated>2011-02-15T14:01:07Z</updated>
		
		<summary type="html">&lt;p&gt;Lambiek: Nieuwe pagina aangemaakt met 'Disable deamon.notice logging:  --Problem--  Nagios extensive logging into /var/adm/messages  --Symtoms-- Logging is found in the /var/adm/messages as follows:  Feb 10...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable deamon.notice logging:&lt;br /&gt;
&lt;br /&gt;
--Problem--&lt;br /&gt;
&lt;br /&gt;
Nagios extensive logging into /var/adm/messages&lt;br /&gt;
&lt;br /&gt;
--Symtoms--&lt;br /&gt;
Logging is found in the /var/adm/messages as follows:&lt;br /&gt;
&lt;br /&gt;
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from &amp;lt;ip address&amp;gt; 37236&lt;br /&gt;
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from &amp;lt;client fqdn&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from &amp;lt;ip address&amp;gt; 42690&lt;br /&gt;
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from &amp;lt;ip address&amp;gt; 42692&lt;br /&gt;
&lt;br /&gt;
--Resolution--&lt;br /&gt;
&lt;br /&gt;
If nagios is under SMF (Service Management Facility) then disable the logging using:&lt;br /&gt;
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE&lt;br /&gt;
svcadm refresh network/nrpe/tcp&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Lambiek</name></author>	</entry>

	</feed>