Migrating from VMware vFabric Web Server 5.x
Important: If you are upgrading from Pivotal Web Server 5.4.0 or later, complete the instructions in Upgrading Pivotal Web Server instead.
If you are migrating from VMware vFabric Web Server 5.3.x or earlier to Pivotal Web Server 6.2 , you will notice that the default installation path has changed. The path, formerly
/opt/vmware/vfabric-web-server/, now defaults to
/opt/pivotal/webserver/. The structure of the application and instance directories is unchanged.
This option is available for all distributions, and is preferred as a longer term solution.
- Complete the installation instructions to deploy Pivotal Web Server to your preferred location (typically
/opt/pivotal/webserver). See Installing Pivotal Web Server.
Either copy or move the
/opt/pivotal/webserver/instance, including all file permissions and ownership.
- Copy the tree to minimize downtime of active instances.
- If you move the tree instead, stop and uninstall
vfabric-web-server/instanceprior to moving the directory tree, as documented in 9 below.
Change to the
Invoke the fixrootpath as follows:
../fixrootpath.pl –srcdir=/opt/vmware/vfabric-web-server –dstdir=/opt/pivotal/webserver
Change to the
httpdctlscript with new features plus the revised
pivotal httpd instanceservice names:
./newserver –server=instance –update
Update the user and group names from
pwshttpdby modifying the
User and Groupdirectives in the
instance/conf/httpd.conffile. Invoke the following commands from
/opt/pivotal/webserver/instanceto locate and replace the corresponding file and directory ownership:
find . -group vfhttpd | xargs chgrp pwshttpd
find . -user vfhttpd | xargs chown pwshttpd
Update the module and path names and the authorization sections in the
instance/conf/httpd.conffile to match the 2.4 version. For guidance, see the Apache HTTP Server documentation.
Stop and uninstall the old instance if not performed before step 2. above:
Install and start the service from the new path: