Product:
Search Type:

[How to] How to install WSUS and VUS in a Virtuozzo CT.

Article ID: 5509 
Last Review: Jul,31 2008
APPLIES TO:
  • Virtuozzo Containers for Windows 4.0

Solution

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



Note: if templates are not available, WSUS installation will succeed anyway, all required components will be added to CT directly.

2. Download 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 existing MSDE database during WSUS install
   - When asked, provide vzwinupdate.swsoft.com as the server to sync from



4. Install VUS, use defaults

5. Once WSUS and VUS is 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: press “Synchronize now”

7. Start “Virtuozzo Update Services Manager”

    - Reload products managed by VUS:


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



    - Start the initial sync:



8. Configure Virtuozzo servers to use new WSUS and VUS

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

rem Confugure Virtuozzo Updates URL
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\ /v URL /f /d http://192.168.25.46/vzwin/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\ /v URL /f /d http://192.168.25.46/vztools/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\ /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 settings back to default WSUS and VUS use this:

rem Confugure Virtuozzo Updates URL
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\ /v URL /f /d http://vzwinupdate.sw-soft.com/vzwin/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\ /v URL /f /d http://vzwinupdate.sw-soft.com/vztools/v4.0/updates.xml
reg add HKEY_LOCAL_MACHINE\SOFTWARE\SWSoft\VZUpdates\ /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
Keywords: WSUS VUS

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields