<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Federation Archives - OVHcloud Blog</title>
	<atom:link href="https://blog.ovhcloud.com/tag/federation/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.ovhcloud.com/tag/federation/</link>
	<description>Innovation for Freedom</description>
	<lastBuildDate>Fri, 12 Jul 2019 08:34:39 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.ovhcloud.com/wp-content/uploads/2019/07/cropped-cropped-nouveau-logo-ovh-rebranding-32x32.gif</url>
	<title>Federation Archives - OVHcloud Blog</title>
	<link>https://blog.ovhcloud.com/tag/federation/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Federate your Private Cloud with your Active Directory</title>
		<link>https://blog.ovhcloud.com/federate-your-private-cloud-with-your-active-directory/</link>
		
		<dc:creator><![CDATA[Erwan Quelin]]></dc:creator>
		<pubDate>Fri, 01 Mar 2019 09:18:09 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Federation]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PCC]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://blog.ovh.com/fr/blog/?p=14747</guid>

					<description><![CDATA[Federation is a beta feature offered to all OVH Private Cloud customers with&#160;vCenter 6.5. If you want to be part of the beta, please contact our support team. It allows you to use an external Microsoft Active Directory as the authentication source to access to the VMware vCenter server. The implementation of this feature has [&#8230;]<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Ffederate-your-private-cloud-with-your-active-directory%2F&amp;action_name=Federate%20your%20Private%20Cloud%20with%20your%20Active%20Directory&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p><span class="tlid-translation translation"><span title=""><strong>Federation</strong> is a beta feature offered to all <strong>OVH Private Cloud</strong> customers with&nbsp;<strong>vCenter 6.5</strong>. If you want to be part of the beta, please contact our support team.</span> <span title="">It allows you to use an external <strong>Microsoft Active Directory</strong> as the authentication source to access to the <strong>VMware vCenter</strong> server.</span> <span title="">The implementation of this feature has been made possible thanks to OVH&#8217;s <strong>DevOps team</strong>,&nbsp;who have developed an <strong>innovative and unique API</strong> that adds additional features to those offered by VMware.</span> <span title="">Indeed, it is not possible to configure identities&#8217; sources via vCenter&#8217;s native API at the moment.<br></span></span></p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img fetchpriority="high" decoding="async" src="https://www.ovh.com/blog/wp-content/uploads/2019/02/IMG_0108-1024x504.png" alt="Federate your Private Cloud with your Active Directory" class="wp-image-14844" width="512" height="252" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0108-1024x504.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0108-300x148.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0108-768x378.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0108-1200x591.png 1200w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0108.png 1525w" sizes="(max-width: 512px) 100vw, 512px" /></figure></div>



<p><span class="tlid-translation translation"><span title="">In this post, we will take a look at how to activate Federation on your Private Cloud solution, and the advantages of doing so.</span></span></p>



<h3 class="wp-block-heading" id="Federation(En)-Whatfor?">What for?</h3>



<p><span class="tlid-translation translation">By default, access rights to a vCenter in the Private Cloud are managed directly by that vCenter. Users are created locally (localos or SSO domain) and all access-based control mechanisms (<strong>RBACs</strong>) are managed by the <strong>SSO service</strong>. Enabling <strong>Federation</strong> will delegate user management to a Microsoft Active Directory (AD). As a result, the vCenter server will interact with the domain controller to ensure that the user trying to connect is who they claim to be. The vCenter retains role and privilege management for the objects it manages. Once Federation is configured, it is possible to associate the AD&#8217;s users with vCenter roles, so that they can access and/or manage certain objects within the infrastructure (virtual machines, networks, folders, etc.).<br></span></p>



<p><span class="tlid-translation translation">One of the main applications of this will be to facilitate vCenter access for administrators by reducing the number of accounts needed to maintain the various elements of the infrastructure. In addition, it will be possible to extend and unify the password management policy between the Active Directory and the vCenter Private Cloud.</span></p>



<p><span class="tlid-translation translation">The fact that&nbsp;<strong>Federation</strong> is manageable via OVH&#8217;s API makes it possible to automate the configuration, and also to ensure it is kept in operational condition. Finally, it is very simple to add checks in any monitoring tool (Nagios, Zabbix, Sensu, etc.) to monitor the state of the Federation and the rights assigned to users.</span></p>



<p>Here is an example of a simple PowerShell script that will periodically check if the Federation configuration is in the desired state:</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1051" height="445" src="/blog/wp-content/uploads/2019/02/Federation-Pester.png" alt="" class="wp-image-14836" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Pester.png 1051w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Pester-300x127.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Pester-768x325.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Pester-1024x434.png 1024w" sizes="(max-width: 1051px) 100vw, 1051px" /></figure></div>



<h3 class="wp-block-heading" id="Federation(En)-Architectureandprerequisites"><span class="tlid-translation translation"><span title="">Architecture and prerequisites</span></span></h3>



<p><span class="tlid-translation translation">Since the vCenter will have to communicate with the domain controllers, the first step will be to allow flows between these elements. There are several ways to achieve this goal, such as combining <a href="https://www.ovh.com/fr/solutions/ovhcloud-connect/" data-wpel-link="exclude">OVHCloud Connect</a><strong> </strong>with a <strong>Private Gateway</strong>. A study of all the different possibilities would require a whole article, so we advise you to contact <strong>OVH</strong> or one of our <strong>partners</strong> to assist you in choosing the most suitable architecture. The following diagram gives you a simplified overview of what this might look like:</span></p>



<div class="wp-block-image wp-image-14842"><figure class="aligncenter is-resized"><img decoding="async" src="https://www.ovh.com/blog/wp-content/uploads/2019/02/IMG_0114-1024x715.png" alt="FEDERATION - Logical diagram" class="wp-image-14842" width="768" height="536" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0114-1024x715.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0114-300x209.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0114-768x536.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0114-1200x837.png 1200w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/IMG_0114.png 1926w" sizes="(max-width: 768px) 100vw, 768px" /><figcaption>FEDERATION &#8211; Logical diagram</figcaption></figure></div>



<p><span class="tlid-translation translation"><br>Once interconnected, you will need to make sure you have gathered the following information before starting the configuration process:<br></span></p>



<ul class="wp-block-list"><li>Your OVH credentials (nic and password)</li><li><span class="tlid-translation translation">The name of your Private Cloud (in the form <code>pcc-X-X-X-X</code>)</span></li><li><span class="tlid-translation translation">The required information about the Active Directory infrastructure, namely:</span> <ul><li><span class="tlid-translation translation">Active Directory domain&#8217;s short and long name (for example, <code>contoso</code> and <code>contoso.com</code>)</span></li><li><span class="tlid-translation translation">IP address of the domain controller</span></li><li><span class="tlid-translation translation">AD account&#8217;s username and password, with sufficient rights to consult the directory</span></li><li><span class="tlid-translation translation">Location of groups and users in the AD hierarchy as &#8220;base DN&#8221; (example: <code>OU = Users, DC = contoso, DC = com</code>). It should be noted that even though the group information is mandatory, it is not currently possible to use it to manage authentication</span></li><li><span class="tlid-translation translation">List of Active Directory users that you want to bind to the vCenter. It will be necessary to provide user names in the form username@FQDN.domain (for example, <code>federation@contoso.com</code>)</span> </li></ul></li></ul>



<p>Please note that it&#8217;s not currently possible to have multiple users with the same shortname,&nbsp;<span class="tlid-translation translation"><span class="" title="">regardless of whether they are managed locally or by an Active Directory. </span></span></p>



<h3 id="Federation(En)-Activationandconfiguration" class="tlid-translation translation wp-block-heading">Activation and configuration</h3>



<p><span class="tlid-translation translation"><span title="">Once you have gathered all the necessary information, it will be possible to activate and configure Federation.</span> <span title="">The operation will take place in three steps:</span><br></span></p>



<ol class="wp-block-list"><li class="tlid-translation translation"><span class="tlid-translation translation"><span title="">Activation of the link between the Active Directory and the Private Cloud</span></span></li><li class="tlid-translation translation"><span class="tlid-translation translation"><span title="">Binding of one or more AD users to the Private Cloud</span></span></li><li class="tlid-translation translation"><span class="tlid-translation translation"><span title="">Assignment of rights to users</span></span></li></ol>



<p class="tlid-translation translation"><span class="tlid-translation translation"><span title="">The configuration is only accessible via OVH&#8217;s API for now, but it should be possible in the medium-term to do it via the OVH Control Panel.</span>&nbsp;</span><span title="">The API offers all the necessary options to activate, configure, or even delete your Private Cloud&#8217;s Federation:</span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="885" height="247" src="/blog/wp-content/uploads/2019/02/Federation-List_API.png" alt="" class="wp-image-14759" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-List_API.png 885w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-List_API-300x84.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-List_API-768x214.png 768w" sizes="auto, (max-width: 885px) 100vw, 885px" /></figure></div>



<h3 id="Federation(En)-EnablingtheconnectionbetweentheADandthePrivateCloud" class="tlid-translation translation wp-block-heading"><span class="tlid-translation translation"><span title="">Enabling the connection between the AD and the Private Cloud</span></span></h3>



<p><span class="tlid-translation translation"><span title="">Go to the <a href="https://api.ovh.com/console/" data-wpel-link="exclude">API&#8217;s explorer site</a> and authenticate with your OVH credentials.</span> <span title="">If you do not already have it, get the name (also called serviceName in the API) of your Private Cloud, as it will be mandatory for all other steps of the configuration.</span> <span title="">You can access this information by performing a <strong>GET</strong> on the&nbsp;<strong>/dedicatedCloud</strong> URI:</span></span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="809" height="262" src="/blog/wp-content/uploads/2019/03/50BA6070-A43F-47F7-81BC-BA24D5ED630F.jpeg" alt="Federation - GET dedicatedCloud" class="wp-image-14882" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/03/50BA6070-A43F-47F7-81BC-BA24D5ED630F.jpeg 809w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/50BA6070-A43F-47F7-81BC-BA24D5ED630F-300x97.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/50BA6070-A43F-47F7-81BC-BA24D5ED630F-768x249.jpeg 768w" sizes="auto, (max-width: 809px) 100vw, 809px" /></figure></div>



<p><span class="tlid-translation translation"><span title="">Enable Federation by providing all the information about your Active Directory via a <strong>POST</strong> on the <strong>/dedicatedCloud/{serviceName}/federation/activeDirectory </strong>URI.</span> <span title="">All requested information is mandatory:</span></span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="827" height="554" src="/blog/wp-content/uploads/2019/03/9518BE59-8CC9-4078-95EB-8D6B19077429.jpeg" alt="Federation - POST Add AD" class="wp-image-14884" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/03/9518BE59-8CC9-4078-95EB-8D6B19077429.jpeg 827w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/9518BE59-8CC9-4078-95EB-8D6B19077429-300x201.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/9518BE59-8CC9-4078-95EB-8D6B19077429-768x514.jpeg 768w" sizes="auto, (max-width: 827px) 100vw, 827px" /></figure></div>



<p><span class="tlid-translation translation"><span title="">The activation of the Federation will take a while, and take place in the background.</span> <span title="">You can follow the progress of the operation via the OVH Control Panel:</span></span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="885" height="192" src="/blog/wp-content/uploads/2019/02/Federation-Add_Task.png" alt="" class="wp-image-14765" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Add_Task.png 885w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Add_Task-300x65.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Add_Task-768x167.png 768w" sizes="auto, (max-width: 885px) 100vw, 885px" /></figure></div>



<p><span class="tlid-translation translation"><span title="">Once completed, you can retrieve the Federation ID by sending a <strong>GET</strong> request to the <strong>/dedicatedCloud/{serviceName}/federation/activeDirectory</strong> URI:</span></span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="788" height="325" src="/blog/wp-content/uploads/2019/03/9838C96D-C914-46DE-87D8-14E5D86A485E.jpeg" alt="Federation - GET AD ID" class="wp-image-14886" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/03/9838C96D-C914-46DE-87D8-14E5D86A485E.jpeg 788w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/9838C96D-C914-46DE-87D8-14E5D86A485E-300x124.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/9838C96D-C914-46DE-87D8-14E5D86A485E-768x317.jpeg 768w" sizes="auto, (max-width: 788px) 100vw, 788px" /></figure></div>



<p><span class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"></span></p>



<h3 class="wp-block-heading" id="Federation(En)-ImportingoneormoreADusers"><span class="tlid-translation translation"><span title="">Binding one or more AD users</span></span></h3>



<p><span class="tlid-translation translation"><span title="">Now that your AD is declared in the vCenter Private Cloud, we will be able to bind the Active Directory&#8217;s users to it.</span> <span title="">Note that even if your users are binded, they won&#8217;t have any vCenter roles associated with them, so they will not be able to log in. </span></span></p>



<p><span title="">To bind an user, you will need to send a <strong>POST</strong> request to the <code>/dedicatedCloud/{serviceName}/federation/activeDirectory/{activeDirectory}/grantActiveDirectoryUser</code><strong> </strong>URI by specifying the full username:</span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="782" height="301" src="/blog/wp-content/uploads/2019/03/3B8103B6-3B58-416E-8407-D8BEF9BCDADB.jpeg" alt="Federation - POST Add User" class="wp-image-14887" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/03/3B8103B6-3B58-416E-8407-D8BEF9BCDADB.jpeg 782w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/3B8103B6-3B58-416E-8407-D8BEF9BCDADB-300x115.jpeg 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/03/3B8103B6-3B58-416E-8407-D8BEF9BCDADB-768x296.jpeg 768w" sizes="auto, (max-width: 782px) 100vw, 782px" /></figure></div>



<p><span class="tlid-translation translation"><span title="">Make sure that the user is present in the search OU you declared when associating your AD with the vCenter.</span> <span title="">Once again, you can validate that the import task is done via the API, or via the Control Panel:</span></span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="885" height="203" src="/blog/wp-content/uploads/2019/02/Federation-Add_User_Task.png" alt="" class="wp-image-14768" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Add_User_Task.png 885w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Add_User_Task-300x69.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Add_User_Task-768x176.png 768w" sizes="auto, (max-width: 885px) 100vw, 885px" /></figure></div>



<p><span class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size"></span></p>



<p><span class="tlid-translation translation"><span title="">You should also receive an email stating that the user has been imported.</span></span></p>



<h3 class="wp-block-heading" id="Federation(En)-UserRightsAssignment"><span class="tlid-translation translation"><span title="">Assigning access rights</span></span></h3>



<p><span class="tlid-translation translation"><span title="">The last step will be to give the users access rights to the different objects in the virtual infrastructure. <span class="" title="">This step does not differ from the usual way of managing Private Cloud&#8217;s users rights. It can be done through the API or the OVH Control Panel.</span><br></span></span></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="1575" height="303" src="/blog/wp-content/uploads/2019/02/Federation-Users_Rights_Mgmt.png" alt="" class="wp-image-14801" srcset="https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Users_Rights_Mgmt.png 1575w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Users_Rights_Mgmt-300x58.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Users_Rights_Mgmt-768x148.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Users_Rights_Mgmt-1024x197.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2019/02/Federation-Users_Rights_Mgmt-1200x231.png 1200w" sizes="auto, (max-width: 1575px) 100vw, 1575px" /></figure></div>



<p>You should now be able to log in to your vCenter with your AD&#8217;s users and start managing your Private Cloud!</p>



<p><span class="tlid-translation translation"><span title="">In this post, we have seen how to activate the Federation option, and the benefits it brings to users of the OVH Private Cloud. <span class="" title="">In a future post, we will talk about another new feature: <strong>Granular Rights</strong>. So stay tuned on the OVH blog!</span><br></span></span></p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Ffederate-your-private-cloud-with-your-active-directory%2F&amp;action_name=Federate%20your%20Private%20Cloud%20with%20your%20Active%20Directory&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
