Professional Documents
Culture Documents
Upgrading SW Using Moshell
Upgrading SW Using Moshell
Upgrading SW Using Moshell
INSTRUCTION 1 (5)
Prepared (also subject responsible if other) No.
2008-07-13 PA1
Abstract
Application
Step 1:
Check for alarms and perform a general health check of the node (NOTE:
during health-check analysis ensure there are no disabled/faulty Plug-in Units
and that major alarms impacting upgrade are cleared). The results of a health
check are saved in the specified log file.
RNC> al
RNC> l+ <filename>
RNC> hc
RNC> l-
Step 2:
Ericsson Internal
INSTRUCTION 2 (5)
Prepared (also subject responsible if other) No.
2008-07-13 PA1
Ensure there is enough space on /c and /d partitions for the new software
package. If not then free up some space by (1) deleting upgrade packages
that are installed on the system but not used by any CVs and/or (2) deleting
old upgrade packages that are more than a year old or are not required.
Space requirements are dependant on the software being installed and these
should be verified in PLM delivery reports. Generally having 50% free space
available on /c and /d partitions will ensure successful software installation.
RNC> vols
RNC> lpr upgrade
RNC> cvls
RNC> del <upgrade_cv_proxy>
Step 3:
Step 4:
If no FTP server is present and you are required to run an FTP server from
your laptop/workstation, see Appendix B.
Step 5:
RNC> cr swmanagement=1,upgradepackage=<package_name>
(NOTE: at the prompt enter the FTP server IP, Upgrade Control File filepath
on the FTP server, and login details if applicable).
If no FTP server is present and you are required to run an FTP server from
your laptop/workstation, see Appendix B.
Step 6:
Ericsson Internal
INSTRUCTION 3 (5)
Prepared (also subject responsible if other) No.
2008-07-13 PA1
Check the proxy number of the newly created upgradePackage MO and start
the installation process.
(NOTE: you can periodically check the installation progress by executing get
<upgrade_mo_proxy> progress|state)
It is also worth mentioning that there are two main methods of installation –
install (delta installation) and forcedInstall (full installation). Which one to
use will depend on the software being upgraded, and this is specified in PLM
delivery reports for that particular software. For example, upgrading P5 to P6
requires the use of forcedInstall whereas upgrading P4 to P5 doesn’t.
Step 7:
Step 8:
Step 9:
Verify that the new CV is using the correct upgrade package (verify in
Upgrade Package column of CV list), and that the system-generated CV is
the final CV i.e. in following format Fi_CXP901xxxx_Rnnnnn_yymmdd_tttt
RNC> cvls
If AutoCreatedCV is enabled then after a short period of time the node will
perform a CV auto-create. In the CV list it is displayed in the following format:
Au_CXP901xxxx_Rnnnnn_yymmdd_tttt.
Ericsson Internal
INSTRUCTION 4 (5)
Prepared (also subject responsible if other) No.
2008-07-13 PA1
Step 10:
Perform post-upgrade health check and verify that no new alarms have been
created (see step 1).
Step 11:
The batch file should be same format as the ipdatabase file i.e. first column
specifies the name of the node, the second column specified the IP address
of the node, and third column specifies the node password.
The Moshell command file is a text file containing list of upgrade commands,
one line at a time. The convention is to save the command file with .mos file
extension. It is possible to have one large command file, or to split it up into
multiple scripts, each script executing set of commands related to a specific
upgrade stage e.g. pre-health-check, installation, upgrade, post-health-check,
backup.
The log file (the last mobatch argument) stores the results and output of
mobatch execution.
Ericsson Internal
INSTRUCTION 5 (5)
Prepared (also subject responsible if other) No.
2008-07-13 PA1
The following provides a quick guide on how to install FileZilla FTP server for
use with software upgrades. Other FTP server software can also be used
however it is the responsibility of engineer to ensure that it is configured
correctly. Generally, FTP server configuration is similar across the board,
however the interface may vary.
Step 1:
Download and install the FileZilla FTP server on the PC. FileZilla is an open
source FTP server freely available for download from http://filezilla-
project.org/download.php?type=server
Step 2:
Configure the FileZilla FTP server on your PC. Log into the FTP server
management interface by clicking Start, Programs, FileZilla Server and then
FileZilla Server Interface.
Connect to Server dialog box will pop-up; leave all the settings as default
and click Ok.
Go to Edit, Users, click on Add and type in username. (OPTIONAL: set the
password for the newly added user).
Click on Shared Folders and click Add. Select a folder that will be visible to
the node i.e. where the upgrade packages and licenses will be installed. For
example you may want to have a folder C:/ftpserver/ and in it two sub-
folders, up where upgrade packages will be installed and license where
software licenses will be installed.
Ensure that both Read and Write permissions are checked for this user and
then click Ok.
Extract all upgrade packages and licenses into the directory as setup above
and then in the FileZilla Server Interface click on Server and then Active.
Verify connectivity to FTP server using an FTP client such as FileZilla FTP
Client or WinSCP.