WOL / PXE Dienstmodus On- / Offline

Moderator: jknoth

Post Reply
RiM
Posts: 21
Joined: 15. Jul 2008, 10:33
Contact:

WOL / PXE Dienstmodus On- / Offline

Post by RiM » 24. Mar 2010, 14:40

Hallo,

wir betreiben einen Management- , einen DB- und zwei Depotserver an zwei Stadorten. DHCP ist auch extra.
Die Dienste WOl und PXE sollen jeweils auf den Depotservern Offline laufen.
%EmpirumServer% wird für die beiden Standorte per DHCP-Option gesetzt.
Der Servermodus für PXE ist auf "Kompatibilitätsmodus" gesetzt, da wir aus Migrationstechnischen Gründen die DHCP Optionen 43 und 60 verwenden müssen.

Die Einrichtung der Dienste erfolgte anhand des Dokuments "Empirum Sync Depot Setup HowTo".
Subdepot und Subdepot-Services sind den Depotservern zugewiesen, die Variablen sind korrekt gefüllt.
Die Beschreibungen in dem Dokument sind m.E. teilweise etwas widersprüchlich:
"Wenn Sie mit dem Empirum Paket "Empirum Subdepot Services" arbeiten, wird grundsätzlich die offline-Variante installiert."
...
"Falls Sie das Subdepot Services Paket nicht verwenden, schalten Sie in DBUtil unter Dienste bei WOL und PXE den Offline-Modus ein."
...
"Verteilen Sie für jeden Depot Server nicht nur das Subdepot Paket, sondern danach auch das Paket Subdepot-Services."
...

Die Dateien
dhcp_boot_info.ini dhcp_server_%depotservername%.ini Wol_setup.ini Wol_setup_%servername%.ini.local
werden angelegt

Unser Problem ist nun wie folgt:
- Wenn für beide Dienste WOL und PXE der Offline Modus gesetzt wird funktioniert WOL, aber kein PXE
- Wenn nur für WOL Offline und für PXE Online gewählt wird, fuktioniert WOL nicht mehr, dafür aber PXE wieder

Wie müssen die Dienste korrekt konfiguiert werden, damit beide Dienste WOL und PXE auf den Depotservern Offline laufen?

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Post by Hendrik_Ambrosius » 24. Mar 2010, 19:05

Hilfreich wäre - wie so oft - ein DebugView-Log für die beiden Szenarien.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

RiM
Posts: 21
Joined: 15. Jul 2008, 10:33
Contact:

Post by RiM » 25. Mar 2010, 13:56

Hallo Herr Ambrosius,
wir haben hier noch etwas geforscht und es funktioniert jetzt teilweise, aber nur wenn ein Client komplett mit WOL und OS.INI/PXE aktiviert wird:

Dientsmodus WOL Offline / PXE Offline:
DBGVIEW Managementserver:

Code: Select all

[7612] WOLService: Check for computers to be waked!
[7612] WOLService: Already in process 0
[7612] WOLService: Client is already waked in the file \\Localhost\EmpInst$\Wizard\OS\Auto/21F8CE9D/OS.INI for task 1
[7612] WOLService: Wake the 1 clients, burst amount = 15, with delay = 0 ms.
[7612] WOLService: *PULL* Sent Magic Paket to the client with the id:80
[7612] WOLService: data to send = (XXXX29D76FAA,,,12287)
[7612] WOLService: GetMagicData(strNic=XXXX29D76FAA)
DGBVIEW Depotserver:

Code: Select all

