Upgrade existing Parallels Virtuozzo Containers 4.0 installations from Windows 2003 Service Pack 1 to Service Pack 2
Escrito por Sergio Sainz en PleskWindows, WindowsSYMPTOMS
I update two nodes to Windows 2003 Server SP2 and Virtuozzo containers doesn´t start.
C:\>vzlist -a
VEID NPROC STATUS IP_ADDR HOSTNAME
1 – stopped 10.89.222.125 SERVICECT
101 – stopped X.X.X.X vps1
102 – stopped X.X.X.X vps2
103 – stopped X.X.X.X vps3
104 – stopped X.X.X.X vps4
105 – stopped X.X.X.X vps5
I get an error when we try to start a CT:
C:\>vzctl –verbose start 1
Starting container …
INFO: Notify container 1: stopped starting
INFO: start_vps_locked: container 1
INFO: VpsVolumeMount() DISK_TYPE = 3 : 2
INFO: VpsVolumeMount() DISK_TYPE = 3 : 2
INFO: Completed successfully VzhiveMount: "C:\vz\Private\1\root\vzquota" "C:\vz\
Templates" "w2k3"
INFO: Applying patch to C:\vz\Private\1\root\WINDOWS\system32\win32k.sys…
INFO: Patching security database…
INFO: Done!
ERROR: Error 0×1 while executing script ‘on_vps_startup.cmd 1′
INFO: Notify container 1: stopped none
The log file shows this error:
VPS 1: ISMIGRATED=
VPS 1: starting gateway: nodetype: 2
VPS 1: starting with gateway: domain: dnsservers: nodetype: 2
VPS 1: sp1_sp2 upgrade failed
RESOLUTION
1. Backup all containers for emergency.
2. Run Virtuozzo autoinstaller vzinstall.exe, choose Download only mode. Once components list is fetched, please choose architecture and language you have installed on this node, click OK. Autoinstaller will download both SP1 and SP2 templates.
Note: If you run vzinstall.exe on SP1 server it does not download SP2 template, because the tool checks SP level of the server and downloads corresponding templates only.
3. Go to download folder specified on step 2 and find downloaded OS template archive: e.g. w2k3en_SP2_x86.ex_
3. Rename it to w2k3en_SP2_x86.exe and run to extracte template .efd file. E.g. it would be w2k3sp2_std_20070911_en_x86.efd
4. Copy extracted w2k3sp2_std_20070911_en_x86.efd to \vz\Templates\__cache folder next to the old SP1 template.
5. Stop all containers, including the Service Container:
for /F "skip=2 usebackq tokens=*" %i in (`cmd /c "vzlist -o veid"`) do vzctl stop %i
6. Ensure that all containers are stopped using "vzlist -a" command.
7. Uninstall current w2k3 OS template:
vzpkgdeploy -u w2k3
8. Ensure that \vz\Templates\w2k3 folder is removed.
9. Install w2k3 sp2 OS template:
vzpkgdeploy -i w2k3sp2_std_20070911_en_x86
Independently of complex template name it will be unpacked in \vz\Templates\w2k3 folder.
10. Install Microsoft Windows 2003 Service Pack 2 on the Node.
11. Reboot the Node.
IMPORTANT: Do not reboot the Hardware Node any time between steps 5 and 10.




Entradas (RSS)