How to deploy a package?

Antworten
elacheche
Beiträge: 8
Registriert: 10 Feb 2012, 18:13

How to deploy a package?

Beitrag von elacheche »

Hey :)
I have succesfully create my OPSI package, but, I don't know how to deploy it!!??
The opsi-client-agent is installed on my client, I have select the package to be "setup" but nothing happens :/

Sorry for my bad English..
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: How to deploy a package?

Beitrag von uncle_scrooge »

Assuming you set up your package to 'setup' and saved the configuration afterwards, you can

a. reboot your client machine. The agent will then detect the GUI startup and ask the server whether there is work to do.
b. go to the configed. Mark your client. Find the menu entry 'OPSIClient'.
Choose the second entry in the drop down menu (in English it's named 'Fire "on demand" event on selected clients')

Regards
elacheche
Beiträge: 8
Registriert: 10 Feb 2012, 18:13

Re: How to deploy a package?

Beitrag von elacheche »

uncle_scrooge hat geschrieben:Assuming you set up your package to 'setup' and saved the configuration afterwards, you can

a. reboot your client machine. The agent will then detect the GUI startup and ask the server whether there is work to do.
b. go to the configed. Mark your client. Find the menu entry 'OPSIClient'.
Choose the second entry in the drop down menu (in English it's named 'Fire "on demand" event on selected clients')

Regards
Thx for you answer.. actually I already do what you write :)
After serching in the forum thread by thread I find that netlogon service need to be start, however everytime I start it, it re-stop again..
Need I to add my client to the domain so I will be able to start netlogon???
elacheche
Beiträge: 8
Registriert: 10 Feb 2012, 18:13

Re: How to deploy a package?

Beitrag von elacheche »

elacheche hat geschrieben:
uncle_scrooge hat geschrieben:Assuming you set up your package to 'setup' and saved the configuration afterwards, you can

a. reboot your client machine. The agent will then detect the GUI startup and ask the server whether there is work to do.
b. go to the configed. Mark your client. Find the menu entry 'OPSIClient'.
Choose the second entry in the drop down menu (in English it's named 'Fire "on demand" event on selected clients')

Regards
Thx for you answer.. actually I already do what you write :)
After serching in the forum thread by thread I find that netlogon service need to be start, however everytime I start it, it re-stop again..
Need I to add my client to the domain so I will be able to start netlogon???
Hi again XD
NETLOGON is working right now.. And I have this error when I chose the on demand event:

Code: Alles auswählen

xxxxx.xxxx.xx:	 [Errno -2] Name or service not known
PS: the x is the name of my client..
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: How to deploy a package?

Beitrag von uncle_scrooge »

OK, first of all, the netlogon service is not needed for the opsiclientd. I have three Windows Server 2008 R2 here without a running netlogon service, which work fine.
And, as you have already realized, the netlogon service runs only on machines which joined a domain.

[Errno -2] Name or service not known
I checked the german forum, and this error smells like a problem with name resolution.

Some questions.
What version of OPSI are you running? (If on Ubuntu/Debian, dpkg -l | grep opsi should do the trick).
Are your server and client on different subnets?
How is your DNS/DHCP config?

Maybe this will be of help:
viewtopic.php?f=7&t=1804&p=8993&hilit=Errno#p8993
It's in German, but I copied out the funny parts:

Edit /etc/opsi/opsiconfd.conf
[session]
update ip = yes

Restart opsiconfd
/etc/init.d/opsiconfd restart

Restart your client.

Regards
elacheche
Beiträge: 8
Registriert: 10 Feb 2012, 18:13

Re: How to deploy a package?

Beitrag von elacheche »

Thx for your answer uncle_scrooge
uncle_scrooge hat geschrieben: What version of OPSI are you running? (If on Ubuntu/Debian, dpkg -l | grep opsi should do the trick).
I'm using the latest version: 4.0.1
uncle_scrooge hat geschrieben: Are your server and client on different subnets?
No, they are in the same subnet..
uncle_scrooge hat geschrieben: How is your DNS/DHCP config?
Have no idea, I'm not the sysadmin, I'm a trainee..
uncle_scrooge hat geschrieben: Maybe this will be of help:
viewtopic.php?f=7&t=1804&p=8993&hilit=Errno#p8993
It's in German, but I copied out the funny parts:

Edit /etc/opsi/opsiconfd.conf
[session]
update ip = yes

Restart opsiconfd
/etc/init.d/opsiconfd restart

Restart your client.

Regards
Thx for that :)
After doing that I have this error right now :oops:

Code: Alles auswählen

xxx.xxxxxx.xx:	 Opsi timeout error: Timed out after 15 seconds ([Errno 103] Software caused connection abort)
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: How to deploy a package?

Beitrag von uncle_scrooge »

Hm.
Back to square one.
Let's start simple:

On your client, the service 'opsiclientd' is running?
The IP address of your client is the one that is shown in the OPSI console?
From your client, you can ping your OPSI server by IP address and name?
From your client, you can successful telnet to your OPSI server (telnet <OPSI address> 4447)?
From your OPSI server, you can ping your client by IP address and name?
From your OPSi server, you can telnet to your client (telnet <client address> 4441)?

Regards
Peter
Antworten