Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 13

HƯỚNG DẪN CHUYỂN ĐỔI HỆ ĐIỀU HÀNH TỪ WINDOWS SEVER 2003 SANG DOPRA LINUX.

1. CHUẨN BỊ:
Các bước chuẩn bị:
 Usb Keyboard, Usb mouse, monitor=> thiết lập chế độ boot từ USB cho OMUa
 2 Usb > 4GB để tạo USB cài đặt cho card OMU active và standby
 Backup files:
1) CFBMML (File mmlconfig của MBSC):
Thực hiện lệnh EXP CFGMML:;

Lấy file backup mll: Vào file manager trong Mantenance Client:

Chọn download để xuất file về máy tính cá nhân:


Đợi thực hiện xong.
2) CFBBCP (File BCP cho CME offline) thực hiện tương tự xuất file MML backup:

3) DB (on OMUa + M2000): Huawei nói file backup trên M2000 (file .Dat) và trên MBSC (file .bak) về cơ
bản là như nhau. Đều sử dụng để backup Data được.
 Xuất file Backup trên M2000: Trên M200) đã tự tạo Task backup auto, ta lấy về file backup gần nhất. File
Backup có dạng đuôi .dat

Xuất file Backup trên MBSC:

Vào File Manager để lấy file Backup

4) Operation Log
5) Alarm
6) Reg (on D:/ in OMUa)
2. KIỂM TRA THÔNG TIN OMU TRƯỚC KHI CÀI ĐẶT
-Gate way IP thông qua file reg trên OMUa
-Backup IP thông qua lệnh DSP OMU trên M2000
-Mật khẩu của user “Admin”

3. QUY TRÌNH ĐỔI BACKUP IP VÀ GATEWAY


( thực hiện trong trường hợp địa chỉ IP đặt không giống giá trị Default)
If the OMU is in active/standby mode, change the IP addresses and subnet masks of the Ethernet adapters on both
the active and standby OMUs. You are advised to change the IP addresses and subnet masks of the Ethernet adapters
of the standby (thay đổi IP card standby trước và active sau: Stop Standby omud và sau đó Active omud trước khi
thay đổi. Start Active omud trước và sau đó là standby omud sau khi thay đổi )
1. Log in to the OMU by referring to Logging In to the OMU.
2. Choose Start > Run. Then enter the cmd command and press Enter to enter the command mode of the OMU.
3. Run the net stop omud command to stop the omud.
4. Enter the cd /d d:\mbsc\bam\version_a\bin\bam command and press Enter to go to the directory where the
program of the omutool is saved.
5. The omutool dispipinfo command is used to query the IP address and subnet mask of the OMU.
For example, enter the following command and press Enter to delete the fixed external IP address:
omutool dispipinfo
6. The omutool innercard IP address command is used to change the fixed internal IP address.
For example, enter the following command and press Enter to delete the fixed external IP address:
omutool innercard 80.168.3.60
7. The omutool innervip IP address is used to change the virtual internal IP address.
For example, enter the following command and press Enter to delete the fixed external IP address:
omutool innervip 80.168.3.40
8. The omutool extercard IP address subnet mask (gateway IP address) command is used to change the fixed
external IP address and subnet mask.
For example, enter the following command and press Enter to delete the fixed external IP address:
omutool extercard 10.161.10.100 255.255.255.0
Before changing the fixed external IP address, virtual external IP address, and external gateway IP address, log in
to the OMU using the debugging IP address.
9. The ./omutool extervip IP address subnet mask (gateway IP address) command is used to change the virtual
external IP address and subnet mask.
For example, enter the following command and press Enter to delete the fixed external IP address:
omutool extervip 10.161.10.102 255.255.255.0
10. The omutool gateway gateway IP address is used to change the IP address of the gateway.
For example, enter the following command and press Enter to delete the fixed external IP address:
omutool gateway 10.161.10.1
11. Change the backup channel IP address of the active and standby OMUs by using the commands listed in the
following table:
Option Description

Backup channel IP address of the active and omutool backupcard IP address.


standby OMUs on the Ethernet adapter ETH3- Example: enter the following command and press
UPDATE of the OMUa board Enter to delete the fixed external IP address:
omutool backupcard 192.168.3.60

Backup channel IP address of the active and omutool backupcard IP address.


