Seite 1 von 1

Installation on shutdown

Verfasst: 17 Okt 2015, 12:25
von cj82
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

Re: Installation on shutdown

Verfasst: 23 Okt 2015, 12:11
von n.wenselowski
Hi,
cj82 hat geschrieben:I'm using the latesta versione of opsi server and client on windows 7
What versions are your running exactly?

You can check the opsiclientd.log on the client for further information.


-N

Re: Installation on shutdown

Verfasst: 23 Okt 2015, 18:37
von cj82
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 Bild

Re: Installation on shutdown

Verfasst: 28 Okt 2015, 09:58
von n.wenselowski
Hi,

could you check the opsiclientd.conf on the client for existance of host_id and host_key?


-N

Re: Installation on shutdown

Verfasst: 28 Okt 2015, 22:22
von cj82
this is values you required

Code: Alles auswählen

# Client id.
host_id = win-6inc8himqc0.local.domain

# Opsi host key.
opsi_host_key = 385f3c7cf03ac5e0b1de1741813e1933

Re: Installation on shutdown

Verfasst: 29 Okt 2015, 09:42
von n.wenselowski
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

Re: Installation on shutdown

Verfasst: 29 Okt 2015, 19:54
von cj82
I installed the agent in this way

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]#
this is client agent default
Bild

and this host parameters

Bild

Bild

this is che opsiclientd.conf on the host

http://pastebin.com/mDzRgSQ9

Re: Installation on shutdown

Verfasst: 29 Okt 2015, 21:17
von SisterOfMercy
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

Re: Installation on shutdown

Verfasst: 29 Okt 2015, 22:47
von cj82
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