[Pki-devel] [PATCH] in place migration for 8.1
Ade Lee
alee at redhat.com
Wed Apr 10 14:00:33 UTC 2013
fixed and pushed to 8.1.errata and 8.x branch.
On Tue, 2013-04-09 at 15:18 -0700, Matthew Harmsen wrote:
> On 04/08/13 13:38, Ade Lee wrote:
>
> > 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
> >
> >
> > _______________________________________________
> > Pki-devel mailing list
> > Pki-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/pki-devel
> ACK with caveat:
>
> 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:
> ##############################################################
> # 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) &&
> + ($secure_port == $ee_secure_client_auth_port) &&
> + ($secure_port == $admin_secure_port) &&
> + ($secure_port == $agent_secure_port)) {
> + $port_configuration_mode = "Shared Ports";
> + } else {
> + $port_configuration_mode = "Port Separation";
> + }
> + }
> +
> _______________________________________________
> Pki-devel mailing list
> Pki-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/pki-devel
More information about the Pki-devel
mailing list