standby OMUs on the Ethernet adapter Example: enter the following command and press
B_UPDATE0 of the OMUc board Enter to delete the fixed external IP address:
omutool backupcard_for_omuc
192.168.9.60

Backup channel IP address of the active and omutool backupcard_for_omua IP address.


standby OMUs on the Ethernet adapter Example: enter the following command and press
B_UPDATE1 of the OMUc board Enter to delete the fixed external IP address:
omutool backupcard_for_omua
192.168.3.60

12.The omutool debugcard IP address command is used to change the debugging IP address.
For example, enter the following command and press Enter to delete the fixed external IP address:
omutool debugcard 192.168.6.60
13. Run the net start omud command to start the omud.
4. QUY TRÌNH ĐỔI MẬT KHẨU:
 Thay đổi password cho OMU có hệ điều hành là window:
1. Login vào OMU bằng phần mềm Putty (port: Eth2 : 192.168.6.50/60 ): Trên máy tính đặt IP :
192.168.6.51/24
2. Chọn Start > Run. Gõ lệnh cmd , ấn Enter đề vào chế độ command mode của OMU.
3. Chạy lệnh net stop omud để dừng omud.
4. Gõ cd /d d:\mbsc\bam\version_a\bin\bam và ấn Enter để tới thư mục chương trình omutool được
saved
5. Chạy lệnh omutool adminpwd để thay đổi password. Nhập password mới:
Huaweibss2015
6. Chạy lệnh net start omud để bắt đầu omud.
Lưu Ý : Stop Standby omud và sau đó Active omud trước khi thay đổi. Start Active omud trước và sau đó là standby
omud sau khi thay đổi.
Ví dụ :
D:\mbsc\bam\version_a\bin\bam>omutool adminpwd
Enter a password or press Ctrl+Break to quit:
Re-enter password or press Ctrl+Break to quit:
Successfully set the admin user's password!
5. QUY TRÌNH TẠO USB BOOT ĐỂ CÀI ĐẶT :
Bước 1: Kết nối máy tính tới cổng Eth0/Eth1 trên OMUa
(trên M2000: DSP OMU)
Giả sử Eth0/Eth1 (external network virtual IP ) có địa chỉ 10.205.201.19/28 (16-31) = external virtual IP address

Trên máy tính cấu hình địa chỉ 10.205.201.20


Bước 2: Chạy chương trình USB Disks Tool:

Bước 3: Chuột phải vào NE List, chọn Add NE:


Điền các thông tin RNC:
- NE Name: RNC_1002M_HNI
- Operating System Type: DopraLinux
- Operate Type: Switch
- External Network Virtual IP: ví dụ 10.205.201.19.
- Nhập PassWord đăng nhập: Huaweibss2015
Chọn OK để sang bước tiếp

Bước 4: Chuột phải vào NE, tích chọn Active:


Sau khi Active, ta đợi chương trình Getting Information vào các trường:
Bước 5. Chọn Package cài đặt Linux và phần mềm:
OK để chương trình thực hiện chuẩn bị dữ liệu backup:
Sau khi chuẩn bị dữ liệu backup xong, ta cắm USB vào.
Bước 6: Cắm USB thứ nhất vào để cài đặt USB active dùng cho OMUa Active:
Bước 7: Chọn USB thứ 2 để cài đặt USB standby dùng cho card OMU standby:
Sau khi tạo xong 2 USB Active và Standby sẽ có thông báo Succeed to create USB drive. Tích chọn finish để kết thúc.

6. CHUYỂN ĐỔI OS BẰNG USB:


- Thực hiện cắm standby USB cho standby OMUa trước, restart OMUa, chờ khoảng 40 phút, thấy đèn run nháy
xanh là okay
- Sau khi thành công, chờ dữ liệu đồng bộ gữa 2 card và switch over 2 card OMUa
- Thực hiện cắm active USB vào OMUa chưa được chuyển OS
7. KIỂM TRA SAU KHI CHUYỂN ĐỔI OS TỪ WINDOW SANG LINUX
Login OMU thông qua phần mềm putty HDH: linux
lgnusr/osnormal@123
su – root
osadmin@123
- Type the /etc/rc.d/omud status command and click Enter to kiểm tra the omud process.
=> thấy running là OKAY

You might also like