[2896] WOLService: Check for computers to be waked!
[2896] WOLService: Already in process 0
[2896] WOLService: Wake the 1 clients, burst amount = 15, with delay = 0 ms.
[2896] WOLService: *PULL* Sent Magic Paket to the client with the id:80
[2896] WOLService: data to send = (XXXX29D76FAA,,,12287)
[2896] WOLService: GetMagicData(strNic=XXXX29D76FAA)
...
[3544] DHCP :              : DSIK_DHCP_TIMER_EVENT
[3544] DHCP :              : DSIK_SOCKET_PROXY Event
[3544] DHCP : XXXX29d76faa : Received DHCPREQUEST
[3544] DHCP :              : DSIK_DHCP_EVENT - Dispatching Action
[3544] DHCP : XXXX29d76faa : Action:ACK
[3544] DHCP : XXXX29d76faa : MAC Address found!
[3544] DHCP : XXXX29d76faa : Entry for MAC address exists
[3544] DHCP : XXXX29d76faa : PXE frame
[3544] DHCP :  : Found BootInfo for id 8 .
[3544] DHCP : XXXX29d76faa : Filename: epe2boot.pxe
[3544] DHCP : XXXX29d76faa : Setting PXE_BOOT_ITEM...
[3544] DHCP : XXXX29d76faa : Sending: DHCPACK
[3544] DHCP : Stage file \\EMPDEPOT\EmpInst$\Wizard\Image\PXEImages/stg1ldr.cfg/XX-XX-29-d7-6f-aa has been written
[3544] DHCP : XXXX29d76faa : Sending packet to 10.XX.XX.174:4011
[3544] DHCP :              : DSIK_SOCKET_LISTENER Event
[3544] DHCP : deleting stage files \\EMPDEPOT\EmpInst$\Wizard\Image\PXEImages/stg1ldr.cfg/XX-XX-29-d7-6f-aa and \\EMPDEPOT\EmpInst$\Wizard\Image\PXEImages/stg2ldr.cfg/XX-XX-29-d7-6f-aa
[3544] DHCP : XXXX29d76faa : Received DLA_PXE_LOADED :  [
[3544] DHCP :              : DSIK_DHCP_TIMER_EVENT
Wenn aber nur WOL aber kein OS.INI/PXE aktiviert wird (weil z.B. nur Software installiert werden soll), passiert nichts:
DGBVIEW Depotserver:

Code: Select all

[2896] WOLService: Check for computers to be waked!
[2896] WOLService: Already in process 0
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 1
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 2
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 3
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 4
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 5
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 6
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 7
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 8
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 9
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 10
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 11
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 12
[2896] WOLService: Client is already waked in the file E:\EMPIRUM\EmpInst\Wizard\OS\Auto/27d3164d/OS.INI for task 13
Im Sync Monitor sind folgende Meldungen verzeichnet:

Code: Select all

ESubdepot_OS:25/03/2010 13:07:18 e:\empirum\empinst\wizard\os\Auto\29d76faa\OS.INI.WOL   Gefiltert:Name 
ESubdepot_OS:25/03/2010 13:07:18 e:\empirum\empinst\wizard\os\Auto\29d76faa\OS.INI.PXE   Gefiltert:Name 
ESubdepot_OS:25/03/2010 13:07:18 e:\empirum\empinst\wizard\os\Auto\27d3164d\OS.INI.WOL   Gefiltert:Name 
ESubdepot_OS:25/03/2010 13:07:18 e:\empirum\empinst\wizard\os\Auto\27d3164d\OS.INI.PXE   Gefiltert:Name 
Auffällig sind auch Meldungen dieser Art:

Code: Select all

ESubdepot_OS:25/03/2010 13:23:14  e:\empirum\empinst\wizard\os\Auto\29d76faa  The directory is not empty.
 FEHLER
ESubdepot_OS:25/03/2010 13:23:14  e:\empirum\empinst\wizard\os\Auto\27d3164d  The directory is not empty.
 FEHLER

User avatar
pkleiber
Posts: 831
Joined: 08. Dec 2004, 13:48
Contact:

Post by pkleiber » 25. Mar 2010, 14:21

Das Verhalten ist korrekt weil:

Die Dienste im Offline Modus ihre Informationen aus der jeweiligen OS.ini Datei des Clients beziehen müssen.

Da keine Kommunikation mit dem Server erlaubt / möglich ist werden hier die Informationen aus der OS.ini bezogen.
Patrick Kleiber
Support Engineer
Matrix42 AG

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG.

RiM
Posts: 21
Joined: 15. Jul 2008, 10:33
Contact:

Post by RiM » 25. Mar 2010, 15:27

D.h. also, wenn ich WOL Online betreibe, kann ich das MagicPacket nur vom Managementserver aus senden,
und wenn ich WOL Offline betreibe, kann ich zwar von den jeweiligen Depotservern aus senden,
muss aber immer - auch wenn nur Software verteilt werden soll - den Client mit Betriebssystem (OS.INI/PXE) aktivieren?

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Post by Hendrik_Ambrosius » 25. Mar 2010, 17:07

Nur mit OS.INI, nicht PXE für WOL.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

RiM
Posts: 21
Joined: 15. Jul 2008, 10:33
Contact:

Post by RiM » 25. Mar 2010, 17:16

Noch ein Problem:

Offenbar funktioniert WOL Offline nur im Zusammenhang mit PXE Offline (?)

In der Betriebsart PXE Offline funktioniert es nicht mehr, dass ein Client, der komplett aus der DB gelöscht wurde, per PXE wieder neu unter "Nicht qualifiziert" angelegt wird.

Code: Select all

[2896] WOLService: Check for computers to be waked!
[2896] WOLService: Already in process 0
[2896] WOLService: Client is already waked in the file E:EMPIRUMEmpInstWizardOSAuto/29D76FAA/OS.INI for task 1
[1216] DHCP :              : DSIK_SOCKET_PROXY Event
[1216] DHCP : XXXX29d76faa : Received DHCPREQUEST
[1216] DHCP :              : DSIK_DHCP_EVENT - Dispatching Action
[1216] DHCP : XXXX29d76faa : Action:ACK
[1216] DHCP : XXXX29d76faa : MAC Address found!
[1216] DHCP : XXXX29d76faa : Entry for MAC address exists
[1216] DHCP : XXXX29d76faa : PXE frame
[1216] DHCP :  : Found BootInfo for id 8 .
[1216] DHCP : XXXX29d76faa : Filename: epe2boot.pxe
[1216] DHCP : XXXX29d76faa : Setting PXE_BOOT_ITEM...
[1216] DHCP : XXXX29d76faa : Sending: DHCPACK
[1216] DHCP : Stage file ASP-EMPTEST-P2EmpInst$WizardImagePXEImages/stg1ldr.cfg/XX-XX-29-d7-6f-aa has been written
[1216] DHCP : XXXX29d76faa : Sending packet to XX.XX.XX.174:4011
[1948] LockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES/EPE2BOOT.PXE
[1948] UnlockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES/EPE2BOOT.PXE
[1948] LockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES/EPE2BOOT.PXE
[1948] UnlockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES/EPE2BOOT.PXE
[1216] DHCP :              : DSIK_SOCKET_LISTENER Event
[1216] DHCP : deleting stage files ASP-EMPTEST-P2EmpInst$WizardImagePXEImages/stg1ldr.cfg/XX-XX-29-d7-6f-aa and EMPDEPOTEmpInst$WizardImagePXEImages/stg2ldr.cfg/XX-XX-29-d7-6f-aa
[1948] UnlockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES/STG1LDR.CFG/XX-XX-29-D7-6F-AA
[1216] DHCP : XXXX29d76faa : Received DLA_PXE_LOADED :  [
[1948] LockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES/EPE2BOOT/KERNEL
[1948] UnlockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES/EPE2BOOT/KERNEL
[1948] LockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES//EPE2BOOT/INITRD.GZ
[1948] UnlockForRead E:/EMPIRUM/EMPINST/WIZARD/IMAGE/PXEIMAGES//EPE2BOOT/INITRD.GZ
[1216] DHCP :              : DSIK_DHCP_TIMER_EVENT
Nun sind wir in ein Zwickmühle; einerseits müssen wir WOL Offline betreiben, um die MagicPackets von den Depotservern senden zu können,
anderseits funktioniert dann wegen dem dafür benötigten PXE Offline das Erkennen nicht in der DB befindlicher Clients nicht mehr.

Oder auch wie in meinem ursprünglichen Beitrag geposted:
" ...
- Wenn für beide Dienste WOL und PXE der Offline Modus gesetzt wird funktioniert WOL, aber kein PXE
- Wenn nur für WOL Offline und für PXE Online gewählt wird, fuktioniert WOL nicht mehr, dafür aber PXE wieder
..."

Post Reply

Return to “OS Installer”

Who is online

Users browsing this forum: No registered users and 1 guest