Hi, I have 2 card with different ca-id , it's almost same channels on them but I wan't to poin't to one of the cards always and if that card can't decode to the second card , I have tested metric but i can't get metric to work. I did NOT wan't to loadbalancing, Just set the order of the card.
I have tried metric in both the profile and connector but the client going to wrong card.
I post the file here if someone can show me how to do :)
<cardserv-proxy ver="0.9.0">
<ca-profiles>
<default-des-key>xx xx xx xx xx xx xx xx xx xx xx xx xx xx</default-des-key>
<extended-newcamd listen-port="xxxxx" debug="true"/>
<profile name="cd1" ca-id="0B00" network-id="0046" provider-idents="00 00 00" enabled="true" debug="true">
<newcamd listen-port="12345">
<no-validation>true</no-validation>
</newcamd>
<services-file format="simple">etc/services.cd</services-file>
<max-cw-wait>8500 ms</max-cw-wait>
</profile>
<profile name="via1" ca-id="093E" network-id="0056" provider-idents="00 00 00" enabled="true" debug="true">
<newcamd listen-port="12346">
<no-validation>true</no-validation>
</newcamd>
<services-file format="simple">etc/services.via</services-file>
<max-cw-wait>8500 ms</max-cw-wait>
</profile>
<profile name="via2" ca-id="090F" network-id="0056" provider-idents="00 00 00" enabled="true" debug="true">
<newcamd listen-port="12347">
<no-validation>true</no-validation>
</newcamd>
<services-file format="simple">etc/services.via2</services-file>
<max-cw-wait>8500 ms</max-cw-wait>
</profile>
</ca-profiles>
<logging log-ecm="true" log-emm="true" log-zapping="false" hide-ip-addresses="false">
<log-file rotate-count="3" rotate-max-size="1024">log/cardserv.log</log-file>
<log-level>INFO</log-level>
<silent>true</silent>
<debug>false</debug>
</logging>
<rmi>
<display-name>Csproxy</display-name>
<status-web>
<listen-port>xxxx</listen-port>
<ssl enabled="false">
<keystore password="test">etc/csp_keystore</keystore>
</ssl>
<war-file>lib/cs-status.war</war-file>
<super-users>admin</super-users>
</status-web>
</rmi>
<user-manager class="com.bowman.cardserv.XmlUserManager" log-failures="true" allow-on-failure="false">
<auth-config>
<update-interval>5</update-interval>
<user-source name="users">
<user-file-url>file:///G:\csp\config\users.xml</user-file-url>
<user-file-key></user-file-key>
</user-source>
</auth-config>
</user-manager>
<connection-manager>
<reconnect-interval>60</reconnect-interval>
<default-des-key>xx xx xx xx xx xx xx xx xx xx xx xx xx xx</default-des-key>
<default-keepalive-interval>55</default-keepalive-interval>
<default-client-id>43 43</default-client-id>
<service-map>
<mapper>
<auto-reset-threshold>20</auto-reset-threshold>
</mapper>
<mapper profile="cd1">
<reset-services></reset-services>
<block-services></block-services>
</mapper>
<mapper profile="via1">
<reset-services></reset-services>
<block-services></block-services>
</mapper>
<mapper profile="via2">
<reset-services></reset-services>
<block-services></block-services>
</mapper>
</service-map>
<cws-connectors>
<csp-connector name="test0" enabled="false">
<url>https://otherproxy.host.com:8443</url>
<user>user</user>
<password>password</password>
<request-cache-updates>false</request-cache-updates>
</csp-connector>
<newcamd-connector name="canaldigital" profile="cd1" enabled="true">
<host>localhost</host>
<port>54321</port>
<user>test</user>
<password>test</password>
<asynchronous>true</asynchronous>
<au-users>test</au-users>
</newcamd-connector>
<newcamd-connector name="viasat" profile="via1" metric="0" enabled="true">
<host>localhost</host>
<port>54322</port>
<user>test</user>
<password>test</password>
<asynchronous>true</asynchronous>
<au-users>test</au-users>
</newcamd-connector>
<newcamd-connector name="viasat2" profile="via2" metric="1" enabled="true">
<host>localhost</host>
<port>54323</port>
<user>test</user>
<password>test</password>
<asynchronous>true</asynchronous>
<au-users>test</au-users>
</newcamd-connector>
</cws-connectors>
</connection-manager>
<proxy-plugins>
<plugin class="com.bowman.cardserv.LoggingPlugin" enabled="false">
<plugin-config>
<log-dir>log/traffic</log-dir>
<log-level>ALL</log-level>
<ip-filter>*</ip-filter>
</plugin-config>
</plugin>
<plugin class="com.bowman.cardserv.DcwFilterPlugin" enabled="true" jar-file="dcwfilterplugin.jar"/>
<plugin class="com.bowman.cardserv.ProviderIdentPlugin" enabled="true" jar-file="provideridentplugin.jar"/>
<plugin class="com.bowman.cardserv.I*****Plugin" enabled="true" jar-file="i*****plugin.jar"/>
</proxy-plugins>
<cache-handler class="com.bowman.cardserv.ClusteredCache">
<cache-config>
<cw-max-age>19</cw-max-age>
<max-cache-wait>40%</max-cache-wait>
<local-port>98765</local-port>
<sync-period>0</sync-period>
</cache-config>
</cache-handler>
</cardserv-proxy>