I want to share my cache from CSP to oscam to reduce stress on the cards.
I have a rasspberry pi with only the CSP and then I have 2 RPI with oscam. I think I made the right but are a little unsure.
My csp IP: 192.168.0.130
<cache-handler class="com.bowman.cardserv.ClusteredCache">
<cache-config>
<cw-max-age>19</cw-max-age>
<max-cache-wait>40%</max-cache-wait>
<local-host>localhost</local-host> --------------------------------------- like this or put my csp ip 192.168.0.130
<local-port>54277</local-port>
<sync-period>5</sync-period>
<cw-validation checksum="true" zero-counting="true" log-warnings="true"/>
<tracker-update>1</tracker-update>
<tracker-url>file:///usr/local/cardservproxy/etc/proxy.list</tracker-url>
</cache-config>
</cache-handler>
proxy.list
localhost:54277 ------------------------ Can i have this ? or do i need to put the ip 192.168.0.130:54277
192.168.0.132:54278
192.168.0.131:54276
oscam 1 IP:192.168.0.131
[cache]
delay = 30
max_time = 19
max_count = 1000
cacheexwaittime = 25
csp_port = 54276
wait_time = 5
oscam 2 IP: 192.168.0.132
[cache]
delay = 30
max_time = 19
max_count = 1000
cacheexwaittime = 25
csp_port = 54278
wait_time = 5
I have a rasspberry pi with only the CSP and then I have 2 RPI with oscam. I think I made the right but are a little unsure.
My csp IP: 192.168.0.130
<cache-handler class="com.bowman.cardserv.ClusteredCache">
<cache-config>
<cw-max-age>19</cw-max-age>
<max-cache-wait>40%</max-cache-wait>
<local-host>localhost</local-host> --------------------------------------- like this or put my csp ip 192.168.0.130
<local-port>54277</local-port>
<sync-period>5</sync-period>
<cw-validation checksum="true" zero-counting="true" log-warnings="true"/>
<tracker-update>1</tracker-update>
<tracker-url>file:///usr/local/cardservproxy/etc/proxy.list</tracker-url>
</cache-config>
</cache-handler>
proxy.list
localhost:54277 ------------------------ Can i have this ? or do i need to put the ip 192.168.0.130:54277
192.168.0.132:54278
192.168.0.131:54276
oscam 1 IP:192.168.0.131
[cache]
delay = 30
max_time = 19
max_count = 1000
cacheexwaittime = 25
csp_port = 54276
wait_time = 5
oscam 2 IP: 192.168.0.132
[cache]
delay = 30
max_time = 19
max_count = 1000
cacheexwaittime = 25
csp_port = 54278
wait_time = 5