how to modify IP number of Opsi config server?

Antworten
fbt045
Beiträge: 6
Registriert: 21 Nov 2012, 07:39

how to modify IP number of Opsi config server?

Beitrag von fbt045 »

HI, when i modified IP number of host in /etc/hosts and /etc/dhcp/dhcpd.conf, following the OPSI document, i restarted opsi, but when i install OS for a client, in bootimage page, it still tried to link a old config server with old host IP number, so it didn't find it of course, i also modified /opt/pcbin/install/opsi-client-agent/files/opsi/cfg/config.ini, changed the IP number with new one, but can not have effect, please tell me how to resolve this quetion,thank you very much!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: how to modify IP number of Opsi config server?

Beitrag von n.wenselowski »

Hello,

did you run the following commands?

Code: Alles auswählen

opsi-setup --init-current-config --ip-address <your ip>
service opsiconfd restart
service opsipxeconfd restart
With kind regards

N. Wenselowski

Code: Alles auswählen

import OPSI
fbt045
Beiträge: 6
Registriert: 21 Nov 2012, 07:39

Re: how to modify IP number of Opsi config server?

Beitrag von fbt045 »

thanks for your reply, i executed comands above, but also have the same problem
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: how to modify IP number of Opsi config server?

Beitrag von SisterOfMercy »

Does this work correctly?
Opsi-setup says this:
--ip-address <ip> force to this ip address (do not lookup by name)

By this description I'm not sure if this is the correct way.

Anyway, I changed an OPSI server from 10.0.0.xxx to 10.23.0.xxx and some things worked. Some things broke:
Netinstalls work, but afterwards the windows login tries to contact the old IP address. Why should it not try to contact the DNS name of the OPSI-server?
On demand events were also broken, configed hangs, a restart of java is needed to fix it.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten