Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_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: 1068
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: 1919
Currently Online:
Guest(s) 38
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
willardmackellar, vnedrenie_koPi, shaylaholton205, PhilesiaGen, rosaurathiel524, Arthurobext, stefanmacneil3, ralni, illuminationscanada, PhillipGit
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1