Hi, Dmitry server nodes start with ignite-server.xml and client nodes with ignite-client.xml server node hosts: v-hp-lk-dcn01, v-hp-lk-dcn02
<ignite-client.xml> <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="workDirectory" value="c:\\work\\ignite\\workdir" /> <property name="metricsLogFrequency" value="0" /> <property name="systemThreadPoolSize" value="2" /> <property name="publicThreadPoolSize" value="1" /> <property name="queryThreadPoolSize" value="1" /> <property name="serviceThreadPoolSize" value="1" /> <property name="stripedPoolSize" value="1" /> <property name="dataStreamerThreadPoolSize" value="1" /> <property name="sslContextFactory"> <bean class="com.xxx.SslContextFactory"> <property name="keyStoreFilePath" value="\\\\s-hp-fs01\\dev$\\config\\keystore.jks" /> <property name="keyStorePassword" value="null" /> <!-- password loaded from application.properties --> <property name="trustManagers"> <bean class="org.apache.ignite.ssl.SslContextFactory" factory-method="getDisabledTrustManager" /> </property> </bean> </property> <property name="gridLogger"> <bean class="org.apache.ignite.logger.log4j2.Log4J2Logger"> <constructor-arg type="java.lang.String" value="\\\\S-hp-fs01\\dev$\\config\\log4j2.xml"/> </bean> </property> <property name="cacheConfiguration"> <list> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="RefreshToken"/> <property name="dataRegionName" value="auth_durable_region"/> <property name="atomicityMode" value="ATOMIC"/> <property name="writeSynchronizationMode" value="FULL_ASYNC"/> <property name="cacheMode" value="PARTITIONED"/> <property name="backups" value="1"/> <property name="eagerTtl" value="true"/> </bean> <!-- ... other caches ... --> </list> </property> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="metricsEnabled" value="true" /> <property name="storagePath" value="d:\\ignite-data"/> <property name="walPath" value="f:\\ignite-wal"/> <property name="walArchivePath" value="f:\\ignite-wal\\archive"/> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="default_mem_region"/> <property name="persistenceEnabled" value="false"/> <property name="maxSize" value="#{4L * 1024 * 1024 * 1024}"/> <!-- 4 GB --> <property name="metricsEnabled" value="true" /> </bean> </property> <property name="dataRegionConfigurations"> <list> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="auth_durable_region"/> <property name="persistenceEnabled" value="true"/> <property name="maxSize" value="#{4L * 1024 * 1024 * 1024}"/> <!-- 4 GB --> <property name="metricsEnabled" value="true" /> </bean> </list> </property> </bean> </property> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="localPort" value="47500"/> <property name="localPortRange" value="4"/> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> <property name="addresses"> <list> <value>v-hp-lk-dcn01:47500..47504</value> <value>v-hp-lk-dcn02:47500..47504</value> </list> </property> </bean> </property> </bean> </property> </bean> </beans> <ignite-server.xml> <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="workDirectory" value="c:\\work\\ignite\\workdir" /> <property name="sslContextFactory"> <bean class="com.xxx.SslContextFactory"> <property name="keyStoreFilePath" value="\\\\s-hp-fs01\\dev$\\config\\keystore.jks" /> <property name="keyStorePassword" value="null" /> <!-- password loaded from application.properties --> <property name="trustManagers"> <bean class="org.apache.ignite.ssl.SslContextFactory" factory-method="getDisabledTrustManager" /> </property> </bean> </property> <property name="gridLogger"> <bean class="org.apache.ignite.logger.log4j2.Log4J2Logger"> <constructor-arg type="java.lang.String" value="\\\\S-hp-fs01\\dev$\\config\\ignite-log4j2.xml" /> </bean> </property> <property name="cacheConfiguration"> <list> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="RefreshToken" /> <property name="dataRegionName" value="auth_durable_region" /> <property name="atomicityMode" value="ATOMIC" /> <property name="writeSynchronizationMode" value="FULL_ASYNC" /> <property name="cacheMode" value="PARTITIONED" /> <property name="backups" value="1" /> <property name="eagerTtl" value="true" /> <!-- true: clean expired items in background, false: on next access --> </bean> <!-- ... other caches ... --> </list> </property> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="metricsEnabled" value="true" /> <property name="storagePath" value="d:\\ignite-data" /> <property name="walPath" value="f:\\ignite-wal" /> <property name="walArchivePath" value="f:\\ignite-wal\\archive" /> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="default_mem_region" /> <property name="persistenceEnabled" value="false" /> <property name="maxSize" value="#{4L * 1024 * 1024 * 1024}" /> <!-- 4 GB --> <property name="metricsEnabled" value="true" /> </bean> </property> <property name="dataRegionConfigurations"> <list> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="auth_durable_region" /> <property name="persistenceEnabled" value="true" /> <property name="maxSize" value="#{4L * 1024 * 1024 * 1024}" /> <!-- 4 GB --> <property name="metricsEnabled" value="true" /> </bean> </list> </property> </bean> </property> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="localPort" value="47500" /> <property name="localPortRange" value="4" /> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> <property name="addresses"> <list> <value>v-hp-lk-dcn01:47500..47504</value> <value>v-hp-lk-dcn02:47500..47504</value> </list> </property> </bean> </property> </bean> </property> </bean> </beans> On Tue, Jun 12, 2018 at 7:03 PM, dkarachentsev <[email protected]> wrote: > Hi, > > What IgniteConfiguration do you use? Could you please share it? > > Thanks! > -Dmitry > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
