NC2000 System Operation ManualV2.0 Volume I System Installation NARI Group Corp... It includes four parts: Volume I, Introduction of installation processfor NC2000 system, including inst
Trang 1NC2000 System Operation Manual
V2.0
Volume I System Installation
NARI Group Corp.
Trang 2April.2006
Trang 3Copyright Announcement
Warning: This Computer Program is protected by copyright law and internationaltreaties Unauthorized reproduction or distribution of this program, or any portion of it,may result in severe civil and criminal penalties, and will be prosecuted to themaximum extent possible under the law
、 is registered trade mark of NARI Group Corp
@ 2004 Nanjing Automation Research Institute All rights reserved
Trang 4NC2000 is new generation computer monitoring & control software developedfor electric power system, and it is based on the experience accumulated by Nariaccess system used in many hydropower plants This system use Client/Serverstructure, support different hardware, operating system and relative DB system.Object-oriented pattern is used in design and develop process It will be moreconvenient and visual for users
This manual mainly introduces the installation, operation and maintenance ofNC2000 system It includes four parts: Volume I, Introduction of installation processfor NC2000 system, including installation for operation system and configuration forNC2000 Volume II, User operation manual, which detailedly introduce how to useNC2000 system Volume III, Introduction of configuration tools, which introducehow to use system configuration software Volume IV, system maintenance manual,which introduce all the parts need to be maintained, means and steps formaintenance
We hope this manual can help you master our NC2000 system fluently, andkeep the system safe, reliable and stable
Trang 5This manual includes two parts:
Part I: Installation of operation system It introduces the installation processand steps of relative operation system for NC2000 Nowadays, NC2000 system hassuccessfully run on Windows2000, Red Hat Linux 9 and Sun Solaris 9、10
Part II: Installation of NC2000 system It includes “Installation andConfiguration of NC2000”, ” Installation and Configuration of NARI Oncall”,
“Installation and Configuration of Remote Diagnose Service” It introduces theNC2000 installation process on relative operation system, Project setup andconfiguration, installation and configuration of NARI Oncall and Remote DiagnoseService (RDS)
[Rules]
This manual obeys the following rules:
1 All the titles are in bold face
2 If the title follows by “[Condition]”, It means the contents below this title isrequired under certain conditions
[Notice] User should notice relative issues.
[Warning] User must notice these issues; otherwise it will result in severe
faults
Trang 6CHAPTER I OVERVIEW 1
CHAPTER 2 INSTALLATION OF OPERATION SYSTEM 2
2.1 Installation of Windows 2000 2
2.1.1 Installation of Windows 2000 2
2.1.2 Windows 2000 Update 11
2.2 Installation of Red Hat Linux 9.0 15
2.2.1 Installation of Red Hat Linux 9.0 15
2.2.2 System Configuration 28
2.2.3 Installation of Java 1.5.0 on Red Hat Linux 9 30
2.3 Installation of Sun Solaris 9 30
2.3.1 Installation of Sun Solaris 9 30
2.3.2 Patch update and configuration for Sun Solaris 9 33
2.3.3 Installation of Java 1.5.0 on Solaris Unix 9 37
2.4 Installation of Sun Solaris 10 37
2.4.1 Preparation before installation 37
2.4.2 Installation steps of Sun Solaris Unix 10 37
CHAPTER 3 INSTALLATION OF NC2000 MONITORING SYSTEM 40
3.1 Installation of NC2000 on Windows 2000 40
3.1.1 Installation process 40
3.1.2 System configuration 40
3.2 Installation of NC2000 on Red Hat Linux 9.0 41
3.2.1 Installation process 41
3.2.2 NARI Auto-start configuration 41
3.3 Installation of NC2000 on Sun Solaris Unix 9.0 44
3.3.1 Installation process 44
3.3.2 System configuration 44
Trang 73.4.1 Foundation of NC2000 Web server(C/S) 45
3.4.2 Configuration and Application of NC2000 Web Client(C/S) 52
3.4.3 Installation of NC2000 Web Server(B/S V1.0) 58
CHAPTER 4 PROJECTS CONFIGURATION FOR NC2000 SYSTEM 61
4.1 Projects configuration for NC2000 system 61
4.1.1“NC2000 Configuration” 61
4.1.2 Configuration steps for NC2000 project 62
4.1.3 Example for NC2000 configuration 62
4.2 Directory tree of NC2000 configuration file 63
4.2.1 System file directory: data 63
4.2.2 Project directory: projects.strategy 64
CHAPTER 5 INSTALLATION OF NARI ONCALL SYSTEM 65
5.1 Hardware configuration 65
5.1.1 Computer hardware requirement 65
5.1.2 Telephone pronunciation card 66
5.1.3 GSM Modem 66
5.2 Installation of telephone card driver for NARI Oncall system 66
5.2.1 Driver installation 66
5.2.2 audio card configuration 68
CHAPTER 6 INSTALLATION AND CONFIGURATION OF RDS 70
6.1 Modem installation 70
6.2 Remote server installation 70
6.3 system configuration 72
6.4 Network configuration 75
6.5 Dial server installation 79
Trang 8Chapter I Overview
NC2000 is automatic monitoring and control software for hydro-powerplants; it is developed by NARI Automation Research Institute, and can run onWindows, Linux, Unix, etc
This manual mainly introduces the installation and configuration process ofrelative operation system and software system It also introduces how to installand configure NC2000 on these platforms
Operation system installation mainly introduces the installation process ofWindows 2000, Red Hat Linux 9.0 and Sun Solaris Unix 9.0 It also introduces theinstallation and configuration process of relative software, for example, JAVA, SunCluster
NC2000 Installation introduces the installation and configuration process ofNC2000 on different operation system (Windows 2000, Red Hat Linux 9.0 and SunSolaris Unix 9.0)
Project Configuration for NC2000 describes how to setup a new project, andbriefly introduces the function of relative configuration files and how to use them NARI Oncall system is one set of Real-time alarm and query system through
by telephone, message or Speech This Chapter introduces its installation andconfiguration process
Using RDS system, engineers can connect and maintain our monitoringsystem thorough remote dial network
Trang 9Chapter 2 Installation of operation system 2.1 Installation of Windows 2000
10GB available disk space
16 bit sound board and speaker
65,000 color video card , resolution is 800x600 (mini font) or1024x768(big font)
Recommendatory:
3.2GHz Intel Pentium IV or coordinate
80GB available disk space
16 bit sound board and speaker
32-bit colorful video card, resolution is 1024x768(big font)
The installation steps on PC are as follows:
1 Insert Win2000 floppy disk, following this screen:
Trang 10Fig 2-1
2 Select 1, Start Window 2000 professional Installation:
Fig
Trang 112-3 Press Enter key and Continue installation:
Fig
2-4 Press F8 key (I agree) to continue
Trang 125 Press C key to create disk partitions.
Fig Enter the partition size, and press Enter key to continue
Fig
2-Select NTFS to format the partition, and Press Enter key to continue
Trang 13Fig
Fig
Trang 142-6 After installation is finished, reboot the computer.
Fig 2-9
7 When computer reboots, it will automatically boot into the guide screen
Fig
Trang 152-8 Click “Next”.
Fig Click “Next”
Fig
Trang 162-9 Enter user name and organization in the appropriate fields and click “Next” tocontinue
Fig
2-10 Enter computer name, password, and Click “Next”
Fig 2-4
Click “Next”
Trang 17Fig 2-15
11 Click “Next” and continue auto installation
Fig 2-16
Trang 182.1.3 Installation of Java 1.5.0 on Win2000
In order to run NC2000 System, you need to install the newest JAVA tool box.This software can be downloaded freely from SUN Website The installation stepsare as following:
Download the newest JAVA tool box from www.sun.com (for example:jdk-1_5_0_06-windows-i586-p)
Double click icon file “jdk-1_5_0_06-windows-i586-p.exe”, then pop up thiswindow:
Trang 19Fig 2-18
Fig 2-19
Select “I agree”,then click “Next”, pop up this window:
Trang 22Fig
Fig
2- Click “Finish”, and the installation is finished
2.2 Installation of Red Hat Linux 9.0
2.2.1 Installation of Red Hat Linux 9.0
NC2000 system can run on 32-bit PC, Micro Workstation and Server whichhas installed Red Hat Linux 9.0
The minimum hardware requirements:
850MHz Intel Pentium III or coordinate
Trang 23 10GB available disk space
16 bit sound board and speaker
65,000 color video card , resolution is 800x600 (mini font) or1024x768(big font)
The recommendatory hardware requirements:
3.2GHz Intel Pentium IV or coordinate
80GB available disk space
16 bit sound board and speaker
32-bit colorful video card, resolution is 1024x768(big font)
The installation steps on PC are as follows:
1.Start computer, then insert installation disk labeled with “Setup Disk 1” intofloppy drive Enter “Enter” after “boot:”
Fig 2-26
Trang 242. “CD Found”: select “Skip”, then press “Enter”.
Fig 2-27
3. Welcome”: Click “Next”“
Fig 2-28
Trang 254 “. Language Selection”:Select “English(English)”,click “Next”
Fig 2-29
5. Keyboard”:Select “U.S English”,Click “Next”“
Fig
Trang 262-6. Disk partitioning Setup”: Select “Manually Partition”, Click “Next””
Fig 7.New Partition
Trang 27Fig
Trang 282-8. Boot loader configuration”:Click “Next”“
Fig
2-9 “. Network Configuration”
1)“Hostname”:Select “Manually(M ”) ,enter computer name
2)“Network Device” : Select “Edit ( E ) ; Cancel “Configure using”DHCP”,Enter “IP address,Netmask”,Click“OK”;Click “Next”
Fig 2-33
Trang 2910. Error with Data”:Click “Continue”“
Fig 2-34
11 “. Firewall Configuration”:Select “No firewall(O ”) , Click “Next”
Fig 2-35
Trang 3012. Additional Language Support”:Select “English (USA)”, Click “Next”“
Fig 2-36
13. Time Zone Selection”:Select “Asia/ Karachi”,Click “Next”“
Fig 2-37
Trang 3114. Set root password”:Enter “Root password,confirm”,Click “Next”“
Fig 2-38
15. Package group selection” :Select “Server configuration tools” ““ 、 FTPServer”、 Network server” ““ 、 Development tools” “、 Kernel development” “、 Xsoftware development” 、 “ Windows file server” , Select “single softwaredevelopment”,Click “Next”
Trang 32Fig 2-40
17 “. About to install”:Click “Next”
Fig 2-41
Trang 3318. Installing packages”:System begin installing, it will need a quarter “
Fig 2-42
19 “. Congratulations”:Click “Reboot”
Fig 2-43
20 Reboot computer
Trang 34Fig 2-44
22 “. Date and time”:Enter date and time,Click “Next”
Fig 2-45
Trang 3523. Display”:Click “Next”“
Fig 2-46
24. Additional CDs”:Click “Next”“
Fig 2-47
Trang 3625 “. Finish Setup”:Click “Next”
Fig 2-482.2.2 System Configuration
1.Start File Transfer Service “vsftp”, and stop Mail Service “sendmail”
# /sbin/service sendmail stop
2.Start Remote login and copy service ” telnet, rcp, rlogin”
Trang 37HOSTNAME=yourhostname
Enter your host name; it will take effect when you reboot the computer
5.Video card configuration
Under GUI or console:
7.MOXA configuration (PCI168H)
1) Copy mxser.tgz to root directory
You can see mxser using lsmod command now
cat file > /dev/ttyM0
The first lamp of MOXA card will light
6) # /etc/rc.sysinit
Add one line after this file:
/sbin/inmod mxser
Notes:First MOXA card: /dev/ttyM0→/dev/ttyM7
Second MOXA card: /dev/ttyM8→/dev/ttyM15
Trang 382.2.3 Installation of Java 1.5.0 on Red Hat Linux 9
Jdk-1_5_0_06-linux-i586 patch provided by SUN Corporation is a Java softwarefor computers installed Linux You can freely download it from www.sun.com Theinstallation steps are as follows:
Install JAVA developed patch:
2.3 Installation of Sun Solaris 9
2.3.1 Installation of Sun Solaris 9
NC2000 system can run on 64-bit workstation and server by SUN which hasinstalled Sun Solaris UNIX 9
Trang 39A.Medium requried:
Solaris 9 Software Two CD
Solaris 9 Language One CD
1、 Select a Language”: Select 6 :Simplified Chinese“
2、 Select a Locale”: Select 0: Simplified Chinese EUC“
3、 Solaris setup program”: Select “Continue”“
4、 Identify system”: Select “Continue”“
5、 Network connect” : Select “Yes”, “Continue”“
6、 DHCP” : Select “No”, “Continue”“
7、 Main network interface”: Select “eri0”,“Continue”“
8、 Computer Name”: Enter computer name, for example: ftop1 , select“
“Continue”
9、 IP address”: Enter IP address , for example: 192.9.200.101 , select“
“Continue”
10、 Subnet”: Select “Yes”, “Continue”“
11、 Network mask”: Enter mask address:255.255.255.0,select “Continue”“
12、 Ipv6”: Select “No”, “Continue”“
13、 Confirm information ”: Select “Continue”“
14、 Configure safety strategy”: Select “No”, “Continue”“
、 Confirm information”: Select “Continue”
Trang 4019、 Geography Area”: Area: “East Asia” “
Time Zone: “Karachi” and “Continue”
20、 Time and Date”: Enter year, month, day, hour, minute, and select“
“Continue”
21、 Confirm information”: Select “Continue”“
22、 Solaris Interactive setup program”: Select “Initialization” and “Continue”“
23、 Select Area”: Select “Continue”“
24、 Select software”: Select “complete OEM manufacture support and sale”“and “Continue”
25、 Select disk”: Select “Continue”“
26、 Save data”: Select “Continue”“
27、 Automatically format file system”: Select “Manually distribution”“
28、 File and disk forma”: Select “Customize”“
29、 Custom disk”: Manually partition, Unit: MB“
例:0 / 2052
1 swap 2052 (2* Memory size)
2 overlap Whole HD space (no need to modify)
5 /opt 2052
6 /usr 4099
7 /export/home remained space
Select “OK”
30、 file system and disk format”: Select “Continue”“
31、 Install and configure remote file system”: Select “Continue”“
32、 Brief table”: Select “Start”“
If appear “Warning: unused disk space (c0t0d0) , select “OK”
33、Select “Auto reboot”
34、Configure root user and password
35、 Establish Medium”: Select “CD”, “Next” “
36、 Insert CD”:Insert installation disk 2/2, press “Enter”“
Trang 4138、 Establish Medium”: Select “CD”, click “Next”“
39、 Insert CD”: Insert Solaris 9 Language disk, Select “OK”“
40、 Setup collection”: Select “Continue”“
41、 Establish Medium”: Select “Skip”“
42、 Reboot”: Select “Reboot Now”“
【 Notice 】 You should notice the following points when you install operation system If it needs to install disk array:
“Main network interface”: Select “ce0”:
1 . Follow the following parameters to do disk partition:
0 / 10240
1 /var 4099 // for system log files
2 overlap 69994 //
3 swap 8192 //2 times of memory
4 /globaldevices 516 // for cluster
5 /opt 4099 // for user exe files
6 /export/home 42800
7 /svm 34 // for disk mirror
2.3.2 Patch update and configuration for Sun Solaris 9
2.3.2.1 System update
Copy file “9_Recommended.zip” to directory “/export/home/nari/software”,Enter command:
/export/home/nari/software> unzip 9_Recommended.zip
Enter command with supervisor:
Trang 43i) File-Exit
2) Use command line
# groupadd –g 200 narigrp
# useradd –d /export/home/nari –g narigrp –G root –u 268 –s /bin/csh -m nari
# useradd –d /export/home/mysql –g narigrp –G root –u 269 –s /bin/csh -mmysql
2. Modify IP Address
Way 1:
Edit file “ /etc/hosts”,Modify IP Address, and reboot computer
Way 2:
ifcoinfig Device name of network card IP Address
This way can modify IP online, but it will be disabled after computer reboot
3. Configure resolution of double screen
1) When using one video card
(1) Edit file “/usr/dt/config/Xservers”, add the following command after thelast line:
-dev /dev/fb1 -dev /dev/fb2
(2) Configure resolution
# fbconfig -dev /dev/fb1 -res 1280x1024x75 -depth 24
# fbconfig -dev /dev/fb2 -res 1280x1024x75 -depth 24
(3) Enter sync after the above is OK, then reboot computer
2) When using two video cards
(1) Edit file “/usr/dt/config/Xservers”, add the following command after thelast line:
-dev /dev/fb0 -dev /dev/fb3
(2) Configure resolution
# fbconfig -dev /dev/fb0 -res 1280x1024x75 -depth 24