<?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>Micro blog dynamics AX &#187; oracle</title>
	<atom:link href="http://ax.nom.es/category/oracle/feed" rel="self" type="application/rss+xml" />
	<link>http://ax.nom.es</link>
	<description>WordPress weblog</description>
	<lastBuildDate>Fri, 20 Jan 2012 09:14:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Como crear un entorno de desarrollo desde una instalación en producción.</title>
		<link>http://ax.nom.es/sql/como-crear-un-entorno-de-desarrollo-desde-una-instalacion-en-produccion</link>
		<comments>http://ax.nom.es/sql/como-crear-un-entorno-de-desarrollo-desde-una-instalacion-en-produccion#comments</comments>
		<pubDate>Tue, 08 Jul 2008 10:28:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3.0]]></category>
		<category><![CDATA[4.0]]></category>
		<category><![CDATA[AOS]]></category>
		<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[backup]]></category>

		<guid isPermaLink="false">http://ax.nom.es/?p=65</guid>
		<description><![CDATA[Ahora q esta muy de moda lo del cambio contable por la nueva ley vamos a hacer un entorno de desarrollo. Nos encontramos en algunos casos que una cambio de Service pack o una actualización grave sobre producción representa una incompatibilidad entre el trabajo de los usuarios y las tareas de desarrollo, sin llegar a [...]]]></description>
			<content:encoded><![CDATA[<p>Ahora q esta muy de moda lo del cambio contable por la nueva ley vamos a hacer un entorno de desarrollo.</p>
<p>Nos encontramos en algunos casos que una cambio de Service pack o una actualización grave sobre producción representa una incompatibilidad entre el trabajo de los usuarios y las tareas de desarrollo, sin llegar a exagerar como las instalaciones que hacíamos cuando heramos esclavos de las consultoras y a la &#8220;grupy&#8221; financiera de turno se le ocurría de debíamos tener el entorno de producción, el de preproducción y el de desarrollo. No es mala idea tener un lugar en el que poder trabajar con libertad tanto para desarrollo como para pruebas funcionales.</p>
<p>Axapta básicamente esta compuesto por un código fuente que se almacena en unos directorios dentro de unos archivos específicos y una base de datos. Todo esto no funciona sin un programa que interprete estos archivos y los enlace con la base de datos.</p>
<p>De esta manera para hacer un entorno de desarrollo a partir de producción solo debemos mantener esta coherencia directorio base de datos.</p>
<p>Ejemplo practico.</p>
<p>Tenemos una instalación tipo, 3.0 spX con una base de datos SQL server X.</p>
<p>Nuestra instalación se encuentra situada en &#8220;C:\Navision\Axapta Application\Appl&#8221; dentro del directorio tenemos los directorios de las diferentes aplicaciones. Normalmente Standard y producción.</p>
<p>Copiando producción y renombrar el directorio como Test ya tendríamos la mitad de nuestro entorno de desarrollo.</p>
<p>Después solo hay que realizar una copia de seguridad de la base de datos completa y restaurarla con otro nombre.</p>
<p>El último paso seria configurar el cliente o el AOS para que accedan al nuevo entorno y sincronicen los posibles cambios.</p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/07/test_1.jpg"><img class="alignnone size-thumbnail wp-image-66" title="test_1" src="http://ax.nom.es/wp-content/uploads/2008/07/test_1-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/07/test_2.jpg"><img class="alignnone size-thumbnail wp-image-67" title="test_2" src="http://ax.nom.es/wp-content/uploads/2008/07/test_2-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/07/test_3.jpg"><img class="alignnone size-thumbnail wp-image-68" title="test_3" src="http://ax.nom.es/wp-content/uploads/2008/07/test_3-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/07/test_4.jpg"><img class="alignnone size-thumbnail wp-image-69" title="test_4" src="http://ax.nom.es/wp-content/uploads/2008/07/test_4-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/07/test_5.jpg"><img class="alignnone size-thumbnail wp-image-70" title="test_5" src="http://ax.nom.es/wp-content/uploads/2008/07/test_5-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ax.nom.es/sql/como-crear-un-entorno-de-desarrollo-desde-una-instalacion-en-produccion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Dynamics 2009</title>
		<link>http://ax.nom.es/axapta/microsoft-dynamics-2009</link>
		<comments>http://ax.nom.es/axapta/microsoft-dynamics-2009#comments</comments>
		<pubDate>Fri, 16 May 2008 09:04:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[5.0]]></category>
		<category><![CDATA[axapta]]></category>
		<category><![CDATA[dynamics]]></category>
		<category><![CDATA[dynamics2009]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://ax.nom.es/axapta/microsoft-dynamics-2009</guid>
		<description><![CDATA[Ya esta aquí, la pre-released de axapta 2009 y como lo han bautizado Dynamics 2009. Bueno puestos a probarla, pues hay va el resumen de la instalación, lo cierto que esta nueva versión tiene muchas cosas nuevas que iremos descubriendo y probando, así rápido de decir que podremos configurar en nuestros clientes el consumo de [...]]]></description>
			<content:encoded><![CDATA[<p>Ya esta aquí, la pre-released de axapta 2009 y como lo han bautizado Dynamics 2009. <o:p></o:p></p>
<p>Bueno puestos a probarla, pues hay va el resumen de la instalación, lo cierto que esta nueva versión tiene muchas cosas nuevas que iremos descubriendo y probando, así rápido de decir que podremos configurar en nuestros clientes el consumo de memoria en función de la instalación he incluso en que cpu queremos que se ejecute nuestro aos. También hay nuevos conceptos que la parte de desarrollo que consiguen una perfecta integración y nos facilitara la vida a todos los X frikis. <o:p></o:p></p>
<p><strong>Diario de una instalación.</strong></p>
<p>Herramientas:</p>
<p>-Windosw 2003 R2</p>
<p>-Oracle express 10 g</p>
<p>Después de hacernos con la copia de dynamics 2009 en el mercado negro por supuesto.</p>
<p>La tostamos por que queda muy chuli eso de ir enseñando el dvd por hay .. jejej&#8230;</p>
<p>y le damos cera a la instalación.</p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_1.JPG" title="dibujo_1.JPG"><img src="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_1.thumbnail.JPG" alt="dibujo_1.JPG" /></a></p>
<p>Uno empieza a darle a los botones todo loko de contento cuando se encuentra con que no se puede instalar en sql server 2000, el framework 3.5 y un par de cosillas mas, eso me pasa por darle y no leer las especificaciones de instalación.</p>
<p>Suerte que los pakistanies que ha puesto  M$ a trabajar en esta versión se han puesto las pilas y se nota que son de donde son&#8230; total q la cosa y a viene lista sin andar por hay buscando parches y otras fiestas&#8230;</p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_2.JPG" title="dibujo_2.JPG"><img src="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_2.thumbnail.JPG" alt="dibujo_2.JPG" /></a></p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_3.JPG" title="dibujo_3.JPG"><img src="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_3.thumbnail.JPG" alt="dibujo_3.JPG" /></a></p>
<p>Tras  pegarnos con la instalación de oracle, configurar el usuario y el active directori que no falte&#8230; (estos siempre barriendo pa su casa)</p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_5.JPG" title="dibujo_5.JPG"><img src="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_5.thumbnail.JPG" alt="dibujo_5.JPG" /></a></p>
<p>Una de las cosas mas interesantes que trae este pre-released es la posibilidad de consultar un log con todas las maldades que nos ha ido haciendo en el sistema, lo que proporcina una gran ayuda para solventar posibles errores.</p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_6.JPG" title="dibujo_6.JPG"><img src="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_6.thumbnail.JPG" alt="dibujo_6.JPG" /></a></p>
<p>Es importante que la instalación al igual que 4.0 nos envia bastante información al visor de sucesos.</p>
<p>Durante una de las pruebas el tablespaces de systema se nos quedo pequeño al configurar mal  la ubicación de tablas lo que nos produjo unos cuantos errores de sincronización, como unos 800, total que por suerte en 2 minutos se pudo averiguar la causa y solventarla.</p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_7.JPG" title="dibujo_7.JPG"><img src="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_7.thumbnail.JPG" alt="dibujo_7.JPG" /></a></p>
<p>Esta versión ya podemos decir que es un producto tecnologicamente mas competitivo y mas estable.</p>
<p><a href="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_8.JPG" title="dibujo_8.JPG"><img src="http://ax.nom.es/wp-content/uploads/2008/05/dibujo_8.thumbnail.JPG" alt="dibujo_8.JPG" /></a></p>
<p>Estas son los comandos para crear un tablespaces de pruebas y un usuario valido, a la vez que la autentificación  externa.</p>
<p>SQL&gt; alter system set os_authent_prefix =&#8221;OPS$&#8221; scope=SPFILE;<br />
SQL&gt; create user &#8220;OPS$DOM\ADMINISTRADOR&#8221; identified externally;</p>
<p>Usuario creado.</p>
<p>SQL&gt; grant connect to &#8220;OPS$DOM\ADMINISTRADOR&#8221;;</p>
<p>Concesi¾n terminada correctamente.</p>
<p>SQL&gt;<br />
create tablespace AXDATA datafile &#8216;C:\oraclexe\oradata\XE\AXDATA.dbf&#8217;<br />
size 50M autoextend on;</p>
<p>create tablespace AXINDEX datafile &#8216;C:\oraclexe\oradata\XE\AXINDEX.dbf&#8217;<br />
size 50M autoextend on;</p>
<p>Rápido y conciso no ???</p>
<p>No hay para mas que el jefe me pide cerrar  iva y no llegamos..</p>
<p>JAJJAJAJA</p>
]]></content:encoded>
			<wfw:commentRss>http://ax.nom.es/axapta/microsoft-dynamics-2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to your Oracle database as a multithreaded server</title>
		<link>http://ax.nom.es/axapta/how-to-your-oracle-database-as-a-multithreaded-server</link>
		<comments>http://ax.nom.es/axapta/how-to-your-oracle-database-as-a-multithreaded-server#comments</comments>
		<pubDate>Fri, 18 Apr 2008 17:30:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3.0]]></category>
		<category><![CDATA[axapta]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://ax.nom.es/axapta/how-to-your-oracle-database-as-a-multithreaded-server</guid>
		<description><![CDATA[Un documento de cuando AX era Daangard When setting up an Oracle database to work with Axapta it is often (normally) configured as a dedicated database server for the following reasons: · Until now this has been the default behavior of an Oracle database. · Early versions of the multithreaded server was known to be [...]]]></description>
			<content:encoded><![CDATA[<p class="Indent">Un documento de cuando AX era Daangard</p>
<p class="Indent"><span lang="EN-US">When setting up an Oracle database to work with Axapta it is often (normally) configured as a dedicated database server for the following reasons:</span></p>
<p class="Indent" style="margin: 0cm 0cm 0.0001pt 53.3pt; text-indent: -17.85pt"><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span>·<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">         </span></span></span><!--[endif]--><span lang="EN-US">Until now this has been the default behavior of<span>  </span>an Oracle database.</span></p>
<p class="Indent" style="margin: 0cm 0cm 0.0001pt 53.3pt; text-indent: -17.85pt"><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span>·<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">         </span></span></span><!--[endif]--><span lang="EN-US">Early versions of the multithreaded server was known to be unstable and with some annoying bugs. </span></p>
<p class="Indent"><span lang="EN-US">The backside of configuring the database as a dedicated server is:</span></p>
<p class="Indent" style="margin: 0cm 0cm 0.0001pt 53.55pt; text-indent: -17.85pt"><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span>·<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">         </span></span></span><!--[endif]--><span lang="EN-US">Each new database connection creates a process / thread on the server.</span></p>
<p class="Indent" style="margin: 0cm 0cm 0.0001pt 53.55pt; text-indent: -17.85pt"><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span>·<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">         </span></span></span><!--[endif]--><span lang="EN-US">Each new database connection allocates more memory for PGA purposes than a similar multithreaded connection.</span></p>
<p class="Indent"><span lang="EN-US">As you increase the number of concurrent users in an Axapta system you will also increase the administrative burden of the Oracle database server, because you will start new processes / threads on the database server for each new Axapta session. At one point this task of switching between processes / threads will be so overwhelming big part of the servers activity that it will “kill performance” on the server.</span></p>
<p class="Indent"><span lang="EN-US">Large Oracle Axapta installation with several hundred concurrent Axapta session are therefore more or less forced to configure their database as a multi threaded server.</span></p>
<p class="Indent"><span lang="EN-US">Axapta running in 2-tier mode has in average 3-4 database connection, which is why configuring your Oracle database as multithreaded will ease the database servers tasks of administer the processes / threads and decrease the consumption of memory. Even though Axapta in 2-tier mode is more expensive database connection wise compared to 3-tier mode you will still benefit from using multithreaded server when running Axapta in 3-tier mode.</span></p>
<p class="Indent"><span lang="EN-US">This document describes in short how to your Oracle database as a multithreaded server.</span></p>
<p><strong><span style="font-size: 14pt; font-family: Tahoma" lang="EN-US"><br style="page-break-before: always" clear="all" /> </span></strong></p>
<h1><a title="_Toc514473448" name="_Toc514473448"></a><a title="_Toc514473403" name="_Toc514473403"></a><a title="_Toc509645720" name="_Toc509645720"></a><a title="_Toc514482303" name="_Toc514482303"></a><span><span><span><!--[if !supportLists]--><span lang="EN-US"><span>1.<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">                    </span></span></span><!--[endif]--><span lang="EN-US">Oracle </span></span></span></span><span><span><span lang="EN-US">init.ora parameters</span></span></span></h1>
<p class="MsoNormal"><span lang="EN-US">If you want to understand the way a multithreaded server works compared to a dedicated server, then you can read about this in the following 2 Oracle manuals:</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 35.7pt; text-indent: -17.85pt"><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span>·<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">         </span></span></span><!--[endif]--><span lang="EN-US">Oracle Concepts</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 35.7pt; text-indent: -17.85pt"><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span>·<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">         </span></span></span><!--[endif]--><span lang="EN-US">Oracle Administrator guide</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The following Oracle kernel parameters must or can be specified in order to make the Oracle database server run in multithreaded server mode. A detailed description of these parameters can be found in the “Oracle Reference” manual.</span></p>
<p><strong>Parameters  </strong><br />
mts_dispatchers:   Controls the protocol and number of dispatcher processes started at instance start. In the most simple way you just specify the protocol and the number of dispatcher processes stated at instance start:<br />
·    mts_dispatcher=”(protocol=&lt;protocol&gt;)(dispatchers=&lt;n&gt;)”</p>
<p>&lt;protocol&gt; would typically be TCP and &lt;n&gt; is the number of dispatchers. You can specify multiple MTS_DISPATCHERS in the initialization file, but they must be adjacent to each other.</p>
<p>To specify that you want to start 5 dispatchers for the TCP/IP protocol at instance start you must specify as follows:<br />
·    mts_dispatcher=”(protocol=TCP)(dispatchers=5)”</p>
<p>mts_max_dispatchers:  Specifies the maximum number of dispatcher processes allowed to be running simultaneously. Default: 5 or the number of dispatchers configured, whichever is greater. For most systems, a value of 200 &#8211; 250 connections per dispatcher provides good performance.<br />
mts_servers :  Specifies the number of server processes that you want to create when an instance is started up. If system load decreases, this minimum number of servers is maintained. Therefore, you should take care not to set mts_servers too high at system startup.<br />
mts_max_servers:   Specifies the maximum number of shared server processes allowed to be running simultaneously. If artificial deadlocks occur too frequently on your system, you should increase the value.<br />
Default: Derived from mts_servers (either 20 or 2*mts_servers) .<br />
Tests in out benchmark lap shows that in order to avoid artificial deadlocks in a 3-tier environment you should specify mts_max_servers as 1.2 * Number of active Axapta sessions. If you have 500 concurrent Axapta sessions, then you should specify mts_max_servers to be 600.<br />
instance_name :  Name of the instance. Default value is the instance’s SID. NB! Due to a bug in Oracle 8.1.7 you must specify this parameter in order to run multithreaded server.</p>
<h1 style="margin: 0cm 0cm 0.0001pt; text-indent: 0cm"><a title="_Toc509645721" name="_Toc509645721"></a><a title="_Toc514473449" name="_Toc514473449"></a><a title="_Toc514473404" name="_Toc514473404"></a><span><span><span lang="EN-US"><o:p> </o:p></span></span></span></h1>
<h1 style="margin-top: 0cm"><span><span><span><a title="_Toc514482304" name="_Toc514482304"></a><!--[if !supportLists]--><span lang="EN-US"><span>2.<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">                    </span></span></span><!--[endif]--><span lang="EN-US">Start of multithreaded </span></span></span></span><span><span lang="EN-US">database environment</span></span></h1>
<p class="MsoNormal"><span lang="EN-US">After you has changed the Oracle initialization parameters in your init.ora file, then you must bounce the database (shutdown and start again). This you have to do to let the dispatcher processes be registered by the listener process and thereby start the database as multithreaded. When running a multithreaded database you must always start the listener processes before you start the database. If the database is started before the listener, then the database will start the dispatcher processes, but because the listener don’t know their existence the database will run as a dedicated server.</span></p>
<p class="MsoNormal"><span lang="EN-US">Check in your alert log for your database that the dispatchers has started. Just after the start banners of the database and non-default system parameters you should find 2 lines looking something like this:</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 35.45pt"><strong><span style="font-size: 8pt" lang="EN-US">starting up 5 shared server(s) &#8230;<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 35.45pt"><strong><span style="font-size: 8pt" lang="EN-US">starting up 2 dispatcher(s) for network address &#8216;(ADDRESS=(PARTIAL=YES)(PROTOCOL=tcp))&#8217;&#8230;<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 35.45pt"><strong><span style="font-size: 8pt" lang="EN-US"><o:p> </o:p></span></strong></p>
<p class="MsoNormal"><span lang="EN-US">To make sure that the listener has registered the dispatcher processes correctly start the listener control utility and list services supported by the listener (bold text indicates the commands you have to execute):</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">C:\&gt;<strong>lsnrctl</strong><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">LSNRCTL for 32-bit Windows: Version 8.1.7.0.0 &#8211; Production on 14-MAY-2001 12:37:27<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">(c) Copyright 1998 Oracle Corporation.<span>  </span>All rights reserved.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">Welcome to LSNRCTL, type &#8220;help&#8221; for information.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">LSNRCTL&gt; <strong>set password oracle</strong><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">The command completed successfully<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">LSNRCTL&gt; <strong>services<o:p></o:p></strong></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=wk0-kma-dev-nt4)(PORT=1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">21)))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">Services Summary&#8230;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>  </span>AXDB<span>          </span>has 3 service handler(s)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>    </span>DEDICATED SERVER established:0 refused:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>      </span>LOCAL SERVER<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>    </span>DISPATCHER established:0 refused:0 current:0 max:1022 state:ready<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>      </span>D001 &lt;machine: WK0-KMA-DEV-NT4, pid: 338&gt;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>      </span>(ADDRESS=(PROTOCOL=tcp)(HOST=wk0-kma-dev-nt4.intern.dd.dk)(PORT=1196))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>    </span>DISPATCHER established:0 refused:0 current:0 max:1022 state:ready<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>      </span>D000 &lt;machine: WK0-KMA-DEV-NT4, pid: 337&gt;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><span>      </span>(ADDRESS=(PROTOCOL=tcp)(HOST=wk0-kma-dev-nt4.intern.dd.dk)(PORT=1195))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US">The command completed successfully<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><span style="font-size: 8pt; font-family: 'Courier New'" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In the case above is the listener named “listener” (the default value) and there is no database explicit specified in the listener SID_LIST_&lt;listener&gt; in the listener.ora file.</span></p>
<p class="MsoNormal"><span lang="EN-US"><span> </span>To check that the connection is established in shared mode you can query services again and check if the established counter for one of the dispatchers has been increased.<br style="page-break-before: always" clear="all" /> The listener.ora file used in the above shown example look like:</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"># LISTENER.ORA Network Configuration File: D:\ORACLE\NETWORK\ADMIN\listener.ora<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"># Generated by Oracle configuration tools.<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA">LISTENER =<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>  </span>(DESCRIPTION_LIST =<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>    </span>(DESCRIPTION =<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>      </span>(ADDRESS = (PROTOCOL = TCP)(HOST = wk0-kma-dev-nt4)(PORT = 1521))<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>    </span>)<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>    </span>(DESCRIPTION =<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>      </span>(ADDRESS = (PROTOCOL = IPC)(KEY = WK0KMA))<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>    </span>)<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA"><span>  </span>)<o:p></o:p></span></strong></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt"><strong><span style="font-size: 8pt; font-family: 'Courier New'" lang="DA">PASSWORDS_LISTENER= (oracle)<o:p></o:p></span></strong></p>
<p class="Body"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="Body"><span lang="EN-US">From Axapta point of view you don’t have to change anything to utilize the new setup at the database unless you for some reason wants to connect to the database in dedicated mode. To do so you have make a new entry in your tnsnames.ora file where you (SERVER=DEDICATED) in your CONNECT_DATA section for that entry.<o:p></o:p></span></p>
<p class="MsoBodyText3"><span lang="DA"><o:p> </o:p></span></p>
<p class="MsoBodyText3"><strong><span lang="DA">AXDBTCP.WORLD = (DESCRIPTION = <o:p></o:p></span></strong></p>
<p class="MsoBodyText3"><strong><span lang="DA"><span>                   </span>(ADDRESS_LIST = <o:p></o:p></span></strong></p>
<p class="MsoBodyText3"><strong><span lang="DA"><span>                      </span>(ADDRESS = (PROTOCOL = TCP)(Host = dbserver)(Port = 1521))<o:p></o:p></span></strong></p>
<p class="MsoBodyText3"><strong><span lang="DA"><span>                   </span>) <o:p></o:p></span></strong></p>
<p class="MsoBodyText3"><strong><span lang="DA"><span>                   </span>(CONNECT_DATA = (SID = AXDB)(SERVER=DEDICATED))<o:p></o:p></span></strong></p>
<p class="MsoBodyText3"><strong><span lang="DA"><span>     </span><span>           </span>)<o:p></o:p></span></strong></p>
<p class="Body"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="Body"><span lang="EN-US">Be aware that for Oracle databases running on a Windows server is TCP/IP the only supported protocol for multithreaded connections.<o:p></o:p></span></p>
<p><code></code></p>
]]></content:encoded>
			<wfw:commentRss>http://ax.nom.es/axapta/how-to-your-oracle-database-as-a-multithreaded-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalación de AX Dinamics 4.0 con oracle express</title>
		<link>http://ax.nom.es/uncategorized/instalacion-de-ax-dinamics-40-con-oracle-express</link>
		<comments>http://ax.nom.es/uncategorized/instalacion-de-ax-dinamics-40-con-oracle-express#comments</comments>
		<pubDate>Fri, 15 Feb 2008 10:04:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3.0]]></category>
		<category><![CDATA[4.0]]></category>
		<category><![CDATA[axapta]]></category>
		<category><![CDATA[dynamics]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Instalación]]></category>

		<guid isPermaLink="false">http://ax.nom.es/?p=30</guid>
		<description><![CDATA[Desde este blog apostamos más por la utilidad y el buen hacer que por las facturas que van a cobrar las consultoras en ventas de productos Microsoft. Hemos de reconocer que AX es un buen producto como “erp” que ya se ha asentado en nuestro país y que día a día es una solución tanto [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Georgia">Desde este blog apostamos más por la utilidad y el buen hacer que por las facturas que van a cobrar las consultoras en ventas de productos Microsoft. Hemos de reconocer que AX es un buen producto como “erp” que ya se ha asentado en nuestro país y que día a día es una solución tanto para la pequeña como media empresa. <o:p></o:p></span><span style="font-family: Georgia">A la hora de implantar un Ax normalmente los que deciden que base de datos o plataforma se va a utilizar, suelen ser los comerciales que le venden la moto al pobre cliente que no sabe realmente que necesita ya <span> </span>que no tiene experiencia sobre en el tema. <o:p></o:p></span><span style="font-family: Georgia">Aprovechando esta carencia algún que otro desalmado le coloca un sql Server solo para sacarse unas perrillas de más y de paso subir un par de puntos en el ranking de “Partners“, o tal vez por puro desconocimiento o falta de profesionalidad. <o:p></o:p></span><span style="font-family: Georgia">Para nosotros y con la experiencia adquirida desde la versión 2.1, <span> </span>desde antes del año 2000 recomendamos “oracle” para las instalaciones que requieran un volumen de movimientos <span> </span>grande. Bases de datos que vayan a superar los 30 o 50 GB no en su instalación base, sino en el crecimiento que sufrirá tras su puesta en producción.<o:p></o:p></span><span style="font-family: Georgia"><o:p> </o:p></span><span style="font-family: Georgia">A lo que vamos. <o:p></o:p></span><span style="font-family: Georgia">La instalación de AX 4.0 es muy sencilla y solamente necesitamos una maquina 2003 server r2 actualizada y una base de datos en este caso oracle Express que aun con una limitación de 4 GB <span> </span>nos servirá de ejemplo. <o:p></o:p></span><span style="font-family: Georgia">http://www.oracle.com/technology/software/products/database/xe/index.html<o:p></o:p></span><span style="font-family: Georgia">Tras instalar oracle Express que no es muy difícil continuaremos con la de AX 4.0, uno de los pasos en la instalación es la elección de la base de datos, en este instante nos solicitara una serie de datos, el listener, el puerto tcp o el usuario y la contraseña de la base de datos. <o:p></o:p></span><span style="font-family: Georgia">Ax necesita que la autentificación de base de datos la realice el sistema operativo. Para conseguir esto solo necesitamos cambiar el parámetro de XE <o:p></o:p></span></p>
<pre><font size="2">os_authent_prefix<span>  </span><o:p></o:p></font></pre>
<p><span style="font-family: Georgia">Con un prefijo tipo ‘ops$’ nos sevira, <span> </span>de manera que oracle sepa identificar si el usuario del SO que solicita la conexión esta creado en oracle autorizando el acceso. <o:p></o:p></span><span style="font-family: Georgia"><o:p> </o:p></span><span style="font-family: Georgia">Crearemos un usuario<span>  </span>en oracle como este:<o:p></o:p></span></p>
<pre><span lang="EN-GB"><font size="2">-- Windows<o:p></o:p></font></span></pre>
<pre><span lang="EN-GB"><font size="2">CREATE USER "OPS$DOMINIO.COM\DBO" IDENTIFIED EXTERNALLY;<o:p></o:p></font></span></pre>
<pre><span lang="EN-GB"><font size="2">GRANT CONNECT TO "OPS$DOMINIO.COM\DBO";<o:p></o:p></font></span></pre>
<p><span style="font-family: Georgia">Crearemos un usuario en nuestro dominio en este caso DBO .<o:p></o:p></span><span style="font-family: Georgia">Oracle &#8211;&gt; OPS$dominio\DBO<o:p></o:p></span><span style="font-family: Georgia">Win &#8211;&gt; DBO<o:p></o:p></span><span style="font-family: Georgia">Y podremos finalizar la instalación.<o:p></o:p></span><span style="font-family: Georgia">Ni que decir tiene que debemos crear un tablespace de datos otro de indices etc. (Vamos lo típico en estos casos).<o:p></o:p></span><span style="font-family: Georgia"><a href="http://www.oracle-base.com/articles/misc/OsAuthentication.php">http://www.oracle-base.com/articles/misc/OsAuthentication.php</a><o:p></o:p></span><span style="font-family: Georgia"><o:p> </o:p></span><span style="font-family: Georgia">Para finalizar recomendaros que ORACLE + SUSE Linux <span> </span>+ AX es la mejor combinación para un optimo rendimiento de la instalación y evitar los sustos que nos dará Microsoft con el día a día que ya sabemos todos. <o:p></o:p></span><span style="font-family: Georgia"><o:p> </o:p></span><span style="font-family: Georgia">Un saludo.<o:p></o:p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://ax.nom.es/uncategorized/instalacion-de-ax-dinamics-40-con-oracle-express/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

