Professional Documents
Culture Documents
System
V200R014C60SPC200
02
Date
2015-05-19
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website:
http://www.huawei.com
Email:
support@huawei.com
Issue 02 (2015-05-19)
Preface
Preface
Purpose
This document describes how to upgrade and roll back the iManager U2000 Unified Network
Management System V200R014C60SPC200 and provides FAQs and troubleshooting
methods.
Intended Audience
This document is intended for engineers who have experience in using the Linux OS and
understand U2000 basics.
Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes made in earlier issues.
Issue
Date
Description
01
2015-02-28
02
2015-05-19
Issue 02 (2015-05-19)
ii
Contents
Contents
Preface.......................................................................................................................................... ii
1 Before You Start ........................................................................................................................ 1
2 Upgrade Process Overview ..................................................................................................... 3
3 Performing Manual Operations Before the Upgrade .......................................................... 6
3.1 (Optional) Dumping Alarms, Events, and Logs ...................................................................................................... 6
3.2 Backing Up the U2000 Data .................................................................................................................................. 7
10 Connecting the Primary and Secondary Sites and Performing a Switchover .............. 24
11 Rolling Back to the Source Version ................................................................................... 26
11.1 Deleting the HA Relationship Between the Primary and Secondary Sites .............................................................26
11.2 Processing an Upgrade Failure on the Secondary Site ..........................................................................................29
11.3 Performing Operations on the Secondary Site After the Rollback .........................................................................30
11.4 Processing an Upgrade Failure on the Primary Site ..............................................................................................32
11.5 Performing Operations on the Primary Site After the Rollback .............................................................................34
11.6 Setting Up the HA Relationship Between the Primary and Secondary Sites ..........................................................36
11.7 Executing the Security Hardening Policy.............................................................................................................39
A FAQ ......................................................................................................................................... 40
A.1 How Do I Verify Downloaded Software Packages by Using HashMyFiles Software? ............................................40
A.2 How Do I Use VNC to Visit the Server Remotely (U2000 V100R006C02)? .........................................................41
A.3 How Do I Grant the Execute Permission on Files?................................................................................................42
A.4 How Do I Allow the root User to Use the Telnet Service? .....................................................................................42
Issue 02 (2015-05-19)
iii
Contents
A.5 How Do I Allow the root User to Use the FTP Service? ........................................................................................42
A.6 How Do I Enable and Disable the FTP, TFTP, SFTP, and Telnet Services? ............................................................43
A.7 How Do I Use the FileZilla to Transfer Files Over SFTP?.....................................................................................45
A.8 How Do I Check the OS Version ? .......................................................................................................................48
A.9 How Do I Check the Remaining Space of the OS?................................................................................................49
A.10 How Do I Start the Sybase Database Server? ......................................................................................................49
A.11 How Do I Shut Down the Sybase Database Server? ............................................................................................50
A.12 How Do I Check the Sybase Database Version? ..................................................................................................51
A.13 How Do I Change NMS-related Passwords? .......................................................................................................52
A.14 How Do I Change the Password of the root, nmsuser, sybase, ossuser, or dbuser User? .......................................55
A.15 How Do I Enable the SSH Service? ....................................................................................................................56
A.16 Which Information Is Automatically Backed Up Before the Upgrade? ................................................................57
A.17 How Do I Use VNC to Log In to the OS Remotely (U2000 V100R008C00~U2000 V100R014C60)? .................57
A.18 How Do I Enable the root User to Remotely Log In to the OS After Security Hardening? ...................................60
A.19 How Do I Prohibit the root User from Remotely Logging In to the OS After Security Hardening? .......................61
A.20 How Do I Start the MSuite Server? ....................................................................................................................61
A.21 How Do I Disable the VNC Service?..................................................................................................................62
A.22 How Do I Enable the VNC Service? ...................................................................................................................63
A.23 How Do I Update the master database? ..............................................................................................................66
A.24 How Do I Delete Original U2000 and Database Users and User Groups .............................................................66
A.25 How Do I Remotely Log In to an IBM Server (IBM X3650 M4) Through IMM and Restart Linux OS? ..............67
A.26 How Do I Remotely Log In to an IBM Server (IBM X3850 X5 and IBM X3650 M3) Through IMM and Restart
Linux OS?..................................................................................................................................................................70
Issue 02 (2015-05-19)
iv
Contents
Issue 02 (2015-05-19)
Prerequisites
1.
All upgrade-related materials have been obtained, the upgrade environment has been
checked, and all found issues have been addressed. For details, see iManager U2000
V200R014C60SPC200 High Availability System (Veritas) Upgrade Instructions
(Linux) .
2.
The required documents, software packages, and license file have been stored on the PC
where the upgrade is to be performed. The UExpert, U2000 software packages, and
license file have been saved in the same path, for example, D:\upgrade. The path name
can contain only letters, digits, and underscores (_) but cannot contain the U2000
directory name for the U2000V100R006C02 and earlier versions and the oss directory
name for the versions U2000V100R008C00,U2000V100R009C00 or later.
1.
If the hardware or software does not meet requirements of prerequisites, see chapter 2
iniManager U2000 V200R014C60SPC200 High Availability System (Veritas) Upgrade
Instructions (Linux) .to replace the hardware or upgrade the software.
2.
The default database administrative account is sa. If sa has been prohibited, enter another
account to replace sa.
During the upgrade, do not manually perform operations on or restart the database or
forcibly terminate the upgrade program.
During the upgrade, do not remove network cables to prevent upgrade failures due to
network disconnection.
When the U2000 is running, do not remove network cables from the network interface
cards (NICs) used by the U2000. Stop the U2000 first if network cables must be
removed.
During the upgrade or rollback, multi-user operations on the server are prohibited to
prevent upgrade or rollback failures.
If the upgrade fails, ensure that the U2000 can roll back to the source version before
performing an upgrade again. Otherwise, the rollback fails and the data of the source
version will be lost.
Precautions
Restrictions
Issue 02 (2015-05-19)
If you use the default MSuite password, the primary and secondary sites may fail to be
connected after the upgrade. To avoid the failure, change the MSuite password before the
upgrade and ensure that the primary and secondary sites use the same password.
During the upgrade on the secondary site, the primary site still receives performance and
alarm data from NEs. The data generated after the last data synchronization from the
primary site to the secondary site and before the successfully upgraded secondary site
starts to monitor NEs will be lost. The duration is about 5 to 6 hours, which includes the
time spent on OS and U2000 upgrades on the secondary site.
User-defined permission for files or subdirectories in the oss directory will be lost during
the upgrade and therefore needs to be manually restored after the upgrade.
The target version does not support parentheses. Therefore, before upgrading the U2000,
delete parentheses from the database password if any.
Backup files used during the upgrade include sensitive information such as the U2000
user password. If rollback is not required after the upgrade, back up the backup files to
another path or delete them to ensure security.
After deleting backup files, you cannot roll back the U2000. You are advised to determine
whether backup files can be deleted after the U2000 has run correctly for a period.
Backup files include:
1.
opt/OSSENGR_backTimestamp
2.
3.
/opt/UExpert
/opt/OSSENGR_backTimestamp are the two directories of the maintenance suite (MSuite) equipped
with the source U2000 version. If the source version is U2000 V100R006C02, the backup directory is
/opt/HWENGR_backTimestamp.The NMS backup directory used during the step"Setting upgrade
parameters"
You are advised to change the passwords to more complex ones after the upgrade to
ensure security if the following passwords are too simple:
1.
2.
3.
4.
For details about how to change a password, see A.13 "How Do I Change System-related
Passwords?" and A.14 "How Do I Change the Password of the root, nmsuser, sybase, ossuser,
or dbuser User?"
----End
Issue 02 (2015-05-19)
Figure 2-1 shows the process for upgrading the U2000 HA system.
Issue 02 (2015-05-19)
Table 2-2 lists the estimated time required for each procedure.
Issue 02 (2015-05-19)
Recommended
Start Time
Time Required
(Minutes)
Remarks
Perform manual
operations before
the upgrade
60
60
Before performing
the upgrade, check
the environment,
upload the software
packages and license
file, decompress the
software packages,
and check items
against the upgrade
checklist.
240
Perform manual
operations after the
upgrade on the
secondary site.
Working hours
before 00:00
120
240
Perform manual
operations after the
upgrade on the
primary site.
Working hours
before 00:00
120
Synchronize data
between the primary
and secondary sites.
300
This operation
depends on server
configurations,
bandwidth, and data
amount.
60
This operation is
required if the
upgrade fails.
The time required for each procedure is an estimate and for reference only.
Issue 02 (2015-05-19)
Background
All the dumped historical alarms, events, operation logs, security logs, and system logs
are saved as files. They cannot be viewed directly by using a U2000 client. Therefore,
determine whether to dump historical alarms, events, operation logs, security logs, and
system logs based on customer requirements.
The procedures for dumping alarms, events, operation logs, security logs, and system
logs are similar.
Procedure
Step 1 Start the U2000 client. In the Login dialog box, enter the user name and password to start the
U2000 client.
Step 2 Choose Administration > Task Schedule > Task Management from the main menu.
Step 3 In the window that is displayed, choose Manual Dump > Alarm Manual Dump from the
Task Type navigation tree.
Issue 02 (2015-05-19)
Step 4 In the right pane, right-click the Alarm Manual Dump record and choose Run from the
shortcut menu.
Step 5 Specify the file path and type.
Step 6 Set the time range when to-be-dumped alarms are generated.
All historical alarms in the database will be dumped if this time range is not specified.
Step 7 Click Query to query the number of records that match the dump conditions.
Step 8 Click Dump.
Click Delete All Dump Files if you do not need the dump files. Exercise caution when deleting dump
files because they cannot be restored after being deleted.
If the size of data to be dumped is large, backing up the data to another computer or equipment is
recommended. You can delete original files after the backup.
----End
Dumping events.
The procedure for dumping events is similar to that for dumping alarms. That is, choose Manual Dump
and then the desired node from the Task Type navigation tree.
Dumping logs.
The procedure for dumping operation logs, security logs, or system logs is similar to that for dumping
alarms. That is, choose Manual Dump and then the desired node from the Task Type navigation tree.
For details about how to manually back up U2000 data, see section "Immediately Backing Up
the U2000 Database to a Local Server Through the MSuite" in the iManager U2000
V200R014C60 administrator guide for the source version.
After backup is complete, you must transfer backup data to a PC or another device.
Issue 02 (2015-05-19)
Pre-upgrade operations do not affect the running of the U2000. You are advised to perform
pre-upgrade operations 2 hours before the upgrade.
When used to upgrade the U2000, the UExpert automatically stops the U2000 and MSuite
services and some operations, such as backing up the database. You do not need to perform
these operations manually.
Procedure
Step 1 On the computer on which the upgrade is performed, go to D:\upgrade in which the
U2000Version_UExpert***.zip software package is saved. Use a decompression utility to
decompress the UExpert software package to theU2000Version_UExpert*** directory.
Step 2 Perform the following operations on both the primary and secondary sites to enable the root
user to remotely log in to the OS after security hardening. If the security hardening policy is
disabled, skip this step.
1.
Use SFTP as the ossuser user to upload the SetEnv.sh and businessoperatelog.sh
scripts in D:\upgrade\U2000Version_UExpert***\setEnv to /export/home/ossuser , or
as the nmsuser user to upload these scripts to /export/home/nmsuser if the source
version is U2000 V100R006C02. For details, see sectionA.7 How Do I Use the FileZilla
to Transfer Files Over SFTP?
2.
Log in to the OS as the ossuser user(as the nmsuser user if the source version is U2000
V100R006C02), and then run the following commands to enable the root user to
remotely log in to the OS:
$ su - root
Password:root userpassword
# cd /export/home/ossuser
# chmod +x businessoperatelog.sh
Issue 02 (2015-05-19)
# chmod +x SetEnv.sh
# ./SetEnv.sh
If the source version is U2000 V100R006C02, run the following command instead:
$ su - root
Password:root userpassword
# cd /export/home/nmsuser
# chmod +x businessoperatelog.sh
# chmod +x SetEnv.sh
# ./SetEnv.sh
Description
Project Name
Source Version
Target Version
Operating System
Network Type
Connection Mode
name is User-defined
Issue 02 (2015-05-19)
Parameter
Description
primary site IP
secondary site IP
Protocol
File Transfer
Set this parameter to the root user password for the primary site.
Set this parameter to the root user password for the secondary
site.
Step 8 In the dialog box indicating a successful login, click OK. In the Upgrade Precautions dialog
box, click OK.
The Upgrade Package and License Preparation page is displayed.
Step 9 Check whether the software packages and license are correct.
1.
In the Software Position area, click Local verification or Remote server verification.
1.If the software packages to be verified are on the computer on which the UExpert is installed, click
Local verification in the Software Position area. If the software packages to be verified are on the
server, click Remote server verification.
2.If an ESN error is reported during verification, check the license. If the license is correct, click Yes to
proceed to the next step.take the measure provided in iManager U2000 License Instructions that can be
downloaded from the Huawei Support website http://support.huawei.com/carrier. Search for U2000 and
select iManager U2000 in the search box on the Product Support tab and select Knowledge Base, Search
License Instructions.
2.
3.
4.
5.
b.
Click Verify.
If a green indicator is displayed in the Verification Status column, the associated software
packages and license are correct.
Issue 02 (2015-05-19)
10
Step 10 On the Check Upgrade Environment tab, click Start.In the dialog box that is displayed,
enter the password for the Password for the database superuser user and click OK to start the
pre-upgrade check.
After the check is complete, a report is displayed showing the check result. Or go to next node
if no problem found.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
1.If a check item is displayed as Issue or Risk, address the issues or risks that may lead to
an upgrade failure. If you cannot address them, contact Huawei R&D engineers. 2.After
confirming that the issues or risks do not cause an upgrade failure, click Yes in the dialog
box.
Step 11 On the Back Up ONT Configuration File Directory page, click Start. In the dialog box that
is displayed, enter the password for the database user Password for the database superuser and
Issue 02 (2015-05-19)
11
click OK to start backup the ONT configuration file directory. After backup successfully, in
the dialog box that is displayed, click OK. The UExpert proceeds to the next node.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
If not select the access domain in Step 9, when click Start on the Back Up ONT Configuration
File Directory page, the dialog box about "This operation is required only for the access domain. Do
you want to skip it? "will display, please click Yes to go to next node. Or you can click Skip on the
page to go to the next node.
Step 12 On the Manual Operations Before the Upgrade page, click OK after confirming the
operations. In the dialog box that is displayed, click Yes.
If the software packages have been uploaded and the remote server has authenticated these packages,
click Decompress directly to decompress the software packages. You can skip Step13, Step14, and
Step15.
Step 15 Click Upload. In the dialog box showing the time required for uploading data, click Yes to
start data uploading. After uploading is complete, click Decompress to decompress the
uploaded software packages.
Step 16 Access the Separate the Primary and Secondary Sites page.
----End
Issue 02 (2015-05-19)
12
Procedure
Step 1 On the Separate the Primary and Secondary Sites page, click Separate, In the Prompt
dialog box, click Yes to start deleting the HA relationship between the primary and secondary
sites. After the primary and secondary sites are separated, In the Prompt dialog box, click
OK
This operation will interrupt the U2000 monitoring for 15 to 30 minutes.
If the primary and secondary sites have been separated, a related dialog box will be displayed. Then
click OK to go the next step.
Enter the password of the admin user of the MSuite as prompted.
Check whether VCS is faulty on the primary and secondary sites. If it is faulty, rectify faults manually as
follows:
1. Remotely log in to the OS as the root user.
2. Run the following command to rectify faults:
# hares -clear NMSServer -sys `hostname`
Step 2 On the Setting upgrade parameters page, set the upgrade parameters.
1.
Issue 02 (2015-05-19)
Click
next to Backup Path in the right pane, In the Prompt dialog box, click OK
13
2.
In the Select Remote Disk Partition dialog box, select a remote disk partition, such as
the /opt partition, and click OK.
3.
4.
On the Setting upgrade parameters page, click OK after setting the upgrade
parameters.
Step 3 If the current Veritas patch version does not meet the upgrade requirement, the Installing
Veritas Patch node is displayed on the UExpert. Install the Veritas patch by following the
description in the right pane of this node.
After the Veritas patch is installed successfully and the OS restarts, enter the password for the
root user of the secondary site and click Reconnect in the Reconnect Page dialog box. The
UExpert proceeds to the next node.
Step 4 On the Installing OS Patch page, click OK.
Step 5 In the dialog box that is displayed, click Yes.
OS patch installation starts.
Step 6 After the "Succeeded in installing the OS patch" message is displayed, click OK.
The OS restarts.
Step 7 In the Reconnect Page dialog box, enter the password for the root user.
Issue 02 (2015-05-19)
14
If the current database patch version does not meet the requirement, the Installing Database
Patch node is displayed on the UExpert. For details about how to install the database patch,
click the Installing Database Patch node and view the description in the right pane.
Step 8 On the Upgrade Implementation page, click Start. When the message "The upgrade takes
about 2 to 3 hours. Are you sure you want to continue?" is displayed, click Yes, If a message
is displayed indicating that the U2000 server will be stopped during the upgrade, click Yes.
Step 9 Eenter the password of the database user Password for the database superuser and click OK to
start the upgrade.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
The time required for the upgrade varies with server configuration and data amount. The time
increases if a large amount of service data exists.
Step 10 After the upgrade is complete, in the Upgrade succeeded dialog box, click Yes to restart the
OS.After the OS restarts, the UExpert displays the Reconnect Page dialog box. In the
Reconnect Page dialog box, enter the password of the root user and click Reconnect to
perform the post-upgrade check.
Step 11 In the dialog box that is displayed, enter the password of the database user Password for the
database superuser and click OK to start the post-upgrade check.
After the OS restarts, start a post-upgrade check 5 minutes later. Otherwise, false errors may
be reported. To start a post-upgrade check, click Start on the Verifying the Upgrade tab. In the
confirmation dialog box, click OK. Then enter the password for the database superuser and
click OK.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
Step 12 If errors are found during the check, a report is displayed showing the check result. Rectify all
faults by following the handling suggestions displayed in the report and click Yes.
If no error is found, the next page is displayed.
After the U2000 V100R006C02 is upgraded, the NMS user nmsuser is replaced by ossuser;
the NMS database user sybase and database login user NMSuser are replaced by dbuser. The
(Optional) Delete Old U2000 User node is displayed on the UExpert. You can determine
whether to delete users and user groups on the source version. To ensure system security,
delete the three users.
----End
Issue 02 (2015-05-19)
15
Procedure
Step 1 Choose Tool > Open the VNC service for the NMS user from the main menu of the
UExpert.
Step 2 Select Secondary Site and click OK.
Step 3 In the dialog box that is displayed, set the login password of the VNC, confirm the login
password, and click OK.
If the login password of the VNC has been set, skip this step automatically.
If you forget this password, perform the following operations to set a new password:
1. Run the following commands to set the password of the ossuser user to log in to the VNC client:
# su - ossuser
Issue 02 (2015-05-19)
16
$ vncpasswd
Information similar to the following is displayed:
Password:
Step 4 Click OK in the dialog box that is displayed, indicating that the VNC service has been
successfully enabled. Close the VNC dialog box, and click OK in the configuration window
on the right. In the dialog box that is displayed, click OK.
After the VNC service is enabled, you can connect to the OS by using Internet Explorer on a client, run
commands, and perform operations as the ossuser user. For details, see section A.17 How Do I Use
VNC to Log In to the OS Remotely (U2000 V100R008C00~U2000 V100R014C60)?
----End
Issue 02 (2015-05-19)
17
The upgrade of the U2000 on the primary site will stop U2000 services on the primary site. To
prevent the upgrade from affecting services, switch the U2000 services to the secondary site
after upgrading the U2000 on the secondary site to the latest version.
Precautions
U2000 applications have started on the primary and secondary sites. To prevent transport NE
users from being kicked out, the U2000 on the secondary sites cannot log in to transport NEs
by default. If you need to manage transport NEs on the U2000 of the secondary site, perform
operations by referring to:B.14 The U2000 Upgraded on the Secondary Site Cannot
Automatically Log In to NEs.
Procedure
Issue 02 (2015-05-19)
18
Procedure
Click
OK.
2.
In the Select Remote Disk Partition dialog box, select a remote disk partition, such as
the/opt partition, and click OK.
3.
Issue 02 (2015-05-19)
next to Backup Path in the right pane, In the Prompt dialog box, click
19
Step 6 On the Setting upgrade parameters page, click OK after setting the upgrade parameters.
Step 7 If the current Veritas patch version does not meet the upgrade requirement, the Installing
Veritas Patch node is displayed on the UExpert. Install the Veritas patch by following the
description in the right pane of this node.
After the Veritas patch is installed successfully and the OS restarts, enter the password for the
root user of the secondary site and click Reconnect in the Reconnect Page dialog box. The
UExpert proceeds to the next node.
Step 8 On the Installing OS Patch page, click OK.
Step 9 In the dialog box that is displayed, click Yes.
OS patch installation starts.
Step 10 After the "Succeeded in installing the OS patch" message is displayed, click OK.
The OS restarts.
Step 11 In the Reconnect Page dialog box, enter the password for the root user.
If the current database patch version does not meet the requirement, the Installing Database
Patch node is displayed on the UExpert. For details about how to install the database patch,
click the Installing Database Patch node and view the description in the right pane.
Step 12 On the Upgrade Implementation page, click Start. When the message "The upgrade takes
about 2 to 3 hours. Are you sure you want to continue?" is displayed, click Yes. If a message
is displayed indicating that the U2000 server will be stopped during the upgrade, click Yes.
Step 13 Enter the password of the database user Password for the database superuser and click OK to
start the upgrade.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
The time required for the upgrade varies with server configuration and data amount. The time
increases if a large amount of service data exists.
Step 14 After the upgrade is complete, in the Upgrade succeeded dialog box, click Yes to restart the
OS.After the OS restarts, the UExpert displays the Reconnect Page dialog box. In the
Reconnect Page dialog box, enter the password of the root user and click Reconnect to
perform the post-upgrade check.
Issue 02 (2015-05-19)
20
Step 15 In the dialog box that is displayed, enter the password of the database user Password for the
database superuser and click OK to start the post-upgrade check.
After the OS restarts, start a post-upgrade check 5 minutes later. Otherwise, false errors may
be reported. To start a post-upgrade check, click Start on the Verifying the Upgrade tab. In the
confirmation dialog box, click OK. Then enter the password for the database superuser and
click OK.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
Step 16 If errors are found during the check, a report is displayed showing the check result. Rectify all
faults by following the handling suggestions displayed in the report and click Yes.
If no error is found, the next page is displayed.
After the U2000 V100R006C02 is upgraded, the NMS user nmsuser is replaced by ossuser;
the NMS database user sybase and database login user NMSuser are replaced by dbuser. The
(Optional) Delete Old U2000 User node is displayed on the UExpert. You can determine
whether to delete users and user groups on the source version. To ensure system security,
delete the three users.
----End
Issue 02 (2015-05-19)
21
Procedure
Step 1 Choose Tool > Open the VNC service for the NMS user from the main menu of the
UExpert.
Step 2 Select Primary site and click OK.
Step 3 In the dialog box that is displayed, set the login password of the VNC, confirm the login
password, and click OK.
If the login password of the VNC has been set, skip this step automatically.
If you forget this password, perform the following operations to set a new password:
1. Run the following commands to set the password of the ossuser user to log in to the VNC client:
# su - ossuser
$ vncpasswd
Information similar to the following is displayed:
Password:
Issue 02 (2015-05-19)
22
Step 4 Click OK in the dialog box that is displayed, indicating that the VNC service has been
successfully enabled. Close the VNC dialog box, and click OK in the configuration window
on the right. In the dialog box that is displayed, click OK.
After the VNC service is enabled, you can connect to the OS by using Internet Explorer on a client, run
commands, and perform operations as the ossuser user. For details, see section A.17 How Do I Use
VNC to Log In to the OS Remotely (U2000 V100R008C00~U2000 V100R014C60)?
----End
Issue 02 (2015-05-19)
23
10
Procedure
Issue 02 (2015-05-19)
24
1. Double-click the U2000 NMS Maintenance Suite shortcut icon on the desktop and wait about one
minute until the Login dialog box is displayed.
2. Set the login parameters.
IP Address: Use the default IP address 127.0.0.1.
Port No.: The default port ID is 12212. Retain the default value during login.
User Name: The default user name is admin.
Password: The default password is Changeme_123.
3. Click Login,you must change the password when the system displays alarm.
4. Click OK, enter the old password and new password.
5. Click OK to complete the change.
After the primary and secondary sites are successfully connected, In the Prompt dialog box,
click OK, The HA System Data Replication Progress dialog box will be displayed. If want
to query the data replication progress after closing this dialog box by clicking OK, In the
Warning dialog box, click OK, choose Tool > Data Replication Progress from the main
menu.
Step 8 Select the Perform Primary/Secondary Switchover node in the navigation tree and click
Switchover in the right pane.
Step 9 In the dialog box that is displayed, click Yes to start an active/standby switchover. After a
master/slave switchover, click OK in the dialog box that is displayed. Close the UExpert after
an HA system upgrade.
Perform an active/standby switchover only after data replication is complete between the
primary and secondary sites.
If you click Switchover when the data is being replicated, the replication progress is
displayed.
The data replication duration depends on the network bandwidth and the amount of the data to
be replicated.
----End
Issue 02 (2015-05-19)
25
11
Procedure
Step 1 (Optional) Run the following commands on the primary and secondary sites as the ossuser
user if you want to perform a rollback when security hardening is enabled:
1.
Issue 02 (2015-05-19)
26
2.
Use SFTP as the ossuser user to upload the SetEnv.sh and businessoperatelog.sh
scripts in D:\upgrade\U2000Version_UExpert***\setEnv to /export/home/ossuser , or
as the nmsuser user to upload these scripts to /export/home/nmsuser if the source
version is U2000 V100R006C02. For details, see sectionA.7 How Do I Use the FileZilla
to Transfer Files Over SFTP?
3.
Log in to the OS as the ossuser user(as the nmsuser user if the source version is U2000
V100R006C02), and then run the following commands to enable the root user to
remotely log in to the OS:
$ su - root
Password:root userpassword
# cd /export/home/ossuser
# chmod +x businessoperatelog.sh
# chmod +x SetEnv.sh
# ./SetEnv.sh
If the source version is U2000 V100R006C02, run the following command instead:
$ su - root
Password:root userpassword
# cd /export/home/nmsuser
# chmod +x businessoperatelog.sh
# chmod +x SetEnv.sh
# ./SetEnv.sh
Step 2 Verify that the MSuite server is running on the primary and secondary sites.
Run the following command as the root user to check whether the MSuite server is running:
# ps -ef | grep java
5941
0 10:54:14 ?
40:20 /opt/oss/OSSJRE/jre_linux/bin/java
Step 3 Verify that the MSuite clients on the primary and secondary sites have been stopped.
Run the following command as the root user to check whether an MSuite client is in use:
# ps -ef | grep java
Issue 02 (2015-05-19)
27
Step 4 Run the following commands on the primary site to shut down the U2000 and the Sybase
database:
# hagrp -flush AppService -sys `hostname`
# hagrp -clear AppService>/dev/null
# hagrp -offline AppService -sys `hostname`
The U2000 has been shut down if the command output contains "OFFLINE".
Step 5 Log in to the OS on the primary site as the ossuser user. Run the following commands to
delete the HA relationship between the primary and secondary sites:
$ cd /opt/oss/client/engineering
$ ./startclient.sh deploy -ip 127.0.0.1 -port 12212 -username admin splitHA
Enter the password of the admin user of the MSuite and press Enter.
The following information is displayed after a while:
Separating the primary site from the secondary site cannot be rolled back. Are you sure
you want to continue?[Y/N]:
Issue 02 (2015-05-19)
28
The rollback does not cover the versions of purchased software (OS, database, and Veritas).
After the rollback is completed, the U2000 works properly.
If you manually disabled user and create a replacement user for the user after the U2000 is
installed or upgraded, please restore the database administrator before the rollback.
If the password for the database superuser or the NMS database user has been changed
after the upgrade, restore the password and then perform the rollback. For details about
how to restore the password, see section A.13 "How Do I Change NMS-related
Passwords?"
If the server IP address, host name, or route information has been changed after the
upgrade, restore these settings on the server and then perform the rollback. For details, see
section "Changing the Host Name and IP Address" in iManager U2000
V200R014C60SPC200 Administrator Guide.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
The operations mentioned in this section are performed only on the secondary site. If the database
server is not running, start it by following the steps provided in section A.10 "How Do I Start the
Sybase Database Server?"
Procedure
Issue 02 (2015-05-19)
29
Step 4 In the UExpert dialog box, enter the passwords of the root users on the primary and
secondary sites and click Log In.
Step 5 Select Rollback under Secondary Site in the navigation tree, select the version to be rolled
back in the right pane, and click OK.
Step 6 In the dialog box that is displayed, click Yes.
Step 7 In the dialog box that is displayed, enter the password of the sa user and click OK.
The version rollback takes about 60 minutes.
Step 8 In the dialog box indicating successful rollback, click OK. The UExpert displays a message
for automatic startup of the OS.
After the OS is restarted, the UExpert displays the Reconnect Page dialog box. Enter the password of
the root user and then click Reconnect to access the UExpert window.
Check whether VCS is faulty on the primary and secondary sites. If it is faulty, rectify faults manually as
follows:
1. Remotely log in to the OS as the root user.
2. Run the following command to rectify faults:
# hares -clear NMSServer -sys `hostname`
----End
Procedure
Step 1 Log in to the OS as the root user.
Step 2 Enable the VNC service for the ossuser user.
If the source version is U2000 V100R006C02, the user name is nmsuser.
1.
Choose Tool > Open the VNC service for the NMS user from the main menu of the
UExpert.
2.
3.
In the dialog box that is displayed, set the login password of the VNC, confirm the login
password, and click OK.
4.
In the dialog box showing successful startup of the VNC service, click OK.
Issue 02 (2015-05-19)
30
If the source version is U2000 V100R006C02, follow the steps provided in section A.2 How Do I Use
VNC to Visit the Server Remotely (U2000 V100R006C02)?"If the source version is U2000
V100R009C00, follow the steps provided in section A.17 How Do I Use VNC to Log In to the OS
Remotely (U2000 V100R008C00~U2000 V100R014C60)?Run the following commands to start the
System Monitor client:
$ cd /opt/oss/client
$ ./startup_sysmonitor_global.sh
In this command, /opt/oss is the path where the U2000 is installed by default. If the source version is
U2000 V100R006C02, the path is /opt/U2000, and you need to run the following command instead:
$ cd /opt/U2000/client
$ ./startup_sysmonitor_global.sh
Step 4 In the Login dialog box, enter the user name and password of the source U2000.
Figure 11-1 Login
Issue 02 (2015-05-19)
31
The U2000 is rolled back successfully if processes whose Startup Mode are Automatic are
all in the Running state.
If the U2000 is just started, wait for a while until all U2000 processes are started.
Issue 02 (2015-05-19)
32
The rollback does not cover the versions of purchased software (OS, database, and Veritas).
After the rollback is completed, the U2000 works properly.
If you manually disabled user and create a replacement user for the user after the U2000 is
installed or upgraded, please restore the database administrator before the rollback.
If the password for the database superuser or the NMS database user has been changed
after the upgrade, restore the password and then perform the rollback. For details about
how to restore the password, see section A.13 "How Do I Change NMS-related
Passwords?"
If the server IP address, host name, or route information has been changed after the
upgrade, restore these settings on the server and then perform the rollback. For details, see
section "Changing the Host Name and IP Address" in iManager U2000
V200R014C60SPC200 Administrator Guide.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
The operations mentioned in this section are performed only on the secondary site. If the database
server is not running, start it by following the steps provided in section A.10 "How Do I Start the
Sybase Database Server?"
Procedure
Issue 02 (2015-05-19)
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
33
Step 8 In the dialog box indicating successful rollback, click OK. The UExpert displays a message
for automatic startup of the OS.
After the OS is restarted, the UExpert displays the Reconnect Page dialog box. Enter the password of
the root user and then click Reconnect to access the UExpert window.
Check whether VCS is faulty on the primary and secondary sites. If it is faulty, rectify faults manually as
follows:
1. Remotely log in to the OS as the root user.
2. Run the following command to rectify faults:
# hares -clear NMSServer -sys `Host name`
----End
Procedure
Step 1 Log in to the OS as the root user.
Step 2 Enable the VNC service for the ossuser user.
If the source version is U2000 V100R006C02, the user name is nmsuser.
1.
Choose Tool > Open the VNC service for the NMS user from the main menu of the
UExpert.
2.
3.
In the dialog box that is displayed, set the login password of the VNC, confirm the login
password, and click OK.
Step 4 Run the following commands to start the System Monitor client:
$ cd /opt/oss/client
$ ./startup_sysmonitor_global.sh
In this command, /opt/oss is the path where the U2000 is installed by default. If the source version is
U2000 V100R006C02, the path is /opt/U2000, and you need to run the following command instead:
Issue 02 (2015-05-19)
34
$ cd /opt/U2000/client
$ ./startup_sysmonitor_global.sh
Step 5 In the Login dialog box, enter the user name and password of the source U2000.
Figure 11-3 Login
Issue 02 (2015-05-19)
35
The U2000 is rolled back successfully if processes whose Startup Mode are Automatic are
all in the Running state.
If the U2000 is just started, wait for a while until all U2000 processes are started.
Step 7 Choose Help > About from the main menu. The About dialog box is displayed.
Step 8 Click the About tab to check the information about the U2000 version whether is right.
----End
Prerequisites
The primary and secondary sites have been rolled back to the state before the upgrade.
Procedure
Step 1 Log in to the OSs of the primary and secondary sites as the root user.
Step 2 Verify that the MSuite server is running on the primary and secondary sites.
Run the following command to check whether the MSuite server is running:
# ps -ef | grep java
0 03:42:33 pts/2
-Dequinox.conf=engineering/conf/installE
If the MSuite server is not running, run the following commands to start it:
# cd /opt/HWENGR/engineering
# ./startserver.sh
If the source version is U2000 V100R009C00 or U2000 V200R001C00 , run the following
command instead:
# cd /opt/OSSENGR/engineering
Issue 02 (2015-05-19)
36
# ./startserver.sh
If the source version is U2000 V200R014C50, run the following command instead:
# cd /opt/oss/engr/engineering
# ./startserver.sh
Step 3 Log in to the Java Desktop System (Edition 3) session on the primary site as the ossuser user.
If the source version is U2000 V100R006C02, log in as the nmsuser user.
1.
In this command, /opt/oss is the path where the U2000 is installed by default. If the source version is
U2000 V100R006C02, the path is /opt/U2000, and you need to run the following command instead:
$ cd /opt/U2000/engineering
$ ./startclient.sh
2.
In the Login dialog box, enter the user name and password of the MSuite.
The following table provides the default settings of the parameters required for logging
in to the MSuite client.
Parameter
Description
IP Address
Port No.
User Name
Password
3.
Choose Deploy > Synchronize the primary and secondary sites from the main menu.
4.
In the dialog box that is displayed, enter the system IP address of the secondary site and
click OK.
A progress bar is displayed showing the synchronization progress.
5.
Wait until a dialog box is displayed indicating that the synchronization is complete. In
this dialog box, click OK.
The synchronization takes 15 to 30 minutes.
Alternatively, you can run commands in the CLI to set up the HA relationship between the
primary and secondary sites.
Issue 02 (2015-05-19)
37
If the source version is U2000 V100R009C00 or later, run the following commands:
$ cd /opt/oss/client/engineering
$ ./startclient.sh deploy -ip 127.0.0.1 -port 12212 -username admin buildHA
-secondaryip System IP address of the peer site
Information similar to the following is displayed:
The operation mode is command
=============================================================
Starting NMS
Password[]:
Enter the password of the admin user of the MSuite and press Enter. Wait about 15 to
30 minutes.
The operation is successful if the following information is displayed:
Join HA success.
Step 4 Run the following command as the root user on the primary site to check the data replication
status:
# vradmin -g datadg repstatus datarvg
It is recommended that you run the preceding command every half an hour.
The data replication connection is established between the primary and secondary sites if
information similar to the following is displayed:
Replicated Data Set: datarvg
Primary:
Host name:
10.71.210.120
RVG name:
datarvg
DG name:
datadg
RVG state:
Data volumes:
VSets:
6
0
SRL name:
srl_vol
SRL size:
3.00 G
Total secondaries:
Secondary:
Host name:
10.71.210.121
RVG name:
datarvg
DG name:
datadg
Data status:
inconsistent
Replication status:
Current mode:
asynchronous
Logging to:
Timestamp Information:
Issue 02 (2015-05-19)
N/A
Data is being replicated between the primary and secondary sites if Replication status is resync in
progress (autosync) and the DCM is decreasing.
The data replication duration depends on the network bandwidth and the amount of the data to be
replicated.
38
Data replication is complete between the primary and secondary sites if information similar to
the following is displayed:
Replicated Data Set: datarvg
Primary:
Host name:
10.71.210.120
RVG name:
datarvg
DG name:
datadg
RVG state:
Data volumes:
VSets:
6
0
SRL name:
srl_vol
SRL size:
3.00 G
Total secondaries:
Secondary:
Host name:
10.71.210.121
RVG name:
datarvg
DG name:
datadg
Data status:
consistent, up-to-date
Replication status:
replicating (connected)
Current mode:
asynchronous
Logging to:
SRL
Timestamp Information:
behind by 0h 0m 0s
----End
Procedure
Step 1 Log in to the OS as the root user.
Step 2 Execute the security hardening policy.
If no security hardening policy has been executed before the upgrade, skip this section.
If the security hardening policy has been enabled before the upgrade, the UExpert
automatically loads the security hardening policy. You need to prohibit the root user
from remotely logging in to the OS by following the steps provided in section A.19 How
Do I Prohibit the root User from Remotely Logging In to the OS After Security
Hardening?
----End
Issue 02 (2015-05-19)
39
A FAQ
FAQ
This appendix provides information on the most frequently asked questions (FAQs) about OS
and database upgrades.
Answer
Step 1 Download the iManager U2000 Version MD5 CODE(English) file from
http://support.huawei.com/carrier.
1.
Access http://support.huawei.com/carrier.
2.
Click Log In. In the dialog box that is displayed, enter the user name, password, and
verification code and click Login.
3.
Search the U2000 in the Software area, enter iManager U2000, choose the specific
version of U2000.
4.
Download the iManager U2000 Version MD5 CODE(English) file in the Version
Documentation area.
The iManager U2000 Version MD5 CODE(English) file contains the MD5 code of all
software and document packages.
Step 2 Go to http://www.nirsoft.net and download the HashMyFiles.
Step 3 Run the HashMyFiles.
Step 4 Drag the packages downloaded to the local PC to the HashMyFiles window.
The HashMyFiles automatically generates the MD5 code of the packages.
Alternatively, perform the following steps:
1.
Choose Files > Add Folder from the main menu to open the Select Folder dialog box.
2.
Select the folder that stores the compression packages and click OK.
Issue 02 (2015-05-19)
40
A FAQ
After the packages are loaded, the HashMyFiles automatically generates the MD5 code
of the packages.
3.
Choose View > HTML Report All Items to export the MD5 code information.
Step 5 Compare the generated MD5 code with that in the iManager U2000 Version MD5
CODE(English) file.
The downloaded software packages are correct if the MD5 code of the software
packages is consistent with that in the iManager U2000 Version MD5 CODE(English)
file.
The software packages must be re-downloaded if the MD5 code of the software
packages is inconsistent with that in the iManager U2000 Version MD5 CODE(English)
file.
----End
Answer
Step 1 Log in to the client and use Internet Explorer to connect to the server.
The port ID is 5802 for the root user and 5803 for the nmsuser users. As the root user, you can perform
operations such as command running, version upgrades, and version rollback. As the nmsuser user, you
can perform operations such as command running, and NMS server and client startup or shutdown.
Before using Internet Explorer to connect to the server, please restart Internet Explorer.
If the VNC service is enabled for the root user, open Internet Explorer on the client,
enter http://Server IP address:5802 in the address box, and press Enter to connect to the
server as the root user.
If the VNC service is enabled for the nmsuser user, open Internet Explorer on the client,
enter http://Server IP address:5803 in the address bar, and press Enter to connect to the
server as the nmsuser user.
If content cannot be pasted to the VNC window due to some exceptions, stop the VNC
service and start it again. Stopping the VNC service will end all running processes in the
VNC window. Therefore, before you stop the service, ensure that no process is running
in the VNC window.
Issue 02 (2015-05-19)
41
A FAQ
Answer
Assume that the execute permission for the installation script of the U2000 is lost. Run the
following command:
# chmod +x setup.sh
Run the following command to add the execute permission on a subdirectory and all files in the
subdirectory:
# chmod -R +x Subdirectory name
Answer
Step 1 Log in to the OS as the root user and run the following command to edit the/etc/default/login
file:
# vi /etc/default/login
----End
A.5 How Do I Allow the root User to Use the FTP Service?
Question
How do I allow the root user to use the FTP service?
Answer
Step 1 Log in to the OS as the rootuser and run the following command to edit the/etc/ftpd/ftpusers
file:
Issue 02 (2015-05-19)
42
A FAQ
# vi /etc/ftpd/ftpusers
----End
Answer
Use the following methods to start/stop the FTP, SFTP, and Telnet services. You are
recommended to restore the original settings afterwards.
Run the following command to switch to the root user:
$ su - root
Enter a login password for the root user.
1.
2.
1.
2.
1.
Use the PuTTY to log in to the server as user ossuser in SSH mode.
2.
3.
4.
Issue 02 (2015-05-19)
43
A FAQ
# /opt/oss/server/3rdTools/ftp/files/setSSLForFtpSvr.sh enablePlainFtp
5.
1.
Use the PuTTY to log in to the server as user ossuser in SSH mode.
2.
3.
4.
Run the following command to disable plaintext file transfer over FTP:
# /opt/oss/server/3rdTools/ftp/files/setSSLForFtpSvr.sh disablePlainFtp
5.
Run the following command to start the SFTP (more secure, recommended) service:
# vi /etc/ssh/sshd_config
If PAMAuthenticationViaKBDInt yes is displayed, add # to the beginning of it to change
it to #PAMAuthenticationViaKBDInt yes.
Ensure that the value of PasswordAuthentication is yes. That is, PasswordAuthentication
yes is displayed and # does not appear in front of it.
Ensure that # is displayed in front of UsePAM yes. That is, #UsePAM yes is displayed.
Issue 02 (2015-05-19)
44
A FAQ
Answer
Step 1 On a PC or laptop, double-click the shortcut icon of the FileZilla to open it.
You can go to http://filezilla-project.org to download the latest FileZilla.
2.
3.
Select SFTP SSH File Transfer Protocol from the Server Type drop-down list.
Issue 02 (2015-05-19)
45
A FAQ
4.
5.
Click Connect.
The Enter Password dialog box is displayed, as shown in Figure A-2.
When the new site connects to the server for the first time, the Unknown host key dialog box is
displayed. Select Always trust this host, add this key to the cache and click OK.
Issue 02 (2015-05-19)
46
6.
A FAQ
Enter a password, select the Remember password for this session check box, and click
OK.
If Directory listing successful is displayed next to Status, as shown in Figure A-3, the SFTP
connection is successful.
Figure A-3 Successful SFTP connection
Verify that the name of the directory that stores installation packages contains only
alphanumeric characters and underscores (_). If the directory name contains Chinese
characters, garbled characters will be displayed in the message window. The garbled
characters do not affect the uploaded packages or the MD5 code of the packages.
1.
In the Local site directory tree, locate the folder that stores the files to be uploaded and
click it.
All contents in the folder are displayed in Filename under Local site.
2.
In the Remote site directory tree, locate the folder that will store the uploaded files and
click it.
All contents in the folder are displayed in Filename under Remote site.
3.
Select a file to be uploaded in Filename under Local site and drag it to the desired folder
in Remote site.
4.
For example, Figure A-4 shows how to upload 01.txt from G:\test1 to /opt.
Issue 02 (2015-05-19)
47
A FAQ
Step 4 After the file is successfully uploaded, a success message is displayed, as shown in Figure
A-5.
Figure A-5 Successful file upload
----End
Answer
Step 1 Log in to the OS as the root user and run the following command:
# uname -a
----End
Issue 02 (2015-05-19)
48
A FAQ
Answer
Step 1 Log in to the OS as the root user and run the following command:
# df -h
The following information is displayed:
Filesystem
size
/dev/dsk/c1t0d0s0
/devices
19G
0K
used
avail capacity
14G
0K
5.4G
0K
72%
Mounted on
/
0%
/devices
ctfs
0K
0K
0K
0%
/system/contract
proc
0K
0K
0K
0%
/proc
mnttab
0K
0K
0K
0%
/etc/mnttab
7.9G
1.6M
swap
7.9G
1%
/etc/svc/volatile
objfs
0K
0K
0K
0%
/system/object
sharefs
0K
0K
0K
0%
/etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
19G
14G
5.4G
72%
/platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
19G
14G
5.4G
72%
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd
0K
0K
0K
swap
7.9G
1.3M
7.9G
0%
1%
/dev/fd
/tmp
swap
7.9G
56K
7.9G
1%
/var/run
/dev/dsk/c1t0d0s3
29G
9.6G
19G
34%
/opt
/dev/dsk/c1t1d0s5
59G
24G
35G
41%
/opt/sybase
19G
14G
5.4G
72%
/net/netra225188
----End
Answer
GUI mode:
Step 3 Choose File > New Cluster from the main menu. In the dialog box that is displayed, enter the
server IP address and click OK.
Issue 02 (2015-05-19)
49
A FAQ
If you are not logging in to the VCS client for the first time, click a server record in the information list
in the Cluster Monitor window.
Step 4 Enter the default user name admin and the initial password Changeme_123 for the VCS
client. Then click OK.
Step 5 Choose AppService > SybaseBk from the navigation tree. Right-click BackupServer and
check whether Enabled is selected. If it is not selected, select it and choose Online >
Hostname from the shortcut menu.
Step 6 In the dialog box that is displayed, click Yes.
Wait until the BackupServer and DatabaseServer resource icons on the Resources tab are
bright, which indicates that the Sybase database service has started.
----End
CLI mode
----End
Answer
GUI mode:
Step 3 Choose File > New Cluster from the main menu. In the dialog box that is displayed, enter the
server IP address and click OK.
If you are not logging in to the VCS client for the first time, click a server record in the information list
in the Cluster Monitor window.
Step 4 Enter the default user name admin and the initial password Changeme_123 for the VCS
client. Then click OK.
To ensure system security, change the default password in time. If the default password has been
changed, enter the new password.
Issue 02 (2015-05-19)
50
A FAQ
Step 5 On the VCS client of the primary site, right-click the NMSServer node and choose Offline >
Hostname from the shortcut menu.
Step 6 In the confirmation dialog box, click Yes.
Step 7 After the NMSServer node is dimmed, right-click BackupServer node and choose Offline >
Hostname from the shortcut menu.
Step 8 In the confirmation dialog box, click Yes.
Step 9 After the BackupServer node is dimmed, right-click the DatabaseServer node and choose
Offline > Hostname from the shortcut menu.
Step 10 In the confirmation dialog box, click Yes.
----End
CLI mode
9629 14603
0 07:46:52 pts/3
----End
Answer
Step 1 Run the following commands:
# su - sybase
$ isql -Usa -SDBSVR
If the NMS version is U2000 V100R006C02, use the sybase user. If the NMS version is U2000
V100R009C00 or later, use the dbuser user. This section uses the sybase user as an example.
Issue 02 (2015-05-19)
51
A FAQ
Password:
Enter the password for the database superuser and press Enter
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
8 16:16:43 2012
(1 row affected)
9 20:57:41 2012
(1 row affected)
----End
Answer
Issue 02 (2015-05-19)
52
A FAQ
The default VCS user is admin and the default password of the user is Changeme_123.
You are advised to change the password on the primary and secondary sites to ensure
system security and keep the new password secure. Ensure that the password is changed
to be the same on both sites.
1.
Open a terminal window and run the following command to log in to the VCS:
# hagui&
If the login window fails to be displayed and the terminal displays a message indicating the
STALE_ADMIN_WAIT state, run the following command to rectify the problem:
# hasys -force `hostname`
2.
3.
4.
5.
6.
On the Change Password-admin page, enter a new password and click OK.
7.
Log in to the OS as the root user by using the Java Desktop System.
b.
Open a terminal window and run the following command to log in to the VCS:
# hagui&
If the login window fails to be displayed and the terminal displays a message indicating the
STALE_ADMIN_WAIT state, run the following command to rectify the problem:
# hasys -force `hostname`
c.
d.
The default user name of the VCS is admin, and the password is Changeme_123 if the NMS version is
U2000 V100R006C02 or later.
Issue 02 (2015-05-19)
53
A FAQ
e.
f.
Click the Resources tab. Right-click NMSServer and choose Offline > Hostname
from the shortcut menu.
If the NMSServer icon becomes unavailable, the U2000 processes have been ended.
2.
Log in to the OS as the root user by using the Java Desktop System on the primary
and secondary sites.
b.
Run the following command on the primary and secondary sites to check whether
the MSuite server has been started:
# ps -ef | grep java
c.
Log in to the OS of the primary site as the ossuser user by using the Java Desktop
System.
If the NMS version is U2000 V100R006C02, use the nmsuser user instead.
d.
Double-click the U2000 NMS Maintenance Suite shortcut icon on the desktop and
wait about one minute until the Login dialog box is displayed.
e.
When you log in to the MSuite client, a progress bar is displayed showing the progress of querying
components and instances. Wait until the operation is complete.
The MSuite works in single-user mode. Specifically, only one MSuite client can log in to the MSuite
server at the same time.
3.
On the MSuite client, choose Deploy > Change Database Superuser Password from
the main menu.
4.
In the Change Database Superuser Password dialog box, enter the old password and
new password.
Click OK to complete the change.
5.
Issue 02 (2015-05-19)
To change the password for a common database user, choose Deploy > Change Database user
Password from the main menu.
54
6.
A FAQ
To change the password to a simple one, select the Allow using simple passwords check box.
If the password has been updated frequently, the "too new" message may be displayed. Wait for
some time before changing the password.
Log in to the OS as the root user by using the Java Desktop System.
b.
c.
d.
Click the Resources tab. Right-click NMSServer and choose Online > Hostname
from the shortcut menu.
If the NMSServer icon becomes available, the U2000 processes have been started.
1.
On the MSuite client, choose System > Change Password from the main menu.
For details about how to log in to the MSuite client, see the procedure for logging in to
the MSuite client in the preceding process of changing the password of the database
administrator sa or a common database user.
2.
3.
In the Change Password dialog box, enter the old password and new password.
4.
Answer
Method 1:
Step 4 Enter the new password again as prompted. Press Enter for the change to take effect.
Issue 02 (2015-05-19)
55
A FAQ
After the new password takes effect, do not close the CLI.
Open another CLI and log in by using the new password to verify the new password. If the
new password is correct, close all the CLIs. If the new password is incorrect, repeat the
preceding steps to change the password again.
----End
Method 2: (Use this method when the nmsuser, sybase, ossuser or dbuser user fails to
log in to the OS because the user password is forgotten or the password expires.)
Step 4 Enter the new password again as prompted. Press Enter for the change to take effect.
After the new password takes effect, do not close the CLI.
Open another CLI and log in by using the new password to verify the new password. If the
new password is correct, close all the CLIs. If the new password is incorrect, repeat the
preceding steps to change the password again.
----End
Answer
Step 1 Log in to Linux OS as the root user.
Issue 02 (2015-05-19)
56
A FAQ
Answer
The following information is automatically backed up before the upgrade:
License file
Routing information
For details about the backup information, open the config_bak folder in the U2000 upgrade
backup directory.
Answer
Log in to the VNC client and use the Internet Explorer to connect to the server. The port ID is
5802 for user root and the port ID is 5803 for user ossuser. As user root, you can perform
operations such as command running, version upgrades, and version rollback. As user ossuser,
you can perform operations such as command running, and NMS server and client startup or
shutdown. You can perform the following steps to connect to the server using the Internet
Explorer:
Before using the Internet Explorer to connect to the server, please restart the Internet Explorer.
Issue 02 (2015-05-19)
57
A FAQ
Configure the VNC service as the root user. Perform the following operations to create
an SSH tunnel so that the communication between the server and VNC client is more
secure. In the following example, the PuTTY is saved in the D:\PuTTY path and the
server IP address is 10.9.1.1.
Step 1 On a PC or laptop, choose Start > Run. In the dialog box that is displayed, enter cmd to open
a CLI.
Step 2 Run the following command to navigate to the path where the PuTTY is located: C:\> cd /d
D:\PuTTY\
Step 3 Run the following command to create an SSH tunnel for the root user:
D:\PuTTY> putty -L 5902:localhost:5902 -L 5802:localhost:5802 10.9.1.1
Do not replace localhost with an IP address or a host name in the preceding command.
Establish a connection with the server. In the PuTTY Security Alert dialog box, click Yes to confirm
the connection to the server.
Step 4 In the PuTTY dialog box, enter the user name and password of the root user. The SSH tunnel
for the root user is created.
During operations on the GUI, do not close the PuTTY dialog box. Otherwise, the connection to the
VNC client becomes abnormal. If the PuTTY dialog box is closed or SSH tunnel is disconnected due
to an exception, refer to this FAQ to reconfigure the VNC service.
If the security hardening policy is enabled on the system, enter the user name and password of the
ossuser user in the PuTTY window to complete the creation of the SSH tunnel.
Step 5 Open the Internet Explorer of a PC or laptop. Enter http://localhost:5802 in the address bar.
Then press Enter.
If a message is displayed indicating that the application is prohibited to run, choose Start > Control
Panel and click Java. In the Java Control Panel dialog box, click the Security tab, Edit Site List, and Add,
and enter http://localhost:5802. Click OK, Continue, and then OK. Restart the Internet Explorer and
enter http://localhost:5802 in the address bar.
The VNC cannot be used to connect a PC or laptop to multiple SUSE Linux servers. If the
VNC needs to be used to connect to another server, you must shut down the server
connected to the PuTTY and then refer to the FAQ to reconfigure the VNC connected to
the server. The new VNC connected to the SUSE Linux server overwrites the previous
VNC connected to the SUSE Linux server. To reuse the previous VNC, refer to this FAQ
to reconfigure this VNC.
After the GUI process is completed, run the following command to shut down the VNC
service in order to ensure security:
# sh stop_vnc_root.sh
If the command output contains successfully, the VNC service corresponding to the root
user is stopped.
Issue 02 (2015-05-19)
58
A FAQ
If the VNC needs to be used again, refer to this document to configure the VNC.
Configure the VNC service as the ossuser user. Perform the following operations to
create an SSH tunnel for the ossuser user so that the communication between the server
and VNC client is more secure. In the following example, the PuTTY is saved in the
D:\PuTTY path and the server IP address is 10.9.1.1.
Step 1 On a PC or laptop, choose Start > Run. In the dialog box that is displayed, enter cmd to open
a CLI.
Step 2 Run the following command to navigate to the path where the PuTTY is located: C:\> cd /d
D:\PuTTY\
Step 3 Run the following command to create an SSH tunnel for the ossuser user:
D:\PuTTY> putty -L 5903:localhost:5903 -L 5803:localhost:5803 10.9.1.1
Do not replace localhost with an IP address or a host name in the preceding command.
Establish a connection with the server. In the PuTTY Security Alert dialog box, click Yes to confirm
the connection to the server.
Step 4 In the PuTTY dialog box, enter the user name and password of the ossuser user. The SSH
tunnel for the ossuser user is created.
During operations on the GUI, do not close the PuTTY dialog box. Otherwise, the connection to the
VNC client becomes abnormal. If the PuTTY dialog box is closed or SSH tunnel is disconnected due to
an exception, refer to this FAQ to reconfigure the VNC service.
Step 5 Open the Internet Explorer of a PC or laptop. Enter http://localhost:5803 in the address bar.
Then press Enter.
If a message is displayed indicating that the application is prohibited to run, choose Start > Control
Panel and click Java. In the Java Control Panel dialog box, click the Security tab, Edit Site List, and Add,
and enter http://localhost:5803. Click OK, Continue, and OK, restart the Internet Explorer, and enter
http://localhost:5803 in the address bar.
Issue 02 (2015-05-19)
59
A FAQ
The VNC cannot be used to connect a PC or laptop to multiple SUSE Linux servers. If the
VNC needs to be used to connect to another server, you must shut down the server
connected to the PuTTY and then refer to the FAQ to reconfigure the VNC connected to
the server. The new VNC connected to the SUSE Linux server overwrites the previous
VNC connected to the SUSE Linux server. To reuse the previous VNC, refer to this FAQ
to reconfigure this VNC.
After the GUI process is completed, run the following command to shut down the VNC
service in order to ensure security:
$ su - root
Password: root user password
# sh stop_vnc_oss.sh
If the command output contains successfully, the VNC service corresponding to the
ossuser user is stopped.
If the VNC needs to be used again, refer to this document to configure the VNC.
Answer
Step 1 Log in to the OS as the ossuser user.
Step 2 Run the following commands to enable the root user to remotely log in to the OS:
$ su - root
# cd /opt/UExpert/
# chmod +x SetEnv.sh
# ./SetEnv.sh
----End
Issue 02 (2015-05-19)
60
A FAQ
Answer
Step 1 Log in to the OS as the ossuser user.
If the source version is U2000 V100R006C02 , log in the OS as the nmsuser user.
Step 2 Run the following commands to prohibit the root user from remotely logging in to the OS:
$ su - root
# cd /opt/UExpert/
# chmod +x RollBackEnv.sh
# ./RollBackEnv.sh
----End
Answer
Step 1 Check whether the MSuite server is running.
Run the following command:
# ps -ef | grep java
5941
0 10:54:14 ?
40:20 /opt/oss/OSSJRE/jre_linux/bin/java
If the NMS version is U2000 V100R009C00 or later and the message contains
/opt/oss/OSSJRE/jre_linux/bin/java -server, the MSuite server is started. Otherwise, the MSuite
server is not started.
If the NMS version is V100R006C02 and the message contains /opt/HWNMSJRE/jre_linux/bin/java
-server, the MSuite server is started. Otherwise, the MSuite server is not started.
Step 2 If the MSuite server is not running, run the following commands to start it:
# cd /opt/oss/engr/engineering
# ./startserver.sh
Issue 02 (2015-05-19)
61
A FAQ
If the NMS version is U2000 V100R006C02, run the following command instead:
# cd /opt/HWENGR/engineering
# ./startserver.sh
----End
Answer
Before disabling the VNC service, use the PuTTY to log in to the OS over SSH. Other third-party tools
cannot be used because the VNC client may be displayed incorrectly.
Upgrade package decompression path in the below is the directory created in in chapter 4 "Preparing for
the Upgrade." If the upgrade package is manually uploaded to the server, Upgrade package extraction
path is the directory in which the upgrade package is decompressed.
To disable the VNC service for the root user, log in to the OS as the root user and run
the following commands:
# cd /opt/oss/engr/tools/VNC/
# bash stop_vnc_root.sh
To disable the VNC service for the ossuser user, log in to the OS as the root user and run
the following commands:
# cd /opt/oss/engr/tools/VNC/
# bash stop_vnc_oss.sh
----End
Issue 02 (2015-05-19)
62
A FAQ
Answer
Before enabling the VNC service, use the PuTTY to log in to the OS over SSH. Other third-party tools
cannot be used because the VNC client may be displayed incorrectly.
Upgrade package decompression path in the below is the directory created in in chapter 4 "Preparing
for the Upgrade." If the upgrade package is manually uploaded to the server, Upgrade package
extraction path is the directory in which the upgrade package is decompressed.
To enable the VNC service for the root user, perform the following steps:
1.
2.
Run the following commands to set the password of the root user to log in to the VNC
client:
# vncpasswd
Remember this password that will be used when you log in to a U2000 client as the root user.
If you forget this password, perform the preceding operations to set a new password as
prompted.
3.
Run the following commands to enable the VNC service for the root user:
# cd /opt/oss/engr/tools/VNC/
# bash start_vnc_root.sh
Issue 02 (2015-05-19)
63
A FAQ
1.
Choose Tool > Open the VNC service for the root user from the main menu of the
UExpert.
2.
In the dialog box that is displayed, set the login password of the VNC, confirm the login
password, and click OK.
If the login password of the VNC has been set, skip this step.
If you forget this password, perform Step 2 in the "Through the CLI" to set a new password after
finishing the following step.
3.
In the dialog box showing successful startup of the VNC service, click OK.
To enable the VNC service for the ossuser user, perform the following steps:
1.
2.
Run the following commands to set the password of the ossuser user to log in to the
VNC client:
# su - ossuser
$ vncpasswd
Information similar to the following is displayed:
Password:
Remember this password that will be used when you log in to a U2000 client as the ossuser
user.
If you forget this password, perform the preceding operations to set a new password as
prompted.
3.
Run the following commands to enable the VNC service for the ossuser user:
# cd /opt/oss/engr/tools/VNC/
# bash start_vnc_oss.sh
Issue 02 (2015-05-19)
64
A FAQ
If the source version is V100R008, V100R009 ,V200R001, run the following command instead:
# cd /opt/OSSICMR/tools/VNC/
# bash start_vnc_oss.sh
1.
Choose Tool > Open the VNC service for the NMS user from the main menu of the
UExpert.
2.
In the dialog box that is displayed, set the login password of the VNC, confirm the login
password, and click OK.
If the login password of the VNC has been set, skip this step.
If you forget this password, perform the Step 2 in the "Through the CLI" to set a new password after
finishing the following step.
3.
In the dialog box showing successful startup of the VNC service, click OK.
To enable the VNC service for the nmsuser user, perform the following steps:
Through the CLI
Log in to the OS as the root user
1.
2.
Run the following commands to set the password of the nmsuser user to log in to the
VNC client:
# su - nmsuser
$ vncpasswd
Information similar to the following is displayed:
Password:
Enter a password.
Information similar to the following is displayed:
Verify:
Remember this password that will be used when you log in to a U2000 client as the nmsuser
user.
If you forget this password, perform the preceding operations to set a new password as
prompted.
3.
Run the following commands to enable the VNC service for the nmsuser user:
# cd /opt/HWENGR/engineering/tool/linux/VNC/
# bash start_vnc_nms.sh
Issue 02 (2015-05-19)
65
A FAQ
1.
Choose Tool > Open the VNC service for the NMS user from the main menu of the
UExpert.
2.
In the dialog box that is displayed, set the login password of the VNC, confirm the login
password, and click OK.
If the login password of the VNC has been set, skip this step.
If you forget this password, perform the Step 2 in the "Through the CLI" to set a new password after
finishing the following step.
3.
In the dialog box showing successful startup of the VNC service, click OK.
Answer
Step 1 Log in to the Sybase database server as user dbuser,run the following commands
# su - dbuser
$ isql -Usa -SDBSVR -n -i /opt/sybase/ASE*/scripts/installmaster
Enter the password for the database superuser and press Enter.
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
The dbuser user can execute the database after the U2000 is upgraded and the sybase user can
execute the database before the U2000 is upgraded. The following uses the dbuser user as an
example.
----End
Context
After the upgrade, the NMS user nmsuseris replaced byossuser, and the database
usersybaseand database login userNMSuserare replaced bydbuser. To ensure system security,
you are advised to delete the users.
Issue 02 (2015-05-19)
66
A FAQ
Procedure
Step 1 Log in to the OS as root user.
Step 2 Run the following commands to delete the nmsuser user and its group:
# rm -rf /export/home/nmsuser
# /usr/sbin/userdel nmsuser
# /usr/sbin/groupdel nmsgroup
Step 3 Run the following commands to delete the sybase user and its group:
# /usr/sbin/userdel sybase
# /usr/sbin/groupdel sybase
Step 4 Delete the database login user NMSuser.
1.
Run the following command to log in to the Sybase database as the database superuser:
# . /opt/sybase/SYBASE.sh
# isql -SDBSVR -Usa
The following information is displayed:
sa password
2.
Enter the password for the database superuser and press Enter.
3.
Run the following command to delete the database login user NMSuser:
1> sp_droplogin NMSuser
2> go
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
Issue 02 (2015-05-19)
67
A FAQ
Answer
Step 1 Open the Internet Explorer and enter the IMM IP address of the IMM in the address bar to
access the page for logging into the IMM.
Step 2 Enter an IMM user name and a password, and click Log In.
The default user name is USERID.
The default password is PASSW0RD. Note that the sixth character is digit 0 but not letter O. If the
password has been changed, enter the new password.
Step 3 Click Remote Control, select Use the ActiveX Client > Start remote control in single-user
mode to access the remote control desktop.
When logging in to the IBM server for the first time, perform the following operations:
Issue 02 (2015-05-19)
68
A FAQ
Click Start remote control in single-user mode and wait about 2 minutes. In the dialog box asking you
whether to install the IMM_KVMVM32.cab, click Install.
During the installation, click Run in the Warning-Security dialog box asking you whether to trust this
site.
Do not close the ActiveX KVM Client dialog box. Otherwise, the Video Viewer dialog box cannot be
displayed.
If Use the ActiveX Client is unavailable, just click Start remote control in single-user mode to access the
remote control desktop.
Keep the default values of other parameters unchanged.
For the IBM X3650 M4 server, if CAPS is displayed in the lower right corner of the Video Viewer
window, letters are entered in upper case; if CAPS is not displayed in the lower right corner of the Video
Viewer window, letters are entered in lower case. The Caps indicator on the keyboard cannot indicate
whether letters are entered in upper or lower case.
For the IBM X3650 M4 server, if NUM is displayed in the lower right corner of the Video Viewer
window, digits can be entered; if NUM is not displayed in the lower right corner of the Video Viewer
window, digits cannot be entered. The Num indicator on the keyboard cannot indicate whether the
number keypad is available.
If a message is displayed indicating that the application is prohibited to run, choose Start > Control
Panel and click Java. In the Java Control Panel dialog box, click the Security tab, Edit Site List, and Add,
enter an iMana IP address, such as http://192.168.2.100, and click OK. Click OK, restart the IE Explorer,
and log in to iMana again.
Step 4 Choose Tools > Power > Reboot from the main menu to reboot the IBM server.
----End
Issue 02 (2015-05-19)
69
A FAQ
Answer
Step 1 Open the Internet Explorer and enter the IMM IP address of the IMM in the address bar to
access the page for logging into the IMM.
Step 2 Enter an IMM user name and a password, and click Login.
The default user name is USERID.
The default password is PASSW0RD. Note that the sixth character is digit 0 but not letter O. If the
password has been changed, enter the new password.
Step 3 Click Continue to access the Integrated Management Module web page.
You do not need to set Inactive session timeout value. Keep the default value no timeout.
Step 4 Enable remote control. Choose Tasks > Remote Control from the navigation tree. In the
righthand pane, click Use the ActiveX Client with Microsoft Internet Explorer > Start Remote
Control in Single User Mode to access the remote control desktop.
The remote control desktop consists of two parts: virtual media window and desktop display
window.
When logging in to the IBM server for the first time, perform the following operations:
Click Start remote control in single-user mode and wait about 2 minutes. In the dialog box asking you
whether to install the IMM_KVMVM32.cab, click Install.
Issue 02 (2015-05-19)
70
A FAQ
During the installation, click Run in the Warning-Security dialog box asking you whether to trust this
site.
If Use the ActiveX Client with Microsoft Internet Explorer is unavailable, just click Start Remote
Control in Single User Mode to access the remote control desktop.
Do not close the ActiveX KVM Client dialog box. Otherwise, the Video Viewer dialog box cannot be
displayed.
If a message is displayed indicating that the application is prohibited to run, choose Start > Control
Panel and click Java. In the Java Control Panel dialog box, click the Security tab, Edit Site List, and Add,
enter an iMana IP address, such as http://192.168.2.100, and click OK. Click OK, restart the IE Explorer,
and log in to iMana again.
Step 5 Choose Tools > Power > Reboot from the main menu to reboot the IBM server.
----End
Issue 02 (2015-05-19)
71
B Troubleshooting Problems
Troubleshooting Problems
This chapter provides methods of handling problems associated with the OS, database, and
UExpert that may occur in the upgrade
Causes
1.
2.
After a running deployment service is stopped or the installation is canceled, the port
occupied by the deployment service of the engineering framework on Solaris or Linux
OS is not released immediately.
Solution
Step 1 End Java processes.
Step 2 Wait for 2 minutes.
Step 3 Restart the database if the port is still occupied.
----End
Issue 02 (2015-05-19)
72
B Troubleshooting Problems
Answer
Step 1 Log in to the OS as the root user and run the following command:
# vncpasswd
Remember the password configured here. The password will be used for client login of the
root user.
If the password is forgotten, log in to the OS as the root user, run the vncpasswd command,
and set a new password according to the prompt message.
----End
For the ossuser user, the su - ossuser -c vncpasswd command needs to be used.
Step 1 Log in to the OS as the root user and run the following commands:
# su - ossuser
$ vncpasswd
Issue 02 (2015-05-19)
73
B Troubleshooting Problems
Remember the password configured here. The password will be used for client login of the
ossuser user.
If the password is forgotten, log in to the OS as the ossuser user, run the vncpasswd
command, and set a new password according to the prompt message.
----End
For the nmsuser user, the su - nmsuser -c vncpasswd command needs to be used.
Step 1 Log in to the OS as the root user and run the following commands:
# su - nmsuser
$ vncpasswd
Remember the password configured here. The password will be used for client login of the
nmsuser user.
If the password is forgotten, log in to the OS as the root user, run the vncpasswd command,
and set a new password according to the prompt message.
----End
Issue 02 (2015-05-19)
74
B Troubleshooting Problems
Answer
Step 1 Log in to the OS as the root user.
Step 2 Run commands to enable or disable the VNC services based on the user name.
User Name
root
# svcadm clear
xvnc-engineering_root
ossuser
# svcadm disable
xvnc-engineering_root
# svcadm clear
xvnc-engineering_oss
nmsuser
# svcadm disable
xvnc-engineering_oss
# svcadm clear
xvnc-engineering_nms
# svcadm disable
xvnc-engineering_nms
If the VNC service is not enabled or disabled after you perform the preceding operations, contact
Huawei technical support.
----End
Issue 02 (2015-05-19)
75
B Troubleshooting Problems
Solution
Step 1 Import the HuaWeiCA certificate in
D:\oss\client\client\style\defaultstyle\conf\ssl\trust\PEM\ to Internet Explorer,D:\oss is
OSS's install direttory.
1.
Issue 02 (2015-05-19)
76
2.
Issue 02 (2015-05-19)
B Troubleshooting Problems
77
3.
4.
Issue 02 (2015-05-19)
B Troubleshooting Problems
78
5.
Issue 02 (2015-05-19)
B Troubleshooting Problems
In the Certificate Import Wizard dialog box, select Place all certificates in the
following store, then click Browse.
Internet Explorer 7:
Internet Explorer 8:
79
B Troubleshooting Problems
6.
In the Select Certificate Store dialog box, select Trusted Root Certification
Authorities, and then click OK.
7.
8.
Issue 02 (2015-05-19)
80
9.
B Troubleshooting Problems
When the "The import was successful" message is displayed, click OK.
10. In the Certificates dialog box, click the Trusted Root Certification Authorities tab.
The huaweiossCA certificate is displayed in the list.
Issue 02 (2015-05-19)
81
B Troubleshooting Problems
Step 2 In the Internet Options dialog box, click the Advanced tab and then clear the Warn about
certificate address mismatch* check box in the Settings area.
Issue 02 (2015-05-19)
82
B Troubleshooting Problems
Step 3 In the Internet Options dialog box, click the Settings on the General tab. In the Temporary
Internet Files and History Settings dialog box, click Every time I visit the webpage.
Issue 02 (2015-05-19)
83
B Troubleshooting Problems
Step 4 If a message indicating incorrect security certificate for the website is displayed, right-click
Continue browsing the webpage and choose Open in New Window from the shortcut
menu.
A message is displayed indicating that revoked certificates for the web page are unavailable.
Click Yes. In the Security Alert dialog box, click Yes.
All elements will then be correctly displayed after you access another Web LCT page.
----End
Causes
The probable causes are as follows:
Faults occur on the U2000 server. For example, the server has not started, disk space is
exhausted, or the memory usage is high due to many processes running on the server.
Faults occur on the network between the U2000 server and client.
Online clients exceed the maximum number permitted by the U2000 license.
The firewall or a virus has suppressed the port connecting the U2000 server and client.
By default, port 31037 is used in common mode and port 31039 is used in Secure
Sockets Layer (SSL) mode.
The U2000 client version does not match the server version.
The communication protocol is inconsistent between the U2000 server and client.
The login account is locked because the login attempts exceed the specified threshold.
The access control list (ACL) does not contain the IP address of the computer where the
client is installed.
Solution
For details about how to resolve this problem, see the procedure for troubleshooting the
failure to log in to the U2000 server from a client in U2000 Troubleshooting.
Issue 02 (2015-05-19)
84
B Troubleshooting Problems
Causes
The probable causes are as follows:
The network is interrupted between the operations support system (OSS) and the U2000
server.
Firewall settings interrupt the connection between the OSS and the U2000 server.
The number of OSSs connected to the U2000 exceeds the specified threshold.
Solution
For details about how to resolve this problem, see the procedures for troubleshooting common
faults and the FAQs in the section describing NBI maintenance in NBI user manuals.
A message is displayed indicating the failure to connect to the database. As a result, the
U2000 server cannot be started.
A message is displayed indicating that the U2000 license has not taken effect. As a result,
the U2000 cannot be started or has some functions disabled (for example, the
license-permitted functions differ from the expected ones).
A message is displayed indicating that U2000 environment variables are incorrectly set.
Causes
The probable causes are as follows:
The connection is incorrectly configured between the database and the U2000 server.
Changing the database password without using the MSuite causes damage to
configuration files.
Issue 02 (2015-05-19)
85
B Troubleshooting Problems
Solution
For details about how to resolve this problem, see the procedure for troubleshooting the
failure to start the U2000 server in U2000 Troubleshooting.
Solution
Step 1 Confirm that all connections mentioned in the preceding message have been disconnected.
If all connections have been disconnected but the problem persists, proceed to the following
steps to delete the associated identification files.
Step 2 Log in to the U2000 server as the root user.
Step 3 Run the following command to view identification files:
# ls /opt/UExpert/session/
Step 4 Run the following commands to delete the identification files for the connections that have
been disconnected from the system:
# cd /opt/UExpert/session/
# rm identification file
Issue 02 (2015-05-19)
86
B Troubleshooting Problems
Solution
Step 1 Log in to the OS as the root user.
Step 2 Run the following command to check the login status of the user you want to delete:
# who | grep nmsuser
Step 5 Run the following commands to delete the sybase user and its group:
# /usr/sbin/userdel sybase
# /usr/sbin/groupdel sybase
Run the following command to log in to the Sybase database as the sa user:
# . /opt/sybase/SYBASE.sh
# isql -SDBSVR -Usa
2.
3.
Run the following command to delete the database login user NMSuser:
1> sp_droplogin NMSuser
2> go
The operation succeeds if the following information is displayed when the user
NMSuser is exit:
Account locked
Login dropped
(return status = 0)
Information similar to the following is displayed when the user NMSuser is not exit:
Msg 17880, Level 16, State 1:
Server 'DBSVR', Procedure 'sp_droplogin', Line 219:
No such account -- nothing changed.
(return status = 1)
Issue 02 (2015-05-19)
87
B Troubleshooting Problems
----End
Causes
The QuickStep tool is not stopped. As a result, the tomcat.exe process is still running. The
operations in this section are not involved when the source version is U2000 V100R009C00
or later.
Solution
Step 1 Log in to the OS as the root user.
Step 2 Run the following commands to stop the QuickStep service:
# cd /opt/HWENGR/engineering/quickstep
# ./shutdown.sh
----End
Solution
Step 1 Log in to the OS as the root user.
Step 2 Perform the following operations to obtain the pre_install.sh script:
1.
Issue 02 (2015-05-19)
88
2.
B Troubleshooting Problems
Run the following commands to switch to the directory that stores the pre_install.sh file
and run the pre_install.sh file to start copying software:
# bash
# cd /cdrom/cdrom0/engineering/HWICMR
# ./pre_install.sh
3.
4.
# cp -R /opt/U2000/engineering/backup/HWICMR/* /opt/HWICMR
Run the following commands to grant rights to HWNMSJRE:
# cd /opt
# chmod -R 755 HWNMSJRE
5.
6.
Run the following command to determine the database size directory used:
# more /opt/HWENGR/engineering/conf/SelectDBType.cfg
7.
Run the following command to copy and paste the database size directory to the database
configuration directory:
# cp -R /opt/HWENGR/install/etc/dbsize/database size directory/*
/opt/HWENGR/install/etc/database/
Step 4 Log in to the MSuite client, and choose System > Synchronize NMS information.
After the HWENGR and HWICMR directory is successfully restored, MSuite passwords will be
initialized.
Step 5 After the U2000 information is synchronized, run the following commands to restart the
MSuite server:
# cd /opt/HWENGR/engineering
# ./stopserver.sh
# ./startserver.sh
----End
Issue 02 (2015-05-19)
89
B Troubleshooting Problems
Solution
If the UExpert displays a message indicating that the database is occupied, end the process
corresponding to the SPID and continue with the upgrade or the rollback.
Enter the password for the database superuser and press Enter.
1> use master
2> go
1> kill SPID number
2> go
The default database administrative account is sa. If sa has been prohibited, enter another account to
replace sa.
Solution
Step 1 End U2000 processes on the primary site to prevent NE users from being kicked out.
Step 2 Log in to the MSuite client on the secondary site.
Step 3 Choose Tools > Config Manager from the main menu.
Issue 02 (2015-05-19)
90
B Troubleshooting Problems
Step 4 In the Config Manager dialog box, find the configuration item NEUserLoginflag, change its
Config Value to 1, and click Apply.
Step 5 In the dialog box that is displayed, click OK.
Issue 02 (2015-05-19)
91
B Troubleshooting Problems
Step 7 Restart the Transmit Common Process Eml_PubSvr and the Transmit NE Manager processes.
----End
Solution
Step 1 Run the following command to find the processes that are occupying the port:
# bash /opt/OSSENGR/engineering/tool/FindProcessOnPort.sh
Step 2 Run the following command to end the processes:
# kill -9 Process ID
Process ID maps the second column in the command output returned in step 1.
Solution
Step 1 Run the following commands to check the startup status of the database:
# ps -ef | grep sybase|grep -v grep
Information similar to the following is displayed:
sybase 1451 1450 0 10:15:03 ?
-d/opt/sybase/data/master.dat -e/op
sybase 1476 1475 0 10:16:28 pts/2
0:00 /opt/sybase/ASE-15_0/bin/backupserver
-SDBSVR_back -e/opt/sybase/ASE-15_0/insta
Issue 02 (2015-05-19)
92
B Troubleshooting Problems
If"-sDBSVR" and "-SDBSVR_back" are displayed in the command output, the database is running.
----End
Do not use the solution described in this section if the SSL certificate was not replaced before the
upgrade.
Solution
Step 1 Log in to the OS as the ossuser user.
Step 2 Run the following command to check the status of the Apache service:
$ps -ef|grep apache
Information similar to the following is displayed:
ossuser
20614
9845
0 11:19 pts/0
If the preceding command output is displayed, the Apache service is not running. In that event, you
need to take subsequent steps.
If the Apache service is running, wait a few seconds and retry several times because the service may
be restarted repeatedly but cannot be started finally. Therefore, it is possible that the Apache service
is displayed in the command output.
Issue 02 (2015-05-19)
93
B Troubleshooting Problems
Solution
#. /opt/sybase/SYBASE.sh
# isql -Usa -SDBSVR
Issue 02 (2015-05-19)
94
C Common Operations
Common Operations
Example
Description
cd Directory
cd /opt
ls -al /opt
mkdir Directory
mkdir install
Creates a directory.
pwd
pwd
rm File name
rm file.tar
Deletes a file.
rmdir Directory
rmdir temp
mv Directory 1 Directory 2
mv /opt/upgrade
/opt/upgrade_back
Issue 02 (2015-05-19)
95
Procedure
Step 1 Log in to the NMS server as the root user and access the CLI.
Step 2 Run the following commands to switch to the sybase user to perform database operations:
# su - sybase
$ isql -SDBSVR -Usa
Step 3 If the size of the data space to be expanded is greater than 0, run the following commands to
expand the data space in the PMSDB:
1> disk init
name="PMSDBdata_Date",physname="/opt/sybase/data/PMSDBdata_Date.dat",size="
Size of the data space to be expanded",dsync=false
2> go
1> alter database PMSDB on PMSDBdata_Date="Size of the data space to be expanded"
2> go
1> sp_deviceattr PMSDBdata_Date, dsync, 'true'
2> go
In the preceding commands, "Date" must be in the format of YYYYMMDD, such as 20100927.
Assume that the size of the data space to be expanded is 18000 MB. Run the following commands:
1> disk init
name="PMSDBdata_20100927",physname="/opt/sybase/data/PMSDBdata_20100927.dat"
Issue 02 (2015-05-19)
96
,size="18000M",dsync=false
2> go
1> alter database PMSDB on PMSDBdata_20100927="18000M"
2> go
1> sp_deviceattr PMSDBdata_20100927, dsync, 'true'
2> go
Step 4 If the size of the log space to be expanded is greater than 0, run the following commands to
expand the log space in the PMSDB:
1> disk init
name="PMSDBlog_Date",physname="/opt/sybase/data/PMSDBlog_Date.dat",size="Siz
e of the log space to be expanded",dsync=false
2> go
1> alter database PMSDB log on PMSDBlog_Date="Size of the log space to be expanded"
2> go
1> sp_deviceattr PMSDBlog_Date, dsync, 'true'
2> go
In the preceding commands, "Date" must be in the format of YYYYMMDD, such as 20100927.
Assume that the size of the log space to be expanded is 3800 MB. Run the following commands:
1> disk init
name="PMSDBlog_20100927",physname="/opt/sybase/data/PMSDBlog_20100927.dat",s
ize="3800M",dsync=false
2> go
1> alter database PMSDB log on PMSDBlog_20100927="3800M"
2> go
1> sp_deviceattr PMSDBlog_20100927, dsync, 'true'
2> go
Step 5 If both the size of the data space to the expanded and the size of the log space to be expanded
are greater than 0, run the following commands to expand the data space and log space in the
PMSDB:
1> disk init
name="PMSDBdata_Date",physname="/opt/sybase/data/PMSDBdata_Date.dat",size="
Size of the data space to be expanded",dsync=false
2> go
1> disk init
name="PMSDBlog_Date",physname="/opt/sybase/data/PMSDBlog_Date.dat",size="Siz
e of the log space to be expanded",dsync=false
2> go
1> alter database PMSDB on PMSDBdata_Date="Size of the data space to be expanded"
log on PMSDBlog_Date="Size of the log space to be expanded"
2> go
1> sp_deviceattr PMSDBdata_Date, dsync, 'true'
2> go
Issue 02 (2015-05-19)
97
In the preceding commands, "Date" must be in the format of YYYYMMDD, such as 20100927.
Assume that the size of the data space to be expanded is 18000 MB and the size of the log space to
be expanded is 3800 MB. Run the following commands:
1> disk init
name="PMSDBdata_20100927",physname="/opt/sybase/data/PMSDBdata_20100927.dat"
,size="18000M",dsync=false
2> go
1> disk init
name="PMSDBlog_20100927",physname="/opt/sybase/data/PMSDBlog_20100927.dat",s
ize="3800M",dsync=false
2> go
1> alter database PMSDB on PMSDBdata_20100927="18000M" log on
PMSDBlog_20100927="3800M"
2> go
1> sp_deviceattr PMSDBdata_20100927, dsync, 'true'
2> go
1> sp_deviceattr PMSDBlog_20100927, dsync, 'true'
2> go
Step 6 Run the following commands to check whether the PMSDB has been successfully expanded:
1> sp_helpdb PMSDB
2> go
Information similar to the following is displayed:
name
db_size
PMSDB
owner
24000.0 MB
dbid
sa
29
(1 row affected)
device_fragments
PMSDBdata
PMSDBlog
size
usage
PMSDBdata_20100927
PMSDBlog_20100927
----------------------------------------------------------------------------------------------------------------
1> exit
$ exit
----End
Issue 02 (2015-05-19)
98