Installation on shutdown
Installation on shutdown
Hi everybody,
I habe a problem with this feature of OPSI. I set it like default behaviour but it works only the first time ( after client installation ).
why?what's the problem? What I can check?
I'm using the latesta versione of opsi server and client on windows 7
I habe a problem with this feature of OPSI. I set it like default behaviour but it works only the first time ( after client installation ).
why?what's the problem? What I can check?
I'm using the latesta versione of opsi server and client on windows 7
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Installation on shutdown
Hi,
You can check the opsiclientd.log on the client for further information.
-N
What versions are your running exactly?cj82 hat geschrieben:I'm using the latesta versione of opsi server and client on windows 7
You can check the opsiclientd.log on the client for further information.
-N
Code: Alles auswählen
import OPSI
Re: Installation on shutdown
I'm using 4.0.6.10-7.1 versione on Centos 7 and opsi client 4.0.6.3-5 on W7
here opsiclientd log of a sequence of 2 reboot: in the first the host checked if there was something to do, in the second it did not do nothing
here the opsiclientd log: http://pastebin.com/jNqNzQQh
and this is my opsiclientd default configuration
here opsiclientd log of a sequence of 2 reboot: in the first the host checked if there was something to do, in the second it did not do nothing
here the opsiclientd log: http://pastebin.com/jNqNzQQh
and this is my opsiclientd default configuration

- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Installation on shutdown
Hi,
could you check the opsiclientd.conf on the client for existance of host_id and host_key?
-N
could you check the opsiclientd.conf on the client for existance of host_id and host_key?
-N
Code: Alles auswählen
import OPSI
Re: Installation on shutdown
this is values you required
Code: Alles auswählen
# Client id.
host_id = win-6inc8himqc0.local.domain
# Opsi host key.
opsi_host_key = 385f3c7cf03ac5e0b1de1741813e1933
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Installation on shutdown
Hi,
that is good.
Did you set the properties of the opsi-client-agent for that client to use the installation by shutdown?
Do you have any host parameters for that client set that differ from the default?
With kind regards
Niko
that is good.
Did you set the properties of the opsi-client-agent for that client to use the installation by shutdown?
Do you have any host parameters for that client set that differ from the default?
With kind regards
Niko
Code: Alles auswählen
import OPSI
Re: Installation on shutdown
I installed the agent in this way
this is client agent default

and this host parameters


this is che opsiclientd.conf on the host
http://pastebin.com/mDzRgSQ9
Code: Alles auswählen
[root@opsi opsi-client-agent]# ./opsi-deploy-client-agent -u peppe -p peppe -o -v --use-ip-address 192.168.1.222
Starting deployment to host 'win-6inc8himqc0.local.domain'
Pinging host 192.168.1.222 ...
Host 192.168.1.222 is up
Getting hardware ethernet address of host 'win-6inc8himqc0.local.domain'
Found hardware ethernet address '00:0c:29:a5:7c:3d'
Creating client 'win-6inc8himqc0.local.domain'
Testing winexe
Patching config.ini
Copying installation files
Installing opsi-client-agent
opsi-client-agent successfully installed on 'win-6inc8himqc0.local.domain'
[root@opsi opsi-client-agent]#

and this host parameters


this is che opsiclientd.conf on the host
http://pastebin.com/mDzRgSQ9
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Installation on shutdown
Is the servername really opsi.local.domain?
I'm not sure, but perhaps this gives a few problems? It might be a valid fqdn if some words are not reserved.
What I find to be weird is the clientconfig.configserver.url. It is an ip address, and not https://opsi.local.domain:4447/rpc
I'm not sure, but perhaps this gives a few problems? It might be a valid fqdn if some words are not reserved.
What I find to be weird is the clientconfig.configserver.url. It is an ip address, and not https://opsi.local.domain:4447/rpc
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: Installation on shutdown
yeah. It is testing system. I don't have dns then I can't use fqdn name ( dns lookup would fail ). With this configuration startup install works fine