[Fusioninventory-devel] Deployment in unattended-gui

Mario Gzuk mariogzuk at technikz.de
Wed Nov 3 14:49:24 UTC 2010


Hi,
I currently dont know the state of the deployment part in
fusioninventory, so I have written down some tasks how the installation
process works in unattended-gui and how the current agent does his work.
There is mainly only one script to call: wemereg.cmd for MS Windows
based systems and wemerge.sh for all other *ix/linux based systems, also
for OSX.
The script is designed for use with cron, scheduled tasks and other time
based mechanisms to automatical run tasks.

TASK Install:
This 2 calls will install/uninstall software:
--automatic-service
	Installs all software assigned to a computer
--automatic-service-user
	Installs all software which riquires a user login (a user must be
logged in)

TASK Update:
This 2 calls will update software:
--update-automatic-service
	Updates all software assigned to a computer
--update-automatic-service-user
	Updates all software which riquires a user login (a user must be logged in)

TASK User:
This call will install Software assigned to a group or/and to a user:
--automatic-usersoftware
 Install/remove software assigned to the currently logged in user and
the groups he belongs to.

The current agent has integrated 3 timer to controll the differnt tasks:
TIMER_WEMERGE=2 -> timer to run all tasks after startup
TIMER_WEMERGE_INSTALL=120 -> run
	--automatic-service
	--automatic-service-user
TIMER_WEMERGE_UPDATE=480 -> run
	--update-automatic-service
	--update-automatic-service-user
TIMER_WEMERGE_USER=120 -> run
	--automatic-usersoftware

The agent knows the share and how to access the share (here for windows
-> net use command):
UAGUI_SHARE=\\server\share
UAGUI_DRIVELETTER=Z:
UAGUI_USER=user to mount the share
UAGUI_PASSWORD=Pasword to mount the share

The agent do the same things in windows as in other systems (currently
our agent only runs on windows based systems):
1.) mount the share (on Linux/etc it should be possible to mount the
share as NFS,SSHFS or CIFS)
2.) run the Specified Task (Install,Update or User)
3.) umount the share

In this way the agent is completley detached to the procedures in
wemerge, and all changes in wemerge should not affect the agent.

What to think about:
1.) it should be possible to fetch the "how to access the share" vars
from the server (because of possible changes)
2.) get the timer from the GUI, like in the Inventory task
3.) should the mount command be published from the server?
4.) make it possible to download the environment for install to a local
path and run it only local without mounting anything

What do you think? Should I open a FR for this? Have you questions about
that (sorry my english might not be the best... so feel free to ask if
there is to much babble inside).

Cheers



More information about the Fusioninventory-devel mailing list