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

<channel>
	<title>VIDANEZ SITE &#187; SOLARIS</title>
	<atom:link href="http://www.vidanez.com/category/sun/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vidanez.com</link>
	<description>ADMINISTRACION INSTALACIONES Y DISEÑO DE ARQUITECTURAS</description>
	<lastBuildDate>Thu, 19 Jan 2012 14:49:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Sun Fire V890 y demás máquinas antiguas. Hot-plug SCSI Device</title>
		<link>http://www.vidanez.com/2011/09/29/sun-fire-v890-y-demas-maquinas-antiguas-hot-plug-scsi-device/</link>
		<comments>http://www.vidanez.com/2011/09/29/sun-fire-v890-y-demas-maquinas-antiguas-hot-plug-scsi-device/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 10:51:42 +0000</pubDate>
		<dc:creator>Juan José Vidañez</dc:creator>
				<category><![CDATA[SOLARIS]]></category>
		<category><![CDATA[SUN]]></category>
		<category><![CDATA[disks]]></category>
		<category><![CDATA[Dynamic Reconfiguration]]></category>
		<category><![CDATA[hotplug]]></category>
		<category><![CDATA[luxadm]]></category>
		<category><![CDATA[remove scsi device]]></category>
		<category><![CDATA[Sun Fire]]></category>
		<category><![CDATA[V890]]></category>

		<guid isPermaLink="false">http://www.vidanez.com/?p=187</guid>
		<description><![CDATA[Me he encontrado con una m&#225;quina muy antigua una Sun Fire V890, y con unos discos que tenia que sacar. Esta m&#225;quina usa &#34;Dynamic Reconfiguration&#34; o DR por lo tanto sus discos se pueden poner en &#34;Ready to remove&#34; y encienden su led para ese cometido. Dada la antig&#252;edad de estos sistemas, no utilizan el [...]]]></description>
			<content:encoded><![CDATA[<p>Me he encontrado con una m&aacute;quina muy antigua una Sun Fire V890, y con unos discos que tenia que sacar.</p>
<p>Esta m&aacute;quina usa &quot;Dynamic Reconfiguration&quot; o DR por lo tanto sus discos se pueden poner en &quot;Ready to remove&quot; y encienden su led para ese cometido.</p>
<p>Dada la antig&uuml;edad de estos sistemas, no utilizan el comando que cualquiera supondria &quot;cfgadm&quot; si no que aun usan el &quot;luxadm&quot; como con los antiguos PHOTON o Sun A5200.</p>
<p>Os dejo con el ejemplo:</p>
<p>&nbsp;</p>
<div><span style="font-size:10px;"><em>root@example / # luxadm remove_device -F /dev/rdsk/c1t4d0s0</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp;WARNING!!! Please ensure that no filesystems are mounted on these device(s).</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp;All data on these devices should have been backed up.</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>The list of devices which will be removed is:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; 1: Box Name: &nbsp; &nbsp;&quot;FCloop&quot; slot 4</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp;Node WWN: &nbsp; &nbsp;500000e010394d30</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp;Device Type:Disk device</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp;Device Paths:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; /dev/rdsk/c1t4d0s2</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>Please verify the above list of devices and</em></span></div>
<div><span style="font-size:10px;"><em>then enter &#39;c&#39; or &lt;CR&gt; to Continue or &#39;q&#39; to Quit. [Default: c]:</em></span></div>
<div><span style="font-size:10px;"><em>stopping: &nbsp;Drive in &quot;FCloop&quot; slot 4&#8230;.Done</em></span></div>
<div><span style="font-size:10px;"><em>offlining: Drive in &quot;FCloop&quot; slot 4&#8230;.Done</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>Hit &lt;Return&gt; after removing the device(s).</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Drive in Box Name &quot;FCloop&quot; slot 4</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Notice: Device has not been removed from the enclosure.</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; It has been removed from the loop and is ready to be</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; removed from the enclosure, and the LED is blinking.</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Logical Nodes being removed under /dev/dsk/ and /dev/rdsk:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Logical Nodes being removed under /dev/dsk/ and /dev/rdsk:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s0</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s1</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s2</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s3</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s4</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s5</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s6</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t4d0s7</em></span></div>
<div><span style="font-size:10px;"><em>root@example / # luxadm remove_device -F /dev/rdsk/c1t5d0s0</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp;WARNING!!! Please ensure that no filesystems are mounted on these device(s).</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp;All data on these devices should have been backed up.</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>The list of devices which will be removed is:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; 1: Box Name: &nbsp; &nbsp;&quot;FCloop&quot; slot 5</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp;Node WWN: &nbsp; &nbsp;500000e01039a200</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp;Device Type:Disk device</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp;Device Paths:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; /dev/rdsk/c1t5d0s2</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>Please verify the above list of devices and</em></span></div>
<div><span style="font-size:10px;"><em>then enter &#39;c&#39; or &lt;CR&gt; to Continue or &#39;q&#39; to Quit. [Default: c]:</em></span></div>
<div><span style="font-size:10px;"><em>stopping: &nbsp;Drive in &quot;FCloop&quot; slot 5&#8230;.Done</em></span></div>
<div><span style="font-size:10px;"><em>offlining: Drive in &quot;FCloop&quot; slot 5&#8230;.Done</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>Hit &lt;Return&gt; after removing the device(s).</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Drive in Box Name &quot;FCloop&quot; slot 5</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Notice: Device has not been removed from the enclosure.</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; It has been removed from the loop and is ready to be</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; removed from the enclosure, and the LED is blinking.</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Logical Nodes being removed under /dev/dsk/ and /dev/rdsk:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; Logical Nodes being removed under /dev/dsk/ and /dev/rdsk:</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s0</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s1</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s2</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s3</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s4</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s5</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s6</em></span></div>
<div><span style="font-size:10px;"><em>&nbsp; &nbsp; &nbsp; &nbsp; c1t5d0s7</em></span></div>
<div><span style="font-size:10px;"><em><br />
	</em></span></div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.vidanez.com%2F2011%2F09%2F29%2Fsun-fire-v890-y-demas-maquinas-antiguas-hot-plug-scsi-device%2F&amp;title=Sun%20Fire%20V890%20y%20dem%C3%A1s%20m%C3%A1quinas%20antiguas.%20Hot-plug%20SCSI%20Device" id="wpa2a_2"><img src="http://www.vidanez.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vidanez.com/2011/09/29/sun-fire-v890-y-demas-maquinas-antiguas-hot-plug-scsi-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interfaz de red o IP de salida por defecto en Solaris, Set default output Ethernet interface on Solaris</title>
		<link>http://www.vidanez.com/2009/05/27/interfaz-o-ip-de-salida-por-defecto-en-solaris-set-default-output-interface/</link>
		<comments>http://www.vidanez.com/2009/05/27/interfaz-o-ip-de-salida-por-defecto-en-solaris-set-default-output-interface/#comments</comments>
		<pubDate>Wed, 27 May 2009 16:59:33 +0000</pubDate>
		<dc:creator>Vidanez</dc:creator>
				<category><![CDATA[SOLARIS]]></category>
		<category><![CDATA[SUN]]></category>

		<guid isPermaLink="false">http://www.vidanez.com/?p=98</guid>
		<description><![CDATA[Extraño titulo para esta entrada. pero estudiemos una situación…. imaginemos que tenemos 3 interfaces (hme0, hme1, e1000g0) en una misma red obviamente con diferentes IP pero todas dentro de una misma máscara. hme0  -&#62; 192.168.0.3 netmask 255.255.255.0 hme1 -&#62; 192.168.0.4 netmask 255.255.255.0 e1000g0 -&#62; 192.168.0.5 netmask 255.255.255.0 Como defaultrouter tenemos 192.168.0.1 Si intentamos llegar a [...]]]></description>
			<content:encoded><![CDATA[<p>Extraño titulo para esta entrada. pero estudiemos una situación…. imaginemos que tenemos 3 interfaces (hme0, hme1, e1000g0) en una misma red obviamente con diferentes IP pero todas dentro de una misma máscara.</p>
<p><em><span style="font-family: Courier; font-size: xx-small;">hme0  -&gt; 192.168.0.3 netmask 255.255.255.0</span></em></p>
<p><em><span style="font-family: Courier; font-size: xx-small;">hme1 -&gt; 192.168.0.4 netmask 255.255.255.0</span></em></p>
<p><em><span style="font-family: Courier; font-size: xx-small;">e1000g0 -&gt; 192.168.0.5 netmask 255.255.255.0</span></em></p>
<p>Como <em>defaultrouter</em> tenemos 192.168.0.1</p>
<p>Si intentamos llegar a una IP mas allá de nuestra red (80.80.80.80) o dentro de nuestra red (192.168.0.6) ¿por que interfaz realizaría la conexión? ¿que IP usuaria el sistema?</p>
<p>Con un vistazo a nuestro resultado de <em>“netstat -nr”</em> sabríamos cual seria la preferida por defecto del sistema la primera que se reflejara en la lista. Ya que lo que hace es recorrer esta tabla hasta que la petición se adapta a alguna de las reglas. Probablemente en nuestro caso sería la que hemos dado de alta antes la <em>hme0.</em></p>
<p><span id="more-98"></span></p>
<p>Pero que podemos hacer, si por petición, necesitamos que las conexiones a la 80.80.80.80 lleguen con origen 192.168.0.4 que corresponde a nuestra hme1, o las conexiones a 192.168.0.6. Es obvio que si tenemos un router por delante el primer problema es fácilmente solucionable con un SNAT en el router. Pero la segunda IP esta dentro de nuestro rango y por tanto no será pedida a través del router.</p>
<p>Para solucionarlo dentro de Solaris podemos obligar al sistema a que use una determinada IP o interfaz de red para ciertas o todas las direcciones según establezcamos el comando. (Con el <em>“-p”</em> las hago permanentes solo en Solaris 10)</p>
<p>Si queremos forzarlo por IP usaríamos:</p>
<p><span style="font-family: Courier; font-size: xx-small;"><strong><em>route -p add -host 80.80.80.80 192.168.0.1 -setsrc 192.168.0.4</em></strong></span></p>
<p>Si queremos forzarlo por interface:</p>
<p><em><strong><span style="font-family: Courier; font-size: x-small;">route -p add -host 80.80.80.80 192.168.0.1 -ifp hme1</span></strong></em></p>
<p><span style="color: #ff0000;">¡OJO que no se traga las interfaces virtuales.!</span></p>
<p>Si queremos que todas las conexiones usen una IP:</p>
<p><em><strong><span style="font-family: Courier; font-size: x-small;">route -p add default 192.168.0.1 -setsrc 192.168.0.4</span></strong></em></p>
<p>Para ver las entradas que hemos echo permanentes usariamos:</p>
<p><strong><em><span style="font-family: Courier; font-size: x-small;">route -p show</span></em></strong></p>
<p>En nuestro “<em>netstat –nr”</em> nos aparecería la entrada con un flag nuevo “S” como podemos ver a continuación:</p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="mso-ansi-language: en-us;" lang="EN-US"><span style="font-size: x-small;"><span style="font-family: Courier;">root@srv# netstat -nr </span> </span></span></p>
<p><span style="font-size: x-small;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="mso-ansi-language: en-us;" lang="EN-US"><span style="font-size: x-small;"><span style="font-family: Courier;">Routing Table: IPv4 </span> </span></span></p>
<p><span style="font-size: x-small;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="mso-ansi-language: en-us;" lang="EN-US"><span style="font-size: x-small;"><span style="font-family: Courier;"><span style="mso-spacerun: yes;"> </span>Destination<span style="mso-spacerun: yes;"> </span>Gateway<span style="mso-spacerun: yes;"> </span>Flags<span style="mso-spacerun: yes;"> </span>Ref<span style="mso-spacerun: yes;"> </span>Use<span style="mso-spacerun: yes;"> </span>Interface </span> </span></span></p>
<p><span style="font-size: x-small;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="font-size: x-small;"><span style="font-family: Courier;">default<span style="mso-spacerun: yes;"> </span>192.168.0.1<span style="mso-spacerun: yes;"> </span>UGHS<span style="mso-spacerun: yes;"> </span>1<span style="mso-spacerun: yes;"> </span>57<span style="mso-spacerun: yes;"> </span></span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="mso-ansi-language: en-us;" lang="EN-US"><span style="font-size: x-small;"><span style="font-family: Courier;">192.168.0.0<span style="mso-spacerun: yes;"> </span>192.168.0.3<span style="mso-spacerun: yes;"> </span>U<span style="mso-spacerun: yes;"> </span>1<span style="mso-spacerun: yes;"> </span>32 hme0<span style="mso-spacerun: yes;"> </span></span> </span></span></p>
<p><span style="font-size: x-small;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="mso-ansi-language: en-us;" lang="EN-US"><span style="font-size: x-small;"><span style="font-family: Courier;">192.168.1.0<span style="mso-spacerun: yes;"> </span>192.168.0.4<span style="mso-spacerun: yes;"> </span>U<span style="mso-spacerun: yes;"> </span>1<span style="mso-spacerun: yes;"> </span>0 hme1</span></span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="mso-ansi-language: en-us;" lang="EN-US"><span style="mso-ansi-language: en-us;" lang="EN-US"><span style="font-size: x-small;"><span style="font-family: Courier;">192.168.1.0<span style="mso-spacerun: yes;"> 192.168.0.5</span><span style="mso-spacerun: yes;"> </span>U<span style="mso-spacerun: yes;"> </span>1<span style="mso-spacerun: yes;"> </span>0 e1000g0 </span> </span></span></span></p>
<p><span style="font-size: x-small;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 8pt;"><span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: en-us; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: en-us; mso-bidi-language: ar-sa;" lang="EN-US"><span style="font-family: Courier; font-size: x-small;">127.0.0.1<span style="mso-spacerun: yes;"> </span>127.0.0.1<span style="mso-spacerun: yes;"> </span>UH<span style="mso-spacerun: yes;"> </span>43<span style="mso-spacerun: yes;"> </span>118940 lo0</span></span></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.vidanez.com%2F2009%2F05%2F27%2Finterfaz-o-ip-de-salida-por-defecto-en-solaris-set-default-output-interface%2F&amp;title=Interfaz%20de%20red%20o%20IP%20de%20salida%20por%20defecto%20en%20Solaris%2C%20Set%20default%20output%20Ethernet%20interface%20on%20Solaris" id="wpa2a_4"><img src="http://www.vidanez.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.vidanez.com/2009/05/27/interfaz-o-ip-de-salida-por-defecto-en-solaris-set-default-output-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

