5/27/2018 01-Chapter 1 Installation BAM Server2
1/39
HuaweiTechn
ologiesProprietary
i
1.2Insta
llationProceduresofBAMSoftwa
re..........................................................................1-3
1.2.1InstallingBAMServerSoftware
......................................................
........................1-3
1.2.2InstallingEmergencyWorkstatio
nSoftware.........................................................1-17
1.2.3InstallingClientSoftware...........
......................................................
......................1-19
1.3Data
RestorationandUpgrade........................................................................................1-21
1.3.1RestorationofBAMServerData
.....................................................
......................1-22
1.3.2UpgradeofBAM........................
......................................................
......................1-23
1.4BAM
SystemDirectories..................................................................................................1-26
1.4.1ServerSoftwareDirectories......
......................................................
......................1-26
1.4.2ClientSoftwareDirectories........
......................................................
......................1-31
1.4.3OtherDirectories...................................................................................................1-32
1.5Insta
llationFiles...............................................................................................................1-32
1.6ParameterConfigurationforBAM....................................................................................1-33
1.7Insta
llationCautions........................................................................................................1-33
1.7.1UnabletoCreateDatabaseFiles..........................................................................1-33
1.7.2ProcessingSystemDatabaseFails......................................................................1-34
1.7.3UnabletoUninstalltheSystem.............................................................................1-35
1.7.4UnabletoStarttheBAMServer
......................................................
......................1-36
1.7.5ClientSoftwareUnabletoRunC
orrectly..............................................................1-36
1.7.6ClientSoftwareUnabletoAccesstheServer.......................................................1-37
1.7.7UnabletoUpdateDatabasedur
ingUpgrading.....................................................1-37
1.7.8UnabletoRestoreSystemRegistry......................................................................1-38
1.7.9SystemRestartduringUpgradin
gorRestoring....................................................1-38
5/27/2018 01-Chapter 1 Installation BAM Server2
2/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-1
Chapter 1 Installing BAM Server
1.1 System Requirements
The setup program for the terminal system is available in a CD. You can either
directly run the setup program from the CD drive, or copy it from the CD to the hard
disk, and then complete the setup.
The terminal system software of the C&C08 digital SPC switching system (shortened
as C&C08 switch), that is, Background Management Module (BAM) software, is
divided into the server software and the client software. It only can be correctly
installed and run when certain conditions are met.
1.1.1 Hardware Environment of BAM
Server:
CPU: !2, Pentium II 300 MHz (or higher);
Memory: !128 MB, 256 MB memory is recommended;
Hard disk (or hard disk array): !4.3 GB, it can be expanded according to the user
quantity during the commissioning;
Network card: !2, it is used for the communication between the Administration
Module (AM) and the client.
Client:
CPU: Pentium II 300 MHz;
Memory: !32 MB;
Hard disk: !100 MB of free space;
Network card: it is used for communication with the server.
Make sure that the current hardware configuration of the computer can meet the
above requirements. Otherwise, it will affect the efficiency of the BAM, or sometimes
cause abnormities, or even lead to the failure of the BAM.
hj hghg g h gghh g gg
5/27/2018 01-Chapter 1 Installation BAM Server2
3/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-2
1.1.2 Software Environment of BAM
Server:
Operating system: Windows 2000 Server operating system;
MS SQL Server 7.0 or MS SQL Server 2000 (SQL stands for Structured Query
Language) database management system (Select 936 Chinese simplified for
Character Setand Binary Order forSort Order).
Client:
Operating system: Windows 95 (OSR2), Windows 98, Windows NT Workstation 4.0,
or Windows NT Server 4.0;
With Internet Explorer (IE) 4.01 already installed.
To be a User Interface (UI) terminal, the Data Access Objects (DAO) 3.5 or later
versions (with ODBC direct components selected) must be installed.
Make sure that the software is correctly installed according to the above guide.
Otherwise, possible running conflicts might occur, which will make the BAM run
unstably or even failed to run.
1.1.3 Partitioning of BAM Hard Disk
I. Disk File Type
The BAM hard disk is partitioned into four logical partitions, C, D, E, and F, with the
files all in the format of New Technology File System (NTFS).
! Disk C is used as the system disk which includes the Windows 2000;
! Disk D is used for the installation of the SQL Server, BAM program, BAM
database, call bill files, and traffic statistics results;
! Disk E is used to store database logs, bill backup and bill classification files;
! Disk F is used for database backup.
II. Size of Disk Partitions
In case that the total hard disk size is larger than 8 GB, the sizes of logical partitions
can be specified as follows:
1) No matter in the single-processor or double-processor form, the space of disk C
is fixed to 2 GB.
2) Space of disk F should be no less than 2 GB.
3) When the above two conditions are met, the sizes of the remaining partitions can
be set complying with the proportion of D: E: F = 4: 2: 1. If the space of disk F is
5/27/2018 01-Chapter 1 Installation BAM Server2
4/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-3
less than 2 GB, set the space of disk F to 2 GB, and then reduce the size of disk
D properly.
In case that the total hard disk size is less than 8 GB, as with an emergency
workstation, disks E and F can be combined, that is, split the whole disk into threelogical partitions, C, D, and E. The contents stored in disks C and D remain
unchanged, while disk E can be used to store database logs, bill backup files, bill
classification files, and database backup. In this case, the sizes of these logical disks
can be set with C: D: E = 1: 2: 1 properly.
III. Partitioning Example
If the BAM has four 9 GB hard disks which are configured to the RAID5, the total
available capacity is 27 GB. In this case, the logical disks should be partitioned as
follows:
1) First set disk C to 2 GB.
2) Partition the remaining 25 GB disk space according to the ratio 4:2:1. That is, the
logical disk sizes are respectively 14.3 GB, 7.2 GB, and 3.5 GB. Based on the
calculated result, space of logical disks D, E, and F can be set respectively as 14
GB, 7 GB, and 4 GB.
The final result should be as follows:
! C: 2 GB,
! D: 14 GB,
! E: 7 GB,
! F: 4 GB.
1.2 Installation Procedures of BAM Software
The installation of the whole BAM system includes:
! Installation of one set of server software
! Installation of several sets of client software (including emergency workstations)
1.2.1 Installing BAM Server Software
The BAM server system can serve one multi-module switching system (the switching
system has the AM and can provide background management functions).
I. Startup of setup.exe
Insert the installation CD into the drive. The setup program will auto start if the
automatic starting function of setup programs is enabled with the system. Otherwise,
select Start> Runfrom the Windows 2000 menu, type "Setup(if it is not the current
path, type or select the related path), and press Enter, then the setup program starts;
5/27/2018 01-Chapter 1 Installation BAM Server2
5/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-4
or use the explorer and click on the icon of the file Setup.exe. As another alternative
approach, you can copy the files in the installation CD to the hard disk for execution
under the same directory.
A Welcome dialog box is displayed after the initialization is completed. Click Next to
continue (or click Cancel to exit).
II. License Agreement and Installation Wizard
A license agreement dialog box is displayed. Read it carefully and make sure that you
agree to it, and then clickYes. Otherwise, click Noto exit.
Then the setup program will provide a system installation wizard, showing the
installation steps and other information. This installation wizard may contain the
content that is not listed in this manual, such as the latest installation information.Please read it carefully.
III. Authentication Serial Number
When the setup program requires the input of user information, as shown in Figure 1-
1), type the serial number of the product. The serial number is already provided along
with related agreements.
Figure 1-1 User information
5/27/2018 01-Chapter 1 Installation BAM Server2
6/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-5
IV. Installation Instructions
After the input of the correct user information, the setup program checks whether a
legal BAM system has been installed before. If yes, for data security and the matching
of versions, the setup program will not allow the reinstallation of this system. In this
case, only the program upgrade and data restoration can be carried out. If no BAM
system installed before, install it (in this case, only installation can be carried out).
See Figure 1-2.
Figure 1-2 Installation instructions
V. Selection of Installation Type
To install the BAM server, select C&C08 switch Administration System Server, as
shown in Figure 1-3. When you select this option, apart from installing the server
software, the setup program will install a set of client software for your convenience.
The client software is used for communication with the server, as well as the
command transfer and result display.
Next, select the folder name (program menu) and the destination directory of the
program. The program will be started according to program menu, and under the
destination directory will store all the software programs and help files of the BAM
server system. Ensure that this directory has the hard disk space of at least 10 MB to
20 MB.
5/27/2018 01-Chapter 1 Installation BAM Server2
7/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-6
Figure 1-3 Selecting installation mode
VI. System Configuration
Now you are supposed to configure some related information for the server
installation.
! System administrator information
As shown in Figure 1-4, information of the system administrator includes the account
and password of the C&C08 switch administrator. By default, the system administrator
account is cc08, which cannot be changed. The system administrator password
should be composed of 1 to 30 valid characters, excluding the function keys and
control keys. Also, the password can not be left vacant.
5/27/2018 01-Chapter 1 Installation BAM Server2
8/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-7
Figure 1-4 Setting system administrator information
! System information
As shown in Figure 1-5, the system information refers to the name of the office
managed by the BAM server.
The office name should be composed of 1 to 30 valid characters. The office name
that identifies an office uniquely is used in the later operations, such as the report
output.
5/27/2018 01-Chapter 1 Installation BAM Server2
9/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-8
Figure 1-5 Configuring office name
! Configuration of capacity
As shown in Figure 1-6, the capacity configuration refers to the quantity setting of the
user lines and the trunk lines during the deployment.
The values should be the same as that required by the actual quantities. Based on
these values, the program is able to auto calculate the database capacity. If it is
necessary to change the database capacity, type the related value in the box. To
make full use of the disk space, enhance the system running efficiency, and
guarantee the data validity.
It is recommended that the capacity of the database should be ranging from 283 MB
to 500 MB. If the database capacity is less than 283 MB, the system may be failed to
be initialized.
5/27/2018 01-Chapter 1 Installation BAM Server2
10/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-9
Figure 1-6 Configuring system capacity
! Directory for storing BAM data
The operation data of the BAM during the running are all stored in the folder set here.
The default folder is D:\MSSQL\DATA, as shown in Figure 1-7.
Note:
The capacity of the folder should be no less than 1 GB. During the installation, if the
setup program prompts that there is no sufficient space, but you want to continue with
the installation, first switch to another task, clear the disk space, and then switchback
to go on.
5/27/2018 01-Chapter 1 Installation BAM Server2
11/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-10
Figure 1-7 Choosing the directory for storing system data
! Directory for storing system log files
The log files of the BAM during its running are all stored in the folder set here. The
default folder is E:\MSSQL\DATA. The capacity of the folder should be about 1 GB.
Data files are frequently accessed, while log files are accessed only when necessary,
so data files should be stored in the NTFS partition if possible.
! Directory for storing loading data
As shown in Figure 1-8, all the programs and data that will be dynamically loaded
during the AM/CM (Communication Module) startup are stored under the folder set
here.
Note:
When the switch data in the BAM are configured and sent to the system setting, all
the data that will be sent to the host are stored in this folder in the file format. Hence,
make sure that no file in this folder is deleted.
5/27/2018 01-Chapter 1 Installation BAM Server2
12/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-11
Figure 1-8 Choosing the directory for storing loading data
! Directory for storing the system running data
As shown in Figure 1-9, enter or select the directories for saving program data during
the running of the BAM server. The options are as follows:
System Backup: F:\CC08\ by default
The directory set in this edit box is used for storing the system data backup. Its
capacity should be about 1 GB.
Stats Result: D:\Stats by default
The call statistic results are to be dumped under the directory set in this edit box in
the .DBF format of FOXPRO. The data stored here can be used repeatedly for
statistic result re-analysis.
Bill Result: D:\BILL by default
The directory set in this edit box stores all the call bill data in the data file format. The
bill files are output in Huawei C&C08 format. Bill files are generated by hour and with
the name of 4-digit year+2-digit month+2-digit date+2-digit hour.BIL format for the
query convenience.
Bill Backup:
The directory set in this edit box stores the call bill file backup.
5/27/2018 01-Chapter 1 Installation BAM Server2
13/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-12
Figure 1-9 Selecting directories for storing system running data
! Presetting of super workstation
As shown in Figure 1-10, for convenient system management, some clients can be
listed during the installation as super workstations. The super workstations are
authorized to control and manage the BAM server. The Transmission Control
Protocol/Internet Protocol (TCP/IP) addresses of the super workstations should be
filled in the IP address field, so that the server can communicate with them. The
names of the super workstations should be filled in the Name field, so that the
subsequent management operations on a workstation can be made by referring to its
name.
Note:
The entered workstation name or IP address must be unique. Otherwise, the setup
program will prompt to type a workstation name or IP address again. During the
installation process, a maximum of 16 workstations can be added. While, after the
installation, any number of clients can be added by using the related Man Machine
Language (MML) command.
5/27/2018 01-Chapter 1 Installation BAM Server2
14/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-13
Figure 1-10Adding super workstations
! Verification of SQL server authority
As the data operations of the whole BAM system are based on the SQL server
system, to guarantee the data security, the validity of the installation is to be checked.
Type the password of the SQL server system account sa (sa is the default database
super user). See Figure 1-11.
5/27/2018 01-Chapter 1 Installation BAM Server2
15/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-14
Figure 1-11 Verifying SQL server password
! Connection of bill server
To connect the bill server, select Yes, and type the IP address and the BAM number
of the bill server in the related edit boxes. Each BAM connected to the same bill
server has a unique number for identification. See Figure 1-12.
5/27/2018 01-Chapter 1 Installation BAM Server2
16/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-15
Figure 1-12 Connecting bill server
By now, all the configurations to be done for the BAM server installation are
completed.
Next, the setup program will display part of the configured parameters for your
confirmation. If they are agreed, the setup program will proceed with the next step.
Otherwise, it will allow you to go back to the previous step for modification.
VII. File Copying
This step is used for creating the directory and copying files. When copying the files,
the setup program will display the information, such as the file copying progress, the
available disk space, the available memory, and the progress of copying each file.
VIII. Data procEssing
After the files are successfully copied, the setup program will start to process the data
used by the BAM server.
In the current SQL server 7.0, the program will use the provided account sa to log in
to the SQL server and then create the database files. If the creation is successful, the
database server should contain the following files:
Alarm_Data.MDF: physical file (by default) D:\Mssql\Data\Alarm_Data.MDF
Alarm_Log.LDF: physical file (by default) E:\Mssql\Data\Alarm_Log.LDF
5/27/2018 01-Chapter 1 Installation BAM Server2
17/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-16
Bam_Data.MDF: physical file (by default) D:\Mssql\Data\Bam_Data.MDF
Bam_Log.LDF: physical file (by default) E:\Mssql\Data\Bam_Log.LDF
BillData_Data.MDF: physical file (by default) D:\Mssql\Data\BillData_Data.MDF
BillData_Log.LDF: physical file (by default) E:\Mssql\Data\BillData_Log.LDF
Stats_Data.MDF: physical file (by default) D:\Mssql\Data\Stats_Data.MDF
Stats_Log.LDF: physical file (by default) E:\Mssql\Data\Stats_Log.LDF
Test_Data.MDF: physical file (by default) D:\Mssql\Data\Test_Data.MDF
Test_Log.LDF: physical file (by default) E:\Mssql\Data\Test_Log.LDF
After that, the setup program starts to initialize the database and process the initial
data in the database. This process may take several minutes or several hours, which
depends on the database capacity and the efficiency. After the processing, the SQL
server should contain the following databases:
Alarm: for alarm processing use
Bam: for system use
BillData: for bill processing use
Stats: for traffic statistics use
Test: for test processing use
They are created in the related database files, and the attributes of each database
have been correctly set.
At present, their attributes are set as below:
Recursive triggersis set to FALSE;
Quoted identifieris set to FALSE;
Torn page detectionis set to FALSE;
Auto create statisticsis set to FALSE;
Auto update statisticsis set to FALSE;
Autocloseis set to FALSE;
Autoshrinkis set to FALSE;
ANSI null defaultis set to FALSE;
Dbo use onlyis set to FALSE;
No chkpt on recoveryis set to FALSE;
5/27/2018 01-Chapter 1 Installation BAM Server2
18/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-17
Read onlyis set to FALSE;
Select into/bulk copyis set to TRUE;
Single useris set to FALSE;
Trunc.log on chkptis set to TRUE.
Note:
These attributes can be modified to meet specific requirements. Because the
database attributes are vital to the running of some programs, special care should be
paid when these attributes are modified.
IX. Environment Update
The setup program registers the information used by the BAM to Windows 2000
system. Also, it adds the environment variables relying on which the system operates,
sets the auto-run features of the system, and creates or updates the program menu.
X. Installation Completion
After all the above steps are completed successively, the setup program displays theSetup completed window to ask you whether to restart the system at once. To
validate the new settings, you need to restart the system at once.
By now, the installation of the BAM server is completed. Since then, each time when
the Windows 2000 system is restarted, the BAM server software will be auto started.
Note:
During the installation of the BAM server, to make the operation and management
more convenient, the setup program also installs a set of BAM client software by
default. Hence, you need not install it again.
1.2.2 Installing Emergency Workstation Software
Due to some irresistible or unpredictable accidents, the BAM software, the Windows
platform software, or the hardware itself may be damaged, causing the BAM server
5/27/2018 01-Chapter 1 Installation BAM Server2
19/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-18
unable to run normally or even failed to run. In such cases, to prevent further losses,
an emergency workstation shall be installed to serve as the standby server.
The BAM of the C&C08 switch provides a set of emergent server software, which
auto mirrors the data on the BAM server every four hours by default. Once the normal
BAM server stops running due to some fault, you can start the emergency workstation
at once to restore the data. Meanwhile, switch over the IP address to make the
emergency workstation to take over the communication task with the AM from the
original server at once. For a more improved data security strategy, the CLUSTER
mode can be adopted.
I. Installation Procedures
For the installation of the emergency workstation, the installation type should be
C&C08 switch System Emergency Resume Workstation. The subsequent steps
are the same as those of the ordinary server installation.
The difference is that when the setup program proceeds with the stage described in
Section 2.1/VI. System configuration/Verification of SQL server authority, the interface
is displayed as shown in Figure 1-13, prompting you to configure the connection of
the emergency workstation and set the directories whose data are to be mirrored.
Meanings of the options:
Server Name: the name or IP address of the windows 2000 computer where the
normal server system is installed.
Origin Dir: the directories on the normal server under which the files contain the data
to be mirrored.
Target Dir: the directories on the emergency server under which the mirrored data are
stored.
To make an emergency workstation functioning, at least two directories for the data
synchronization should be specified on the normal server: the data backup directory
(F:\CC08 by default) and the bill file saving directory (D:\Bill by default). The directory
that stores the mirrored data on the emergency server can be created at the related
location in the tree structure.
II. Switchover of Emergency Workstation
To switch an emergency workstation to be the active one, follow the steps below:
1) Stop the synchronization service (Smirror service) and any possible running
terminal programs on the emergency workstation
2) Start the server program, select to restore system database and bill database; or
you can use the SQL server Enterprise Manager to restore data3) Change the IP address to the one that is accessible to the AM (172.20.x.x)
5/27/2018 01-Chapter 1 Installation BAM Server2
20/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-19
4) Connect the network adapter for the IP accessible to the AM of this emergency
workstation to the HUB port of the server through a network cable
5) Restart the emergency workstation. By now, the emergency workstation should
have taken over all the tasks of the original server, serving as a BAM server
Figure 1-13 Configuring directories whose contents are to be duplicated
1.2.3 Installing Client Software
Client software is used to communicate with the BAM server and carry out the
functions such as command transfer and result display. One set of client software can
communicate with multiple BAM servers, and can set up multiple connections with
each server.
I. Startup of setup.exe
Refer to Installation of BAM Server Software (1.2.1-I).
II. License Agreement and Installation Wizard
Refer toInstallation of BAM Server Software (1.2.1-II).
III. Authentication Serial Number
Refer to Installation of BAM Server Software (1.2.1-III).
5/27/2018 01-Chapter 1 Installation BAM Server2
21/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-20
IV. Installation Instructions
Refer to Installation of BAM Server Software (1.2.1-IV).
V. Selection of Installation Type
Refer to Installation of BAM Server Software (1.2.1-V).
Here, select the C&C 08 Switch Administration System Clientoption.
VI. System Configuration
The information required for the connection between the client and the BAM server
can be provided here in advance.
You can set a list of the servers to be logged in, and type the TCP/IP address of the
concerned server in the IP addressfield, so that the client can communicate with the
server, as well as the name of the office where the server is located in the Office
namefield. Refer to Figure 1-14.
Note:
The office name and IP address must be unique. Otherwise, the setup program will
prompt you to type them again. During the installation process, a maximum of sixteen
servers can be added. After the installation, you can add servers or modify the server
information through the client software.
5/27/2018 01-Chapter 1 Installation BAM Server2
22/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-21
Figure 1-14Adding login server
VII. File Copying
Refer to Installation of BAM Server Software (2.1-VII).
VIII. Environment Update
Set the system information required by the client software, and then create program
menus and so on.
IX. Installation Completion
The setup program displays the Setup Complete window to prompt you of the
installation completion and ask you whether to start the client at once.
Start the client by ticking the check box, and click Finishto end the client installation.
By now, the installation of the BAM client is completed.
1.3 Data Restoration and Upgrade
After the BAM of the C&C08 switch is installed, it can be restored or upgraded by
running the setup program again when necessary. The setup program will auto detect
any existing system, and instruct you to complete the subsequent steps.
5/27/2018 01-Chapter 1 Installation BAM Server2
23/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-22
Before the upgrading or restoring, first shut down the BAM server, and then choose
Start > Set > Control Panel > Administration Tools > Service to quit the BAM
monitoring services: BamService and Smirror service. Then shut down all the
running programs to be upgraded on the BAM.
1.3.1 Restoration of BAM Server Data
When the system data are damaged due to the accidental or intentional causes, the
following measures can help you to restore the data with the latest backup data.
Start the setup program, and then select the Restore C&C 08 Environment and
Dataoption.
I. Selection of System Backup Files
Select the latest system data files that are backed up, including the system
environment data files, the system configuration data files, and the bill data files; or
directly type the name and the path of the files to be restored in the related edit boxes,
as shown in Figure 1-15.
The files whose extension name is .bak are system environment data backup files,
which are stored in the system backup folder. Among them, select the most complete
and appropriate file to recover the system. The files whose extension name is .dat are
system configuration data files and bill data backup files, which are also stored in the
system backup folder. Select among them the most complete and appropriate file to
recover the system. The fields can be left vacant and the related files will be ignored
during the restoration.
5/27/2018 01-Chapter 1 Installation BAM Server2
24/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-23
Figure 1-15 Restoring system data
The restoration of system files is an irreversible operation that will result in
substitution of all the original system data, so carry out it with care.
II. Restoration
After selecting the files, click on the button Restore.
The system will display the currently restored object and the progress.
III. Restart of the Computer
As the system restoration changes the configuration of the system, the computer
should be restarted. When the computer is restarted, the server will auto run.
By now, the restoring process is ended.
1.3.2 Upgrade of BAM
By the upgrade installation of the setup program, the BAM system can be upgraded
from the lower version to the latest version. Upgrade your software according to the
following procedures, but before which ensure that the setup program supports the
upgrading function.
5/27/2018 01-Chapter 1 Installation BAM Server2
25/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-24
I. Preparations Before Upgrade
To upgrade the BAM server, first enable the emergency workstation to take over all
the tasks of the current running BAM, then run the setup program on the replaced
BAM to upgrade it by selecting the Update C&C08 Server Programoption, as shown
in Figure 1-16.
After the upgrade, if it is confirmed that everything about it is normal, the BAM can be
connected to the switch and put into service.
II. Selection of Upgrade Type
Start the setup program to enter the Setup Instruction interface. If the server
software is installed, you can choose to upgrade either all software or only the client
software. If the client software is installed, you can only update the client software.
The setup program will auto manage the information to guarantee the matching of
software versions.
Figure 1-16 Upgrading BAM server
III. Backup of Original Files and BAM Database
During the BAM upgrade, the setup program will auto back up the BAM database, the
executable program directory D:\cc08 and the loading file directory D:\DATA.
5/27/2018 01-Chapter 1 Installation BAM Server2
26/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-25
D:\cc08 is backed up as D:\cc08MM-DD-YYYY // MM-DD-YYYY is the date of
upgrading.
D:\DATA is backed up as D:\DATAMM-DD-YYYY // MM-DD-YYYY is the date of
upgrading.
D:\Mssql\Data\Bam_Data.MDF is backed up as
D:\Mssql\Data\BamOldBackup_Data.MDF // BAM database file
E:\Mssql\Bam_Log.LDF is backed up as E:\Mssql\BamOldBackup_Log.LDF // BAM
database log file
BAM database Bam is backed up as BamOldBackup.
IV. File Copying
After the upgrade type is chose, the setup program will auto detect the location of the
software that is installed previously. If the environment of the system is modified by
manual, the setup program cannot be run correctly.
If the server upgrade option is selected, the setup program will reinitialize all the
database data except the bill database. Hence, handle it with special care.
V. Upgrade Completion
After the files are copied, the program upgrade is completed.
In the case of the BAM server upgrade, switch back to the upgraded server from the
emergency workstation and restart the system.
Note:
! The BAM installation CD of all versions cannot provide the upgrade function. Also,
the upgrade function only supports to upgrade some software of the basic versions.
Hence, before using the upgrade function of a setup program, you need to confirm
whether the program provides the upgrade function, and if yes, which basic
versions it can upgrade.
! During the BAM upgrade, follow the setup wizard. Do not interrupt the setup
program by force. Otherwise, it may leads to the invalid BAM database. In the
case of the abnormal interruptions that make the BAM database inaccessible,
check if the backup database BamOldBackup can be accessed. If the backup
database is normal, rename the backup database as Bam, so as to restore the
original Bamdatabase.
5/27/2018 01-Chapter 1 Installation BAM Server2
27/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-26
1.4 BAM System Directories
Before the setup program is started, make sure that the mandatory software has been
installed in your computer. The typical software environment is as follows:
C:\WINNTthe directory where the Windows 2000 operating system is located;
C:\Program Filesthe directory where the Windows programs are located;
C:\Tempthe directory where the temporary files are stored;
D:\MSSQL7the directory where the MS SQL Server 7.0 is located.
Besides, disk drives such as E and F should be available in the system. To reduce the
impact of unknown factors on the BAM, no other applications or software shall be
installed in the computer.
In the description of the following software directories, it is assumed that all the
default directory options are adopted during the installation.
1.4.1 Server Software Directories
I. Folder of Program Files
After the server software is successfully installed, the setup program has created the
following directories to store the programs and data of the BAM server. The directorystructure is as follows:
(Default directory) D:\CC08to store system startup executive files;
D:\CC08\SERVICESto store system program support files;
D:\CC08\SERVICES\MCPto store system MCP card programs and configuration
files;
D:\CC08\ONLINEHELPto store MML online help system files;
D:\CC08\BINto store UI executable programs and relevant support files;
D:\CC08\DATAto store UI database files, configuration files and other support
files;
D:\CC08\TEMPto store temporary directory for UI batch input.
The files stored in the above folders are listed below.
(Default directory) D:\CC08 stores the system startup executive files:
d:\cc08\convert.exe system communication gateway tool software
d:\cc08\default.htm MML command online help startup file
5/27/2018 01-Chapter 1 Installation BAM Server2
28/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-27
d:\cc08\macro.ini client program configuration file
d:\cc08\mmlws.exe client program file
d:\cc08\securitymanager.exe
server monitoring startup file
d:\cc08\uninstall.exe system uninstall executive file
d:\cc08\isuninst.exe system uninstall support file
d:\cc08\unstall.isu system uninstall support file
d:\cc08\uninst.isu system uninstall information file
d:\cc08\128Bam.ini BAM server configuration file
d:\cc08\smirror.exe synchronization service program
D:\CC08\SERVICES stores system program support files:
d:\cc08\services\bamservice.exe
system monitoring service module file
d:\cc08\services\bill.exe bill service support module
d:\cc08\services\dataman.exe
data management service support module
d:\cc08\services\exchange.exe
BAM bottom layer communication module
d:\cc08\services\maintain.exe
maintenance service support module
d:\cc08\services\stats.exe traffic statistics service support module
d:\cc08\services\test.exe testing service support module
d:\cc08\services\warn.exe alarming service support module
d:\cc08\services\logman.exesystem authority management service supportmodule
d:\cc08\services\mml.exe MML command interface processing module
d:\cc08\services\logman.tlb system running support file
d:\cc08\services\makecrc.exe
system running support file
d:\cc08\services\libnspr2dll system running support file
d:\cc08\services\makecrc.dll
system running support file
5/27/2018 01-Chapter 1 Installation BAM Server2
29/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-28
d:\cc08\services\warnserv.dll
system running support file
d:\cc08\services\zip3240.dll system running support file
d:\cc08\services\setup.log setup program recording file
d:\cc08\services\isql.exe uninstall program support file
d:\cc08\services\dbremove.dat
uninstall program support file
D:\CC08\SERVICES\MCP stores system MCP card programs and configuration files:
d:\cc08\services\mcp\memwr.ini MCP card configuration file
d:\cc08\services\mcp\memwr.sysMCP card driving program
d:\cc08\services\mcp\regini.exe MCP card registration program
D:\CC08\ONLINEHELP stores MML online help system files:
d:\cc08\onlinehelp\statstable_1.htm
table of relationship between trafficstatistics measurement subset andmeasurement unit
d:\cc08\onlinehelp\statstable_2.htm
table of relationship between trafficstatistics measurement unit andmeasurement entity
d:\cc08\onlinehelp\statstable_3.htmtable of relationship between trafficstatistics measurement unit andmeasurement object
d:\cc08\onlinehelp\statstable_4.htm description of the values of traffic statisticsmeasurement object
d:\cc08\onlinehelp\cc128idx.hhk MML online help system support file
d:\cc08\onlinehelp\cc128toc.hhc MML online help system support file
d:\cc08\onlinehelp\cc128toc.idx MML client program support file
d:\cc08\onlinehelp\cc128.chm MML online help file
II. Folder of System Data Files
The routine running data of the BAM are stored in the data directory of the BAM
server.
(Default directory) D:\MSSQL\DATA stores the following files:
5/27/2018 01-Chapter 1 Installation BAM Server2
30/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-29
d:\mssql\data\alarm_data.mdf physical data file corresponding to Alarmdatabase
d:\mssql\data\bam_data.mdf physical data file corresponding to Bamdatabase
d:\mssql\data\billdata_data.mdf physical data file corresponding to BillDatadatabase
d:\mssql\data\stats_data.mdf physical data file corresponding to Statsdatabase
d:\mssql\data\test_data.mdf physical data file corresponding to Testdatabase
The routine running logs of the BAM are stored in the log directory of the BAM server.
(Default directory) E:\MSSQL\DATA stores the following files:
e:\mssql\data\alarm_log.ldf physical log file corresponding to Alarmdatabase
e:\mssql\data\bam_log.ldf physical log file corresponding to Bamdatabase
e:\mssql\data\billdata_log.ldf physical log file corresponding to BillDatadatabase
e:\mssql\data\stats_log.ldf physical log file corresponding to Statsdatabase
e:\mssql\data\test_log.ldf physical log file corresponding to Testdatabase
III. Folder of Loading Data Files
The AM/SM (Switching Module) loading programs and software and hardware
configuration data of the C&C08 switch are stored in the loading data directory of the
BAM server.
(Default directory) D:\DATA stores the following files:
d:\data\Amp.elf AM loading program
d:\data\Amp.map AM loading program
d:\data\Cc08.amp AM loading program
d:\data\Cc08.bcp AM loading program
d:\data\Cc08.bsm SM loading program
d:\data\Cc08.cdp AM loading program
d:\data\Cc08.ncc AM loading program
5/27/2018 01-Chapter 1 Installation BAM Server2
31/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-30
d:\data\Cdp.elf AM loading program
d:\data\Cdp.map AM loading program
d:\data\Fsk.dat SM initial configuration data
d:\data\Ncc.elf AM loading program
d:\data\Ncc.map AM loading program
d:\data\Sm.map SM loading program
d:\data\bac.bin AM loading program
d:\data\bacram.abs AM loading program
d:\data\bacrom.map AM loading program
d:\data\cc08.bcc AM loading program
d:\data\cc08.mhi AM loading program
d:\data\cc08.spc Service Processing Module (SPM) loadingprogram
d:\data\cc08.spd SPM loading program
d:\data\cc08.src SPM loading program
d:\data\cc08n7.cpc SPM loading program
d:\data\cc08pra.cpc SPM loading program
d:\data\cc08spc.ncc SPM loading program
d:\data\cc08v5.cpc SPM loading program
d:\data\e16.bin AM loading program
d:\data\ncc.loc AM loading program
d:\data\qsi.bin AM loading program
d:\data\spc.bd SPM loading program
d:\data\spc.loc SPM loading program
d:\data\spc.map SPM loading program
d:\data\stu.bin AM loading program
The SPD signal tone loading files, which are named in numbering mode, are stored in
the subdirectory of d:\data\Voice.
5/27/2018 01-Chapter 1 Installation BAM Server2
32/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-31
Note:
After the startup, the server will generate the data configuration files used by the
switch such as Db_?.dataccording to the users configuration command. Hence, do
not delete any files in this directory.
IV. Folder of NT System Files
The BAM client configuration files and the MCP card configuration files are stored in
the Windows directory.
macro.ini client configuration file
memwr.ini MCP card configuration file
The BAM monitoring service control programs are stored in the SYSTEM32 folder in
the Windows directory.
bam alarm.pma performance monitor configuration file
dynamicmonitor.exe performance monitor monitoring support
file
Besides, there is some shared and publishable VC Dynamic Link Libraries (DLL).
The additional MCP card driving program of the BAM is stored in the
SYSTEM32\DRIVERS folder in the Windows system directory.
memwr. sys MCP card driving program
1.4.2 Client Software Directories
After the client software succeeds to be installed, the setup program has created the
specified directories for storing the client programs. The directory structure is as
follows:
(Default directory) D:\CC08 to store system startup executive files;
D:\CC08\ONLINEHELPto store MML online help system files;
The files stored in the above folders are listed below (some files are the same as
those generated after the server installation).
(Default directory) D:\CC08 stores system startup executive files:
5/27/2018 01-Chapter 1 Installation BAM Server2
33/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-32
d:\cc08\convert.exe system communication gateway toolsoftware
d:\cc08\default.htm MML command online help startup file
d:\cc08\macro.ini client program configuration file
d:\cc08\mmlws.exe client program file
d:\cc08\uninstall.exe system uninstall executive file
d:\cc08\unstall.exe system uninstall support file
d:\cc08\isuninst.exe system uninstall support file
d:\cc08\unstall.isu system uninstall support file
The BAM client configuration files are stored in the Windows directory:
macro.ini client configuration file
At the same time, some shared and publishable VC DDLs are also stored in the
Windows system directory.
1.4.3 Other Directories
During the running of the BAM server software, the program will create the following
directories according to the values configured in the registry:
E:\BillBack (bill backup directory)
D:\Bill (bill storing directory)
F:\Cc08 (system data backup directory)
C:\Test (directory used for testing)
These directories store the running data and the backup files, so do not delete any of
them casually.
1.5 Installation Files
_inst32i.ex_ setup program support file
_isdel.exe uninstallation program running file
_setup.dll setup program support file
_syscab setup program data file
_usercab setup program data file
autorun.inf auto running information file
5/27/2018 01-Chapter 1 Installation BAM Server2
34/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-33
data.tag setup program support file
datacab compression program data file
lang.dat setup program support file
layout.bin setup program support file
os.dat setup program support file
setup.bmp setup program support file
setup.exe setup program running file
setup.ini setup program support file
setup.ins setup program support file
setup.lid setup program support file
1.6 Parameter Configuration for BAM
Refer to the part Appendix A 128BAM.INI Configuration Items in the C&C08 Digital
SPC Switching System Operation Manual-Routine Operation Volume.
1.7 Installation Cautions
The items listed below are possible faults during the installation and the relatedsolutions.
Note:
The sequence numbers of the recommended solutions correspond to those of the
possible causes.
1.7.1 Unable to Create Database Files
I. Phenomenon
When the setup program displays initializing database, the following dialog box is
displayed, prompting The database initialization failed! Do you want to go on
doing the following setup? as shown in Figure 1-17.
5/27/2018 01-Chapter 1 Installation BAM Server2
35/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-34
Figure 1-17 Installation failed
II. Possible Causes
1) File conflict or unable to create the file. During program processing, it is possible
that you have created the files with the same names as the existing files in the
log or data folder; or you have no authority for file creation.2) Disk space is insufficient.
3) File name conflict. Database files with the same name exist in the SQL Server.
4) BAM reinstallation is attempted after the incomplete BAM uninstallation, which
leads to the above symptom.
5) Other unknown causes.
III. Recommended Solutions
Give up the current installation, and then carry out the suggested solutions according
to the specific causes. After the troubleshooting, restart the setup program.
1) Delete the files with the same name as the existing files in the data or log folder,
or apply for a higher user authority.
2) Clear the disk space, and add the disk capacity.
3) Delete all files with the same name as the existing database files.
4) Delete database files from the SQL Analysis; if windows 2000 and windows 98
are installed at the same time, it is recommended to delete the \mssql\data
directory from the windows 98.
5) Contact the technical support staff.
1.7.2 Processing System Database Fails
I. Phenomenon
When the setup program displays Processing system database, a dialog box is
displayed, prompting The database initialization failed! Do you want to go on
doing the following setup?
II. Possible Causes
1) Incorrect setting of the SQL Server installation options
5/27/2018 01-Chapter 1 Installation BAM Server2
36/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-35
2) Initial data error
3) Other unknown causes
III. Recommended Solutions
Give up the current installation, and then carry out the suggested solutions according
to the specific causes. After the troubleshooting, restart the setup program.
1) During the installation of the SQL Server software, correctly set the system
options. The two configuration options that possibly cause this failure should be
configured as follows:
Character set: 936 Chinese (simplified)
Sort order: Binary Order
2) You need to reinstall the MS SQL Server correctly.3) Contact the technical support staff
1.7.3 Unable to Uninstall the System
I. Phenomenon
The dialog box as shown in Figure 1-18is displayed.
Figure 1-18 Files lost
II. Possible Causes
1) The BAM registry values are changed, so it is impossible to find the programpath to start the uninstall support file.
2) The uninstall support file, which might have been unintentionally deleted, does
not exist.
3) Other unknown causes.
III. Recommended Solutions
1) Use the backup registry files to restore the registry values
2) Check if the files IsUninst.exe, Uninst.isu, Services\Isql.exe, and
Services\DbRemove.dat exist
3) Contact the technical support staff
5/27/2018 01-Chapter 1 Installation BAM Server2
37/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-36
If the above operations cannot be carried out, and you want to completely uninstall
the system, delete the following manually:
! Registry branch: HKEY_LOCAL_MACHINE\SOFTWARE\HuaWei
! The directories D:\CC08 and D:\DATA! The above mentioned SQL Server database and associated files (during server
installation)
! BamService services, Smirror service and MCP card (during server installation)
1.7.4 Unable to Start the BAM Server
I. Phenomenon
The BAM server cannot auto start when the windows 2000 system restarts; or there is
no response for startup through menu.
II. Possible Causes
1) The automatic startup setting of the BAM server may have been manually
modified.
2) The SQL Server is not set as automatic startup.
3) The SQL Server is not completely running.
4) The running IE is faulty.
5) Other unknown causes.
III. Recommended Solutions
1) If the automatic startup function of the BAM server is needed, change the startup
option to the original setting.
2) Set the SQL Server as automatic startup.
3) Wait till the SQL Server is running completely.
4) Delete the IE, and then reinstall it (which must be in the version above IE 4.0).
5) Contact the technical support staff.
1.7.5 Client Software Unable to Run Correctly
I. Phenomenon
The client software cannot be started, or errors occur when querying the online help
during the operation.
II. Possible Causes
1) The version of the operating system is incorrect.
2) The IE 4.0 has not been installed. The client running requires the support of
some IE 4.0 components.
5/27/2018 01-Chapter 1 Installation BAM Server2
38/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-37
3) Other unknown causes.
III. Recommended Solutions
1) Refer to the requirements for the software environment, and then correctly installthe operating system.
2) Install the IE 4.0; or run 40Compud.exeattached to the disk based on the IE 3.0.
3) Contact the technical support staff.
1.7.6 Client Software Unable to Access the Server
I. Phenomenon
The client software is unable to access a server.
II. Possible Causes
1) The specified BAM server does not exist.
2) Network failure.
3) Other unknown causes.
III. Recommended Solutions
1) Reset the BAM server to be logged on.
2) First use the Ping.exe software to check if this server can be found. If not,
reconfigure the network parameters of the operating system, or contact thetechnical support staff.
3) Restart the computer. If the fault still exists, contact the technical support staff.
1.7.7 Unable to Update Database during Upgrading
I. Phenomenon
The setup program prompts Unable to update the database XXX.
II. Possible Causes
1) The database does not exist; this database might have been manually deleted.
2) The database is still in use.
3) Other unknown reasons.
III. Recommended Solutions
1) To reuse this database, create it again according to the original capacity and
configuration by manual.
2) Shut down the SQL Server (by choosing Start> Programs> Microsoft SQL
Server 7.0> SQL Service Manager), and then restart it.
5/27/2018 01-Chapter 1 Installation BAM Server2
39/39
Installation Manual Volume 2C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
Huawei Technologies Proprietary
1-38
3) Shut down the computer, then restart it and try again. If the fault still exists,
contact the technical support staff.
1.7.8 Unable to Restore System Registry
I. Phenomenon
When the system is restored, the setup program prompts open erroror other similar
information.
II. Possible Causes
1) The registry is being used exclusively by other program (for example,
Regedit.exe)
2) Errors occur to the registry backup file
3) Other unknown causes
III. Recommended Solutions
1) Close the program that is using the registry exclusively.
2) Use the correct registry backup file; if this file does not exist, delete the registry
branch HKEY_LOCAL_MACHINE\SOFTWARE\Huawei, and then reinstall the
BAM system.
3) Shut down the computer, and then restart it and try again. If the fault still exists,
contact the technical support staff.
1.7.9 System Restart during Upgrading or Restoring
I. Phenomenon
During the upgrading or restoring by the setup program, the windows 2000 system
restarts suddenly.
II. Possible Causes
1) The BAM monitoring service is not shut down.
2) Other unknown causes.
III. Recommended Solutions
1) While manually shutting down the BAM server, choose Control Panel >
Administration Tools> Serviceto close the BAM monitoring service.
2) Contact the technical support staff.