zenworks

"Poverty makes slaves of men. In order to eat they will do work they hate. Any work that isn't joyful is wrong."
-Andre Gide, The Immoralist

software packaging
AdminStudio
Repackager - Create packages
Tuner - Create transforms
Distribution Wizard - Create Zen objects

msiexec /option
/a = admin install
/x = uninstall
/i = install

reboot=reallysuppress

snAppShot
\\server\public\snapshot\snapshot.exe

disable the zenworks desktop mgt splashscreen (zen7):
add the  /ns switch to the end of the startup shortcut for Application Explorer

our terminal server:
10.9.91.167

vista/zcm lab pix:

speculation:
zcm 10.1 is supposed to be released april-june 2008, vista sp1 support is rumored to be included


try windows vista upgrade advisor on xp machines - 280, 755 - take screenshots

imaging (zen7):
on optiplex 745
base xp: 6min
addons (w/ full office 2k3): 5min
reboot1: sysprep (pnp): 3min

reboot2: novell client/zen agent: 2min
installation of addons (w/ full office 2k3): 4min
total time: 20 min

zcm (zen 10) imaging bootcd:
kernel 2.6.16.46-0.12-default (non-smp) other: 586 REGPARM gcc-41
dell optiplex 745 nic driver - broadcom tigon3 (tg3)
dell optiplex 755 nic driver - intel 82566DM-2 Gigabit (e1000)

link to novell zcm forums

method for adding drivers to zcmbootcd
1. download the pulsar kernel source
2. unarchive source in /usr/src
3. create symbolic link like so "ln -s linux-2.6.16.46-0.12 linux"
4. from /usr/src/linux issue a make mrproper
5. then cp /boot/config-`uname -r` ./.config
6. make menuconfig
7. load .config
8. turn off any smp features (pic)
9. set the append to -default
10. turn off "module versioning support" * (pic)
11. exit and save config
12. issue a make rpm (which should run make clean before launching)
13. from /usr/src/packages/RPMS/i386 run rpm -ivh <kernelname>.rpm
14. run mkinitrd
15, run yast or whichever configuration tool for editing the bootloader
16. make entry for new kernel
17. boot the pulsar kernel
18. download driver source from manufacturer website (intel in this case)
19. from the running pulsar kernel, compile the driver source with a make
20. the .ko is the file of importance...in this case e1000.ko
21. adding the newly compiled driver to initrd on the bootcd by first copying the initrd to a linux system
22. mv initrd initrd.gz, gunzip initrd.gz, mkdir work, cd work, cpio -idmuv < ../initrd > /dev/null 2>&1 (straight from zcm documentation)
23. add kernel modules to work/lib/modules/2.6.16.46-override-default/initrd
24. get vendor and device info by running hwinfo --netcard
25.  vendor: 0x8086 device: 0x10bd = newid="0x8086 0x10bd,e1000"
26. edit linuxrc.config at the root of work and add newid entries
27, repackage initrd by: cd work, find . | cpio --quiet -o -H newc > ../initrd, cd .. (from zcm docs)
28.  then... gzip -v9c initrd > initrd.gz, mv initrd.gz initrd (also from zcm docs)
29. now copy the initrd file back to the iso - path /boot/i386/loader

other notes:
i was running the following commands to get the nic up and running until i added the "newid" entry
modprobe e1000
ifconfig eth0 up
/sbin/dhcpcd

i was also using an eval of magiciso to do all the iso editing

modinfo? dmesg errors?

add settings.txt to root of cd...zen imaging server ip: 10.9.91.27
* if this step is not done "unknown symbol in module, or unknown parameter errors will show up when attempting to load the module
dmesg will report "unknown symbol" and "disagrees about version of symbol"

location of utilities: http://zenserver/zenworks-setup

commandline:
zcm agent setup options
-h help
-x suppress reboot
-n extract package contents
-v verbose

zac
unr unregister from zone
reg register to specified zone

zisedit
-r removes image safe data store
-c clears image safe data
-h help

zman
<category> ---help (for example database --help)
dgc (database-get credentials) - retrieves credentials for embedded database