You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

This wiki topic shows how to leverage the fallback aggregate, an important fail-safe component of the pipeline of metadata aggregates.

If something goes wrong while a potentially breaking change is pushed through the metadata pipeline, a production SAML deployment can temporarily point its metadata refresh process at the fallback aggregate and thereby gain some time while the issue is being addressed. To determine if a metadata migration is in progress, consult the online diff between the fallback aggregate and the main production aggregate. Of course if the two are the same, pointing away from one toward the other will have no effect.

To leverage the legacy fallback aggregate, change your metadata config from this:

Pointing to the main production aggregate
<MetadataProvider id="ICMD" xsi:type="FileBackedHTTPMetadataProvider"
   xmlns="urn:mace:shibboleth:2.0:metadata"
   metadataURL="http://md.incommon.org/InCommon/InCommon-metadata.xml"
   backingFile="%{idp.home}/metadata/InCommon-metadata.xml">

to this:

Pointing to the fallback aggregate
<MetadataProvider id="ICMD" xsi:type="FileBackedHTTPMetadataProvider"
   xmlns="urn:mace:shibboleth:2.0:metadata"
   metadataURL="http://md.incommon.org/InCommon/InCommon-metadata-fallback.xml"
   backingFile="%{idp.home}/metadata/InCommon-metadata.xml">

Note the above configuration temporarily points away from the main production aggregate. It’s rarely necessary to fall back from the preview aggregate, which is intended for leading edge systems where some breakage is expected by definition.

The fallback aggregate is intended to be a transient solution

If you point to the fallback aggregate as documented on this page, don’t forget to revert back to the main production aggregate in a timely manner. The fallback aggregate is intended to be a transient solution. If you never point away from the fallback aggregate, you lose the ability of falling back in the future.
  • No labels