Saturday, 16 August 2014

Cisco MSE 3310 upgrade procedure


Below document can be used to upgrade MSE 3310 from firmware 6.0.105.0 to 7.0.201.204.

Step1.  Login to Cisco.com, follow the below path and download all the five files to your ftp server.


Wireless ->Mobility Services ->Cisco Mobility Services Engine ->Cisco 3310 Mobility Services Engine-> Mobility Services Engine Software-7.0.201.204





Step2. Make sure that there is reachability between the MSE and FTP server.

If there is any firewall in between then FTP ports must be opened.

Step3. You should have admin access to MSE via SSH.

Step4.  MSE must have sufficient space for the new image. If not then we can delete the old files present. Use below command to remove old files.


root@Lab-MSE-01 ~]# rm -rf <filename>


Step5. Capture the current status of the MSE.


root@Lab-MSE-01 ~]# /etc/init.d/msed status
getserver ininfo
MSE Platform is up, getting the status     -----------------------<<<<<<<<<<<<<<<<<<

-------------
Server Config
-------------

Product name: Cisco Mobility Service Engine
Version: 6.0.105.0                                     -----------------------<<<<<<<<<<<<<<<<<<
Hw Version: V01
Hw Product Identifier: AIR-MSE-3310-K9 -----------------------<<<<<<<<<<<<<<<<<<
Hw Serial Number: FTX1412801X
Use HTTP: false
Legacy HTTPS: false
Legacy Port: 8001
Log Modules: 262143
Log Level: INFO
Days to keep events: 2
Session timeout in mins: 30
DB backup in days: 2

-------------
Services
-------------

Service Name: Context Aware Service
Service Version: 6.0.102.0  
Admin Status: Enabled
Operation Status: Up -----------------------<<<<<<<<<<<<<<<<<<

Service Name: Wireless Intrusion Protection Service 
Service Version: 1.0.1109.0
Admin Status: Enabled
Operation Status: Up-----------------------<<<<<<<<<<<<<<<<<<

--------------
Server Monitor
--------------

Wed Jun 15 12:48:13 BST 2011
Server current time: Tue Jun 21 12:12:35 BST 2011
Server timezone: Europe/London
Server timezone offset: 0
Restarts: 9
Used Memory (bytes): 85576288
Allocated Memory (bytes): 111017984
Max Memory (bytes): 954466304
DB virtual memory (kbytes): 3595
DB virtual memory limit (bytes): 0
DB disk memory (bytes): 2940960768
DB free size (kbytes): 1900032                     -----------------------<<<<<<<<<<<<<<<<<<



Step6. Go to installer directory.



[root@Lab-MSE-01 ~]# cd /opt/installers


Step7. Copy the all the five files from FTP server to MSE installer directory.

# ftp 192.168.1.10
Name: cisco
Password: cisco
binary
get CISCO-MSE-L-K9-x-x-x-x-64bit.bin.gz

# ftp 192.168.1.10
Name: cisco
Password: cisco
binary
get database_installer_part1of4.zip


# ftp 192.168.1.10
Name: cisco
Password: cisco
binary
get database_installer_part2of4.zip


# ftp 192.168.1.10
Name: cisco
Password: cisco
binary
get database_installer_part3of4.zip


# ftp 192.168.1.10
Name: cisco
Password: cisco
binary
get database_installer_part4of4.zip



Step8. Make sure you can see the firmware files in the installer directory. The image you have copied is currently compressed. We need to uncompressed it before using.

For few IOS, you will see the database files with name database_installer_part1_4.zip; you have to change the format to database_installer_part1of4.zip. There should be "OF " keyword between 1 and 4 instead of underscore.


