<?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>Hypervisor.fr &#187; batch</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=batch" rel="self" type="application/rss+xml" />
	<link>http://www.hypervisor.fr</link>
	<description>French Bare-Metal weblog</description>
	<lastBuildDate>Wed, 26 Jun 2024 22:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install unattended du vCenter 4.x All-in-One</title>
		<link>http://www.hypervisor.fr/?p=2848</link>
		<comments>http://www.hypervisor.fr/?p=2848#comments</comments>
		<pubDate>Wed, 13 Apr 2011 15:18:15 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[unattended]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2848</guid>
		<description><![CDATA[Pour les besoins d&#8217;une maquette nous avons compilé un batch qui install en auto un vcenter + sql express et tous ses composants (vi client, update manager + plugin et converter + plugin) à partir d&#8217;une UNC :

start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-vcserver.exe /q /s /w /L1033 /v&#34; /qr DB_SERVER_TYPE=Bundled USERNAME=\&#34;hypervisor\&#34; COMPANYNAME=\&#34;hypervisor\&#34; LICENSEKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FORMAT_DB=1 /L*v \&#34;%TEMP%\vmvcsvr.log\&#34;&#34;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-viclient.exe [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Pour les besoins d&#8217;une maquette nous avons compilé un batch qui install en auto un vcenter + sql express et tous ses composants (vi client, update manager + plugin et converter + plugin) à partir d&#8217;une UNC :</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-vcserver.exe /q /s /w /L1033 /v&quot; /qr DB_SERVER_TYPE=Bundled USERNAME=\&quot;hypervisor\&quot; COMPANYNAME=\&quot;hypervisor\&quot; LICENSEKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FORMAT_DB=1 /L*v \&quot;<span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vmvcsvr.log\&quot;&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-viclient.exe /q /s /w /L1033 /v&quot; /qr&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\updateManager\VMware-UpdateManager.exe /L1033 /v&quot; /qr VMUM_SERVER_SELECT=<span style="color: #33cc33;">%</span><span style="color: #448888;">computername</span><span style="color: #33cc33;">%</span> VC_SERVER_IP=<span style="color: #33cc33;">%</span><span style="color: #448888;">computername</span><span style="color: #33cc33;">%</span> VC_SERVER_ADMIN_USER=\&quot;administrator\&quot; VC_SERVER_ADMIN_PASSWORD=\&quot;password\&quot; VCI_DB_SERVER_TYPE=Bundled VCI_FORMAT_DB=1 /l*v <span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vumerver.log&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\updateManager\VMware-UMClient.exe /q /s /w /L1033 /v&quot; /qr&quot;
##start /wait \\server\share\VMware-converter-all-4.3.0-292238\VMware-converter-all-4.3.0-292238.exe /s /v&quot; /qn ADDLOCAL=ALL /l*v <span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vmconvservermsi.log&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\converter\VMware-Converter.exe /q /s /w /L1033 /v&quot; /qr  VC_SERVER_IP=<span style="color: #33cc33;">%</span><span style="color: #448888;">computername</span><span style="color: #33cc33;">%</span> VC_SERVER_ADMIN_USER=\&quot;administrator\&quot; VC_SERVER_ADMIN_PASSWORD=\&quot;password\&quot; /l*v <span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vmconserver.log&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\converter\VMware-Converter-Client.exe /q /s /w /L1033 /v&quot; /qr&quot;
reg add HKLM\system\currentcontrolset\services\vpxd /v dependonservice /t REG_MULTI_SZ /d ProtectedStorage\0lanmanworkstation\0MSSQL$SQLEXP_VIM /f</pre></div></div>

<p style="text-align: justify;"><strong>Les chemins et informations diverses sont mettre à jour en fonction de la version du vCenter à installer</strong> (ces commandes sont compatibles 4.x à l&#8217;heure ou nous écrivons ce billet). La ligne commentée concerne la version standalone de converter et la dernière ligne rajoute une <strong>dépendance au service mssql</strong> sur le service vpxd.</p>
<p style="text-align: justify;">Vous trouverez dans les documents de références VMware les différents paramètres des msi :</p>
<div><a href="http://www.vmware.com/pdf/vsp_4_vcserver_cmdline_install.pdf" target="_blank">Performing a Command-Line Installation of vCenter Server 4.0</a></div>
<div>
<div><a href="http://www.vmware.com/files/pdf/techpaper/vsp_4_vum_cmdline_install.pdf" target="_blank">Performing a Command-Line Installation of VMware vCenter Update Manager</a></div>
<div><a href="http://kb.vmware.com/kb/1008207" target="_blank">Using the Command-Line to Install VMware vCenter Converter Standalone Agent</a></div>
</div>
<p style="text-align: center;"><img class="aligncenter" src="http://files.hypervisor.fr/img/MS-DOS-Batch-File-icon.png" alt="" width="256" height="256" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2848</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
