how to modify IP number of Opsi config server?
how to modify IP number of Opsi config server?
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!
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: how to modify IP number of Opsi config server?
Hello,
did you run the following commands?
With kind regards
N. Wenselowski
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
N. Wenselowski
Code: Alles auswählen
import OPSI
Re: how to modify IP number of Opsi config server?
thanks for your reply, i executed comands above, but also have the same problem
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: how to modify IP number of Opsi config server?
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.
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!