Seite 1 von 3
Netboot
Verfasst: 31 Aug 2011, 15:54
von Cyler
Hey

Ich wollte mal Fragen, welche Gründe es haben kann, dass wenn ich einen Client hinzufüge und Windows Installation auf Setup setze, dass trotzdem nicht Windows installiert wird. Er findet einfach nichts. Weder bei einem richtigen PC noch bei einer Vm (mit dem PXE Loeader aus dem Handbuch). Der Bootvorgang wird fortgesetzt und es wird von der Fesplatte gestartet. Jmd ne Idee?
Falls weitere Informationen benötigt werden, nur fragen
PS: Ja ich habe alles eingetragen, Domäne, Ip, Mac Adresse etc pp.
Re: Netboot
Verfasst: 31 Aug 2011, 17:18
von Sch0rsch1
Bekommt der Client eine IP über DHCP & liegt im Pfad /tftpboot/linux/pxelinux.cfg auf dem opsi-Server eine passende Datei mit der MAC-Adresse des Clients?
Re: Netboot
Verfasst: 01 Sep 2011, 09:20
von Cyler
Da sind nur folgende Datein drin:
default.menu
Code: Alles auswählen
default menu.c32
timeout 10
prompt 0
noescape 1
menu title opsi boot menu
menu width 50
menu rows 2
menu helpmsgrow 10
menu timeoutrow 15
menu tabmsgrow -1
menu hshift 14
#menu vshift 9
menu color tabmsg 30;40 #00000000 #00000000 std
label hd
menu label Boot from ^local drive
text help
Boot operating system from local drive.
endtext
localboot 0
label install
menu label Start ^opsi bootimage
text help
Start opsi linux bootimage from tftp server.
endtext
kernel install
append initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash
default.nomenu
install
Code: Alles auswählen
default opsi-install
label opsi-install
kernel install
append initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash
default
Code: Alles auswählen
default menu.c32
timeout 10
prompt 0
noescape 1
menu title opsi boot menu
menu width 50
menu rows 2
menu helpmsgrow 10
menu timeoutrow 15
menu tabmsgrow -1
menu hshift 14
#menu vshift 9
menu color tabmsg 30;40 #00000000 #00000000 std
label hd
menu label Boot from ^local drive
text help
Boot operating system from local drive.
endtext
localboot 0
label install
menu label Start ^opsi bootimage
text help
Start opsi linux bootimage from tftp server.
endtext
kernel install
append initrd=miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash
Ja eine IP bekommt er. Gateway erkennt er auch.
Re: Netboot
Verfasst: 01 Sep 2011, 11:06
von d.oertel
Hi,
wenn bei einem Netboot product der Actionrequest auf setup gestellt wird, dann sollte
in dem pxelinux.cfg Verzeichnis eine Datei (named pipe) entstehen mit dem Namen
01-<MAC des Clients>
Gibt es diese nicht, so bitte prüfen ob der opsipxeconfd läuft und eventuell die dispatch.conf checken
ob hier der opsipxecond korrekt eingetragen ist.
Hilft das ?
gruss
d.oertel
Re: Netboot
Verfasst: 02 Sep 2011, 08:33
von Cyler
Es wird keine Datei gemacht.
Meine dispatch.conf ist:
Code: Alles auswählen
# -*- coding: utf-8 -*-
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
# = backend dispatch configuration =
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#
# This file configures which methods are dispatched to which backends.
# Entries has to follow the form:
# <regular expression to match method name(s)> : <comma separated list of backend name(s)>
#
# Backend names have to match a backend configuraton file basename <backend name>.conf beneath /etc/opsi/backends.
# For every method executed on backend dispatcher the first matching regular expression will be decisive.
#
# Typical configurations:
# file, opsipxeconfd and dhcpd backend:
# backend_.* : file, opsipxeconfd, dhcpd
# host_.* : file, opsipxeconfd, dhcpd
# productOnClient_.* : file, opsipxeconfd
# configState_.* : file, opsipxeconfd
# .* : file
#
# jsonrpc, opsipxeconfd and dhcpd backend:
# backend_.* : jsonrpc, opsipxeconfd, dhcpd
# .* : jsonrpc
#
# ldap as main backend, mysql as hw/sw invent and license management backend, opsipxeconfd and dhcpd backend:
# backend_.* : ldap, mysql, opsipxeconfd, dhcpd
# host_.* : ldap, opsipxeconfd, dhcpd
# productOnClient_.* : ldap, opsipxeconfd
# configState_.* : ldap, opsipxeconfd
# license.* : mysql
# softwareLicense.* : mysql
# audit.* : mysql
# .* : ldap
#
backend_.* : file, mysql, opsipxeconfd, dhcpd
host_.* : file, opsipxeconfd, dhcpd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
softwareLicense.* : mysql
audit.* : mysql
.* : file
Diese liegt in /etc/opsi
Re: Netboot
Verfasst: 02 Sep 2011, 09:47
von ueluekmen
Läuft der opsipxeconfd?
Re: Netboot
Verfasst: 02 Sep 2011, 09:59
von Cyler
Ja läuft.
Code: Alles auswählen
root@opsidemo:~# ps -e|grep opsi
1163 ? 00:00:03 opsiconfd
1222 ? 00:00:00 opsiconfd-guard
2133 ? 00:00:00 opsipxeconfd
Mitlerweile wird eine Datei erstellt. Wen ich sie aber mal mitn Editor aufmachen möchte, verschwindet sie.
Doch mit der Datei bootet er trotzdem nicht die Windows Installation
Re: Netboot
Verfasst: 02 Sep 2011, 10:12
von ueluekmen
Das ist auch der Sinn einer Pipe. Nachdem die Datei einmal gelesen wurde, wie auch immer, ist sie weg

.
Da die Datei erstellt wird, liegt das Problem eher in Richtung DHCP/TFTP, denn anscheinend, wir die Datei erstellt, aber vom Client nicht gelesen. Ich würde in diese Richtung forschen.
Re: Netboot
Verfasst: 02 Sep 2011, 10:19
von Cyler
Mhm... muss wohl.
Ich hab es mit einem virtuellen Server probiert, den ihr auch im Handbuch angegeben habt und einmal mit einem richtigen Rechner.
Kann es sein, dass Benutzerrechte auf soetwas Ausschlag sind?
Re: Netboot
Verfasst: 02 Sep 2011, 10:55
von d.oertel
Hi,
bitte mal schauen was für Einträge der tftpd in die Datei
/var/log/syslog
schreibt (und posten)
gruss
d.oertel