Jump to content

Unable to switch PG2 Node Servers from old ISY to ISY/Polisy


randyth

Recommended Posts

Posted

I decided to cutoff my old ISY994 from the PG2 Node Servers hosted by my Polisy and point them at the ISY 5.2 hosted on the same Polisy. To do this, I simply logged into PG2 on my Polisy, went to System->Polyglot Settings and changed the ISY Settings to point at my ISY/Polisy. That is, I changed the Address/Hostname to the IP address of my Polisy, changed the port to 8080, entered the device password and clicked Save and a happy green "Settings saved successfully. If you changed the Polyglot Web Port, please restart Polyglot." message appeared.

However, when I reloaded the ISY/Polisy admin console, there were no Node Servers. And, frustratingly, they still all appear in my old ISY994's admin console?!

I've restarted the Polisy a few times now (via soft reboots and a complete shutdown-powerdown-powerup), but that is not helping.

What am I missing (it's probably something obvious)?  How do I convince PG2 on Polisy to talk to ISY on the same Polisy? 

Posted

Unfortunately, that's not how Polyglot works.

A node server is a program that translates data between a device and the ISY.  It puts the data in a form that the ISY can consume, and it takes commands from the ISY and puts them in a form that the device understands.

Polyglot is designed to help manage node servers and handle some of the common tasks that every node server needs to do.

When Polyglot "installs" a node server, what it is really doing is configuring the ISY, setting up communication channels, and starting the node server program running.   

When Polyglot starts, it queries the ISY for what node servers have been configured there and then sets up the communication channels and starts the node server program running.

Once you change the ISY and restart Polyglot, it queries the new ISY for what node servers have been configured.  The new ISY doesn't have any node servers configured, so it returns none.  Polyglot then thinks everything it has configured has been removed, so it clears all the previously installed node servers.

The ISY is considered the definitive source of node server installs, not Polyglot.

Unless you have a backup of the Polyglot database or did a backup of the node servers using the Polyglot backup feature, you are going to have to start over and re-install the node servers.

  • Like 2
Posted

You have me at a bit of a loss as to what the solution is here. This statement in particular confuses me: "When Polyglot starts, it queries the ISY for what node servers have been configured there"

I am happy to uninstall all the node servers and re-install them. But my understanding is that this would still all take place in Polyglot, not ISY. In other words, I don't appear to be able to install or "configure" node servers from ISY's admin console.

I feel like I'm being obtuse and missing something obvious (apologies). It's been so long since I set up Polyglot that I honestly don't remember doing anything on the ISY side to "configure" node servers there.

So, how do I set up my ISY/Polisy so Polyglot knows about the "node servers [that] have been configured there"? In other words, how would you get ISY/Polisy talking to Polyglot/Polisy after originally setting up Polyglot/Polisy to talk to an ISY994?

Posted

OK, I think I got this. Some newly installed node servers appear to work with ISY/Polisy. Not all yet, but perhaps I have to be, um, more patient?

It looks like the answer is to uninstall and then reinstall all the node servers after changing the System->Polyglot Settings. Does that sound right @bpwwer?

 

Posted

Testing this out in the morning, everything is working great. Thanks for clueing me in on needing to uninstall/re-install each NS, @bpwwer.

Interesting possible side effect of all this is that one might actually be able to support multiple ISYs with PG2. Just change the System->Polyglot Settings to the desired ISY prior to installing a NS. You simply couldn't share any one NS with more than one ISY.

Posted

Polyglot is not the only way to install and run node servers, there are others.  However, Polyglot is the most used method.

You're right in that when using Polyglot, it is managing the installation/removal, starting, stopping, and configuring of node servers.  It tires to make that fairly easy.

Polyglot version 2.x is designed to work with only one ISY at a time. You can switch it to another, as you've tried, but none of the node server configuration transfers to the new ISY when you do that and you're basically starting over as if it was a new install.   Once you switch, Polyglot will remove all the old configuration (from Polyglot, not the old ISY) so you are not able to switch it back to the old ISY without again re-installing the node servers.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...