DS-6211 MSO Software Installation and Configuration Guide V6.5.00 - Eng
DS-6211 MSO Software Installation and Configuration Guide V6.5.00 - Eng
The product described in this manual may include the Company’s computer programs stored in memory
or other media. Laws in PRC and/or other countries or areas protect the exclusive rights of the Company
with respect to its computer programs. The purchase of this product shall not be deemed to grant, either
directly or by implication, any rights to the purchaser regarding the Company’s computer programs. Any
of the Company’s computer programs may not be copied, modified, distributed, decompiled, or
reverse-engineered in any manner without the prior written consent of the Company.
Disclaimer
The Company endeavors to achieve the accuracy and completeness of this manual, but no warranty of
accuracy or reliability is given. All the specifications and designs are subject to change without notice
due to continuous technology development. No part of this manual may be copied, modified, translated,
or distributed in any manner without the express written permission of us.
We do not guarantee, for any particular purpose, the accuracy, validity, timeliness, legitimacy or
completeness of the Third Party products and contents involved in this manual.
If you have any suggestions or would like to learn more details, please visit our website at:
http://www.hytera.com.
Software Installation and Configuration Guide Contents
Contents
Documentation Information .................................................................................................................... 1
1. Installing and Configuring Operating System .................................................................................. 3
1.1 Making a USB Boot Disk .................................................................................................................. 3
1.2 Installing Linux OS ............................................................................................................................ 5
1.2.1 Default Installation .................................................................................................................. 5
1.2.2 Customized Installation .......................................................................................................... 8
1.3 Configuring OS parameters ............................................................................................................ 22
1.3.1 Configuring Linux OS on Single MSO Server ...................................................................... 22
1.3.2 Configuring Linux OS on Master and Slave MSO Servers .................................................. 28
1.3.3 Configuring MSO Data Synchronization .............................................................................. 34
1.3.4 Creating Database Files ....................................................................................................... 40
1.3.5 Backing Up the Database File.............................................................................................. 44
1.3.6 Recovering the Database ..................................................................................................... 46
1.3.7 Backing Up Database during System Operation ................................................................. 48
1.3.8 Backing Up Statistics Data ................................................................................................... 49
2. Configuring the Applications ............................................................................................................ 50
2.1 Obtaining Applications and License ............................................................................................... 50
2.1.1 Obtaining the MSO Applications .......................................................................................... 50
2.1.2 Obtaining MSO License File ................................................................................................ 50
2.2 Configuration Instructions ............................................................................................................... 51
2.2.1 Instructions on VOS.Config.db ............................................................................................. 51
2.2.2 Running the Software ........................................................................................................... 72
3. Upgrading and Configuring the MTU ............................................................................................... 74
3.1 Upgrading the MTU Program ......................................................................................................... 74
3.1.1 Querying the Version and Configuration Information........................................................... 74
3.1.2 Upgrading the MTU .............................................................................................................. 78
3.2 Configuring the MTU Software ....................................................................................................... 87
3.2.1 Old Model MTU .................................................................................................................... 87
3.2.2 New Model MTU................................................................................................................... 91
4. Configuring PSTN Gateway ............................................................................................................ 100
4.1 Networking Mode .......................................................................................................................... 100
4.1.1 FXO/FXS-based Mode ....................................................................................................... 100
4.1.2 E1-based Mode .................................................................................................................. 100
4.2 Making a Configuration................................................................................................................. 100
4.2.1 Logging in to PSTN Gateway ............................................................................................. 100
4.2.2 Configuring IP Address of LAN0 ........................................................................................ 102
4.2.3 Configuring SIP Server....................................................................................................... 103
i
Contents Software Installation and Configuration Guide
ii
Software Installation and Configuration Guide Documentation Information
Documentation Information
This section describes the conventions and revision history of this document.
Documentation Conventions
Icon Conventions
Icon Description
Tip Indicates information that can help you make better use of your product.
Note Indicates references that can further describe the related topics.
Caution Indicates situations that could cause data loss or equipment damage.
Danger Indicates situations that could cause major personal injury or even death.
Notation Conventions
Item Description
The quotation marks enclose the name of a software interface element. For
""
example, click "OK".
The text in boldface denotes the name of a hardware button. For example, press the
Bold
PTT key.
The symbol directs you to access a multi-level menu. For example, to select "New"
->
from the "File" menu, we will describe it as follows: "File -> New".
Revision History
Version Release Date Description
Upgraded to V6.0.00.
V6.0.00 October 2017
Updated the image of system startup screen.
1
Documentation Information Software Installation and Configuration Guide
2
Installing and Configuring Operating System Software Installation and Configuration Guide
Step 2 Open the UltraISO, find the iso file in the release package from
"Complex_V6.5.00.009\MSC\OS\OS_CentOS(64-bit)_V6.5.013" and double click it, as shown
in the figure below.
Step 3 Click "Bootable" in the toolbar and select "Write Disk Image …", as shown in the figure below.
3
Software Installation and Configuration Guide Installing and Configuring Operating System
Step 4 Select the USB disk from the "Disk Drive" drop-down list and click "Format", and then click
"Write" after formatting of the USB disk.
4
Installing and Configuring Operating System Software Installation and Configuration Guide
Note
If the MSO server adopts DELL, go ahead with the following procedure.
If the MSO server adopts IBM M5 or SR550, please refer to the Linux installation procedure in
Hytera DS-6210 MSO Software Installation and Configuration Guide V6.5.XX.
1. Language: English
2. Keyboard type: us
3. Time zone: America/New York
4. Root password: Hytera#123
5. Partition: boot partition (500 G), swap partition (memory), and root partition (other capacities)
Step 1 Boot the server from the USB boot disk and select "Install VOS system Default" on the welcome
interface.
Step 2 Select "Hard drive" for "Installation Method" and then click "OK".
6
Installing and Configuring Operating System Software Installation and Configuration Guide
Step 3 All drives that can be identified by the system will be displayed and normally the bootable USB
drive will be identified as "sda4" or "sdb4". If the selection is correct, the installation will proceed.
Otherwise, reselect the correct drive.
7
Software Installation and Configuration Guide Installing and Configuring Operating System
1. Insert the USB disk into the server and power on the server. The following window will
appear after system self-check.
8
Installing and Configuring Operating System Software Installation and Configuration Guide
3. Enter the "Harddisk" menu and select the USB disk boot mode.
9
Software Installation and Configuration Guide Installing and Configuring Operating System
10
Installing and Configuring Operating System Software Installation and Configuration Guide
5. All the drives that can be identified by the system will be displayed and normally the USB
disk will be identified as sda4 or sdb4. If the selection is correct, the installation will proceed,
otherwise, reselect the correct drive.
11
Software Installation and Configuration Guide Installing and Configuring Operating System
12
Installing and Configuring Operating System Software Installation and Configuration Guide
13
Software Installation and Configuration Guide Installing and Configuring Operating System
2. Enter the "Root Password" and "Confirm" fields with a same number (e.g., Hytera#123), then
click "Next" and click "Use Anyway" in the pop-up dialog box.
14
Installing and Configuring Operating System Software Installation and Configuration Guide
2. Select "sdb" and click "Delete", then click "Delete" again in the pop-up dialog box to delete
the original partitions.
3. The following figure shows the partitions after deletion. Do not delete the installation USB
disk by mistake.
15
Software Installation and Configuration Guide Installing and Configuring Operating System
5. Click "Next".
16
Installing and Configuring Operating System Software Installation and Configuration Guide
6. Select the hard disk intended for the installation (do not select the installation USB disk) and
select "BootLoader".
17
Software Installation and Configuration Guide Installing and Configuring Operating System
8. Select "lv_home" and click "Delete", and then click "Delete" again in the pop-up dialog box.
18
Installing and Configuring Operating System Software Installation and Configuration Guide
10. Enter an appropriate value in the "Size (MB)" field and click "OK" to confirm,
11. The following figure shows the hard disk partitions after the modification.
19
Software Installation and Configuration Guide Installing and Configuring Operating System
12. Click "Next" and then select "Write changes to disk" in the pop-up dialog box to format the
hard disk. The formatting process may take minutes depending on size of the hard disk.
13. The following interface appears when the formatting process is completed, and then click
"Next" to install the system.
20
Installing and Configuring Operating System Software Installation and Configuration Guide
2. After the installation is completed, click "Reboot" and remove the USB disk.
21
Software Installation and Configuration Guide Installing and Configuring Operating System
To log in to the Linux system, use the username "root" and password "Hytera#123" (note that
the inputs will not be displayed).
22
Installing and Configuring Operating System Software Installation and Configuration Guide
Instructions:
1. Role is an independent setting used to distinguish the role of the MSO, and is not associated
with other settings.
2. Role is used to distinguish the shared server scenario that whether the MSO is deployed
separately, the centralized network management system (CNMS) is deployed separately, or
both are deployed on the shared server.
3. All servers need to be configured with the role. All servers must be set to “mso”, except that
the CNMS server should be set to “cnms” or “dual”.
4. The role is not required for a base station (BS). Leave its default value as “Unconfigured”.
Configuration:
vos-cmd -m role
mso
vos-cmd -s
role status:mso
23
Software Installation and Configuration Guide Installing and Configuring Operating System
a. Suppose that the IP address of eth0 is set to 20.0.8.2 and netmask is set to
vos-cmd -m eth0
20.0.8.2
255.255.255.0
vos-cmd -o eth0
vos-cmd -s eth0
a. Suppose that the gateway address is 20.0.8.1, then run the following command.
vos-cmd -m gw
20.0.8.1
vos-cmd -o gw
vos-cmd -s gw
Step 4 Set the system time and synchronize hardware time with the system time.
1. The system time must use the UTC time. Run the following command to set the system time:
date MMDDhhmmyyyy.ss
For example, if the current Beijing time is 18:30 pm on November 26, 2014, then run the
"date 112610302014.00" command.
24
Installing and Configuring Operating System Software Installation and Configuration Guide
2. After the system clock is successfully set, run the "hwclock -w" command to synchronize the
hardware time with the system time. If no error prompt is returned, it indicates that the
synchronization is successful.
Note
Run the "hwclock" command to query the hardware time.
Run the "date" command to query the system time.
vos-cmd -o ntps
2. Run the following command to query the NTP service on MSO server.
vos-cmd -s ntps
3. If there is an upper-layer NTP server, you must run the following command to set the IP
address of the upper-layer GPS clock source. Otherwise, skip this step.
vos-cmd -m ntps
xx.xx.xx.xx (IP address of GPS clock source, two IP addresses are supported, separated
by a space)
Note
For local or offsite MSO redundancy, if there is no GPS clock source, the master and
slave MSO servers function as a clock source for each other.
25
Software Installation and Configuration Guide Installing and Configuring Operating System
Note
If the license is based on a USB dongle, it is required to install the dongle software. If
the license is based on the machine code, skip this step.
vos-cmd -o logc
vos-cmd -s logc
vos-cmd -o tomcat
Note
This setting is related to the role and redundancy mode. If the server role is cnms or
dual, and the server is deployed in local, offsite or local+offsite rendundancy mode,
then the tomcat service process is started by the rendundancy mode, and no need to
run the “vos-cmd –o tomcat” command.
If the CNMS is deployed in standalone mode, or shares server with single MSO, run
the “vos -cmd –o tomcat” command to enable tomcat.
vos-cmd -s tomcat
26
Installing and Configuring Operating System Software Installation and Configuration Guide
vos-cmd -m ha
1)pdt
2)business
1) tsc
2) mso
3) tsc+mso (tsc)
4) tsc+mso (mso)
5)rmso
1) one_machine
2) two_machine
vos-cmd -o ha
vos-cmd -s ha
Step 11 Create database files (using scripts provided in the MSO DB_Server folder). For details, refer to
1.3.4.
27
Software Installation and Configuration Guide Installing and Configuring Operating System
vos-cmd -o mysql
Now you will open mysql, this is not permitted in MSO backup mode,please to make
sure [y/n]
vos-cmd -s mysql
In order to reboot the system, Run the "reboot" command to reboot the system, and put the
configuration into effect.
Step 2 Configure the IP address, mask, and gateway on both servers respectively.
Step 6 Configure the dedicated network interface for data synchronization on both severs respectively.
28
Installing and Configuring Operating System Software Installation and Configuration Guide
Note
For master and slave MSO servers, it is disallowed to run the "vos-cmd -omysql"
command to start MySQL.
Procedures
Step 1 Install OS on both the master and slave MSO servers and configure the IP address, mask,
gateway, system time, NTPS, logAgent, and tomcat.
Step 2 Configure an independent data synchronization channel on both servers (for local backup only).
If the conditions are met on the site, the two servers must be directly connected by a cable
connecting two separate network interfaces on the two servers. More specifically, you need to
configure and enable the eth1 network card on the two servers respectively, and then connect
the two servers via eth1 using a network cable. Suppose that the eth1 IP address of master
MSO server is set to 192.168.20.9, eth1 IP address of slave MSO server is set to 192.168.20.8,
and the subnet mask is set to 255.255.255.0 for both of the servers, do as follows.
a. Run the following command to configure the IP address of the eth1 network interface.
vos-cmd -m eth1
192.168.20.9
255.255.255.0
vos-cmd -o eth1
a. Run the following command to configure the IP address of the eth1 network interface.
vos-cmd -m eth1
192.168.20.8
255.255.255.0
29
Software Installation and Configuration Guide Installing and Configuring Operating System
vos-cmd -o eth1
1. Local Redundancy
a. Run the following commands to install HyteraHA, inotify-tools, hapl, rsync and csync2.
Suppose that the IP address of the local machine is 20.0.8.3, IP address of the peer
machine is 20.0.8.4, the virtual IP address is 20.0.8.2, gateway is 20.0.8.1, the
synchronization directory is "/opt/local/bin/VOS/cur" (default path), the number of peer
machine checks is 3, the check interval is 2,000 ms, the heartbeat interval is 3s, and the
group ID of master and slave MSO servers is 255. Run the following command.
Note
The group ID must be a unique number within 1 to 255. It is recommended that the
group ID of master and slave MSO servers is set to 255.
vos-cmd -m ha
1) pdt
2) business
1) tsc
2) mso
30
Installing and Configuring Operating System Software Installation and Configuration Guide
3) tsc+mso(tsc)
4) tsc+mso(mso)
5) rmso
6) tmso
1) one_machine
2) two_machine
1) master
2) slave
1 (Set it to "1" in the case of master MSO server, and "2" in the case of slave MSO server)
20.0.8.2 (the master and slave servers must have the same virtual IP address)
Please input the group ID(1~255): 255 (the group ID set on the slave and master servers
must be the same and should not be identical with any other group ID)
Please input the delay between advertisements(s)(3s): 3 (the recommended settings for
heartbeat check interval is 3s)
2. Offsite Redundancy
a. Run the following commands to install HyteraGHA, rsync, hapl, inotify-tools and csync2.
31
Software Installation and Configuration Guide Installing and Configuring Operating System
vos-cmd -m ha
1) pdt
2) business
1) tsc
2) mso
3) tsc+mso(tsc)
4) tsc+mso(mso)
5) rmso
6) tmso
1) one_machine
2) two_machine
32
Installing and Configuring Operating System Software Installation and Configuration Guide
b. Configure hapl.
vos-cmd -m ha
1) pdt
2) business
1) tsc
2) mso
3) tsc+mso (tsc)
4) tsc+mso (mso)
5) rmso
6) tmso
vos-cmd -o ha
vos-cmd -s ha
reboot
Step 4 Configure the HyteraHA License and application service. See 1.3.3 for details.
33
Software Installation and Configuration Guide Installing and Configuring Operating System
Create database files on the two servers, respectively (using the scripts provided in the
DB_Server folder). For details, refer to 1.3.4.
Back up the database on both servers respectively. For details, refer to 1.3.5.
Note
For local or offsite redundancy, enable HA after HA (local mode) or GHA (offsite
mode) is configured, HA License is imported and the hapl is configured.
For local+offsite redundancy, enable HA first, and then import the License and
configure HA.
If the redundancy does not work well, run “vos-cmd –c ha” command and reboot
servers to configure the HA again.
vos-cmd -o ha
vos-cmd -s ha
After configuration is completed, you can run the command "vos-cmd -s" to check
configuration status. And then restart the server to validate the configuration.
1. Run "VOS-Hostid" command to obtain the host ID of the local machine. (It is required to
calculate the License file based on "hostid".)
VOS-Hostid
2. Save the obtained License in "License.txt" file, as shown in the following figure.
34
Installing and Configuring Operating System Software Installation and Configuration Guide
VOS-Loadlic
Caution
Do not frequently import the license file.
VOS-HAConfig
1) master
2) slave
(Set it to "1" in the case of master MSO server, and "2" in the case of slave MSO server.)
1) mysql
2) oracle
35
Software Installation and Configuration Guide Installing and Configuring Operating System
3) null
(Select database type according to the installed database. If database is not needed,
choose null.)
Note
If you enter a wrong value, you can press "Backspace" to delete it provided that a
monitor is used. In the event of the SSH remote mode, you should press "Delete" to
delete the incorrect value.
36
Installing and Configuring Operating System Software Installation and Configuration Guide
vos-cmd -o ha
VOS-HAQuery
Offsite Redundancy
Step 1 Install HA.
1. Run "VOS-Hostid" command to obtain the host ID of the local machine. (It is required to
calculate the License file based on "hostid".)
VOS-Hostid
2. Save the obtained License in "License.txt" file, as shown in the following figure.
37
Software Installation and Configuration Guide Installing and Configuring Operating System
VOS-Loadlic
Caution
Do not frequently import the license file.
Configuring HA
VOS-GHAConfig
Note
If you enter a wrong value, you can press "Backspace" to delete it provided that a
monitor is used. In the event of the SSH remote mode, you should press "Delete" to
delete the incorrect value.
1) master
2) slave
(Set it to "1" in the case of master MSO server, and "2" in the case of slave MSO server. )
1) mysql
2) oracle
3) null
(Select database type according to the installed database. If database is not needed,
choose null.)
38
Installing and Configuring Operating System Software Installation and Configuration Guide
Now You can input third-ip (one is recommended), and then input q to quit:
(This address is an IP address helping to judge whether the master and slave servers are
operating normally. The number of such IP addresses shall not exceed 3, and such IP
address is recommended to be a BS IP address, gateway IP address, or another public
device IP address.)
(transmit bandwidth: You can set the bandwidth for data synchronization, the unit is kB/s. It
is disabled by default. Make sure the local servers and the remote servers have the same
value for this bandwidth.)
(take-over timeout: You can set the time after which the remote system will take over the
service, the unit is second, and the value should be an integer. If you do not want to input a
value, press Enter. The default value is 45.)
39
Software Installation and Configuration Guide Installing and Configuring Operating System
Note
Explanation about Bind-IP under MSO centralized deployment:
In this case, you should set the Bind-IP as the local IP address on the local and
remote MSO servers respectively.
/etc/init.d/services/mysql start
Step 3 Prior to creating data files, place the released "my.cnf" file into the "/etc/" folder under the root
directory and run the following command to delete the control M characters.
dos2unix my.cnf
Step 4 Stop the MySQL database and clear the database files.
/etc/init.d/services/mysql stop
rm -rf /opt/local/mysql/data/hytpdt*
rm -rf /opt/local/mysql/data/bill_query
rm -rf /opt/local/mysql/data/ib*
Step 6 Check whether the MySQL database is started after the reboot. If not, run the following
command to manually start the MySQL database again.
/etc/init.d/services/mysql start
cd /opt/remotepath/
chmod 777 *
dos2unix hss_tsc
dos2unix offline_bill
Note
Do not perform dos2unix operation on sqlite3, otherwise, the sqlite3 may be
damaged.
Step 8 Find the "db_install" installation folder under the "/opt/local/bin/VOS/db" directory.
cd /opt/local/bin/VOS/db/db_install
41
Software Installation and Configuration Guide Installing and Configuring Operating System
Shell script
Database script
42
Installing and Configuring Operating System Software Installation and Configuration Guide
Step 11 Run the following command to set execute permissions on the above listed files and then
execute these files to complete installation and configuration.
chmod 777 *
Step 12 Run the following command to remove the control M characters due to file conversion.
dos2unix *
Step 13 Run the following command so that "end" is displayed on the display of the computer.
./setup_root
./setvariable
./setup_mso
Note
You must input "all" no matter whether all the databases are required or not.
Step 15 If you want to install all the above databases, input "all" and then input "1" (Chinese version) or
"2" (English version) according to the prompt. The installation completes when the prompt "End"
is displayed.
43
Software Installation and Configuration Guide Installing and Configuring Operating System
Caution
After installation is completed, the "vos_bill", "vos_nm", "vos_vauc", "vos_gps",
"vos_mso" and "vos_smss" files will appear in the folder. Do not delete these files,
because they are used to guide how to do auto-backup.
If the traffic statistics data is relatively large, it will affect overall system performance.
Therefore, a threshold is set. Once the threshold is exceeded, the expired data will be
exported to the "/opt/local/bin/VOS/db/bill_excel/" folder in Excel format. If you need to
query the data that have already been deleted from the database, you can send the
Excel file associated with the corresponding date to us for parsing.
delete_backup (deletes data backed up on the same date from the previous year)
44
Installing and Configuring Operating System Software Installation and Configuration Guide
statistic folder
Step 2 Run the following command to set permissions on the files and remove the control M
characters.
cd /opt/local/bin/VOS/db/db_backup
chmod 777 *
dos2unix backup_*
dos2unix delete_backup
dos2unix source_mso
cd /opt/local/bin/VOS/db/db_backup/statistic
chmod 777 *
dos2unix *
The system automatically executes the above listed baking up scripts and backup-deleting
script.
1. Run the following command to modify MySQL backup time according to your local time zone.
Time zone range is [-12, 12].
vos-cmd -m db
1) mysql
2) oracle
vos-cmd -o db
vos-cmd -s
reboot
45
Software Installation and Configuration Guide Installing and Configuring Operating System
Step 5 Input the following command in the command line after the restart.
crontab -l
Check whether all of event_minute, event_hour and event_day are started. If not, contact us for
technical support.
Step 6 If you want to manually back up the database (e.g., bill database), run the following command.
./backup_bill
Caution
To delete the "delete_backup" script of history backup file means to delete backup
files generated in the same month of previous year.
If the traffic statistics data is relatively large, it will affect overall system performance.
Therefore, a threshold is set. Once the threshold is exceeded, the expired data will be
exported to the "/opt/local/bin/VOS/db/bill_excel/" folder in Excel format. If you need
to query the data that have already been deleted from the database, you can send the
Excel file associated with the corresponding date to us for parsing.
This operation is only to import the SQL file to the database without adding data.
Step 1 Place "source_mso" file to the "/opt/local/bin/VOS/db/db_backup/" folder and run the following
command.
chmod 777 *
46
Installing and Configuring Operating System Software Installation and Configuration Guide
dos2unix source_mso
./source_mso
To recover the hytpdtbilldb database, if the backed up file "bill_201150906.sql" exits, input "bill",
and press Enter, as shown in the following figures.
Step 4 Input "20150906", and press Enter, as shown in the following figure.
Step 5 If the file to be imported is too large, you may need to wait for a relatively long time. When "End"
appears, it indicates the importing is completed.
47
Software Installation and Configuration Guide Installing and Configuring Operating System
cd /opt/local/bin/VOS/db/db_backup/
./backup_dayupdate
Step 2 Copy all files in the "latest" folder to the "normal" folder via SSH, or by running the following
command.
cp -aR /opt/local/bin/VOS/db/db_backup/latest/*
/opt/local/bin/VOS/db/db_backup/normal/
Note
If significant change occurs in the data such as user data, be sure to perform the backup
and replace the old files in the "normal" folder with the latest backup files.
48
Installing and Configuring Operating System Software Installation and Configuration Guide
cd /opt/local/bin/VOS/cur
./prepef -T5
49
Software Installation and Configuration Guide Configuring the Applications
To obtain the machine code of MSO server, run the following command.
cd /opt/local/bin/VOS/cur
chmod 777 *
./VOS.exe -s
50
Configuring the Applications Software Installation and Configuration Guide
cd /opt/local/bin/VOS/cur
chmod 777 *
./VOS.exe -u
In the Windows OS, use the SQLite to open the configuration file "VOS.Config.db" and change the
corresponding settings.
51
Software Installation and Configuration Guide Configuring the Applications
The following figure shows the application programs that run when the VOS platform starts. To run
the programs with start of the VOS platform, change "false" to "true".
52
Configuring the Applications Software Installation and Configuration Guide
Configure CRT by modifying the IP address of the corresponding server according to the network
planning, as shown the following figure.
53
Software Installation and Configuration Guide Configuring the Applications
CRT 2/false/20.0.2.2:6088/20.0.2.2:8887 CBILL and MSO are deployed on the same server,
55
Software Installation and Configuration Guide Configuring the Applications
Configure HSW, IDSC, CBill and HSS by modifying the IP address of the corresponding server by the
network planning, as shown the following figure.
56
Configuring the Applications Software Installation and Configuration Guide
Modify the IP address of the corresponding server according to the network planning, as shown the
following figure.
Configure V_AUC by modifying the IP address of the corresponding server by the network planning,
as shown the following figure.
57
Software Installation and Configuration Guide Configuring the Applications
IP address of the
AucUDPAddr 10.0.100.220:5000
authentication server.
58
Configuring the Applications Software Installation and Configuration Guide
Configure the database by modifying the IP address of the corresponding server by the network
planning, as shown the following figure.
59
Software Installation and Configuration Guide Configuring the Applications
database.
60
Configuring the Applications Software Installation and Configuration Guide
Encryption flag.
Dial Scheme
0: Scheme 1;
1: Scheme 3;
3: MPT1343
4: DMR
61
Software Installation and Configuration Guide Configuring the Applications
2: g.711a
6: AMBE+2™
Configure the SDS by modifying the GPS data format, as shown the following figure.
Configure the MGHSW by modifying the AIS voice streams type, as shown the following figure.
Configure the SIPGW and PSTNGW by modifying the IP address of the corresponding server by the
network planning, as shown the following figure.
62
Configuring the Applications Software Installation and Configuration Guide
SIPGW IP 20.0.2.2 IP address of the SIPGW node (i.e., IP address of the MSO server).
PSTNGW IP 20.0.2.2 IP address of the PSTNGW node (i.e., IP address of the MSO server).
Configure the MTU by modifying the IP address of the corresponding server according to the network
planning, as shown the following figure.
MTU 0/TrafSendPort 6000 0/TrafSendPort: the starting serial number increments when
63
Software Installation and Configuration Guide Configuring the Applications
there are more than one MTU, for example, the second MTU
corresponds to 1/TrafSendPort
64
Configuring the Applications Software Installation and Configuration Guide
65
Software Installation and Configuration Guide Configuring the Applications
Encryption flag.
Configure the PSTNGW by modifying the IP address of the corresponding server according to the
network planning, as shown the following figure.
66
Configuring the Applications Software Installation and Configuration Guide
Configure the SIPGW by modifying the IP address of the corresponding server according to the
network planning, as shown the following figure.
67
Software Installation and Configuration Guide Configuring the Applications
68
Configuring the Applications Software Installation and Configuration Guide
1: NEMA binary.
GPS_NMEA_Type 0 0: GPGLL;
1: GPRMC.
1: Short;
SIPType 1 2: Full;
0: Auto.
69
Software Installation and Configuration Guide Configuring the Applications
70
Configuring the Applications Software Installation and Configuration Guide
Database type.
0: SQLite;
DBType 1
1: MySQL;
2: Oracle.
chmod 777 *
dos2unix car_cfg_*.ini
dos2unix keyfile.conf
dos2unix start_mysql.sh
dos2unix stop_mysql.sh
vos-cmd -o autorun
vos-cmd -s autorun
vos-cmd -c autorun
reboot
Step 4 To view the processes that have already been started, run the ps -ef|grep exe command.
72
Configuring the Applications Software Installation and Configuration Guide
73
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Caution
Telnet and tftp services are required in order to support the upgrade.
74
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Step 2 Connect the MTU to the computer using a serial cable, and then turn on the MTU and check the
MTU configuration information, as shown in the following figure. The first number underlined in
red indicates the MTU version.
Caution
Do not hot plug or unplug the serial cable.
75
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Step 2 Connect the MTU at its CONSOLE port using a USB cable, and then power on the MTU and
check the MTU configuration information, as shown in the figure below.
76
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Step 3 If the IP address of the MTU is already known, you can view the MTU configuration using
"MTU_PSS" (this application is provided in software package
"Complex_V6.5.00.009\Tools\MTU-PSS_V6.5.001\Release"). Configure the IP address of the
computer such that it is in the same network segment with the MTU. Directly connect the MTU
and the computer using a network cable. Run the MTU_PSS, input the "MTU IP" and "Local
Port", leave the "Port" by default (7777), then click "Connect", as shown in the figure below.
77
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Step 2 Log in to the MTU system through Telnet and back up the ESN file. You also need to open
tftpd32.
1. Run "putty.exe".
78
Upgrading and Configuring the MTU Software Installation and Configuration Guide
2. Input the IP address of the MTU in the host name line and choose "Telnet" from connection type.
3. Click "Open".
Password: 123456
4. Press Enter.
5. Run the "cd /yaffs2/" command to enter the "yaffs2" directory. Run the "Is" command to view
contents in the directory, as shown in the figure below.
cd /yaffs2/
ls
79
Software Installation and Configuration Guide Upgrading and Configuring the MTU
6. Run "tftpd32.exe" on the Windows server to start the tftp service, and then run the following
command.
tftp -pl fiel.c 192.168.40.5 (this IP address is the IP address of the computer
running the upgrade tool)
A "fiel.c" file is generated in the tftp service directory (where the tftpd32.exe is located) to
save the ESN file.
1. Place the upgrade file "MTU.bin" and "MTU_update.img" to the upgrade folder (the default
folder, or the folder where the tftpd32.exe is located) and enable the tftp service.
4. When "Hit any key to stop autoboot" is displayed, press Enter to enter the uboot interface,
as shown in the figure below.
80
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Run "tftp 31000000 MTU_update.img" command to copy the upgrade script into the
memory
The MTU will be restarted automatically and the system information will be output through
the serial port. The MTU configurations are recovered to default values (IP address:
192.168.40.110, CODEC: AMBE+2™, gain: 4).
1. Log into the MTU system through Telnet again (IP address of MTU: 192.168.40.110).
cd /yaffs2/
81
Software Installation and Configuration Guide Upgrading and Configuring the MTU
ls
cp /25_2_30_esn /yaffs2/
./25_2_30_esn
Step 2 Log in to the MTU system through Telnet and back up the configuration file "config.ini". You also
need to open tftpd32.
1. Run "putty.exe".
82
Upgrading and Configuring the MTU Software Installation and Configuration Guide
2. Input the IP address of the MTU in the host name line and choose "Telnet" from connection type.
3. Click "Open".
Password: 123456
4. Press Enter.
5. Run the "cd /yaffs2/" command to enter the "yaffs2" directory. Run the "Is" command to view
contents in the directory, as shown in the figure below.
cd /yaffs2/
ls
83
Software Installation and Configuration Guide Upgrading and Configuring the MTU
6. Run "tftpd32.exe" on the Windows server to start the tftp service, and then run the following
command.
tftp -pl config.ini 192.168.40.5 (this IP address is the IP address of the computer
running the upgrade tool)
A "fiel.c" file is generated in the tftp service directory (where the tftpd32.exe is located) to save
the "config.ini" file.
1. Place the upgrade file "MTU.bin" and "MTU_update.img" to the upgrade folder (the default
folder, or the folder where the tftpd32.exe is located) and enable the tftp service.
4. When "Hit any key to stop autoboot" is displayed, press Enter to enter the uboot interface,
as shown in the figure below.
84
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Run " tftp 31000000 cram_update.img" command to copy the upgrade script into the
memory
The MTU will be restarted automatically and the system information will be output through
the serial port. The MTU configurations are recovered to default values (IP address:
192.168.40.110, CODEC: AMBE+2™, gain: 4).
1. Log into the MTU system through Telnet again (IP address of MTU: 192.168.40.110).
cd /yaffs2/
85
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Restart the MTU after the write-back completes and the configurations take effect.
3.1.2.3 New Model MTU
Step 1 Open MTU_PSS and connect the MTU to the computer.
Step 2 Click "Update" tab, select "Application", "uImage", "Rootfs", "Convert" or "Fireware" from the
"Update Type" drop-down list and load the update file (the directory is
"Complex_V6.5.00.009\MSC\MTU\MTU_V6.5.04.004\UpdateBinFile"), then click "Update"
button, as shown in the figure below.
86
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Step 3 Restart the MTU after the Application, uImage and Rootfs are all upgraded.
Note
Application: application file
uImage: kernel image file
Rootfs: file system
cd /yaffs2/
ls
vi config.ini
Note
Input "a" or "i" to edit the configuration file.
After the modification, press Esc, then press "Shift+:" to enter the command line
87
Software Installation and Configuration Guide Upgrading and Configuring the MTU
The contents of the configuration file are shown in the following figure.
WD_GAN_SET: gain adjustment of the wired terminal (maximum: 8, values larger than 8
will be taken as 8)
WL_CODEC_TYPE: voice coding scheme of the wireless terminal (AMBE+2™ and SELP)
CC_*_IP: IP address of the *th MSO (e.g., CC_1_IP represents the IP address of the 1st
MSO)
88
Upgrading and Configuring the MTU Software Installation and Configuration Guide
CC_*_SIG_PORT: signal port of the *th MSO (e.g., CC_1_SIG_PORT represents the
signal port of the 1st MSO)
NVOC_AGC_STATE: auto gain switch state of NVOC (0: off, 1: on, default: 0)
Note
The MTU of version later than MTU3.0.03.003 supports separate control, i.e., it can be
controlled by different NEs, and each NE can control multiple voice lines simultaneously
without interference among each other.
Multiple LDSs configured on the same MTU cannot call each other.
One MTU works for one system only and cannot be controlled by multiple systems.
Step 2 Alternatively, you can check the MTU version by running the following command:
cd /yaffs2/
vi version.txt
Press Esc, then press "Shift+:" to enter the command line mode, input "wq!" and click Enter to
save and quit.
Note
The version number can be queried only and cannot be changed. Even if it is changed, it
will recover after the MTU is restarted.
89
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Step 2 Select the key length from the "Encrypt Length" drop-down list and then click "Add".
Step 3 Enter the key value under "Key Value" field and then click Enter.
Step 5 Click "OK" in the pop-up dialog box. Now a key file named "encrypt_table" is created in the
folder where the MTU_ENCRYPT_Tool is located.
90
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Step 6 Place the "encrypt_table" file into the folder where the PuTTY tool is located. Open the PuTTY
tool. You also need to open tftpd32. Upload the "encrypt_table" file to the MTU by running the
following command:
cd /yaffs2/
Step 7 Modify the configuration file "config.ini" according to section 3.2.2.1. Modify the CC item to the
IP address and the port number to those of the corresponding MSO or LDS.
91
Software Installation and Configuration Guide Upgrading and Configuring the MTU
92
Upgrading and Configuring the MTU Software Installation and Configuration Guide
IP address of cipher
ENCRYPT PERIPHERALS IP Not used in 5.0
machine
93
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Step 5 Click "MTU Info" tab after the configuration and click "Restart" to restart the MTU.
Caution
It is recommended to restart the MTU by "Restart" command after the configurations are
made. If you want to power off the MTU, wait at least five seconds after the configurations
are made, otherwise, the configurations may not succeed.
94
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Step 2 Select the desired length of encryption key under the "Encrypt Length" option, and then click
"Add", as shown in the following figure.
Step 3 Enter the key value under "Key Value" field and then click Enter.
95
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Step 5 Click "OK" in the pop-up dialog box. Now a key file named "encrypt_table" is created in the
directory where the MTU_ENCRYPT_Tool is located.
Step 6 Open MTU_PSS and connect the MTU to the computer. Click "Update" to load the encryption
key file "encrypt_table". Then click "Put" to import the "encrypt_table" file to "/home" folder of the
MTU.
Caution
MTU_PSS and PuTTY tool cannot run at the same time.
Step 7 Open the PuTTY tool and log in to the MTU through telnet.
96
Upgrading and Configuring the MTU Software Installation and Configuration Guide
Step 9 Import the "encrypt_table" file to the "loadapp" folder by running the following command.
cd /loadapp
cp /home/encrypt_table /loadapp
ls
reboot
Step 10 Open MTU_PSS and connect to the MTU, then click "CC Info" tab to configure the IP address
and port of the corresponding MSO or LDS, according to section 91.
97
Software Installation and Configuration Guide Upgrading and Configuring the MTU
Step 2 Click "CC Info" tab to configure the IP address and port of the corresponding MSO or LDS,
according to section 91.
98
Upgrading and Configuring the MTU Software Installation and Configuration Guide
99
Software Installation and Configuration Guide Configuring PSTN Gateway
FXO FXS
DMR
FXS FXO
PBX
PSTN
Gateway
E1 E1
DMR
PBX
PSTN
Gateway
100
Configuring PSTN Gateway Software Installation and Configuration Guide
By default, the username for login is "admin" and the password is "nice".
Procedure
Step 1 Configure the IP address of the PC. Make sure that this IP address is in the same network
segment as the PSTN gateway. Now we take Windows 7 for example.
3. Click "Change adapter settings" in the left navigation tree and go to "Network Connection"
page.
4. Right-click "Local Area Connection" and select "Properties" in the context menu to access
"Local Area Connection Properties" dialog.
5. Select "Internet Protocol Version 4 (TCP/IPv4)" and click "Properties" to access "Internet
Protocol Version 4 (TCP/IPv4) Properties" dialog, as shown in the following figure.
6. Set the IP address and subnet mask, and then click "OK".
Note
Here we take "192.168.1.3" as an exemplary IP address.
101
Software Installation and Configuration Guide Configuring PSTN Gateway
Step 2 Open Internet Explorer and input "http://192.168.1.10" (i.e., IP address of the PSTN voice
gateway) in the address field, and then a dialog box appears, as shown in the figure below.
Step 3 Input the username and password, and then click "OK".
Note
To obtain the latest parameter settings, click "Read ROM" after login each time.
Step 2 Enter the IP address, subnet mask and default gateway IP address based on your actual
conditions, and then click "OK".
Note
The IP Address of LAN0 is the true IP Address of PSTN gateway in the network.
Toggle the power switch of PSTN gateway to "OFF" and then to "ON".
102
Configuring PSTN Gateway Software Installation and Configuration Guide
Step 2 Enter the "<IP address of central server>: 18765" in the "Domain" field. Then click "OK" and
"Write ROM".
Note
Leave other parameters in the above page at their default value.
Click "Reboot" and a dialog box appears, then click "OK" to finish.
103
Software Installation and Configuration Guide Configuring PSTN Gateway
Step 2 Select the routing parameter of all items with the "SID" of "09" and click "Modify".
Step 3 Click the value in the "Description" field. The following page appears.
104
Configuring PSTN Gateway Software Installation and Configuration Guide
Step 4 Enter the IP address of central server in the "Addr" field, and click "OK". Then click "Write
ROM".
Note
Leave the port at its default value.
Step 5 Reboot the gateway to make your modifications take effect after modifying all items with "SID"
of 09.
Click "Reboot" and a dialog box appears, then click "OK" to finish.
Caution
If the system adopts DMR dialing scheme, please contact us for technical support to get
the PSTN template.
105
Software Installation and Configuration Guide Configuring the Firewall
E0/12 E0/0
Local
NMC E1/0/47
E1/0
E0/24 E0/1
Firewall Core
Core Router
Switch
Local
LDS
Step 1 Use the console cable to connect the serial port on the computer and the console port on the
firewall.
Cable
Step 2 Select "Start -> All Programs -> Accessories -> Communications -> Hyper Terminal", and the
"Connection Description" dialog will appear.
106
Configuring the Firewall Software Installation and Configuration Guide
Step 3 Enter "H3C" in the "Name" field, and select an icon. Then click "OK", and the "Connect To"
dialog will appear.
Step 4 Select a serial port used for connection. Then click "OK", and the port property dialog will
appear.
107
Software Installation and Configuration Guide Configuring the Firewall
Step 5 Configure the parameters. Then click "OK", and the "H3C-Hyper Terminal" window will appear.
Step 6 Power up the firewall for self-check. After the self-check is completed, press the Enter key on
the keyboard. Then the command prompt will appear.
108
Configuring the Firewall Software Installation and Configuration Guide
Note
This section only introduces the specific operations. The IP address, interface and other
information need to be configured according the actual requirements.
[USG2200]sysname SZ_FW_1
[SZ_FW_1]aaa
[SZ_FW_1-aaa]quit
[SZ_FW_1]user-interface console 0
[SZ_FW_1-ui-console0]authentication-mode aaa
[SZ_FW_1-ui-console0]quit
[SZ_FW_1]interface LoopBack 1
[SZ_FW_1-LoopBack1]quit
[SZ_FW_1-GigabitEthernet0/0/0]quit
[SZ_FW_1-GigabitEthernet0/0/1]quit
[SZ_FW_1-acl-adv-3001]quit
109
Software Installation and Configuration Guide Configuring the Firewall
[SZ_FW_1-ike-proposal-1]authentication-algorithm md5
[SZ_FW_1-ike-proposal-1]quit
[SZ_FW_1-ike-peer-todnr_1]pre-shared-key hytera
[SZ_FW_1-ike-peer-todnr_1]undo version 2
[SZ_FW_1-ike-peer-todnr_1]remote-address 1.1.1.2
[SZ_FW_1-ike-peer-todnr_1]quit
[SZ_FW_1-ipsec-proposal-todnr]quit
[SZ_FW_1-ipsec-policy-isakmp-todnr-1]proposal todnr
[SZ_FW_1-ipsec-policy-isakmp-todnr-1]ike-peer todnr_1
[SZ_FW_1-ipsec-policy-isakmp-todnr-1]quit
[SZ_FW_1-GigabitEthernet0/0/1]quit
[SZ_FW_1-Tunnel1]tunnel-protocol gre
[SZ_FW_1-Tunnel1]source GigabitEthernet0/0/1
[SZ_FW_1-Tunnel1]destination 1.1.1.2
[SZ_FW_1-Tunnel1]quit
[SZ_FW_1-zone-trust]quit
110
Configuring the Firewall Software Installation and Configuration Guide
[SZ_FW_1-zone-untrust]quit
[SZ_FW_1-zone-dmz]quit
[SZ_FW_1-zone-dmz]quit
[SZ_FW_1-policy-interzone-local-untrust-inbound]policy 0
[SZ_FW_1-policy-interzone-local-untrust-inbound-0]action permit
[SZ_FW_1-policy-interzone-local-untrust-inbound-0]quit
[SZ_FW_1-policy-interzone-local-untrust-inbound]quit
111
Software Installation and Configuration Guide Configuring the Firewall
[SZ_FW_1]quit
<SZ_FW_1>save
112
Configuring the Core Router Software Installation and Configuration Guide
Step 1 Use the console cable to connect the serial port on the computer and the console port on the
router.
Cable
Step 2 Select "Start -> All Programs -> Accessories -> Communications -> Hyper Terminal", and the
"Connection Description" dialog will appear.
113
Software Installation and Configuration Guide Configuring the Core Router
Step 3 Enter "H3C" in the "Name" field, and select an icon. Then click "OK", and the "Connect To"
dialog will appear.
Step 4 Select a serial port used for connection. Then click "OK", and the port property dialog will
appear.
114
Configuring the Core Router Software Installation and Configuration Guide
Step 5 Configure the parameters. Then click "OK", and the "H3C-Hyper Terminal" window will appear.
Step 6 Power up the router for self-check. After the self-check is completed, press the Enter key on the
keyboard. Then the command prompt will appear.
115
Software Installation and Configuration Guide Configuring the Core Router
Note
This section only introduces the specific operations. The IP address, interface and other
information need to be configured according the actual requirements.
<Huawei>system-view
[Huawei]sysname XX_CR_1
[XX_CR_1]aaa
[XX_CR_1-aaa]quit
[XX_CR_1]user-interface vty 0 4
[XX_CR_1-ui-vty0-4]authentication-mode aaa
[XX_CR_1-ui-vty0-4]quit
[XX_CR_1]user-interface console 0
[XX_CR_1-ui-console0]authentication-mode aaa
[XX_CR_1-ui-console0]quit
[XX_CR_1]interface g0/0/0
[XX_CR_1]interface g0/0/1
[XX_CR_1-GigabitEthernet0/0/1]
[XX_CR_1]interface LoopBack 0
116
Configuring the Core Router Software Installation and Configuration Guide
[XX_CR_1-Tunnel0/0/0]tunnel-protocol gre
[XX_CR_1-Tunnel0/0/0]source 202.96.1.1
[XX_CR_1-Tunnel0/0/0]destination 202.96.1.5
[XX_CR_1-ike-peer-br]local-address 202.96.1.1
[XX_CR_1-ipsec-policy-templet-br-1]ike-peer br
[XX_CR_1-ipsec-policy-templet-br-1]proposal 1
117
Software Installation and Configuration Guide Configuring the Core Switch
E0
/0
Core Router E1
/0 /0 /41
/48 E1
Central
Control
Server
/0/47 E1
E1 /0/
1
E0/0 Core
Switch
Firewall BS
Step 1 Use the console cable to connect the serial port on the computer and the console port on the
switch.
Cable
Step 2 Select "Start -> All Programs -> Accessories -> Communications -> Hyper Terminal", and the
"Connection Description" dialog will appear.
118
Configuring the Core Switch Software Installation and Configuration Guide
Step 3 Enter "H3C" in the "Name" field, select an icon, click "OK", and the "Connect To" dialog will
appear.
Step 4 Select a serial port used for connection, click "OK", and the port property dialog will appear.
119
Software Installation and Configuration Guide Configuring the Core Switch
Step 5 Configure the parameters, click "OK", and the "H3C-Hyper Terminal" window will appear.
Step 6 Power up the switch for self-check. After the self-check is completed, press the Enter key on the
keyboard. Then the command prompt will appear.
120
Configuring the Core Switch Software Installation and Configuration Guide
Note
This section only introduces the specific operations. The IP address, interface and other
information need to be configured according the actual requirements.
[Quidway]sysname XX_CS_1
[XX_CS_1]aaa
[XX_CS_1-aaa]quit
[XX_CS_1]user-interface vty 0 4
[XX_CS_1-ui-vty0-4]authentication-mode aaa
[XX_CS_1-ui-vty0-4]quit
[XX_CS_1]user-interface console 0
[XX_CS_1-ui-console0]authentication-mode aaa
[XX_CS_1-ui-console0]quit
[XX_CS_1]interface Ethernet0/0/1
[XX_CS_1]interface vlanif 10
121
Software Installation and Configuration Guide Configuring the Core Switch
[XX_CS_1]interface Ethernet0/0/40
[XX_CS_1]interface Ethernet0/0/40
[XX_CS_1-vlan4070]description connect to FW
[XX_CS_1]int Ethernet0/0/47
[XX_CS_1]interface Ethernet0/0/48
122
is the trademark or registered trademark of Hytera Communications Corporation Limited.
2019 Hytera Communications Corporation Limited. All Rights Reserved.