Histórico da Página
| 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 should instanciashave deberánaccess tenerto accesothe asame unashared mismafolder, carpetawhere compartida,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, unasince the vezuser quelogged elin usuario inició sesión accediendo en una instancia, siempre seráby accessing in an instance, 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 de datos y cree una instanciaand create an 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: LosThe Solr 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;"> </span>Instalespan>Install lathe application aplicaciónby 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;">      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;">   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;"><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;">  </span> </p></li> <li><p> <span style="font-size: 10.0pt; line-height: 13.0pt;">Modifique>Change el valor de la propiedad de binding “wcm/globalDataDir” parathe value of the binding property "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;"><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;"><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 add elthe attribute atributo<em><em> instance-id="${jboss.node.name:node0}"</em> </span> </p> <p> </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;">   </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 la tablatable 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> </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;"> </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 la aplicación por el procedimiento normal, solamente<li>Install the application 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 “"<system-properties>”properties>", change modifiquethe la propiedadproperty "totvs/solrURL" “totvs/solrURL” informando la URL del Solr de la primeraby entering the Solr URL of 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 el valor de la propiedad dethe value of the 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;"><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;"><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> 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> </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 ("server IP") enter the IP deladdress 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 puertosports to parabe configurarconfigured:</p> <p> </p> <p>7777 yand 8888 para elfor Fluig Realtime:</p> <ul> <li>Ambos<li>Both deberánshould estarbe enin el Modo "Single" mode.</li> <li>Para<li>For <span style="font-size: 10.0pt; line-height: 13.0pt;">más>more informaciones acceda <a href="146183926.html">Configurando elinformation go to <a href="http://tdn.totvs.com/display/fluigeng/Configuring+Fluig+Realtime+for+execution+on+clusters">Configuring Fluig 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 sereither el 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> </p> <p> <img class="confluence-embedded-image" src="http://tdn.totvs.com/download/attachments/146180987/Config.png?version=1&modificationDate=1404149973000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/146180987/Config.png?version=1&modificationDate=1404149973000&api=v2"> </p> <p> </p> </div> |
Import HTML Content
Visão Geral
Conteúdo das Ferramentas