Manually Configuring the PCG Network. Cisco Headend System Release 9.0 , Headend System Releases
Werbung
Werbung
D
Appx auto letter
Appendix D
Manually Configure the PCG
Network
This appendix explains how to manually configure the PCG network.
In This Appendix
Manually Configuring the PCG Network ......................................... 54
53
Appendix D
Manually Configure the PCG Network
Manually Configuring the PCG Network
Complete the following steps to manually configure the PCG network.
1 Depending on the server where the PCG is associated, enter one of the following commands.
EC 9.0/8.0
:
[admin@ec/dtacs ~]$ less /etc/hosts | grep dncsatm
DTACS 5.2/5.0
:
[admin@ec/dtacs ~]$ less /etc/hosts | grep dtacsatm
2 Record the IP addresses from Step 1 below: dncsatm/dtacsatm : _________________________
3 Enter the following command on the EC/DTACS to change to the tftpboot directory.
[admin@ec/dtacs ~]$ cd /var/lib/tftpboot
4 Enter the following command to secure copy the pcg file to the PCG server.
Command Syntax : scp pcg admin@[PCG_IP]:/opt/pcg/pcg_app/app
Example :
[admin@ec/dtacs ~]$ scp pcg [email protected]:/opt/pcg/pcg_app/app
5 Enter the following command to secure copy the pcg.cfg
file to the PCG server.
Command Syntax : scp pcg.cfg admin@[PCG_IP]:/opt/pcg/pcg_app/app
Example :
[admin@ec/dtacs ~]$ scp pcg.cfg [email protected]:/opt/pcg/pcg_app/app
6 From the EC/DTACS terminal window, SSH to the PCG server as admin user.
7 Enter the following command to change the access rights of the pcg and the pcg.cfg files to 755 .
[admin@pcgtest ~]$ sudo chmod 755 /opt/pcg/pcg_app/app/pcg
/opt/pcg/pcg_app/app/pcg.cfg
8 Enter the following command to change the ownership of the pcg and the pcg.cfg files to root:root .
[admin@pcgtest ~]$ sudo chown root:root
/opt/pcg/pcg_app/app/pcg /opt/pcg/pcg_app/app/pcg.cfg
9 Open the mon.cfg
file in a text editor.
[admin@pcgtest ~]$ sudo vi /opt/pcg/mon_app/mon.cfg
10 Go to the skip-bootp line and change the value from no to yes .
54
Manually Configuring the PCG Network
11 Save and close the mon.cfg
file.
12 Open the pcg.cfg
file in a text editor.
[admin@pcgtest ~]$ sudo vi /opt/pcg/pcg_app/app/pcg.cfg
13 Make the following changes in the pcg.cfg
file.
RpcServerIPAddr : enter the appropriate IP address recorded in Step 2
AlarmServerIPAddr : enter the appropriate IP address recorded in Step 2
ForceDownload : change the value to no
Add the following lines to the end of the file:
– PcgScsInterface = ens224
– PcgtoDncsIfIPAddr : append the IP address for the PCG interface that communicates to the EC/DTACS
14 Save and close the pcg.cfg
file.
15 Open the ifcfg-ens192 file in a text editor and edit the following fields.
[admin@pcgtest ~]$ sudo vi
/etc/sysconfig/network-scripts/ifcfg-ens192
BOOTPROTO : set to Static
IPADDR : append the IP address of the PCG interface that communicates with the EC/DTACS
NETMASK : append the subnet mask of the PCG interface that communicates with the EC/DTACS
ONBOOT : set to yes
16 Save and close the ifcfg-ens192 file.
17 Open the ifcfg-ens224 file in a text editor and edit the following fields.
[admin@pcgtest ~]$ sudo vi
/etc/sysconfig/network-scripts/ifcfg-ens224
BOOTPROTO : set to Static
IPADDR : append the IP address of the PCG interface that communicates with the SCS on private network
NETMASK : append the subnet mask of the PCG interface that communicates with the SCS on private network
ONBOOT : set to yes
55
Appendix D
Manually Configure the PCG Network
18 Save and close the ifcfg-ens224 file.
19 Enter the following command to edit the /etc/sysconfig/network-scripts/routeens192 file.
Note: Substitute the IP address of the gateway that the PCG uses to communicate with the EC/DTACS for [PCG_IP_gw].
Command Syntax : sudo default via [PCG_IP_gw] dev ens192
Example :
[admin@pcgtest ~]$ sudo default via 204.1.61.37 dev ens192
20 Enter the following command to edit the /etc/sysconfig/network-scripts/routeens224 file.
Note: Substitute the gateway that the PCG uses to communicate with the SCS on a private network.
Command Syntax : sudo [network/subnet_mask] via [PCG_IP_gw] dev ens224
Example :
[admin@pcgtest ~]$ sudo 204.1.61.100/30 via 204.1.61.102 dev ens192
21 Enter the following command to restart the network.
[admin@pcgtest ~]$ sudo systemctl restart network
56
Herunterladen
Werbung