Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.
HTML

<div id="main-content" class="wiki-content group">
	<h1 id="FluigemLoadBalancecomMicrosoftNLB-Consideraçõesiniciais">Consideraciones>Initial
		iniciales<considerations</h1>
	<ul>
		<li>El servicio de indexación<li>There has to be only one indexation service (Solr) precisa ser único yto be
			compartidoshared porby todasall las instanciasinstances, porso loit tantomust sebe debeisolated aislarin enanother
			otro ambienteenvironment;</li>
		<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Todas>All
				lasinstances instanciasshould deberánhave teneraccess accesoto athe unasame mismashared carpeta compartida,folder, where the
				dondefile serásystem el repositorio de archivos del sistemarepository is;</span></li>
		<li>El<li>The bancodatabase demust datosbe debethe sersame únicoone parafor todasall las instanciasinstances;</li>
		<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Es>You
				precisoneed mantenerto afinidadmaintain desession sesiónaffinity, esthat deciris, since unathe vezuser quelogged elin
				usuarioby inicióaccessing sesiónin accediendoan eninstance, una instancia, siempre seráthey will always be directed to the
				direccionado a la misma instanciasame instance.</span></li>
	</ul>
	<h1 id="FluigemLoadBalancecomMicrosoftNLB-Preparandoambiente">Preparar>Preparing
		Entorno...<the environment</h1>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">Antes de>Before
			comenzarstarting lathe instalacióninstallation, esyou precisoneed estarto conprepare elthe ambienteenvironment. preparado.Do
			Hagathe lo siguientefollowing:</span>
	</p>
	<ol>
		<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Instale>Install
				elthe bancodatabase deand datoscreate y cree una instanciaan instance;</span></li>
		<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Instale>Install
				elthe memcacheddistribution estándarstandard dememcached laand distribuciónif ynecessary siset es necesario haga las
				configuracionesit up;</span></li>
		<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Elija>Choose
				unaa folder carpetaand ya unserver servidorand ymake hágalait accesibleaccessible ato todasall lasthe máquinasmachines
				que harán parte delthat will be part of the Load Balancer.</span></li>
	</ol>
	<h1 id="FluigemLoadBalancecomMicrosoftNLB-Instalandoprimeironó">Instalando>Installing
		elthe primerfirst nudo<node</h1>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">Para>For
			efectossimplification de simplificaciónpurposes, estethis tutorial consideraráwill assume quethat: The LosSolr and
			servidorRealtime servers Solrto ybe Realtimeused quewill sebe usaránthose seráninstalled loson instaladosthat ennode; esethe
			nudo;installation lawill instalaciónbe semade realizaráin enthe lastandard carpetafolder estándar
			(“c("c:\fluig”fluig").</span>
	</p>
	<ol>
		<li><span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;</span>Instalespan>Install
			lathe aplicaciónapplication by porthe elnormal procedimientoprocedure normal,and solamentejust tomando el
			cuidado debe careful to:<br />
			<ol>
				<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Informe>Enter
						lathe URLcorrect correcta del banco de datosdatabase URL;</span></li>
				<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Informe>Enter
						lathe correct URL correctafor parathe elmemcached servidor memcachedserver.</span><br /> <span
					<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span></li>
			</ol></li>
		<li>Haga<li>Make unaa copiacopy deof lathe carpetafolder “apps”"apps" (localizada en
			located at \fluig\jboss) a otra llamada “appslb”to
			the one called "appslb";<br /> <span
		<span 	style="font-size: 10.0pt; line-height: 13.0pt;">&#160; &#160;
				&#160; xcopy apps appslb /s/e</span><br /> <span
		<span 	style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
		</li>
		<li>Haga<li>Make a unacopy copiaof dethe lafolder carpeta"standalone" “standalone”to athe otraone llamadacalled
			“standalone"standalone-node1”node1".<br /> <span
		<span 	style="font-size: 10.0pt; line-height: 13.0pt;">&#160;
				&#160;cp -Rp standalone standalone-node1</span><br /> <span
		<span 	style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
		</li>
		<li>Edite<li>Edit the elfile archivo
			standalone-node1\/configuration\/standalone.xml:<br />
			<ol>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">En el>In
							the subsystem “com"com.totvs.technology.wcm”wcm" agregueadd elthe atributo"dir" “dir”attribute
							apuntandopointing ato lathe carpetafolder “nodelb”. Se verá así"nodelb". It will look like this:</span>
					</p>
					<div class="code panel pdl" style="border-width: 1px;">
						<div class="codeContent panelContent pdl">
							<pre class="theme: Confluence; brush: html/xml; gutter: false"
								style="font-size: 12px;">&lt;subsystem xmlns="urn:com.totvs.technology.wcm:1.0" refresh="15" dir="/fluig/jboss/appslb"/></pre>
						</div>
					</div>
					<p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;&#160;</span>
					</p></li>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">Modifique>Change
							elthe valorvalue deof lathe propiedadbinding de binding “wcm/globalDataDir” paraproperty "wcm/globalDataDir" to point to
							apuntarthe afolder lashared carpetabetween compartida entre las instanciasthe instances:</span>
					</p>
					<div class="code panel pdl" style="border-width: 1px;">
						<div class="codeContent panelContent pdl">
							<pre class="theme: Confluence; brush: html/xml; gutter: false"
								style="font-size: 12px;">&lt;simple name="java:global/wcm/globalDataDir" value="{carpetapasta global}"/></pre>
						</div>
					</div>
					<p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
					</p></li>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">La>The
							propiedadproperty “wcm"wcm/applicationUploadDir”applicationUploadDir" debeshould apuntarpoint ato lathe mismasame
							carpeta"nodelb" “nodelb”folder:</span>
					</p>
					<div class="code panel pdl" style="border-width: 1px;">
						<div class="codeContent panelContent pdl">
							<pre class="theme: Confluence; brush: html/xml; gutter: false"
								style="font-size: 12px;">&lt;simple name="java:global/wcm/applicationUploadDir" value="/fluig/jboss/appslb"/></pre>
						</div>
					</div>
					<p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
					</p></li>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">En el>In
							the sysbsystem “<"</span><a 
							style="font-size: 10.0pt; line-height: 13.0pt;"
							 rel="nofollow">jboss:domain:web”</a><spanweb"
							</a><span style="font-size: 10.0pt; line-height: 13.0pt;"> agregar&#160;add
							elthe attribute atributo<em><em> instance-id="${jboss.node.name:node0}"</em>
						</span>
					</p>
					<p>&#160;</p></li>
			</ol>
		</li>
		<li><p>En<li><p>In lathe carpetafolder “c:\fluig\jboss\bin”, creecreate elthe script
				“node1"node1.bat”bat". EnIn “ip-do-servidor” coloque la dirección("server IP") enter the IP deladdress
				servidorof the dondeserver elwhere Fluig se está ejecutando;is running.</p>
			<div class="code panel pdl" style="border-width: 1px;">
				<div class="codeContent panelContent pdl">
					<pre class="theme: Confluence; brush: html/xml; gutter: false"
						style="font-size: 12px;">call standalone.bat -c standalone.xml -b {ip-do-servidor} -Djboss.server.base.dir=..\standalone-node1 -Djboss.node.name=node1 -Djboss.socket.binding.port-offset=100</pre>
				</div>
			</div></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">Inicie>Start
					elthe primerfirst nudonode porwith elthe script “node1"node1.bat”sh":</span>
			</p>
			<div class="code panel pdl" style="border-width: 1px;">
				<div class="codeContent panelContent pdl">
					<pre class="theme: Confluence; brush: html/xml; gutter: false"
						style="font-size: 12px;">node1.bat</pre>
				</div>
			</div>
			<p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;
					&#160;</span>
			</p></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">Después>After
					de iniciado y conseguir iniciar sesión con el usuario “wcmadmin”,you start and are able to log in as the user "wcmadmin", drop
					derribe el Fluig;</span>
			</p>
			<p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
			</p></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">Conecte>Connect
					ento elthe bancodatabase deand datosset ythe establezcavalue elof valorthe del campofield server_url, from dethe
					latable tabla wcm_configuration. The Lasaved URL guardadacontains contienethe el8080 puertoport,
					8080, modifique el valor para no contener el puerto (o modifiquechange the value to not contain the port (or change it to the
					para el puerto del apache, enport elif casoit queis nonot estéon en el puerto 8080 port);</span>
			</p>
			<p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
			</p></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">Inicie>Start
					el Fluig nuevamenteagain porwith elthe script “node1"node1.bat”bat";</span>
			</p></li>
	</ol>
	<h1
		id="FluigemLoadBalancecomMicrosoftNLB-Criandoumsegundonónamesmainstalação">Creando>Creating
		una segundosecond nudonode enin lathe mismasame instalación<installation</h1>
	<p>&#160;</p>
	<ol>
		<li><p>Haga<li><p>Make unaa copiacopy deof lathe carpetafolder “standalone-node1” para"standalone-node1" to the
				otraone llamadacalled “standalone"standalone-node2”node2".</p>
			<div class="code panel pdl" style="border-width: 1px;">
				<div class="codeContent panelContent pdl">
					<pre class="theme: Confluence; brush: html/xml; gutter: false"
						style="font-size: 12px;">xcopy standalone-node1 standalone-node2 /s/e</pre>
				</div>
			</div>
			<p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;</span>
			</p></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">Excluya> From
					dethe la carpeta “apps” el archivo “foundationfolder "apps", delete the file
					"foundation-addon-indexer-web.war”,
					que es el servidor Solr.war", which is from the Solr server;</span>
			</p>
			<p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
			</p></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">En>In lathe
					pastafolder “c:\fluig\jboss\bin”, creecreate elthe script “node2"node2.bat”bat". EnIn
					“ip-do-servidor” coloque la dirección ("server IP") enter the IP deladdress servidorof dondethe elserver
					where Fluig seis está ejecutandorunning.</span>
			</p>
			<div class="code panel pdl" style="border-width: 1px;">
				<div class="codeContent panelContent pdl">
					<pre class="theme: Confluence; brush: html/xml; gutter: false"
						style="font-size: 12px;">call standalone.sh -c standalone.xml -b {ip-do-servidor} -Djboss.server.base.dir=..\standalone-node2 -Djboss.node.name=node2 -Djboss.socket.binding.port-offset=200</pre>
				</div>
			</div></li>
	</ol>
	<h1
		id="FluigemLoadBalancecomMicrosoftNLB-Criandoumterceironóemoutramáquina">Creando>Creating
		una tercerthird nudonode enon otraanother máquina<machine</h1>
	<ol>
		<li>Instale<li>Install lathe aplicación por el procedimiento normal, solamenteapplication by the normal procedure and just be
			tomando el cuidado decareful to:<br />
			<ol>
				<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Informe>Enter
						lathe URLcorrect correcta del banco de datosdatabase URL;</span></li>
				<li><span style="font-size: 10.0pt; line-height: 13.0pt;">Informe>Enter
						lathe correct URL correctafor parathe elmemcached servidor memcachedserver.</span><br /> <span
				<span 	style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span></li>
			</ol>
		</li>
		<li>Edite<li>Edit elthe archivofile standalone\configuration\standalone.xml:<br />
			<ol>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">Aun>Still
							enin "&lt;system-properties>”properties>", modifiquechange la propiedadthe property "totvs/solrURL"
							“totvs/solrURL” informando laby entering the Solr URL del Solr de la primeraof the first instance. Just change the
							instancia.IP Simplementefor cambiethe elserver IP porof elthe IP del servidor de la
							primera instanciafirst instance.</span>
					</p>
					<p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
					</p></li>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">Modifique>Change
							elthe valorvalue deof lathe propiedadbinding de binding “wcm/globalDataDir” paraproperty "wcm/globalDataDir" to point to
							apuntarthe afolder lashared carpetabetween compartida entre las instanciasthe instances:</span>
					</p>
					<div class="code panel pdl" style="border-width: 1px;">
						<div class="codeContent panelContent pdl">
							<pre class="theme: Confluence; brush: html/xml; gutter: false"
								style="font-size: 12px;">&lt;simple name="java:global/wcm/globalDataDir" value="{carpetapasta global}"/></pre>
						</div>
					</div>
					<p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
					</p></li>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">Modifique>Change
							elthe valorvalue deof lathe propiedadbinding de binding “wcm/cacheServerAddress” paraproperty "wcm/cacheServerAddress" to
							apuntarpoint to althe memcached:</span>
					</p>
					<div class="code panel pdl" style="border-width: 1px;">
						<div class="codeContent panelContent pdl">
							<pre class="theme: Confluence; brush: html/xml; gutter: false"
								style="font-size: 12px;">&lt;simple name="java:global/wcm/cacheServerAddress" value="{ip servidor 1}:11211"/></pre>
						</div>
					</div>
					<p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
					</p></li>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">Modificar>Change
							lasthe propiedadesbinding de binding “nodeproperties "node.chat.url”url" yand “node"node.realtime.url”url" to
							parapoint apuntarto althe IP deof lathe primerafirst instanciainstance.</span>
					</p>
					<p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
					</p></li>
				<li><p>
						<span style="font-size: 10.0pt; line-height: 13.0pt;">En el>In
							the sysbsystem “</span><a 
							style="font-size: 10.0pt; line-height: 13.0pt;"
							 rel="nofollow">jboss:domain:web”</a><span
							style="font-size: 10.0pt; line-height: 13.0pt;"> add agregarthe
							el atributo<em>attribute<em>&#160;instance-id="${jboss.node.</em>
						</span><em><a href="http://namenode0"
							style="font-size: 10.0pt; line-height: 13.0pt;"
							class="external-link" rel="nofollow">name:node0</a><span
							style="font-size: 10.0pt; line-height: 13.0pt;">}"</span></em>
					</p>
					<p>&#160;</p></li>
			</ol></li>
		<li><p>En<li><p>In lathe carpetafolder “c:\fluig\jboss\bin”, creecreate elthe script
				“node3"node3.bat”bat". EnIn “ip-do-servidor” coloque la dirección IP del("server IP") enter the IP address
				servidorof the dondeserver elwhere Fluig seis está ejecutandorunning.</p>
			<div class="code panel pdl" style="border-width: 1px;">
				<div class="codeContent panelContent pdl">
					<pre class="theme: Confluence; brush: html/xml; gutter: false"
						style="font-size: 12px;">call standalone.bat -c standalone.xml -b {ip-do-servidor} -Djboss.server.base.dir=..\standalone-node3 -Djboss.node.name=node3</pre>
				</div>
			</div>
			<p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
			</p></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">Excluya> From
					dethe la carpeta “apps” el archivo “foundationfolder "apps", delete the file
					"foundation-addon-indexer-web.war”,
					que es el servidor Solr.war", which is from the Solr server;</span>
			</p>
			<p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
			</p></li>
		<li><p>
				<span style="font-size: 10.0pt; line-height: 13.0pt;">Inicie>Start
					elthe primerfirst nudonode porwith elthe script “node3"node3.bat”sh":</span>
			</p>
			<div class="code panel pdl" style="border-width: 1px;">
				<div class="codeContent panelContent pdl">
					<pre class="theme: Confluence; brush: html/xml; gutter: false"
						style="font-size: 12px;">node3.bat</pre>
				</div>
			</div></li>
	</ol>
	<h1 id="FluigemLoadBalancecomMicrosoftNLB-ConfigurandooMicrosoftNLB">Configurando>Configuring
		el Microsoft NLB</h1>
	<p>Existen<p>There are 3 ports puertosto parabe configurarconfigured:</p>
	<p>&#160;</p>
	<p>7777 yand 8888 para elfor Fluig Realtime:</p>
	<ul>
		<li>Ambos<li>Both deberánshould estarbe en elin Modo "Single" mode.</li>
		<li>Para<li>For&#160;<span
			style="font-size: 10.0pt; line-height: 13.0pt;">más>more
				informacionesinformation go accedato <a href="146183926.html">Configurando>Configuring elFluig
					Fluig Realtime parafor ejecucióncluster en cluster<execution</a>.
		</span></li>
	</ul>
	<p>Puerto<p>HTTP HTTPport parafor elthe Fluig Server</p>
	<ul>
		<li>Este<li>This puertois sueleusually ser eleither 8080 oor solojust 80.</li>
		<li>Este<li>This puertodoor debemust estarbe enin elthe modo"Multiple "Múltiplemode" yand afinidad"Single
			affinity"Single".</li>
	</ul>
	<p>&#160;</p>
	<p>
		<img class="confluence-embedded-image"
			src="http://tdn.totvs.com/download/attachments/146180987/Config147095914.png?version=1&modificationDate=1404149973000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/146180987/Config147095914.png?version=1&modificationDate=1404149973000&api=v2">
	</p>
	<p>&#160;</p>
</div>

">
	</p>
	<p>&#160;</p>
</div>
<div class="pageSection group">
	<div class="pageSectionHeader">
		<h2 id="attachments" class="pageSectionTitle">Attachments:</h2>
	</div>
	<div class="greybox" align="left">
		<img src="images/icons/bullet_blue.gif" height="8" width="8" alt="" />
		<a href="attachments/146180987/147095914.png">Config.png</a>
		(image/png) <br />
	</div>
</div>