[Mono-list] Re: Mono and LVS...

Robert Jordan robertj at gmx.net
Fri Mar 10 15:16:19 EST 2006


Dan, Antonio,

In addition to the SQL or the outproc state server, the machines
have to be configured to use the same machine key:

web.config:

<system.web>
...
<machineKey
validationKey="516ac324b1fc318fccb614e5d118d7e2dbfaa60589019dc34f8b936baa1b4c56"
decryptionKey="93ae19e5a1b2813c46bffcefde1876180d8878db76098453"
validation="SHA1"
/>

...
</system.web>


Robert

> Dan,
> 
> I had a similar problem, but in a MS .NET Environment and we modified 
> our session state to maintain itself in MS SQL Server.  I suggest you 
> look look at the following link to start with and maybe some mono 
> experts can tell you wether mono will support the SQL Server Mode in the 
> web.config
> 
> <sessionState mode="SQLServer"
>                      sqlConnectionString="Integrated Security=SSPI;data 
> source=dataserver;"
>                      cookieless="false"
>                      timeout="20"/>
> </sessionState>
> 
> http://support.microsoft.com/kb/317604/EN-US/
> 
> I hope this helps and I will be very interested to see what some mono 
> experts have experienced with this.
> 
> Thanks,
> 
> Antonio
> 
>> From: "Dan Brown" <danb at zu.com>
>> To: <mono-list at lists.ximian.com>
>> Subject: [Mono-list] Mono and LVS...
>> Date: Fri, 10 Mar 2006 13:00:11 -0600
>>
>>
>> I am running a pair of linux Fedora FC4 servers with Apache 2 and 
>> MySQL 5.0.
>> This pair of servers are running in an LVS (linux virtual server)
>> environment using high availability and load balancing.  I also am using
>> Mono 1.1.13 with mod_mono on these servers along with a separate backend
>> server running MS SQL Server for those that need it.  At the moment, 
>> all of
>> the mono sites which require logins or session data are running only 
>> as high
>> availability sites as LVS doesn't transmit session data between the 
>> servers
>> for mono.
>>
>> Is anyone else doing this? How would I transmit the session data between
>> servers?
>>
>>
>> _________________________________
>> Dan Brown
>> Systems Administration - DBA - HD
>> danb at zu.com
>>
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



More information about the Mono-list mailing list