LNF Windows WSUS Server Setup

Sistema full virtualized via XEN “HVM”

Installazione

    Create-vm wsussrv win –s 64G –v vgWIN
    lvcreate vgWIN -L 200G -n wsussrv.sdb
name = "wsussrv"
uuid = "287b43df-504d-486f-a752-46c386581c53"
maxmem = 2048
memory = 512
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
pae = 1
acpi = 1
apic = 1
localtime = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
keymap = "en-us"
vif = [ "type=ioemu, mac=00:16:3e:1c:ef:de, bridge=xbr84" ]
disk=["phy:/dev/vgWIN/wsussrv.sda,ioemu:hda,w","phy:/dev/vgWIN/wsussrv.sdb,ioemu:hdb,w" ]
# nuovo metodo cdrom che sembra non dare problemi
#disk=["phy:/dev/vgWIN/wsussrv.sda,ioemu:hda,w","file:/tmp/file.iso,ioemu:hdb:cdrom,r" ]
# vecchio metodo cdrom che dava problemi
#cdrom="/path/to/file.iso"
# seleziona device di boot c per disco d per cdrom
boot="c"
#boot="d"
parallel = "none"
serial = "pty"
# sistema problemi di controllo del mouse
usbdevice = "tablet"
xm create -c wsussrv --path=/xen.dom.cf/
disk=["phy:/dev/vgWIN/wsussrv.sda,ioemu:hda,w","phy:/dev/vgWIN/wsussrv.sdb,ioemu:hdb,w", 'file:/tmp/win2008entsp1eng.iso,ioemu:hdb:cdrom,r' ]
  Sheduled tasks (new folder lnf, new task: backup) 
  Action: wbadmin start backup –backuptarget:E: -include:c: -quiet

• Aggiunte le definizioni per il time setting (client NTP):

        C:\> w32tm /config /syncfromflags:manual /manualpeerlist:ntp.lnf.infn.it /update /reliable:yes
        C:\> w32tm /resync

• Aggiunto il ruolo “Windows Server Update Sevices” compresi gli altri ruoli suggeriti(IIS, File Services) per il buon funzionamento di WSUS

• Windows Server Update Services Configuratin Wizard

• Installato microsoft Report Viewer 2008 SP1 Redistributable

• Da Update Services→Wsussrv→Options→Automatic Approvals→Aggiunta regola per l’approvazione automatica degli update per tutti i computer