To prepare the source environment for maintenance mode, you can disable access to the administrative and self-service portals by using an app_offline.htm file. This file prevents users from working in the source vRealize Automation system during migration. It also informs users that the system is not available.

Perform this task before migrating. For information about the required order of operations to perform before you start migration, see Performing Manual Operations After Pre-Migration.

For more information about creating and using an application offline file, see the To take a Web application offline before deployment section of the How to: Prepare to Deploy a Web Project topic in Microsoft Developer Network documentation. Also see the Easiest way to take your web site offline (IIS 6.0 or IIS 7.5 with .NET 4.0) blog post at the MSDN Blogs site.

The following example procedure is provided for reference only. Your app_offline.htm file content may vary.

  1. Log in to each machine on which you installed any of the source vCloud Automation Center 5.2 components with full Windows administrative access.

  2. Use or modify the following example HTML content to create an app_offline.htm maintenance page.

    <!doctype html>
    <title>vCAC Maintenance</title>
    <style>
      body { text-align: center; padding: 150px; }
      h1 { font-size: 50px; }
      body { font: 20px Helvetica, sans-serif; color: #333; }
      article { display: block; text-align: left; width: 650px; margin: 0 auto; }
      a { color: #dc8100; text-decoration: none; }
      a:hover { color: #333; text-decoration: none; }
    </style>
     
    <article>
        <h1>We will be back soon!</h1>
        <div>
            <p>The vCAC team is performing system maintenance.</p>
            <p>vCAC will be back online shortly.</p>
        </div>
    </article>
    

  3. Add the app_offline.htm file to the root directories of the vRealize Automation and vCACSelfService applications to inform users that these services are offline. The app_offline.htm file exists in the root of your Web site. A request to the Web site redirects to that file.

    The following vRealize Automation portal root directories are defaults.

    • %ProgramFiles(x86)%\VMware\vCAC\Server\Website
    • %ProgramFiles(x86)%\VMware\vCAC\Self-Service Portal