logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
aferreres  
#1 Posted : Friday, January 4, 2013 12:09:24 PM(UTC)
aferreres


Rank: Member

Joined: 3/5/2012(UTC)
Posts: 14
Man

Thanks: 2 times
Hello sirs,

we are an ISP and we need to use screenconnect saas model, so we follow these steps for installing screenconnect: http://help.screenconnect.com/HOWTO-0015.ashx

our goal is to have all our screenconnect instances on a same windows machine

so, we create instances from the same installation (please, let me know if here begins the problem)
C:\>createServices "\SC\ScreenConnect" "Instance1"
C:\>createServices "\SC\ScreenConnect" "Instance2"
C:\>createServices "\SC\ScreenConnect" "Instance3"

we get the new service created on services management console but we don't know if a new installation folder should be created.

screenconnect session manager
screenconnect web manager
screenconnect relay
screenconnect session manager (instance1)
screenconnect web manager (instance1)
screenconnect relay (instance1)
screenconnect session manager (instance2)
screenconnect web manager (instance2)
screenconnect relay (instance2)

we assume that it shouldn't, so, how can we assign a different port for each instance? we prefer to use one IP and different ports for each customer.


if you please can give a help on this...

thanks
Jake  
#2 Posted : Friday, January 4, 2013 12:11:26 PM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
You're not going to be able to host multiple instances out of the same set of files. So it'll be like this:

Code:
C:\>createServices "\SC\Instance1Files" "Instance1"
C:\>createServices "\SC\Instance2Files" "Instance2"
C:\>createServices "\SC\Instance3Files" "Instance3"


And you'll use the web.config in each folder to specify the listening ip/ports. For Instance1:

Code:
  <add key="WebServerListenUri" value="http://34.34.34.34:80/" />
  <add key="RelayListenUri" value="relay://34.34.34.34:443/" />


For Instance2:

Code:
  <add key="WebServerListenUri" value="http://34.34.34.35:80/" />
  <add key="RelayListenUri" value="relay://34.34.34.35:443/" />

Edited by user Friday, January 4, 2013 12:13:37 PM(UTC)  | Reason: Not specified

ScreenConnect Team
thanks 1 user thanked Jake for this useful post.
aferreres on 1/4/2013(UTC)
aferreres  
#3 Posted : Monday, January 7, 2013 6:23:30 AM(UTC)
aferreres


Rank: Member

Joined: 3/5/2012(UTC)
Posts: 14
Man

Thanks: 2 times
really thank you Jake,

now i have multiple folders (one per each instance).
but i still cannot start the service because system cannot find the specified file.
Reid  
#4 Posted : Monday, January 7, 2013 2:40:47 PM(UTC)
Reid


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 4/22/2010(UTC)
Posts: 475
Location: NC

Was thanked: 17 time(s) in 15 post(s)
Did you delete the services that you initially created out of the single set of files? If not, I would do that first (via CMD, using SC DELETE "Instance1" etc.). After those have been deleted, create the services again, using the BAT file and specifying a different set of SC files per service instance being created.
ScreenConnect Team
aferreres  
#5 Posted : Tuesday, January 15, 2013 11:15:27 AM(UTC)
aferreres


Rank: Member

Joined: 3/5/2012(UTC)
Posts: 14
Man

Thanks: 2 times
really thanks Reid.

our fault
Reid  
#6 Posted : Monday, January 21, 2013 9:39:57 AM(UTC)
Reid


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 4/22/2010(UTC)
Posts: 475
Location: NC

Was thanked: 17 time(s) in 15 post(s)
No problem--glad it's working for you now!
ScreenConnect Team
aferreres  
#7 Posted : Thursday, February 21, 2013 6:32:48 AM(UTC)
aferreres


Rank: Member

Joined: 3/5/2012(UTC)
Posts: 14
Man

Thanks: 2 times
Reid, sorry for re-opening this post closed one month ago.

if i translate/change the apparience on a visual theme and after that i try to copy the base file and theme folder my installation doesn't run longer.

i think i remember that was the way we translate our lasts installations, i hope i have not to manually change my 10 instances.

thank you very much
Reid  
#8 Posted : Friday, February 22, 2013 6:39:53 AM(UTC)
Reid


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 4/22/2010(UTC)
Posts: 475
Location: NC

Was thanked: 17 time(s) in 15 post(s)
If you would, send me an email to support@screenconnect.com; I'd like to see if we can get a session to take a look at this.

ScreenConnect Team
aferreres  
#9 Posted : Monday, March 18, 2013 5:23:48 AM(UTC)
aferreres


Rank: Member

Joined: 3/5/2012(UTC)
Posts: 14
Man

Thanks: 2 times
for everyone how needs this kind of installation, for ensuring that all users/sessions are isolated you must change the following lines too on web.config

<endpoint address="net.pipe://localhost/scsm"
<endpoint address="net.pipe://localhost/scsm"

to:

<endpoint address="net.pipe://localhost/scsmX"
<endpoint address="net.pipe://localhost/scsmX" <-- this way, you ensure that each installation has its own pipe.

Thank you Reid
zoda  
#10 Posted : Friday, April 12, 2013 3:27:19 AM(UTC)
zoda


Rank: Newbie

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 12/20/2011(UTC)
Posts: 4
Man
Location: Sweden

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi Jake,

What is the best practice to host multiple instances of SC (for SaaS) if you have only one public IP, one domain name (sc-saas.com) and one windows server behind the firewall? The aim is to use customer subdomain for each instance, like customer1.sc-saas.com, customer2.sc-saas.com and so on. Should we define DNS Alias for each subdomain with port definition, like this:

customer1.sc-saas.com | web alias | public ip:8040
relay1.sc-saas.com | web alias | public ip:8041

customer2.sc-saas.com | web alias | public ip:8043
relay2.sc-saas.com | web alias | public ip:8044
.
.

Is it the right way?

In your example there are different public IP's for each instance with the same ports, 80 and 443:

<add key="WebServerListenUri" value="http://34.34.34.34:80/" />
<add key="RelayListenUri" value="relay://34.34.34.34:443/" />

<add key="WebServerListenUri" value="http://34.34.34.35:80/" />
<add key="RelayListenUri" value="relay://34.34.34.35:443/" />

Thanks for any help, Zoda



Reid  
#11 Posted : Monday, April 15, 2013 12:38:11 PM(UTC)
Reid


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 4/22/2010(UTC)
Posts: 475
Location: NC

Was thanked: 17 time(s) in 15 post(s)
Hi Zoltán,

Yes, you are correct; you would just rev the port number for each new instance's Web Server and Relay services.

--Reid
ScreenConnect Team
aferreres  
#12 Posted : Thursday, September 5, 2013 11:32:26 AM(UTC)
aferreres


Rank: Member

Joined: 3/5/2012(UTC)
Posts: 14
Man

Thanks: 2 times
Zoda,

can i make you a question?

have you updated the screenconnect installations? how did you do that?
should it be one new installation per instance or should i begin in a new server with latest installation and follow Xcopy deployment from the begining?

thank you very much
karthick  
#13 Posted : Thursday, June 8, 2017 12:54:07 PM(UTC)
karthick


Rank: Guest

Joined: 6/8/2017(UTC)
Posts: 1
India
Location: Bangalore

Originally Posted by: Jake Go to Quoted Post
You're not going to be able to host multiple instances out of the same set of files. So it'll be like this:

Code:
C:\>createServices "\SC\Instance1Files" "Instance1"
C:\>createServices "\SC\Instance2Files" "Instance2"
C:\>createServices "\SC\Instance3Files" "Instance3"


And you'll use the web.config in each folder to specify the listening ip/ports. For Instance1:

Code:
  <add key="WebServerListenUri" value="http://34.34.34.34:80/" />
  <add key="RelayListenUri" value="relay://34.34.34.34:443/" />


For Instance2:

Code:
  <add key="WebServerListenUri" value="http://34.34.34.35:80/" />
  <add key="RelayListenUri" value="relay://34.34.34.35:443/" />


Hi,

Let me know if any parameters need to be added when we are creating the services manually for Relay, Web Server & Session Manager.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.