i have installed thingworx analytics 8.0 but it only worx forthe first time once i restart the analtics server or my system it searches for a new ip and not able to access it .
Also when i try to start the DockerMAchinePTC with virtualbbox it fails ti start
When i try to start the dockermahcine aftre executing the docker-machine ls command it says machine not found .i foloowed some of the links on community but nothing is working in my case ,
Also when i try to see the networx from virtualbox GUI it diesnt shows any adapter and doesnt allows to set one .
Kind Regards ,
Not sure if this is still an issue for you, but one possible reason for the Analytics Server to not work after a restart due to change of ip address is described at https://www.ptc.com/en/support/article?n=CS269781
Hope this helps
I have managed to work with analytics server using docker but i have still have some more doubts ,it will be helpfull if you could clear them
My current setup.
1.Windows 7 system(8 gb ram ) Thingworx fundation 8.0 with postgres 9.4
2.Docker toolbox and Analytics server installed on it with separate postgres instance other from the one installed with thingworx founadtion
3.planning to install data coonector on a virtual machine on a virtual box
1.when i start the analytics it point to the same ip and works normally with DockerMachinePTC started ,but i am not able to see the started machine anywhere even not in the virtualbox .When i try to start the DockerMachinePTC from the virtual box itt gives error .From where can i start and login into the system as we used to do in the previous versions of thingworx analytics ,which we used t install on a vm.
2.Also where are the logs of Thingworx analytics .
3.Is the above setup a good one or will it give any issues later ,what if i face the same problems which i faced eralier.basicaclly how can we elimante these eroors and have a best setup of all compnenets of thingworx .
Kind Regards ,
Here are some answers:
1) It is odd you do not see the DockerMachinePTC in Virtualbox, but on the other hand you do not need to access it. ThingWorx Analytics 8.0 is provided as a docker container, the DockerMachinePTC is only supporting the containers. Accessing it would not show you the installation of ThingWorx Analytics.
To work with docker container with Docker Toolbox, you need to open a Docker Quickstart Terminal, which comes with the docker installation.
From there you can execute docker commands, such as docker ps to see the running containers.
2) to see the ThingWorx Analytics log, you can execute docker logs analytics command. see https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS268761 for more details.
3) The setup is ok for testing purpose. You will probably have some scalability issues with heavier load since the same Windows 10 machine is running all of the components.
When i start docker quick start terminal it starts with a default machine and when i do docker ps -a,or docker-machine ls ,sometimes it also gives the default machine a IP but then that changes the IP of DockerMahcinePTC
what could be the possible solution for this .
Kind Regards ,
It does not seem that you have a correctly running installation. I do not know how you get ThingWorx Analytics running if the DockerMachinePTC is in the state shown in your screenshot.
I think it would save you time to:
- uninstall ThingWorx Analytics Server (Check the Uninstalling chapter at https://support.ptc.com/WCMS/files/173110/en/ThingWorx-Analytics-Docker-Installation-Guide-8-0.pdf )
- uninstall docker toolbox
Then re-install everything ( I would advise to use docker toolbox 17.03.0 see https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS264269)
docker-machine ls should list the docker machine properly.
then you will be able to manage the container with the docker commands
Hello Chris i did uninstalla and a full install as you said and also instaled docker 17.03.0-ce again the dockerMahcinePTC works fine but the docker-machine ls gives DOckerMachinePTC error ,
i tried to ipmort the dockermachineptc in the virtual box manager and tried ti run it it gave the following error .
same as it did previously
Failed to open a session for the virtual machine DockerMachinePTC.
|Callee RC:||E_FAIL (0x80004005)|
let me know what can be done for the same
Could you please upload the ThingWorx Analytics installer log (it is located in the installation directory of ThignWorx Analytics Server and named thingWorxAnalyticsServer-install.log)
Hello Christophe willl share with you some more details inorder for you to understand my problem ,after restarting my pc ,when i start analytics from start menu it works fine ,but from quickstart terminal and from virtual bix it doesnt work properly ,shareing screen shots ,in order to make you undertand .
1.This is the screen shot of starting analytics from start menu
2. This is the screen shot valdiation of analytics by the ip given above
3.When i start quickstart terminal and run some command likes docker ps -a ,and docker-machine ls
4.When i try to start virtualbox
5.Virtualbox another DockerMAchinePTC
I have tried reinsltalling and installing it many times and now my docker version is 17.03-ce as you suggested .
Looking forward for your reply .
Kind regards ,