<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Best method for deploying HP agents to servers with no agents installed? in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481526#M9756</link>
    <description>Where's the script? :)</description>
    <pubDate>Tue, 15 Feb 2005 22:05:10 GMT</pubDate>
    <dc:creator>Derek_31</dc:creator>
    <dc:date>2005-02-15T22:05:10Z</dc:date>
    <item>
      <title>Best method for deploying HP agents to servers with no agents installed?</title>
      <link>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481523#M9753</link>
      <description>Basically looking for the easiest method for deploying latest hp agents to all servers in my environmnent wether or not the server currently has agents installed or not. I am running SIM 4.2, i do see the option to deploy support pack to servers that are ALREADY being managed or detected by the SIM server but dont see how I deploy to any other servers. If not i guess only other option would be to package the install and use a 3rd party deployment tool.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 08 Feb 2005 17:06:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481523#M9753</guid>
      <dc:creator>Robert_189</dc:creator>
      <dc:date>2005-02-08T17:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Best method for deploying HP agents to servers with no agents installed?</title>
      <link>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481524#M9754</link>
      <description>You're looking for "Initial ProLiant Support Pack Install" on the Deploy pull-down.  This is for Windows systems only and it will prompt you for Windows credentials before deploying.  Nothing is required on the systems to "receive" the PSP.  You must have OpenSSH configured and trusting on your HP SIM server (but it isn't required anywhere else).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Feb 2005 18:20:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481524#M9754</guid>
      <dc:creator>David Claypool</dc:creator>
      <dc:date>2005-02-08T18:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Best method for deploying HP agents to servers with no agents installed?</title>
      <link>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481525#M9755</link>
      <description>If you have many servers to deploy VCA to, try my attached VBScript. &lt;BR /&gt;&lt;BR /&gt;Tip: If you experience some servers not appearing within SIM after running the script &amp;amp; performing a 'Autocovery'. Try manually starting the 'HP Version Control Agent' Service on those servers.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Feb 2005 21:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481525#M9755</guid>
      <dc:creator>Cosmo</dc:creator>
      <dc:date>2005-02-14T21:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Best method for deploying HP agents to servers with no agents installed?</title>
      <link>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481526#M9756</link>
      <description>Where's the script? :)</description>
      <pubDate>Tue, 15 Feb 2005 22:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481526#M9756</guid>
      <dc:creator>Derek_31</dc:creator>
      <dc:date>2005-02-15T22:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Best method for deploying HP agents to servers with no agents installed?</title>
      <link>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481527#M9757</link>
      <description>The attached file button doesn't work, so I'll copy it below.&lt;BR /&gt;&lt;BR /&gt;Note: The three SIM components must be preconfigured to point to the SIM server along with the SIM Admin account password.&lt;BR /&gt;&lt;BR /&gt;Sorry, the formatting is thrown out when submitting into this HTML page:&lt;BR /&gt;' ****************************************************************************************************************&lt;BR /&gt;' Purpose : Install HP's Version Control Agent and fixes the DNS record auto register problem (as stated in &lt;BR /&gt;'   : MS KB300684) on remote servers&lt;BR /&gt;' Inputfile : '.\Servers_VCA.txt" file containing servers to be updated&lt;BR /&gt;' Author : Cosmo Kramer&lt;BR /&gt;' Date   : Feb 2005&lt;BR /&gt;' Note  : The script turns 'Driver Signing' on each server to 'Ignore' to overcome the pop-up dialog box&lt;BR /&gt;' Setupc Return Codes : 0 = Success&lt;BR /&gt;'      : 1 = Error occurred that prevented a succeful installation&lt;BR /&gt;'      : 2 = One or more components failed to installation&lt;BR /&gt;'      : 3 = Failed to launch component due to user problem (ie. command line &lt;BR /&gt;&lt;BR /&gt;syntax)&lt;BR /&gt;' ****************************************************************************************************************&lt;BR /&gt;Const ForReading  = 1&lt;BR /&gt;Const RegHKLM  = &amp;amp;H80000002  ' HKLM Hive&lt;BR /&gt;Const strKeyPath1A = "SOFTWARE\Policies\Microsoft\Windows NT\DNSClient"&lt;BR /&gt;Const strKeyPath1B = "System\CurrentControlSet\Services\DnsCache\Parameters"&lt;BR /&gt;Const strKeyData1 = "UpdateTopLevelDomainZones"&lt;BR /&gt;Const strKeyPath2 = "System\CurrentControlSet\Services\Netlogon\Parameters"&lt;BR /&gt;Const strKeyData2 = "AllowSingleLableDnsDomain"&lt;BR /&gt;Const strKeyPath = "SOFTWARE\Microsoft\Non-Driver Signing"&lt;BR /&gt;Const strKeyData = "Policy"&lt;BR /&gt;Const strSPLevel = "4"&lt;BR /&gt;&lt;BR /&gt;Dim arrKeyValue : arrKeyValue = Array(0)    'Ignore Driver Signing warning user interface&lt;BR /&gt;Dim Quotes : Quotes = chr(34)      ' Double quotes&lt;BR /&gt;Dim strServerName : strServerName = ""   ' Server name from Inputfile&lt;BR /&gt;Dim strInputFile : strInputFile  = "Servers_VCA.txt" ' File containing servers to be updated Controllers&lt;BR /&gt;Dim intServerTotal : intServerTotal = 0    ' Total number of servers to be processed&lt;BR /&gt;Dim intServerCount : intServerCount = 0    ' Total number of servers processed&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Set objFileSystem = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;Set objShell   = CreateObject("Wscript.Shell")&lt;BR /&gt;Dim strCurrentPath : strCurrentPath = &lt;BR /&gt;&lt;BR /&gt;left(WScript.ScriptFullName,(Len(WScript.ScriptFullName))-(len(WScript.ScriptName)))&lt;BR /&gt;Set objInputFile = objFileSystem.OpenTextFile(strCurrentPath &amp;amp; strInputFile, ForReading, False)&lt;BR /&gt;&lt;BR /&gt;Wscript.echo "Processing..."&lt;BR /&gt;&lt;BR /&gt;Do While Not objInputFile.AtEndOfStream &lt;BR /&gt; Set intReturn_Reg = Nothing ' Modify Reg Key Return Code&lt;BR /&gt; Set intUpdate1 = Nothing&lt;BR /&gt; Set intUpdate2 = Nothing&lt;BR /&gt; Set intUpdate3 = Nothing&lt;BR /&gt; &lt;BR /&gt; strServerName = objInputFile.ReadLine&lt;BR /&gt; intServerTotal = intServerTotal + 1&lt;BR /&gt; If Toggle_Driver_Signing(strServerName) = 0 Then &lt;BR /&gt;  ' Driver Signing has been turned off, so now update the Version Control Agent&lt;BR /&gt;  intServerCount = intServerCount + 1&lt;BR /&gt;  &lt;BR /&gt;  ' Install VCA&lt;BR /&gt;  intUpdate1 = objShell.Run(Quotes &amp;amp; strCurrentPath &amp;amp; "PSP_W2K\setupc.exe" &amp;amp; Quotes &amp;amp; " &lt;BR /&gt;&lt;BR /&gt;/override-existing-connection /t:" &amp;amp; strServerName &amp;amp; " cp004191.exe", 1, True)&lt;BR /&gt;  If intUpdate1 = 0 Then&lt;BR /&gt;   Wscript.Echo strServerName &amp;amp; vbTab &amp;amp; "Ver Agent  " &amp;amp; vbtab &amp;amp; "Passed" &amp;amp; vbtab &amp;amp; intUpdate1&lt;BR /&gt;  Else&lt;BR /&gt;   Wscript.Echo strServerName &amp;amp; vbTab &amp;amp; "Ver Agent  " &amp;amp; vbtab &amp;amp; "Failed" &amp;amp; vbtab &amp;amp; intUpdate1&lt;BR /&gt;  End If&lt;BR /&gt; &lt;BR /&gt;  ' Install SIM Management Agent&lt;BR /&gt;  intUpdate2 = objShell.Run(Quotes &amp;amp; strCurrentPath &amp;amp; "PSP_W2K\setupc.exe" &amp;amp; Quotes &amp;amp; " &lt;BR /&gt;&lt;BR /&gt;/override-existing-connection /t:" &amp;amp; strServerName &amp;amp; " cp004188.exe", 1, True)&lt;BR /&gt;  If intUpdate2 = 0 Then&lt;BR /&gt;   Wscript.Echo strServerName &amp;amp; vbTab &amp;amp; "SIM Agent  " &amp;amp; vbtab &amp;amp; "Passed" &amp;amp; vbtab &amp;amp; intUpdate2&lt;BR /&gt;  Else&lt;BR /&gt;   Wscript.Echo strServerName &amp;amp; vbTab &amp;amp; "SIM Agent  " &amp;amp; vbtab &amp;amp; "Failed" &amp;amp; vbtab &amp;amp; intUpdate2&lt;BR /&gt;  End If&lt;BR /&gt;&lt;BR /&gt;  ' Install Diagnostic Online&lt;BR /&gt;  intUpdate3 = objShell.Run(Quotes &amp;amp; strCurrentPath &amp;amp; "PSP_W2K\setupc.exe" &amp;amp; Quotes &amp;amp; " &lt;BR /&gt;&lt;BR /&gt;/override-existing-connection /t:" &amp;amp; strServerName &amp;amp; " cp005075.exe", 1, True)&lt;BR /&gt;  If intUpdate3 = 0 Then&lt;BR /&gt;   Wscript.Echo strServerName &amp;amp; vbTab &amp;amp; "Diagnostic " &amp;amp; vbtab &amp;amp; "Passed" &amp;amp; vbtab &amp;amp; intUpdate3&lt;BR /&gt;  Else&lt;BR /&gt;   Wscript.Echo strServerName &amp;amp; vbTab &amp;amp; "Diagnostic " &amp;amp; vbtab &amp;amp; "Failed" &amp;amp; vbtab &amp;amp; intUpdate3&lt;BR /&gt;  End If&lt;BR /&gt; Else&lt;BR /&gt;  Wscript.Echo strServerName &amp;amp; vbTab &amp;amp; "Failed to turn off Driver Signing" &amp;amp; vbtab &amp;amp; "Version Control Agent not &lt;BR /&gt;&lt;BR /&gt;updated"&lt;BR /&gt; End If&lt;BR /&gt; &lt;BR /&gt; ' Fix the Single-Label DNS issue which causes Eventlog entries about not being able to auto register the DNS record&lt;BR /&gt; If DNS_Reg_Fix(strServername)= 0 Then&lt;BR /&gt;  Wscript.Echo strServername &amp;amp; vbTab &amp;amp; "DNS reg fix" &amp;amp; vbTab &amp;amp; "Passed"&lt;BR /&gt; Else&lt;BR /&gt;  Wscript.Echo strServername &amp;amp; vbTab &amp;amp; "DNS reg fix" &amp;amp; vbTab &amp;amp; "Failed or not required"&lt;BR /&gt; End If&lt;BR /&gt; Wscript.Echo&lt;BR /&gt;Loop&lt;BR /&gt;&lt;BR /&gt;objInputFile.Close&lt;BR /&gt;msgbox intServerCount &amp;amp; " of " &amp;amp; intServerTotal &amp;amp; " servers processed"&lt;BR /&gt;&lt;BR /&gt;' ****************************************************************************************************************&lt;BR /&gt;Function Toggle_Driver_Signing(Byval strServerName)&lt;BR /&gt; ' Purpose: Turns off Driver Signing registry key on remote server&lt;BR /&gt; ' Returns: '0' Success, '1' failure&lt;BR /&gt;&lt;BR /&gt; Dim intReturn, objReg&lt;BR /&gt;&lt;BR /&gt; On Error Resume Next&lt;BR /&gt; Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp;amp; strServerName &amp;amp; "\root\default:StdRegProv")&lt;BR /&gt; intReturn = objReg.SetBinaryValue(RegHKLM, strKeyPath, strKeyData, arrKeyValue)&lt;BR /&gt; On Error Goto 0&lt;BR /&gt;&lt;BR /&gt; If (Err.Number = 0) And (intReturn = 0) Then&lt;BR /&gt;  Toggle_Driver_Signing = 0&lt;BR /&gt; Else&lt;BR /&gt;  Toggle_Driver_Signing = 1&lt;BR /&gt; End If&lt;BR /&gt;&lt;BR /&gt; Set objReg = Nothing&lt;BR /&gt; Set intReturn = Nothing&lt;BR /&gt;End Function&lt;BR /&gt;&lt;BR /&gt;' ****************************************************************************************************************&lt;BR /&gt;Function DNS_Reg_Fix(Byval strServername)&lt;BR /&gt; ' Purpose: Modifies reg key on remote server to resolve DNS issue&lt;BR /&gt; ' Returns: '0' Success, '1' failure&lt;BR /&gt;&lt;BR /&gt; Dim objReg, intRegReturn1, intRegReturn2, intRegReturn3, strOSversion, strServicePack&lt;BR /&gt;&lt;BR /&gt; Set intRegReturn1 = Nothing&lt;BR /&gt; Set intRegReturn2 = Nothing&lt;BR /&gt; Set intRegReturn3 = Nothing&lt;BR /&gt; Set strServicePack= Nothing&lt;BR /&gt; DNS_Reg_Fix = 1&lt;BR /&gt; &lt;BR /&gt; Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp;amp; strServerName &amp;amp; "\root\default:StdRegProv")&lt;BR /&gt; Get_OS_Version strServername, strOSversion, strServicePack&lt;BR /&gt;&lt;BR /&gt; If strOSversion = "W2K3" Then&lt;BR /&gt;  intRegReturn1 = objReg.CreateKey(RegHKLM, strKeyPath1A, strKeyData1)&lt;BR /&gt;  intRegReturn2 = objReg.SetDWordValue(RegHKLM, strKeyPath1A, strKeyData1, 1)&lt;BR /&gt;  intRegReturn3 = objReg.SetDWordValue(RegHKLM, strKeyPath2, strKeyData2, 1)&lt;BR /&gt;  &lt;BR /&gt;  If (Err.Number = 0) And (intRegReturn2 = 0) And (intRegReturn3 = 0) Then&lt;BR /&gt;   DNS_Reg_Fix = 0&lt;BR /&gt;  End If&lt;BR /&gt; 'ElseIf strOSversion = "W2K" And StrComp(strServicePack, strSPLevel, vbTextCompare) = 0 Then &lt;BR /&gt; ' intRegReturn1 = objReg.CreateKey(RegHKLM, strKeyPath1B, strKeyData1)&lt;BR /&gt; ' intRegReturn2 = objReg.SetDWordValue(RegHKLM, strKeyPath1B, strKeyData1, 1)&lt;BR /&gt; ' intRegReturn3 = objReg.SetDWordValue(RegHKLM, strKeyPath2, strKeyData2, 1) &lt;BR /&gt;  &lt;BR /&gt; ' If (Err.Number = 0) And (intRegReturn2 = 0) And (intRegReturn3 = 0) Then&lt;BR /&gt; '  DNS_Reg_Fix = 0&lt;BR /&gt; ' End If  &lt;BR /&gt; End If&lt;BR /&gt; &lt;BR /&gt; Set objReg = Nothing&lt;BR /&gt;End Function&lt;BR /&gt;&lt;BR /&gt;' ****************************************************************************************************************&lt;BR /&gt;Sub Get_OS_Version(Byval strServername, strOSversion, strServicePack)&lt;BR /&gt; ' Purpose: Obtain remote server's OS and SP version&lt;BR /&gt; ' Returns: OS and SP version&lt;BR /&gt;&lt;BR /&gt; Dim objWMIService, strOSModel, objOperatingSystem, colOperatingSystems&lt;BR /&gt; &lt;BR /&gt; Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp;amp; strServerName &amp;amp; "\root\cimv2")&lt;BR /&gt; Set colOperatingSystems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")&lt;BR /&gt;&lt;BR /&gt; For Each objOperatingSystem in colOperatingSystems&lt;BR /&gt;  strOSModel = objOperatingSystem.Caption&lt;BR /&gt;  strServicePack = objOperatingSystem.ServicePackMajorVersion&lt;BR /&gt; Next&lt;BR /&gt;&lt;BR /&gt; If Instr(1,strOSModel,"2000", vbTextCompare) Then&lt;BR /&gt;  strOSversion = "W2K"&lt;BR /&gt; ElseIf Instr(1,strOSModel,"2003", vbTextCompare) Then&lt;BR /&gt;  strOSversion = "W2K3"&lt;BR /&gt; End If&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;' ****************************************************************************************************************&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Feb 2005 07:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/best-method-for-deploying-hp-agents-to-servers-with-no-agents/m-p/3481527#M9757</guid>
      <dc:creator>Cosmo</dc:creator>
      <dc:date>2005-02-17T07:27:17Z</dc:date>
    </item>
  </channel>
</rss>

