Tags

, ,

Cisco Mobility Services Engine (MSE) supports following services

1. Location Services
2. Wireless Intrusion Protection Service
3. Mobile Concierge
4. CMX Analytics Service
5. CMX Connect & Engage Service

In this post we will see how to upgrade MSE to 8.0.100.0 from 7.x release. Here is the MSE 8.0.100.0 release notes that you should be review prior to this upgrade.

Step1
First you have to download “CISCO-MSE-L-K9-8-0-100-0-64bit.bin.tar.gz” file from Cisco. It  is important to note that if this downloaded from a Window system, some browsers modify the downloaded filename. In my case I used chrome on a Windows 7 PC & downloaded filename was “CISCO-MSE-L-K9-8-0-100-0-64bit.bin.gz“. If this happen, you have to rename the downloaded file to reflect its original name (CISCO-MSE-L-K9-8-0-100-0-64bit.bin.tar.gz)

Step2
Backup the MSE using prime infrastructure. Prior to MSE 7.6.x you have to back it up to the local FTP server. From 7.6.x onwards you can back it up to an external FTP server as well (see this for detail).

Step3
You can either use Prime Infrastructure to upgrade MSE, but I will use direct upgrade using the MSE CLI for this post.

You have to download the upgrade file (CISCO-MSE-L-K9-8-0-100-0-64bit.bin.tar.gz) from download software section of CCO, Products-> Wireless-> Mobility Services-> Cisco Mobility Services Engine-> Virtual Appliance Mobility Services Engine Software-8.0.100.0

Step4
You have to got to MSE CLI as root user & create a directory (named 8.0.100.0) in /opt/installers folder. You can copy the downloaded file to this folder. I have used WinSCP for this file transfer.

MSE-8.0-02Step6
Once you copied the file you have to extract it using below command.

[root@mse]# cd /opt/installers/8.0.100.0/
[root@mse 8.0.100.0]# 
[root@mse 8.0.100.0]# tar zxvf ./CISCO-MSE-L-K9-8-0-100-0-64bit.bin.tar.gz
CISCO-MSE-L-K9-8-0-100-0-64bit.bin
MSE_PUB.pem
signhash.bin

Step7
You have to stop the MSE services using the below CLI command.

[root@mse ~]# /etc/init.d/msed stop
Framework and services successfully shutdown. Shutting down database ......
MSE platform shutdown complete

Step8
Then you have to run the installer. Sometime “CISCO-MSE-L-K9-8-0-100-0-64bit.bin” file does not have execute permission for the root user. If not you can do that using “chmod +x CISCO-MSE-L-K9-8-0-100-0-64bit.bin” as shown below. Probably this will take around 30 min & system will rebooted once upgrade finishes.

[root@mse ~]#  /opt/installers/8.0.100.0/CISCO-MSE-L-K9-8-0-100-0-64bit.bin
-bash: /opt/installers/8.0.100.0/CISCO-MSE-L-K9-8-0-100-0-64bit.bin: Permission denied
!
[root@mse ~]# cd /opt/installers/8.0.100.0/
[root@mse 8.0.100.0]# chmod +x CISCO-MSE-L-K9-8-0-100-0-64bit.bin
!
[root@mse 8.0.100.0]#  /opt/installers/8.0.100.0/CISCO-MSE-L-K9-8-0-100-0-64bit.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Preparing CONSOLE Mode Installation...
===============================================================================
Cisco Mobility Services Engine    (created with InstallAnywhere by Macrovision)
-------------------------------------------------------------------------------

===============================================================================
Introduction
------------
InstallAnywhere will guide you through the installation of Cisco Mobility 
Services Engine (MSE)

It is strongly recommended that you quit all programs and applications before 
continuing with this installation.

Respond to each prompt to proceed to the next step in the installation.  If you
want to change something on a previous step, type 'back'.

PRESS <ENTER> TO CONTINUE: 
===============================================================================
Installing MSE version: 8.0.100.0
===============================================================================
Installation Check
------------------

Cisco MSE upgrade procedure may take 30-50 minutes to complete, depending on 
the amount of data on the system.
System reboot is required after upgrade is complete.

During the upgrade process, please ensure that the session to the MSE is not 
terminated. User action is needed at the end of the installation process.

The system appears to have a Cisco Mobility Services Engine already installed.
If you choose "Continue", all  currently installed components will be removed 
permanently (only database and license files will be preserved).

  ->1- Exit
    2- Continue

ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE 
   DEFAULT: 2
===============================================================================
MSE backup
----------
It is strongly recommended to take a backup of the MSE before proceeding with 
the upgrade.
Have you completed a successful MSE backup?
  ->1- Yes
    2- No
ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE 
   DEFAULT: 1

==============================================================================
Current Role - Primary
----------------------
High Availability Role is set to Primary from previous installation.
To change role to Secondary or re-configure high availability settings, please 
execute setup.sh after installation is completed.
==============================================================================
Auto Startup
------------
The Cisco MSE is configured to startup automatically at system boot up.
You can modify this setting using setup.sh after installation is completed.
===============================================================================
Installing...
-------------
 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]
==============================================================================
Database Installation
---------------------
The installer will now install the database. This may take a long time 
(up to 30 minutes). Do not cancel the installer during this step.
 
 Installing Database files
 Step 1/3 - Installing Database files                                           
 Step 1/3 Completed                                                            
 Step 2/3 - Configuring Database                                               
 Step 2/3 Completed                                                            
 Step 3/3 - Updating patches                                                     
 Step 3/3 Completed                                                             

 Installation of database completed
==============================================================================
Post Installation 
------------------
 Running Post-install scripts 
 Step 1/2 - Installing Packages 
 Step 1/2 Completed                                                            
 Step 2/2 - Configuring System Settings 
 Step 2/2 Completed                                                             

 Completed Post install scriptsCommand.run(): process completed before monitors could start.
==============================================================================
Upgrade/Install Analytics Service
----------------------------------
This might take a while depending on the size of data on the system
 Step 1 - Installing 7_5 PATCH                                                 
 7_5 PATCH installed                                                           
 Step 2 - Installing LIQUIBASE PATCH                                               
 LIQUIBASE PATCH installed                                                           
 Step 3 - Installing AGGREGATION PATCH                                               
 Starting AGGREGATION PATCH at 12:28       
 AGGREGATION PATCH completed at 12:30                                               
Analytics upgrade is Complete                                                       
===============================================================================
Installation complete for upgrade
---------------------------------
Congratulations. Cisco Mobility Services Engine has been successfully installed
at:
/opt/mse

!!!! IMPORTANT NOTE !!!!
The system is minimally configured right now. It is strongly recommended that 
you run the setup script under /opt/mse/setup/setup.sh to configure all 
appliance related parameters immediately after installation is complete.

System components have been updated during installation.
Do you want to reboot now or later?
  ->1- Now
    2- Later

ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE 
   DEFAULT: 1
Rebooting system now....
Broadcast message from root (Thu Sep 18 12:30:54 2014):
The system is going down for reboot NOW!

Step 9
Once rebooted you can reach MSE using https://<MSE_IP_Address>/mseui/ URL as shown below. You have to use the credential created for Prime Infrastructure to communicate with MSE as you access it via HTTPS.

MSE-8.0-01It’s good idea to keep a back up of your MSE config once upgrade finishes & synchronize Network Designs, Controllers, etc. You can do that easily by going to “Configurations -> Maintenance -> Backup” option  & pointing your FTP server where backup will stored, as shown below.

MSE-8.0-03Backup process will also take around 15-30min depend on the database size.

Related Posts

1. Mobility Service Engine