Technical Notes |
|
This technical note outlines an upgrade path from Verastream Host Integrator version 5.5 or higher to version 6.6 that enables existing installations to retain as many existing settings and models as possible. Details are provided to upgrade the AADS (Authentication, Administration, and Directory Services), Administrative WebStation, server configuration files, host application models, and Web Builder projects to be compatible with Host Integrator version 6.6 in a Windows-based environment.
See Technical Note 10080 for a list of new features in version 6.6; Technical Note 10069 for version 6.5; and Technical Note 10061 for version 6.0. See Technical Note 40030 if you have Host Integrator servers for Linux/UNIX platforms.
Although the Setup program is able to detect and save your current configuration and migrate its settings to version 6.6, you should review your configuration thoroughly after upgrading to be sure that the migration was successful.
This technical note addresses these upgrade issues:
Under Windows, the Setup program detects the presence of AADS, Host Integrator Session Server, and Administrative WebStation and offers to backup the configuration information.
To upgrade Host Integrator AADS and Servers under Windows, follow the steps below. See Technical Note 40030 for instructions to upgrade Linux/UNIX components.
Note the following:
If you don't already have the product upgrade, download the Verastream Host Integrator Windows Server or Development Kit. To download product upgrades you must have a current maintenance plan. For more information on using the Download Library web site, see Technical Note 0200.
Note: In the unzip location, a subfolder is created. For example, if you unzip the Development Kit to your Desktop, then files are unzipped to a vhidev-prod-w32 folder on your Desktop.
After the installation files are unzipped, the Setup program starts automatically. To run the Setup program again later, double-click setup.exe in the unzipped folder.
If you have any .NET 1.1 client applications, see Technical Note 40037.
Note: If you are upgrading multiple systems in your installation environment, it is strongly recommended repeat the above steps 1 through 9 on all systems before proceeding. (Otherwise, you must separately upgrade all AADSs to version 6.5, then upgrade all Administrative WebStations, and then upgrade all Session Servers.)
For each group of 5.5 through 6.5 settings that you selected to upgrade, the Host Integrator 6.6 Setup program will detect the presence of the backed up files and ask if you want to restore the settings for your 6.6 installation. Follow the prompts.
For additional information on installing Host Integrator, see the Installation Guide at http://support.attachmate.com/manuals/vhi.html.
Note: If you are installing multiple AADSs for failover support, see Technical Note 10049.
To configure domains for Session Server load balancing, see Technical Note 10052.
Your deployed 5.5 through 6.5 models will continue to function on a 6.6 Session Server. They are automatically migrated to the <VHI>/deploy directory. No manual upgrade is required.
To upgrade a model created with an earlier version, open and save the model in the Design Tool. Note: Once you convert a model file to version 6.6, it can no longer be loaded on an earlier version server. Save the model only after you have verified that it behaves as you expect. For example, in certain cases it may be necessary to delete a pattern and re-add it. You should also verify that other aspects of the model, such as operations, recordsets, and procedures, behave correctly before you save the model.
Changes in Host Integrator that could affect your model upgrade are disabled in a series of compatibility settings. For more information see Compatibility Settings for Models Created in Versions 4.5 through 6.5.
The first time your run the version 6.6 Administrative WebStation and Session Monitor, you will need to assign the AADS, or possibly remove and re-add the AADS.
As of version 5.5, the Session Monitor creates a default security certificate when connecting. This certificate may still be present after uninstalling the previous version of Host Integrator and reinstalling the new version. After the upgrade, the Session Monitor will attempt to use a certificate that is now out of date. When attempting to connect, you'll see messages such as "SSL connection failed. Certificates don't match."
To correct this problem, select Remove Directory Server from the Configure menu. You can ignore additional error messages while doing this operation. Next, select Add Directory Server to add it again with an appropriate security certificate.
It is recommended that you install the new AppConn connector files on machines running client applications. You may be able to continue to use the old connector; however, if you see an "Undefined error message," this indicates that a connector upgrade is required. The error message may also include an error number that can provide further information. See the list of error numbers at http://www.attachmate.com/docs/verastream/vhi/6.6/doc/help/designtool/h_rte.html.
If you install the 6.6 AppConn connector on machines running client applications, allow the Setup program to complete the installation and create registry entries (if necessary). Your current client applications will work seamlessly with 6.6 models and servers because the support libraries you link to are updated by Setup. Be aware that the latest API may contain new methods, so upgrading your client code may be to your advantage.
Note: If you have statically linked to any of the AppConn connector files in your applications, you must re-link to the connector files after upgrading in order to take advantage of any new methods and features.
Beginning in version 6.5, the COM connector file name has changed from appconn.dll to appconncom.dll.
Beginning in version 6.6, the .NET Connector no longer supports .NET 1.1 client applications. For more information, see Technical Note 40037.
The first time you open Web Builder 6.6, it automatically updates any existing 5.5 through 6.5 projects so that you can run the applications or use the web services and JavaBeans. Generally, you can deploy, undeploy, or delete existing web projects created in earlier versions, but you cannot modify them. You should be aware of the following issues.
If you install Host Integrator into a different folder from the original earlier installation, Web Builder projects may not be upgraded to version 6.6.
Some project types that were in Web Builder version 6.0 or earlier are no longer available for creating new projects. For .NET and Java web applications, you no longer need to choose between procedure-based or screen-based (rejuvenation) project types. The web application project types for Java and .NET incorporate the functionality of screen-based or procedure-based project types.
Verastream Host Integrator version 6.0 or higher supports the creation of projects using Microsoft .NET Framework version 2.0 and Microsoft Visual Studio 2005. Beginning with version 6.6, .NET 1.1 projects are no longer supported. For more information, see Technical Note 40037.
If you have run an existing .NET web application, certain Host Integrator files (such as appconncom.dll and xerces-c_1_4.dll) remain loaded by IIS and locked. Prior to uninstalling your existing version of Host Integrator, reboot the system, or terminate the aspnet_wb process in Windows Task Manager.
An existing generated web service, and its clients, will continue to run correctly with the new release. However, if you re-build a web service generated from the same model, you may need to update your client code to use new web service standards:
If you have an existing .NET project (such as C# web service) used with a prior version of Verastream AppConn for COM (appconn.dll), after upgrading to version 6.5 or higher, the Microsoft Visual Studio development environment may show the appconnlib reference is invalid and/or the type library is not registered (even though no runtime incompatibility occurs with the 5.5 or 6.0 connector used with a 6.5 or higher server). To allow your project to re-compile, delete the invalid reference and add the COM reference to appconncom.dll (now named Attachmate Verastream Host Integrator 6.6 in the list of COM libraries).
ASP web applications that were created in VHI Web Builder version 5.5 do not run correctly after upgrading to VHI version 6.0 or higher. Also, you may encounter an error when attempting to rebuild an existing ASP procedure-based Web application.
To remedy this, use Web Builder to undeploy and rebuild the existing ASP Web application. Undeploy the application before you rebuild it. You may also need to restart IIS prior to rebuilding.
In versions 5.0 through 6.0, you could use _SHOW or _HIDE appended to the names of model entities, attributes, or procedures to control the display of these elements in web applications generated by Web Builder.
Beginning with version 6.5, instead of using these naming conventions, element visibility is controlled by selecting options in Web Builder's Project Properties dialog box. (When the project is initially converted to version 6.5 or higher, the visibility options are set appropriately based on the existing element name _SHOW or _HIDE suffixes.) Beginning with version 6.6, options are also available for controlling visibility of recordsets and recordset fields.
For more information on configuring projects, see http://www.attachmate.com/docs/verastream/vhi/6.6/doc/help/webbuilder/wb_howto_configure_apps.html.
Beginning in version 6.0, Java package, object, and method names are generated differently by Web Builder. These changes may cause a problem if you run the new projects with an old client. You may need to generate the new Java project, then alter the client code to use these new object, method, and package names.
After upgrading to Host Integrator version 6.5 or higher, deployed Java project icons may appear dimmed (greyed out). To remedy this, in Web Builder, right-click on each project and select Deploy.
When rebuilding a .NET or Java web application, you may get an error if you renamed or deleted procedures in the model. To correct this, you can either:
Event handlers were introduced in version 5.5. Previously, models referencing non-existent Java classes as event handlers were allowed to load and run until the reference to the missing class was found.
Beginning in version 6.0, such models are considered invalid. They can be opened in the Design Tool, but they cannot be deployed until the problem is addressed.
If you find a model with this problem, you can correct it by doing the following before or after your upgrade:
Note: Although this can be done before or after upgrade, it's best to resolve the missing Java class before upgrading a production server.
When you open a model created in an earlier version of the Design Tool, you'll see a message noting that "This model was created with a prior version of the Verastream Host Integrator." The compatibility settings described in Technical Note 40023 are enabled to allow your models to maintain the same behavior as they had in an earlier version of Host Integrator.
Review the compatibility settings and consider disabling these settings in order to take full advantage of current product functionality. In most cases, you will not see any changes in the behavior of your model. If you do note a change, use the guidelines included in the settings descriptions to make any necessary modifications. You can also re-enable a compatibility setting at any time. To view compatibility settings, select Settings > View Settings; then open the Compatibility category.