[root@Lab-MSE-01 installers]# dir
CISCO-MSE-L-K9-6-0-105-0-64bit.bin      database_installer_part2of4.zip
CISCO-MSE-L-K9-7-0-201-204-64bit.bin.gz  database_installer_part3of4.zip----<<<<<<<<<<<<<<
database_installer_part1of4.zip ----<<<<<<<<<<<<<<
database_installer_part2of4.zip ----<<<<<<<<<<<<<<
database_installer_part3of4.zip ----<<<<<<<<<<<<<<
database_installer_part4of4.zip ----<<<<<<<<<<<<<<


Step9.  Decompress the firmware.


[root@Lab-MSE-01 installers]# gunzip CISCO-MSE-L-K9-7-0-201-204-64bit.bin.gz-------<<<<<<<<<


Step10. As you can see the firmware file is now in ZIP format.


[root@Lab-MSE-01 installers]# dir
CISCO-MSE-L-K9-6-0-105-0-64bit.bin    database_installer_part2of4.zip
CISCO-MSE-L-K9-7-0-201-204-64bit.bin  database_installer_part3of4.zip ----<<<<<<<<<<<<<<
database_installer_part1of4.zip
database_installer_part2of4.zip
database_installer_part3of4.zip
database_installer_part4of4.zip


Step11. Stop the MSE services.


[root@Lab-MSE-01 installers]# /etc/init.d/msed stop
Stopping MSE Platform
[Tue Jun 21 12:21:26 BST 2011] Local watchdog process stopped.
MSE Platform SMX PROCESS ID: 2263
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Shutting down MSE Platform ...
Checking the status of MSE Platform processes...
MSE Platform shutdown completed.


Step12. If you don’t have the admin access on MSE you will see the below error.


[root@Lab-MSE-01 installers]# ./CISCO-MSE-L-K9-7-0-201-204-64bit.bin
-bash: ./CISCO-MSE-L-K9-7-0-201-204-64bit.bin: Permission denied


Step13. If you don’t have the admin access the follow the below commands to proceed, otherwise move to step 14.

[root@Lab-MSE-01 installers]# /etc/init.d/msed start

[root@Lab-MSE-01 installers]# chmod 755 CISCO-MSE-L-K9-7-0-201-204-64bit.bin


Step14. Execute the below command to initiate firmware upgrade. Installation process will take 30 to 45 minutes.


[root@Lab-MSE-01 installers]# ./CISCO-MSE-L-K9-7-0-201-204-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
------------

Install Anywhere will guide you through the installation of Cisco Mobility Services Engine.

It is strongly recommended that you quit all programs 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'.

Licensing on the Mobility Services Engine is enforced with the release of software version 6.x and greater. Please have the Product Authorization Key (PAK) and refer to the instructions in the User Guide to enable licensing.

PRESS <ENTER> TO CONTINUE:        -------------<<<<<<<<<<<Press Enter to Proceed.        


At this stage, if you have not changed the database file format then you will get the below error


Cannot find all database installers parts    -------------<<<<<<<<<<<
Download all database installer components and then attempt installation
Exiting install operation now...



Step15. Press 2 to proceed to delete the old installed components. It will keep the License and Database files.


=============================================================================
Installation Check
------------------

The system appears to have a Cisco Mobility Services Engine already installed.If you choose "Continue", all the 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   -------------<<<<<<<<<<<

Step16. Press 1 to continue to migrate the data of old firmware to the new one.


============================================================================
Data Migration Check
--------------------

The currently installed version of the MSE database is not directly compatible to the new version. The system will now migrate the data from existing database to the new system. Choose an appropriate option below -

  ->1- Proceed to migrate data from previous release
    2- Abort Installation

ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE
   DEFAULT: 1         ---------------------<<<<<<<<<<<<<


Step17. You will again get an option to keep the history data.


=============================================================================
Do you wish to migrate history data too?

It can take a long time if history data is large in size (Y/N): y ---------------------<<<<<<<<<<<<<

Exporting data from currently installed database. This may take a while ….

Data migration successfully completed. Will now proceed with installation of new image


Step18. Press 1 to start MSE services after the boot.


