Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Creating multiple instances of server at different port
March 18, 2015
3:21, EET
Avatar
jansen
Member
Members
Forum Posts: 8
Member Since:
February 5, 2015
sp_UserOfflineSmall Offline

Hi,

I tried to run multiple instances of the server by changing the endpoints in the port.
However, i faced an issue with the database as it is locked given that an instance of the server running is already using it.
Is there any way I can configure the simulation server to use my own database?
Currently, I cant find the configuration in the settings.xml

Thanks!

March 18, 2015
8:49, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

For now the Simulation Server is designed to be a single instance only, i.e. the database address is hardcoded and cannot be changed. The application also uses the settings and simulation XML in addition to the database (saving connection logs for the “Connection Log” view and saving user authentication). Therefore just changing the database wont help (even if it were possible). Also since the app uses an embedded database, it’s designed to be the sole user of that database so multiple instances would conflict the settings.

(Note that technically also the ApplicationURI (which appears in e.g. certificates) should be unique for every UA server, so it’s not just the port.)

We might implement multiple instance support someday.

If you are willing to run the app under multiple users at the same time, you should be able to have multiple instances running (since the settings are user – specific, note that the certificates will also be different for each one). They will still have the same ApplicationURI which might conflict/confuse some UA applications (since it’s considered as unique identifier, e.g. our OPC UA Historian expects so)

– Bjarne

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 680

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6260

Newest Members:

sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1