<?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>vRA &#8211; Made For Cloud</title>
	<atom:link href="https://madeforcloud.com/category/vra/feed/" rel="self" type="application/rss+xml" />
	<link>https://madeforcloud.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sat, 26 Oct 2019 23:05:17 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>vRA,  where is my template?</title>
		<link>https://madeforcloud.com/2019/10/27/vra-where-is-my-template/</link>
		
		<dc:creator><![CDATA[gocallag]]></dc:creator>
		<pubDate>Sat, 26 Oct 2019 23:05:17 +0000</pubDate>
				<category><![CDATA[vRA]]></category>
		<category><![CDATA[vRealize]]></category>
		<guid isPermaLink="false">http://madeforcloud.com/?p=11</guid>

					<description><![CDATA[So, you’ve automated everything related to your template creation. You use packer like a boss as part of your CI/CD toolchain. They’re automatically placed onto your vmware environment and you wait for a mystical event to occur where the templates become available to vRA so you can use them in blueprints…. you sigh Yes, you&#8230;<p><a class="more-link" href="https://madeforcloud.com/2019/10/27/vra-where-is-my-template/" title="Continue reading &#8216;vRA,  where is my template?&#8217;">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
										<content:encoded><![CDATA[
<p>So, you’ve automated everything related to your template creation.  You use <em>packer</em> like a boss as part of your CI/CD toolchain.  They’re automatically placed onto your vmware environment and you <em>wait</em> for a mystical event to occur where the templates become available to vRA so you can use them in blueprints….  you <em>sigh</em></p>



<p>Yes,  you know you can set the refresh for the inventory to an hour 
…..  an hour… OMG you’ll be watching cat videos and forget what you’re 
doing before that happens.</p>



<p>Yes,  you also know that you can navigate the clicky clicky world of 
vRA and refresh the inventory on demand as part of the data collection 
tasks.   Sadly Jenkins is a little unwilling to clicky click and demands
 programmatic access (I know the REST api would be better for this use 
case, please humour me).</p>



<p>Well,  Cloudclient comes to the rescue.   In a previous post I introduced you to Cloudclient, a CLI interface to vRA.</p>



<p>The thing to note here is that the compute resources are managed by 
the IaaS servers and not the vRA appliance itself.  Since you’ll be 
asking the IaaS server to do something (refresh the inventory) you’ll 
need to ensure your Cloudclient session is logged into the IaaS 
infrastructure.</p>



<pre class="wp-block-code"><code>vra login iaas --server {iaas-server-vip} --domain {domain} --user {user} --password {password}</code></pre>



<pre class="wp-block-code"><code>vra computeresource list</code></pre>



<pre class="wp-block-code"><code>vra computeresource datacollection start --name {resource-name} --waitforcompletion yes</code></pre>



<p>
You’re a wizard!

</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
