IWIN Integration with Merce Proxy for IIFL.
Below is the Procedure to Integrate the Merce Proxy server with IWIN data base of IIFL.
1.Download the .tgz from intranet and copy the .tgz available with you on destination proxy server and extract.
2.Copy /etc/yum.repos.d/dag.repo from 192.168.160.98:/etc/yum.repos.d/dag.repo to destination
/etc/yum.repos.d/
3.run the command from file install-rpmforge-release file. See this file from iwin.tgz.
4.run -->yum install memcached
(If its not work first do #yum update yum then run above command again)
5.run -->yum install perl-Cache-Memcached
(If above command does not work use #yum -y install memcached --skip-broken)
6.Now install rpms from iwin.tgz --->rpm -Uvh freetds-0.64-1.el5.rf.x86_64.rpm perl-DBD-ODBC-1.15-1.el5.rf.x86_64.rpm unixODBC-2.2.11-7.1.x86_64.rpm
7.Copy odbc.ini and odbcinst.ini from iwin.tgz to /etc/
8.Start memcached deamon.
9.add memcached into chkconfig--->#chkconfig --level 35 memcached on
10.reload the squid.
11.copy squid-auth from iwin.tgz to /opt/merce/usr/bin/
12.Then test the script MSSQL-test.pl--->#./MSSQL-test.pl
Here you can see all IWIN users list of IIFL.
To check authentication with IWIN, use below command.
#./squid-auth /opt/merce/var/adm/passwd/users.db
userid password
o/p-->OK
If you get output as a ERR means their is some problem with above.
************************************************************
Procedure to configure Multiple Squid Instances in IIFL Proxy
1.Do login on destination proxy server.
2.Stop the squid.
#/etc/init.d/squid stop
3.Go to /etc/merce and take backup of Netconfig.sh file. Remember to note ownerships and permissions.
4.Set value of NSSQUID=5.
5.Copy and configure squid folder files from squid-config.tgz to /etc/squid/
6.copy squid deamon from IIFL-squid-iptables-config.tgz to /etc/init.d/
7.copy iptable fromIIFL-squid-iptables-config.tgz and change the IP as per requirements on new server.
Start the squid and start IPtables. Now you can access the internet.
Attachment | Size |
---|---|
iwin.tgz [1] | 2.69 MB |
IIFL-squid-iptables-config.tgz [2] | 24.65 KB |
squid-config.tgz [3] | 25.59 KB |
Links:
[1] http://intranet.merceworld.com/system/files/iwin_0.tgz
[2] http://intranet.merceworld.com/system/files/IIFL-squid-iptables-config.tgz
[3] http://intranet.merceworld.com/system/files/squid-config.tgz