Procedure to setup Stack
Procedure to setup Stack
Step 1 – Machines
172.19.7.1
77
172.19.7.1
78
172.19.7.1
79
172.19.7.1
80
Step 2 – Stack Binaries and LWSG Binaries to be copied to all the servers.
This includes stack also. Copy this to all machines into PRD path.
scp add_ips_and_routes.sh – This will add a route to communicate with other machines.
change_mac.sh – This will add a virtual Ethernet port and it will change the MAC address of that
virtual Ethernet. And this requires “lic” file as well, get these files also from signalling team.
lwsg.tar.gz
monit.tar.gz and
stack.tar.gz
Step 6 – After untaring the above files, copy/move them into /prd path.
Step 7 – Go to prd/stack
Step 8 – Take the backup of lic folder, do [root@vm2 stack]# rm -rf lic conf
add_ips_and_routes.sh
change_mac.sh
Step 9 – Make sure you have valid license file for stack (MAC Addresses) and open the limits_file
Cd /prd/stack/lic
[root@localhost lic]# cat limits_file
## NexGen SS7 maximum allowed configuration file
MAXIMUM_INSTANCES = 4
MAXIMUM_LINKS = 0
MTP2 = NO
SCTP = YES
SNNI = NO
M2UA = NO
MTP3 = NO
M3UA = YES
SCCP = YES
TCAP = YES
RX_THROUGHPUT = 0
TX_THROUGHPUT = 0
TIME_DURATION = 0
MAC =
3440B580D748,001018C6C428,001018C6C42C,001018C6C42A,001018C6C42E,3440B5805DE8,001018CA43C0,001018CA4
3C4,001018CA43C2,001018CA43C6,3440B5800CC8,001018CA3D88,001018CA3D8C,001018CA3D8A,001018CA3D8E,3440B
58152C0,001018C6B3A8,001018C6B3AC,001018C6B3AA
LIC-START-TIME = 00/00/0000
LIC-END-TIME = 31/12/9999
[root@localhost lic]#
Step 10 – Take one MAC address i.e., 3440B580D748 put it in “change_mac.sh” as given in step 11
Step 11 – Open change_mac.sh i.e., vim change_mac.sh and copy the new MAC address.
Red one to be removed and Orange one is new one, need to separate it with “:”
If eth1 is present then change the same in change_mac.sh file before running it.
Step 15 – Ping the machine which it has to communicate, if it is not able to ping then use route
command and check the available routes
Step 16 - [root@localhost stack]# ping 172.19.7.181
7.177 machine is not able to ping 7.181
Step 19 – Open the file "add_ips_and_routes.sh" and add the SCTP virtual IPs
Step 21 – Do all the configurations from Aricent Nexgen wizard OR copy any old files i.e.,
/prd/stack/conf folder to be copied.
Step 22 – vim /prd/stack/conf/app.conf [this is for TEP (top end processes) LWSG ]
Change the INSTANCE IP Addresses
i.e., Currently stack is running on 7.177 (one node setup) and we are specifying that LWSG is running
on 7.177 and 7.178.
EM2_IP=172.19.7.178
EM2_PORT=5200
SELF_IP=172.19.7.177
Step 23 – vim /prd/stack/conf/ss7p.conf [ this is for BEP (back end processes ) ]
Change the BEP and FEP Instance IPs (only IPs)
#BEP
# INSTANCE Instance_Identifier Variant IP_Address Server_port
INSTANCE 1 ITU 172.19.7.177 10008
INSTANCE 2 ITU 172.19.7.178 10012
#FEP
SS7_TIER_1
# Each row denotes information for FEP instance.
# This has to be modified depending on the number of FEP instances
# The configuration below is for 2 FEP instances
#
# INSTANCE Instance_Identifier Variant IP_Address Server_port Layer Secondary IP_addr
INSTANCE 1 ITU 172.19.7.177 10000 M3UA 6.5.4.2
INSTANCE 2 ITU 172.19.7.178 10004 M3UA 6.5.4.4
Step 24 -
Repeat Step 2 to 23 on the other TWO machines.
OR
Add it to .bash_profile
Now, run the above command, it shows app map version and confirms that its successful and all the
libs are intact.
If any library issues are there resolve it with below commands in ".bash_profile"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/prd/stack/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib64
Goto /prd/monit/bin
And run
ldd monit
ldd monit_64
./app_map –v [ This is to check the library in stack binaries, once we see app map version we can
press ctrl + c and move on ]
Go to /prd/stack/scripts
./start_cli
<> info cm
Now, we can see Status of BEP and FEP of TWO node setup of different stack instance.
./start_map_cli
Now, we can see Status of TEP and BEP of TWO node setup of different stack instance.
LWSG Part
Vim /prd/lwsg/etc/config/maf.ini
And search for NEX
[NEXGEN_APP_INIT]
#Tier,InstId,PrimaryIP,PrimaryPort,SeconIP,SeconPort,SelfIP,IPCOption
APP_EM=3,1,172.19.1.63,5100,172.19.1.64,5200,172.19.1.63,INDEPENDENT_POLLING
#SSN,LayerId,UserId,SapId,PointCode,RespWaitTime
1=SS_HLR,MAP,1,1,5566,10
2=SS_MSC,MAP,2,1,5566,10
3=SS_VLR,MAP,3,1,5566,10
4=SS_GSMSCF,MAP,4,1,5566,10
Go to /prd/lwsg/logserver
ldd log_server_1.3.1_64Bit
ls | grep log4cpp
rpm –ivh log4cpp-1.0.el6.x86_64.rpm
Goto LWSG/bin
/prd/lwsg/bin