Installation on shutdown

Antworten
cj82
Beiträge: 6
Registriert: 17 Okt 2015, 12:10

Installation on shutdown

Beitrag 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
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Installation on shutdown

Beitrag 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

Code: Alles auswählen

import OPSI
cj82
Beiträge: 6
Registriert: 17 Okt 2015, 12:10

Re: Installation on shutdown

Beitrag 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
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Installation on shutdown

Beitrag von n.wenselowski »

Hi,

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


-N

Code: Alles auswählen

import OPSI
cj82
Beiträge: 6
Registriert: 17 Okt 2015, 12:10

Re: Installation on shutdown

Beitrag 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
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Installation on shutdown

Beitrag 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

Code: Alles auswählen

import OPSI
cj82
Beiträge: 6
Registriert: 17 Okt 2015, 12:10

Re: Installation on shutdown

Beitrag 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
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Installation on shutdown

Beitrag 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
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
cj82
Beiträge: 6
Registriert: 17 Okt 2015, 12:10

Re: Installation on shutdown

Beitrag 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
Antworten