No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Installing the Patch of iManager U2000 V100R002C01CP5002 fails

Publication Date:  2012-07-25 Views:  72 Downloads:  0
Issue Description

Customer need to install the patch V100R002C01CP5002 to his U2000 single-server System which is already upgraded to V100R002C01SPC100 , Huawei Engineer follow the installation guide and check all Precautions and the Preparations but when the engineer reach the upgrade step described as below :
12. Run the following commands to install the MSuite patch:
#cd /opt/nmspatch/patch
#chmod 755 *.sh
#./pre_patch.sh
he got the below error message and could not continue the installation
Installing the MSuite patch. Please wait...
Traceback (most recent call last):
File "patch/pre_patch.py", line 446, in ?
_patchNMSApp(curPatchPath)
File "patch/pre_patch.py", line 233, in _patchNMSApp
_copyFile(vcfcfgPath + "/process/process_std", nmsappPath + "/flag/nonCritic
alProcessList")
File "patch/pre_patch.py", line 57, in _copyFile
shutil.copyfile(fromFile, toFile)
File "/opt/U2000/server/3rdTools/python/lib/python2.4/shutil.py", line 49, in
copyfile
fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory: '/opt/NMSApp/flag/nonCriticalProce
ssList'
#
please check attached Fig-1.

Alarm Information
None.
Handling Process

WE have check each of previous reason to find the root cause as below
1. NMS process has been already ended as the below commands does not display ( imap_sysmonitor -cmd start )
# ps -ef | grep imap 
2. Sybase database has been already ended as the below commands display no result.
#su - sybase
$cd /opt/sybase/ASE*/install
$ ./showserver|grep DBSVR
3. Msuite process has been already ended as the below commands does not display ( /opt/HWNMSJRE/jre_sol/bin/java -server)
#ps -ef | grep java.
4. UEasy check have been made and it showes no item with [ No Go].
we contact RND for support , the reply was to check that No such file or directory: '/opt/NMSApp/flag/nonCriticalProcessList'
when we check we find that '/opt/NMSApp' directory exists , but the flag directory is not exists under that directory as shown in Fig-2,3
The RND reply again to confirm if this is Single Server or HA system , we confirm that it is Single Server system.
Thus the RND find the solution and reply to delete that directory '/opt/NMSApp' . after we delete it , the problem solved and installation complete
as shown in Fig-4.
 

Root Cause

Cause -1- \ the NMS processes have not been ended.
Cause -2- \ the Sybase database is still running and should be ended.
Cause -3- \ the MSuite server process has not been ended.
Cause -4- \ May need to Run UEasy check and send the Output report to ask for support.

 


Suggestions
It was found that this server has been used for HA before , then it has been modefied to be used as single server , this is explain why the folder /opt/NMSApp was exists.
Thus in any case you are going to install that patch on Single-Server system check that this folder is not exists.

END