Article ID: 5509, created on Jul 30, 2008, last review on Aug 12, 2014

  • Applies to:
  • Virtuozzo containers for Windows 4.0

Solution

1. Create an x86 Container with a 10G disk, >512Mb memory, and the following templates installed:



If templates are not available, WSUS installation will succeed anyway, as all required components will be added to the CT directly.

Note: 
If the x64 architecture container is used, it is necessary to install ASP.NET 1.1 SP1 inside the container and enable the 32-bit mode.

Microsoft .NET Framework Version 1.1 Redistributable Package:
http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en

Microsoft .NET Framework 1.1 Service Pack 1:
Upon ASP.NET 1.1 installation, run the following command to enable the 32-bit mode of ASP.NET 1.1:
"cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1"

2. Download the required software:

   - WSUS 2.0 SP1: http://technet.microsoft.com/en-us/wsus/bb466206.aspx
   - VUS: http://download.parallels.com/virtuozzo/virtuozzo4.0/windows/vusinstall.exe

3. Start WSUS install:

   - Use the existing MSDE database during the WSUS install.
   - When asked, provide vzwinupdate.swsoft.com as the server to sync from.



4. Install VUS (use defaults).

5. Once WSUS and VUS are installed, make sure to start IIS and configure it for automatic startup:

net start w3svc
sc config w3svc start= auto

6. Open WSUS administrator web interface: http://SERVER-HOSTNAME/WSUSAdmin/

      Change Options, Computers Options.
      Select “Use Group Policy or registry settings on computers.”
      Click “Save settings.”



    - Configure automatic synchronization: Options, Synchronization Options



    - Start the initial sync from the Home page: click “Synchronize now”

7. Start “Virtuozzo Update Services Manager”

    - Reload products managed by VUS. If the VUS container is located behind a proxy server, it is required to configure the corresponding section and hit "Save Changes."


 
    - Configure the synchronization schedule (make sure to hit “Save changes”):



    - Start the initial sync:



8. Configure Virtuozzo servers to use the new WSUS and VUS.

Replace 192.168.25.46 with the IP or hostname of the WSUS+VUS Container and then run the following on every Virtuozzo server (copy/paste to the command line):

rem Confugure Virtuozzo Updates URL
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\{400BCF11-F8ED-4093-9B33-C164B76A1D65} /v URL /f /d http://192.168.25.46/vzwin/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\{6F8A99AF-96C7-482D-941E-96796F249721} /v URL /f /d http://192.168.25.46/vztools/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\{BD16A5A6-CCEB-4C4F-A5CC-0E2006FF4D29} /v URL /f /d http://192.168.25.46/vzmc/v4.0/updates.xml
net stop vzupsvc &net start vzupsvc


rem Configure Windows Updates URL
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate" /v WUServer /f /d http://192.168.25.46
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate" /v WUStatusServer /f /d http://192.168.25.46
net stop wuauserv &wuauclt /resetauthorization /detectnow


9. To change the settings back to the default WSUS and VUS, use this:

rem Confugure Virtuozzo Updates URL
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\{400BCF11-F8ED-4093-9B33-C164B76A1D65} /v URL /f /d http://vzwinupdate.sw-soft.com/vzwin/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\{6F8A99AF-96C7-482D-941E-96796F249721} /v URL /f /d http://vzwinupdate.sw-soft.com/vztools/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\{BD16A5A6-CCEB-4C4F-A5CC-0E2006FF4D29} /v URL /f /d http://vzwinupdate.sw-soft.com/vzmc/v4.0/updates.xml
net stop vzupsvc &net start vzupsvc


rem Configure Windows Updates URL
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate" /v WUServer /f /d http://vzwinupdate.sw-soft.com
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate" /v WUStatusServer /f /d http://vzwinupdate.sw-soft.com
net stop wuauserv &wuauclt /resetauthorization /detectnow

Additional Information

How to install WSUS and VUS for Parallels Containers 4.5 in Windows 2008 container

28d0f7cc091e3b9304fa556c03f9a940 965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF