To upgrade the blueprint design server, stop the Tomcat server, install the new version,
and restart the blueprint design server. When you upgrade the blueprint design server, you must also
upgrade the engine.
Procedure
- Stop the cloud discovery service. See Stopping the blueprint designer, cloud discovery service, and engine.
- Stop the Tomcat service:
- On Linux, run the following
command:
server_installation_directory/bin/server stop
Use
the location of the blueprint design server installation for
server_installation_directory. The default installation
directory is /opt/ibm-ucd-patterns. By default, the command looks like the
following code:/opt/ibm-ucd-patterns/bin/server stop
- On Windows, run the following command:
C:\server_installation_directory\bin\stop_server
Use the
location of the blueprint design server installation for
server_installation_directory. The default installation
directory is C:\Program Files\ibm-ucd-patterns. By default, the command looks
like the following
code:"C:\Program Files\ibm-ucd-patterns\bin\stop_server"
- Delete the contents of the following folder, including any subfolders: server_installation_directory/opt/tomcat/webapps/landscaper
- Delete the following file, if it exists: server_installation_directory/opt/tomcat/webapps/landscaper.war
- Download and extract the installation files for the blueprint design server. These
files are available for download from the IBM
Passport Advantage® website. See the IBM UrbanCode Deploy download document.
- If you are using a database other than Apache Derby or PostgreSQL, make the JDBC JAR file for
your database available to the installer by completing one of these steps:
- Place the JAR file for the database in the installation directory. On Linux, place it in the
installation_directory/ibm-ucd-patterns-install/web-install/media/server/opt/tomcat/lib
folder, and on Windows, place it in the
installation_directory\media\server\opt\tomcat\lib
folder.
- Record the location of the JAR file, and, when you are prompted by the installer, specify
both the path and file name.
- From the command line, run the installation program. On Windows, you must use the command line
instead of the WindowsPowerShell.
- On Linux, change to the
installation_directory/ibm-ucd-patterns-install/web-install/
folder, and run the install.sh file.
- On Windows, change to the
installation_directory folder, and run the
install.bat file.
- Read the license agreements for the software
package. Press Space to show one page at a time, or press F to
show the entire license.
- If you agree to the terms of all of the license
agreements, press Y and then press Enter.
- At the prompt Specify the directory where the blueprint design server for
UrbanCode Deploy should be installed, specify the current installation folder
and press Enter.
- At the prompt A previous version exists in the specified directory. Do you want to
upgrade the currently installed version? [y, n], press Y and then
press Enter. The installation program installs the new version of the server and connects it to the
existing database.
Note: If you upgraded from a version before 6.2.1.2 to version 6.2.1.2 or later
and secured connections by using SSL, the server.xml file in the
server_installation_directory/opt/tomcat folder was
replaced.
The previous server.xml file was retained and renamed
server.xml.number, where number
represents the time of the server upgrade.
- Start the Tomcat service:
- On Linux, run the following
command:
server_installation_directory/bin/server start
Use
the location of the blueprint design server installation for
server_installation_directory. The default installation
directory is /opt/ibm-ucd-patterns. By default, the command looks like the
following code:/opt/ibm-ucd-patterns/bin/server start
- On Windows, run the following command:
C:\server_installation_directory\bin\start_server
Use the
location of the blueprint design server installation for
server_installation_directory. The default installation
directory is C:\Program Files\ibm-ucd-patterns. By default, the command looks
like the following
code:"C:\Program Files\ibm-ucd-patterns\bin\start_server"
- Start the cloud discovery service. See Starting the blueprint designer, cloud discovery service, and engine.
- If the blueprint design server is connected to an IBM UrbanCode Deploy server,
update the agent components:
- On the IBM UrbanCode Deploy server,
delete the following components: ucd-agent-linux-ppc64, ucd-agent-linux-x86_64,
ucd-agent-win-x86_64, and ucd-agent-linux-s390x.
- Install the agent components as described on step 3
of Connecting the blueprint design server to the server.
- Optional: If you are upgrading from before 6.1.2, provision environments in VMware vCenter, and use
VMware NSX, provide VMware NSX credentials for your cloud project. If you provide VMware NSX credentials, you can create networks on vCenter
clouds.
- Log in to the blueprint designer as a user with the following permissions:
- Configure Security
- Manage Users & Groups
- Click .
- From the Clouds pane, select the vCenter cloud connection to update.
- From the Authorization pane, select the project to update.
- Select the Configure NSX access check box and specify the following
information:
Table 1. Properties for VMWare cloud projects that require NSX accessProperty |
Description |
NSX User ID |
Enter the NSX user ID. |
NSX Password |
Enter the password for the NSX user ID. |
NSX Host |
Enter the VMWare NSX API host IP address and port number. |
What to do next
If you use Chef recipes, you might need to take more steps.
- If you are upgrading from a version before version 6.2.1 and use Chef recipes, you must upgrade
the Chef hook on the images on your cloud. See Updating Chef-compatible images.
- In versions of the blueprint designer before version 6.2.1, you hosted the Chef validator key a
location that your cloud environments can access. You can remove the copy of the validator key that
you hosted. If you remove the validator key, before you provision an environment that contains Chef
roles, you must modify the blueprint. See Modifying blueprints to access the Chef validator key in version 6.2.1 and later.