You are trying to run the WASPreUpgrade.sh script and you get the following error:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
IBM WebSphere Application Server, Release 7.0 Product Upgrade PreUpgrade tool, Version 1.0 Copyright IBM Corp., 1997-2008 MIGR0104E: You must specify the currently installed Application Server directory name. MIGR0001I: The class name of the WASPreUpgrade command is WASPreUpgrade <backupDirectoryName> <currentWebSphereDirectory> [-traceString <trace spec> [-traceFile <file name>]] [-machineChange <true | false>] [-oldProfile < old profile name >] [-workspaceRoot <user workspace folder name>] MIGR0272E: The migration function cannot complete the command. |
The command which was run from A WAS 7 install <was_root>/bin
1 |
[root@localhost bin]# ./WASPreUpgrade.sh /var/apps/was7_to_was8550/WAS7_01_AppServer01Prof_backup /var/apps/was7 -oldProfile WAS7_01_AppServer01Prof |
Solution:
The solution is to install a WAS 8.5.5.x instance i.e. binaries, then use the ./WASPreUpgrade.sh script from the new WAS instance and set the path to be that of the WAS 7 profile i.e. prepare to migrate the WAS 7 profile by running the WAS 8.5.5.x version of the script. You cannot use WAS 7 to pre upgrade for WAS 8.5.5.x as it does not know about the later version of WAS.
Note: This error can also happend when using WASPostUpgrade.sh and the destination profile ie the WAS 8.5.5.x profile that will be migrated into. What I mean is here is that when you are migrating an existing WAS 7 profile to WAS 8.x, you first must create a destination profile with the same name that exists within the new WAS 8.x installation. So, when you run the WASPostUpgrade.sh script, you are essentially overlaying the old profiles data into the new WAS 8.5.5.x profile. If you use a similar syntax to below
1 |
./WASPostUpgrade.sh /var/apps/was7_to_was8550/WAS7_01_AppServer01Prof_backup -oldProfile WAS7_01_AppServer01Prof -profileName WAS7_01_AppServer01Prof -replacePorts true -includeApps script |
And you get the following error:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
IBM WebSphere Application Server, Release 8.5 Product Upgrade PostUpgrade tool, Version 1.0 Copyright IBM Corp., 1997-2010 MIGR0386E: Profile WAS7_01_AppServer01Prof is not found in the currently installed Application Server. MIGR0002I: The class name of the WASPostUpgrade command is WASPostUpgrade <backupDirectoryName> [-profileName < profile name >] [-oldProfile < old profile name >] [-backupConfig < true | false >] [-username < user name >] [-password < password >] [-traceString <trace spec> [-traceFile <file name>]] [-portBlock < port starting block >] [-replacePorts < true | false >] [-includeApps < true | false | script >] [-scriptCompatibility < true | false >] [ [-appInstallDirectory < application installation location >] | [-keepAppDirectory < true | false >] ] [-keepDmgrEnabled < true | false >] [-oldAdminAgentProfilePath < path to old admin agent >] [-oldAdminAgentSoapPort < soap port of old admin agent >] [-oldAdminAgentHostname < hostname of old admin agent, defaults to localhost >] [-oldAdminAgentUsername < login username for old admin agent, if admin security is enabled >] [-oldAdminAgentPassword < login password for old admin agent, if admin security is enabled >] [-newAdminAgentProfilePath < path to new admin agent >] [-newAdminAgentSoapPort < soap port of new admin agent >] [-newAdminAgentHostname < hostname of new admin agent, defaults to localhost >] [-newAdminAgentUsername < login username for new admin agent, if admin security is enabled >] [-newAdminAgentPassword < login password for new admin agent, if admin security is enabled >] [ -javaoption < -Xms...m > -javaoption < -Xmx...m > ] [ -requestTimeout < number of seconds before a connection timeout occurs >] MIGR0272E: The migration function cannot complete the command. |
The cause can be as simple as the fact thaut there is not destination profile. Create a profile in the new WAS 8.x environment and try again.








