Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84647members
353988posts

Security Issues on Redundant Servers

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
Tanquen
Lt. Commander
Lt. Commander
0 Likes
3
1369

Security Issues on Redundant Servers

When I try to log into ViewX with the superuser account when both servers 1 & 2 are running it only seems to works on server 1. I thought someone had changed it on server 2 but when server 1 is offline it works.

 

So even though server 1 is active and I’m running ViewX on server 2 it’s like it’s looking to server 2 for the account and it’s wrong? Or server 2 can’t get the correct account info from server 1? But the account is the same on both.

 

When using the server configuration I can only log into the local server with the superuser account. When I try to connect the remote server it say the account is not correct.

 

With a regular user account in ViewX I can be logged in and force a failover and after the failover it logs me out saying the account or password is bad. Are the accounts not synced up?

 

Did IT lock down some ports that ClearSCADA needs?

Tags (1)

Accepted Solutions
BevanWeiss
Spock
Spock
0 Likes
0
1348

Re: Security Issues on Redundant Servers

There shouldn't be any need to manually perform any 'resync' operations.  If the Standby server is connected to the Main, then it should automagically be in sync.

 

If you've done some questionable activities on the Standby server (like David Skillbeck was talking about with manually moving historic files around) then you might end up with inconsistent data files.  The cleanest way to get them back to consistent with the main server is to just go into the database folders and delete them on the Standby (after shutting it down).  Then when you load back up the Standby server it will connect to the Main and retrieve all the config, the data and the history.  Depending on your database size and amount of historical records, this could take quite some time.

 

If you failed over to the Standby server, and setpoints didn't work, then perhaps there was an issue with the network connectivity from the Standby to the field devices.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

Tags (1)
3 Replies 3
BevanWeiss
Spock
Spock
0 Likes
2
1363

Re: Security Issues on Redundant Servers

My understanding was the following:

The superuser account was specific to a server.  The username/password hash was stored specifically in the Registry on the server in question, and it was not synchronised between servers.

 

I don't believe this has changed in recent versions of GeoSCADA Expert either.

 

However... there was a change in CS2017R2 I believe (I think it was related to the Secure Connection stuff) that the 'superuser' account was not going to be allowed to connect remotely.  I think what this means is that you would need to be using a ViewX session from 127.0.0.1 local to the server to utilise the superuser account.  Which absolutely makes sense.  After all, you should NOT be using the superuser account.  The Server Status tool even tells you this.

 

I don't believe I've really tried otherwise.  I almost always have a proper user account for development, even normally when developing locally in a VM.  The only time I'd tend to use the superuser account is when launching up a database locally that I don't have a user account in.

 

When you mention about the 'regular user account' being logged out and not logging back in on server failover, this does sound like a synchronisation issue.  Or, it might be something else.  Like the server configurations for External Authentication don't match.  Are you using Windows AD for the user?  I could imagine an issue if using LogonUser, and one of the servers wasn't a member of the domain.  Or if using LDAP, and one of the servers wasn't configured to use LDAP correctly.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Tags (1)
Tanquen
Lt. Commander
Lt. Commander
0 Likes
1
1354

Re: Security Issues on Redundant Servers

Had an issue when I tried to failover to the backup server and after that no setpoints worked. They all had an error saying the item is in the wrong state within current server. It also logged me out saying the account was not correct. That is when I tried the superuser.

 

I don't like using the superuser with the seemly instant logout.

 

What is the best way to resync? I stopped server 1, copied the application folder, restarted server 1 then stopped server 2 and put the copied application folder on server 2 and restart server 2. Then tested a failover to server 2 and that worked with no more setpoint errors. I then failed it back over to server 1.

 

I did not retest the different user accounts but I think they are just ClearSCADA accounts and not active directory. I don't think they are even on a domain.

Tags (1)
BevanWeiss
Spock
Spock
0 Likes
0
1349

Re: Security Issues on Redundant Servers

There shouldn't be any need to manually perform any 'resync' operations.  If the Standby server is connected to the Main, then it should automagically be in sync.

 

If you've done some questionable activities on the Standby server (like David Skillbeck was talking about with manually moving historic files around) then you might end up with inconsistent data files.  The cleanest way to get them back to consistent with the main server is to just go into the database folders and delete them on the Standby (after shutting it down).  Then when you load back up the Standby server it will connect to the Main and retrieve all the config, the data and the history.  Depending on your database size and amount of historical records, this could take quite some time.

 

If you failed over to the Standby server, and setpoints didn't work, then perhaps there was an issue with the network connectivity from the Standby to the field devices.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Tags (1)