01-Chapter 1 Installation BAM Server2
01-Chapter 1 Installation BAM Server2
01-Chapter 1 Installation BAM Server2
Table of Contents
Chapter 1 Installing BAM Server.................................................................................................. 1-1 1.1 System Requirements ....................................................................................................... 1-1 1.1.1 Hardware Environment of BAM............................................................................... 1-1 1.1.2 Software Environment of BAM ................................................................................ 1-2 1.1.3 Partitioning of BAM Hard Disk................................................................................. 1-2 1.2 Installation Procedures of BAM Software .......................................................................... 1-3 1.2.1 Installing BAM Server Software .............................................................................. 1-3 1.2.2 Installing Emergency Workstation Software ......................................................... 1-17 1.2.3 Installing Client Software....................................................................................... 1-19 1.3 Data Restoration and Upgrade ........................................................................................ 1-21 1.3.1 Restoration of BAM Server Data........................................................................... 1-22 1.3.2 Upgrade of BAM.................................................................................................... 1-23 1.4 BAM System Directories.................................................................................................. 1-26 1.4.1 Server Software Directories .................................................................................. 1-26 1.4.2 Client Software Directories.................................................................................... 1-31 1.4.3 Other Directories ................................................................................................... 1-32 1.5 Installation Files ............................................................................................................... 1-32 1.6 Parameter Configuration for BAM.................................................................................... 1-33 1.7 Installation Cautions ........................................................................................................ 1-33 1.7.1 Unable to Create Database Files .......................................................................... 1-33 1.7.2 Processing System Database Fails ...................................................................... 1-34 1.7.3 Unable to Uninstall the System ............................................................................. 1-35 1.7.4 Unable to Start the BAM Server............................................................................ 1-36 1.7.5 Client Software Unable to Run Correctly .............................................................. 1-36 1.7.6 Client Software Unable to Access the Server ....................................................... 1-37 1.7.7 Unable to Update Database during Upgrading ..................................................... 1-37 1.7.8 Unable to Restore System Registry ...................................................................... 1-38 1.7.9 System Restart during Upgrading or Restoring .................................................... 1-38
hj hghg g h gghh g gg
Installation Manual Volume 2 C&C08 Digital SPC Switching System Chapter 1 Installing BAM Server
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.
! !
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 three logical 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.
Installation of one set of server software Installation of several sets of client software (including emergency workstations)
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 > Run from 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;
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).
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.
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.
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.
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.
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.
!
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.
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.
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.
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.
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.
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.
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 triggers is set to FALSE; Quoted identifier is set to FALSE; Torn page detection is set to FALSE; Auto create statistics is set to FALSE; Auto update statistics is set to FALSE; Autoclose is set to FALSE; Autoshrink is set to FALSE; ANSI null default is set to FALSE; Dbo use only is set to FALSE; No chkpt on recovery is set to FALSE;
Huawei Technologies Proprietary 1-16
Read only is set to FALSE; Select into/bulk copy is set to TRUE; Single user is set to FALSE; Trunc.log on chkpt is 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.
X. Installation Completion
After all the above steps are completed successively, the setup program displays the Setup 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.
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.
4) 5)
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 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
I. Startup of setup.exe
Refer to Installation of BAM Server Software (1.2.1-I).
" 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.
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.
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.
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.
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 Bam database.
client program configuration file client program file server monitoring startup file
system uninstall executive file system uninstall support file system uninstall support file system uninstall information file BAM server configuration file synchronization service program
D:\CC08\SERVICES stores system program support files: system monitoring service module file d:\cc08\services\bamservice.exe d:\cc08\services\bill.exe d:\cc08\services\dataman.exe BAM bottom layer communication module d:\cc08\services\exchange.exe maintenance service support module d:\cc08\services\maintain.exe d:\cc08\services\stats.exe d:\cc08\services\test.exe d:\cc08\services\warn.exe d:\cc08\services\logman.exe d:\cc08\services\mml.exe d:\cc08\services\logman.tlb d:\cc08\services\makecrc.exe d:\cc08\services\libnspr2dll d:\cc08\services\makecrc.dll system running support file system running support file traffic statistics service support module testing service support module alarming service support module system authority management service support module MML command interface processing module system running support file system running support file bill service support module data management service support module
system running support file d:\cc08\services\warnserv.dll d:\cc08\services\zip3240.dll d:\cc08\services\setup.log d:\cc08\services\isql.exe d:\cc08\services\dbremove.dat system running support file setup program recording file uninstall program support file uninstall program support file
D:\CC08\SERVICES\MCP stores system MCP card programs and configuration files: d:\cc08\services\mcp\memwr.ini d:\cc08\services\mcp\memwr.sys d:\cc08\services\mcp\regini.exe MCP card registration program MCP card configuration file MCP card driving program
D:\CC08\ONLINEHELP stores MML online help system files: d:\cc08\onlinehelp\statstable_1.htm d:\cc08\onlinehelp\statstable_2.htm table of relationship between traffic statistics measurement subset and measurement unit table of relationship between statistics measurement unit measurement entity table of relationship between statistics measurement unit measurement object traffic and traffic and
description of the values of traffic statistics measurement object MML online help system support file MML online help system support file MML client program support file MML online help file
physical data file corresponding to Alarm database physical data file corresponding to Bam database physical data file corresponding to BillData database physical data file corresponding to Stats database physical data file corresponding to Test database
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 e:\mssql\data\bam_log.ldf e:\mssql\data\billdata_log.ldf e:\mssql\data\stats_log.ldf e:\mssql\data\test_log.ldf physical log file corresponding to Alarm database physical log file corresponding to Bam database physical log file corresponding to BillData database physical log file corresponding to Stats database physical log file corresponding to Test database
d:\data\Cdp.elf d:\data\Cdp.map d:\data\Fsk.dat d:\data\Ncc.elf d:\data\Ncc.map d:\data\Sm.map d:\data\bac.bin d:\data\bacram.abs d:\data\bacrom.map d:\data\cc08.bcc d:\data\cc08.mhi d:\data\cc08.spc d:\data\cc08.spd d:\data\cc08.src d:\data\cc08n7.cpc d:\data\cc08pra.cpc d:\data\cc08spc.ncc d:\data\cc08v5.cpc d:\data\e16.bin d:\data\ncc.loc d:\data\qsi.bin d:\data\spc.bd d:\data\spc.loc d:\data\spc.map d:\data\stu.bin
AM loading program AM loading program SM initial configuration data AM loading program AM loading program SM loading program AM loading program AM loading program AM loading program AM loading program AM loading program Service Processing Module (SPM) loading program SPM loading program SPM loading program SPM loading program SPM loading program SPM loading program SPM loading program AM loading program AM loading program AM loading program SPM loading program SPM loading program SPM loading program AM loading program
The SPD signal tone loading files, which are named in numbering mode, are stored in the subdirectory of d:\data\Voice.
" Note: After the startup, the server will generate the data configuration files used by the switch such as Db_?.dat according to the users configuration command. Hence, do not delete any files in this directory.
The BAM monitoring service control programs are stored in the SYSTEM32 folder in the Windows directory. bam alarm.pma dynamicmonitor.exe performance monitor configuration file 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
gateway
tool
MML command online help startup file client program configuration file client program file system uninstall executive file system uninstall support file system uninstall support file 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.
data.tag datacab lang.dat layout.bin os.dat setup.bmp setup.exe setup.ini setup.ins setup.lid
setup program support file compression program data file setup program support file setup program support file setup program support file setup program support file setup program running file setup program support file setup program support file setup program support file
" Note: The sequence numbers of the recommended solutions correspond to those of the possible causes.
2) 3)
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)
3)
3)
Shut down the computer, then restart it and try again. If the fault still exists, contact the technical support staff.