<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>On 04/08/13 13:38, Ade Lee wrote:</tt><tt><br>
      </tt></div>
    <blockquote cite="mid:1365453497.20775.2.camel@aleeredhat.laptop"
      type="cite">
      <pre wrap="">Attached are changes to the 8.1 in-place migration scripts to handle
changes due to IP separation changes.

This is only for 8.1.
Please review.

Ade
</pre>
      <tt><br>
      </tt>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <tt><br>
      </tt>
      <pre wrap="">_______________________________________________
Pki-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pki-devel@redhat.com">Pki-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pki-devel">https://www.redhat.com/mailman/listinfo/pki-devel</a></pre>
    </blockquote>
    <tt>ACK with caveat:</tt><tt><br>
    </tt><tt><br>
    </tt><tt>In the following section, remove the line '($secure_port ==
      $ee_secure_client_auth_port) &&' as this condition only
      applies to CA subsystems, and doesn't change the correctness of
      the conditional if it is simply removed:</tt><tt><br>
    </tt>
    <blockquote>
      <pre wrap=""> ##############################################################
 # Version subroutines
 ##############################################################
@@ -626,6 +664,32 @@
         $agentMachineName=$cfg->{'adminMachineName'};
     }
 
+    #ip addresses
+    my $agent_ip_addr = get_IP_address_from_FQDN($agentMachineName);
+    my $ee_ip_addr = get_IP_address_from_FQDN($eeMachineName);
+    my $ee_client_auth_ip_addr = get_IP_address_from_FQDN($eecaMachineName);
+    my $admin_ip_addr = get_IP_address_from_FQDN($adminMachineName);
+
+    # port configuration mode
+    my $port_configuration_mode = "";
+    if (exists $cfg->{'service.portConfigurationMode'} and \
+        defined $cfg->{'service.portConfigurationMode'}) {
+        $port_configuration_mode = $cfg->{'service.portConfigurationMode'};
+    } else {
+        if ($subsystem_type eq $RA) {
+            $port_configuration_mode = "RA Ports";
+        } elsif ($subsystem_type eq $TPS) {
+            $port_configuration_mode = "TPS Ports";
+        } elsif (($secure_port == $ee_secure_port) &&
<strike><b>+                 ($secure_port == $ee_secure_client_auth_port) && </b></strike>
+                 ($secure_port == $admin_secure_port) &&
+                 ($secure_port == $agent_secure_port)) {
+            $port_configuration_mode = "Shared Ports";
+        } else {
+            $port_configuration_mode = "Port Separation";
+        }
+    }
+</pre>
    </blockquote>
  </body>
</html>