WebSphere Application Server 8.5.5.x – Advanced Security Course
The WebSphere Application Server 8.5.5.x – Advanced Security Concepts course provides the student with a detailed example-based guide which takes the student through how to configure Global Security for a Standalone Repository for the express purpose of connecting WAS to Microsoft AD, and enabling Full Single Sign on. This course covers how to set up Windows 2012 Server as a Primary Domain Controller and enabled a Windows 8.1 workstation as part of the full-enabling and testing of a fully functioning SSO solution. Included in this course are Jython and shell scripts and even a Java Web Application that is used to prove that SSO is indeed working as intended
WebSphere Message Broker 8 Administration
Here the student learns through examples, one step at a time, the power of WebSphere Message Broker 8.0 an advanced ESB product from IBM.
WAS 8.5.5.x Essential Security Course
Only $149.99 Learn how to configure SSL for both WAS and IBM HTTP Server. Learn SSL insights not previously made available. Implement LDAP configurations using open source products. Automate Global Security configuration using Jython
WAS 8.5.5 Application Client Cookbook
This course was produced because I had many members of the public asking for support on how to connect an Application Client (Java client) to a secure WebSphere Application Server.
2015 ALL Courses – Bargain Bucket
This page provides the facility to purchase an elite membership, which grants you full access to all products published before and during 2015. You get perpetual access and access to the current courses.
WebSphere 8.5.5 Automation Course
WAS 8.5.5 Automation Course Do you need to save time automating manual WAS tasks? Have you ever wondered how to automate IBM Installation Manager? Ever needed to automate the installation of WAS 8.5.5.x and automate Upgrades and Roll-backs? The WebSphere Application Server 8.5.5.x Automation Course provides the student with a full set of guides and a set of commercial-grade automation scripts with detailed worked-examples.
All 2014 Courses – Bargain Box
This page provides the facility to purchase an elite membership, which grants you full access to all products published before 2015. You get perpetual access and access to the current courses. As of 2014, there are 9 courses.
WebSphere Application Server 8.5 Administration course
WAS 8.5 Administration Course This course provides the student with the necessary skills to handle all sorts of administrative tasks on WebSphere Application Server Network Deployment version 8.5. The course material is practical and “hands-on” and covers a wide range of topics derived from industry experience. We have designed this course to include all the necessary instructions to install the product, try out various administrative tasks and can be used easily to refresh your knowledge after the course has been attended. The course also contains over 900 pages of “How To” guides and more than 300 Power Point slides along with Labs, resources and questions and answers.
WebSphere Portal 8 Administration Basics Course
IBM Portal 8 Administration Course
WebSphere 8.5 Performance Tuning Course
WAS 8.5 Performance Tuning Course This course provides students with the tools and techniques to tune the performance of WebSphere Application Server Network Deployment Version 8.5 (WAS ND 8.5) As typical of all our middleware courses, the course material follows a “Do-it-yourself” approach and provides all the necessary instructions and sample code to setup your lab, try out tuning tasks and learn. In short, this course is a highly practical course which teaches performance tuning by example. Something unique about this course is the 145 slide Power Point pack which covers WebSphere Performance Tuning best practices and theory.Article Categories
- Ambari
- Apache
- Apache Directory Studio
- ApacheDS
- Awards
- Big Data
- Blog
- Coherence
- Consulting
- Course Outlines
- Databases
- DataPower
- DB2
- Encouragement
- Errors
- Exclusive Club
- Featured
- Feedback
- FixPack
- Hadoop
- Honors
- IBM
- IBM BPM
- IBM Consulting
- IBM ESB
- IBM HTTP Server
- IBM Installation Manager
- IBM Integration Bus
- IBM Integration Designer
- IBM Middleware
- IBM Packaging Utility
- IBM Portal Server
- IBM Process Server
- IBM Update Installer
- iFix
- IHS
- IHS Administration Server
- IIB
- IIBM 9.0 for Developers
- Installation
- Integration Specialist
- Java
- LDAP
- Liberty Core Runtime
- Liberty Profile
- Middleware Consultant
- Middleware Consulting
- Middleware Knowledge and Insights
- Middleware Training
- Mule ESB
- NetBeans
- Object Data Grids
- Oracle
- Rankings
- Scripting
- SEO
- SOA
- SSL
- Success Mentoring
- Testimonials
- Uncategorized
- Uninstall
- UpdateInstaller
- Upgrade
- WAS
- WAS 7 Migration
- WAS ND
- WebLogic Application Server
- WebSphere
- WebSphere 7
- WebSphere 8.5
- WebSphere 8.5.5
- WebSphere Application Client
- WebSphere Application Server
- WebSphere Application Server Profiles
- WebSphere Architect
- WebSphere Author
- WebSphere Automation
- WebSphere Consultant
- WebSphere Consulting
- WebSphere Courses
- WebSphere Development
- WebSphere Digrams
- WebSphere ESB
- WebSphere Expert
- WebSphere Guru
- WebSphere Installation
- WebSphere Integrated Developer
- WebSphere Java
- WebSphere Jython
- WebSphere Jython Examples
- WebSphere Jython Scipting
- WebSphere Kerberos
- WebSphere Liberty
- WebSphere Liberty Profile
- WebSphere Message Broker
- WebSphere Migration
- WebSphere MQ
- WebSphere Plugin
- WebSphere Portal Server
- WebSphere Process Server
- WebSphere Profile Management
- WebSphere Scripting
- WebSphere Scripts
- WebSphere Security
- WebSphere Shell Script
- WebSphere Specialist
- WebSphere SSO
- WebSphere Training
- What Is
- WID