ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kuznetsov <akuznet...@apache.org>
Subject Re: ignitevisor starting the node twice
Date Tue, 30 May 2017 01:39:19 GMT
Hi, IPVP.

Yes,  ignitevisorcmd.sh starts internal node in "daemon" mode.
This node is "invisible" for other nodes and doe not have caches data and
does not participate in compute task executions.

See: IgniteConfiguration#setDaemon javadocs for more info.

On Sat, May 27, 2017 at 9:19 PM, I PVP <ipvp@hotmail.com> wrote:

> Does ignitevisorcmd.sh starts the node or is it a management interface?
>
> Why ignitevisorcmd.sh behaves like if Ignite was not started and  does not
> see the cache that was created?
>
> ignite.sh starts fine. But,  when I start ignitevisorcmd.sh and type the
> open command  it asks me for the configuration file and  even informing the
> same configuration file used to start ignite   ignitevisor  says:  "Ignite
> node started OK”  ,  it shows 00:00:00 uptime and the cache command says
> "(wrn) <visor>: No caches found."
>
> Ignite is being started with "ignite.sh config/ignite-config.xml”
>
> ignite-config.xml has the following content:
>
> -----
> <?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="cacheConfiguration">
>       <list>
>          <bean class="org.apache.ignite.configuration.CacheConfiguration">
>             <!-- Cache name. -->
>             <property name="name" value="websession" />
>             <property name="cacheMode" value="PARTITIONED" />
>             <property name="backups" value="1" />
>  </bean>
>       </list>
>    </property>
> </bean>
>
> </beans>
> -----
>
> Thanks
>  IPVP
>
>


-- 
Alexey Kuznetsov

Mime
View raw message