=============================================================================
MSE Startup
-----------

Would you like the Cisco Mobility Services Engine to startup automatically at system boot up?

  ->1- Yes
    2- No

ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE
   DEFAULT: 1 ---------------------<<<<<<<<<<<<<


Step19.  Press enter to continue if space is sufficient in MSE.

=============================================================================
Pre-Installation Summary
------------------------

Please Review the Following Before Continuing:

Product Name:
    Cisco Mobility Services Engine

Install Folder:
    /opt/mse

Link Folder:
    /tmp

Disk Space Information (for Installation Target):
    Required:  1,501,491,131 bytes
    Available: 217,891,889,152 bytes

PRESS <ENTER> TO CONTINUE:      ---------------------<<<<<<<<<<<<<

Step20. Press enter to install the database.


============================================================================
Database Installation
---------------------

The installer will now install the database. This may take a long time (~ 15 minutes). Do not cancel the installer.

PRESS <ENTER> TO CONTINUE:     ------------------<<<<<<<<<<<<<<<<<<<


Step21. Press Enter to proceed.


============================================================================
!!!! 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.

The hostname must be set correctly on the system. The Cisco MSE platform will NOT start if it is configured incorrectly or not configured at all.

Additionally, it is strongly recommended that the Cisco MSE be configured to use the same NTP servers as the controllers with which it will be synchronized. This is essential to the correct operation of the Cisco Mobility Services Engine.

Both these parameters may be configured as part of the setup script.


PRESS <ENTER> TO CONTINUE:   ------------------<<<<<<<<<<<<<<<<<<<


Step22. At this stage old data has been migrated to newly installed database. Press Enter.

=============================================================================
Importing Data
--------------

Loading data into newly installed database. This may take a while ...

PRESS <ENTER> TO CONTINUE: ---------------------<<<<<<<<<<<<<

=============================================================================

Step23. At this point Cisco MSE is installed successfully with new firmware. Press Enter to exit from installation process.

Installation Complete
---------------------

Congratulations. Cisco Mobility Services Engine has been successfully installed to:

/opt/mse

Licensing on the Mobility Services Engine is enforced with the release of  software version 6.x and greater. Please have the Product Authorization Key (PAK) and refer to the instructions in the User Guide to enable licensing.

PRESS <ENTER> TO EXIT THE INSTALLER:   ---------------------<<<<<<<<<<<<<


Step24. Start the MSE process.

[root@Lab-MSE-01 installers]# /etc/init.d/msed start ---------------------<<<<<<<<<<<<<
Starting MSE Platform 
9467
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]
Starting Database ....
 The system will be restarted on JUNE 12 2012 1 AM TUESDAY
 Done
Preparing the platform for startup...
Type: NAME Value: Chassis
Type: DESCR Value: Cisco 3310 Mobility Services Engine
Type: PID Value: AIR-MSE-3310-K9
Type: VID Value: V01
Type: SN Value: FTX1413401K
Starting Admin process...
Started Admin process.
Starting MSE Platform, Waiting to check the status.
Starting MSE Platform, Waiting to check the status.
MSE Platform is up, getting the status      ---------------------<<<<<<<<<<<<<
-------------
Server Config
-------------
Product name: Cisco Mobility Service Engine
Version: 7.0.201.204
Hw Version: V01
Hw Product Identifier: AIR-MSE-3310-K9
Hw Serial Number: FTX1432401X
Use HTTP: false
Legacy HTTPS: false
Days to keep events: 2
Session timeout in mins: 30
DB backup in days: 2

Services
-------------
Service Name: Context Aware Service
Service Version: 7.0.200.204
Admin Status: Enabled
Operation Status: Up   ---------------------<<<<<<<<<<<<<

Service Name: Wireless Intrusion Protection Service
Service Version: 1.0.2077.0
Admin Status: Enabled
Operation Status: Up   ---------------------<<<<<<<<<<<<<




No comments:

Post a Comment