Upgrade to new firmware version via CLI:
##Login to the admin server and change to admin user
From the admin server log on to DataPower appliance (as admin) through SSH
$ssh <>
Example:
$ssh DataPower device DNS
DataPower device DNS:xi50# show users
Session ID Name Connection IP address Login Domain
---------- ---- ---------- ---------- ----- ------
21 admin web-gui 171.16.14.60 Wed Jun 15 13:05:09 2011 default
22 admin secure-shell 170.19.19.18 Wed Jun 15 13:09:58 2011 default
##Disconnect all the other sessions except your session
# disconnect <>
DataPower device DNS:xi50# show users
##Enter to Global Configuration Mode
#configure terminal
##Reboot the DP to clear temp space
#shutdown reboot
##Now boot the device with the new firmware image file (image:/// prefix not required before the image name)
# boot image <>
Example:
#boot image xi3812.scrypt2
DataPower device DNS:xi50(config-flash)# boot image xi3812.scrypt2
##Once the DP appliance is rebooted login using SSH and confirm the firmware version
#show version
##Login to the admin server and change to admin user
From the admin server log on to DataPower appliance (as admin) through SSH
$ssh <
Example:
$ssh DataPower device DNS
[admin@**** ~]$ ssh
DataPower device DNS
DataPower device DNS
Unauthorized access
prohibited.
Performing functions
to this computer with the intention of accessing
any computer
services, programs or data, to which you are not authorised
is a criminal
offence and is prohibited under the Computer Misuse Act 1990.
ANY PERSON OR
COMPANY CONTRAVENING THIS POLICY WILL BE SUBJECT TO LEGAL ACTION.
login: ***********
Password: *******
Domain (? for all):
default
Welcome to DataPower
XI50 console configuration.
Copyright IBM
Corporation 1999-2010
Version:
XI50.3.7.3.8 build 181161 on 2010/01/20 23:01:02
Serial number: 6805371
##Make sure no other users have logged in
#show users
##Make sure no other users have logged in
#show users
Session ID Name Connection IP address Login Domain
---------- ---- ---------- ---------- ----- ------
21 admin web-gui 171.16.14.60 Wed Jun 15 13:05:09 2011 default
22 admin secure-shell 170.19.19.18 Wed Jun 15 13:09:58 2011 default
##Disconnect all the other sessions except your session
# disconnect <
DataPower device
DNS:xi50# disconnect 21
Session 21 closed
DataPower device DNS:xi50# show users
Session ID Name Connection IP address Login
Domain
---------- ---- ---------- ---------- ----- ------
22
admin secure-shell
170.19.19.18 Wed Jun 15
13:09:58 2011 default
##Enter to Global Configuration Mode
#configure terminal
DataPower device
DNS:xi50# co
Global configuration
mode
##Then backup the entire device. The backup file will be created in export directory of default domain
# backup <>
Example:
#backup fullBkp-10012011
##Copy the backup file to admin server
# copy export:///.zip scp://admin@//<>
Example:
#copy export:///fullBkp-10012011.zip scp://admin@170.19.19.18//home/admin
##Then backup the entire device. The backup file will be created in export directory of default domain
# backup <
Example:
#backup fullBkp-10012011
##Copy the backup file to admin server
# copy export:///
Example:
#copy export:///fullBkp-10012011.zip scp://admin@170.19.19.18//home/admin
DataPower device
DNS:xi50(config)# backup fullbackupJun152011
Backup to
'fullbackupJun152011.zip' scheduled (may take a few minutes to complete).
Backup is complete.
##Then delete the backup file from the DP appliance (Make sure backup is copied to admin server)
# delete export:///fullBkp-10012011.zip
##Then delete the backup file from the DP appliance (Make sure backup is copied to admin server)
# delete export:///fullBkp-10012011.zip
DataPower device
DNS:xi50(config)# delete export:///fullbackupJun152011.zip
File deletion
successful
##Exit from the Global Config mode
#exit
##Exit from the Global Config mode
#exit
DataPower device
DNS:xi50(config)# exit
##Reboot the DP to clear temp space
#shutdown reboot
DataPower device
DNS:xi50# shutdown reboot
You have requested a
system shutdown reboot. Do you want to continue? [y/n]: y
System about to
reboot in 0 second(s)
Connection to DataPower
device DNS closed by remote host.
Connection to DataPower
device DNS closed.
##After the appliance is up login again using SSH and enter Global Config mode
#configure terminal
##After the appliance is up login again using SSH and enter Global Config mode
#configure terminal
DataPower device
DNS:xi50# co
Global configuration
mode
##Copy the Firmware image file to image directory (Assuming it has been downloaded and copied to admin server)
# copy scp://admin@170.19.19.18//home/admin/firmware/xi3812.scrypt2 image:///xi3812.scrypt2
##Copy the Firmware image file to image directory (Assuming it has been downloaded and copied to admin server)
# copy scp://admin@170.19.19.18//home/admin/firmware/xi3812.scrypt2 image:///xi3812.scrypt2
DataPower device
DNS:xi50(config)# copy scp://admin@170.19.19.18//home/admin/firmware/xi3812.scrypt2
image:///xi3812.scrypt2
Password: *******
File copy success
##Verify that the file is copied
#dir image:
##Verify that the file is copied
#dir image:
DataPower device
DNS:xi50(config)# dir image:
File Name Last Modified Size
--------- ------------- ----
xi3812.scrypt2 Wed Jun 15 13:21:59 2011 58003623
177.2 MB available to image:
##Enter Flash Configuration mode
#flash
##Enter Flash Configuration mode
#flash
DataPower device
DNS:xi50(config)# flash
Flash configuration
mode
##Now boot the device with the new firmware image file (image:/// prefix not required before the image name)
# boot image <
Example:
#boot image xi3812.scrypt2
DataPower device DNS:xi50(config-flash)# boot image xi3812.scrypt2
Invoking dynamic
loader
.........Firmware
upgrade successful
Device is rebooting
now.
Connection to DataPower
device DNS closed by remote host.
Connection to DataPower
device DNS closed.
##Once the DP appliance is rebooted login using SSH and confirm the firmware version
#show version
DataPower device
DNS:xi50# show version
Serial: 6805371
Version: XI50.3.8.1.2
Build: 188103
Build Date: 2010/06/25 17:49:22
Watchdog Build: XI50.3.8.1.2
Installed DPOS: XI50.3.8.1.2
Running DPOS: XI50.3.8.1.2
XML accelerator: xg3
Machine Type: 9235
Model Type: 4BX
Coproc library: 1.2
MQ: 7.0.1.1
WebSphere JMS: 1.2.3
Rollback to previous firmware version via
CLI:
Follow
all the above steps below to take a backup and to rollback the firmware.
##Login
to the admin server and change to admin user
From the admin server log on to DataPower
appliance (as admin) through SSH
$ssh
<>
Example:
$ssh DataPower device DNS
Enter to Global Configuration Mode
#configure terminal
##Enter Flash Configuration mode
#flash
##Switch to previous firmware version
# boot switch
##Datapower will reboot now. After it has
rebooted, login again and verify the firmware version
#show version














