After getting some requests for a howto on installing ZenWorks on top of SLES, here's a quick writeup.
NOTE: To avoid issues with certain services install ZenWorks 7 on a SLES 10 32 bit version. For those successfully running Zen7 on 64bit, I'd appreciate your feedback
--UPDATE (07-06-2009) : Zen7 SP1 IR4 fixes this issue, see http://www.diwi.nl/node/45 for more info--
Read more on installing a SLES 10 base including eDirectoy 8.8.3
Recommended minimum:
If using Imaging and Inventory your server will need at least 20 GB of free space and 2GB+ of RAM.
Preparing for the Zenworks install:
ZEN7_with_SP1_IR2_DesktopMgmtLinux.iso
1) Installing Zenworks Services:
- Mount the ZenWorks 7 iso file to /mnt and run setup.
mount -o loop /[path]/ZEN7_with_SP1_IR2_DesktopMgmtLinux.iso /mnt
cd /mnt
./setup
* Setup tip: You can enter back and quit commands in the installer console to step back a page or gracefully exit the install.
Press ENTER 2x ,read through the prerequisites and press q.
Read through the EULA and press q & Y to accept.
- At the Install Products section you can select to install all products or customize to only install specific products.
Generally I'd say, install all products and only run the needed services. After making the selections proceed to the install parameters.
* NOTE: The Middle tier service is not supported on SLES 10
Parameters when installing:
-Use Standalone Mode?
Generally you don't want to install in Standalone Mode. If set to standalone mode the installer will create default policies and link the server policy to the inventory database. This lends for an easy setup if this is the only ZenWorks server in your network. Normally I leave Standalone Mode deselected and configure the policies manually.
- Inventory server context : enter the container where the objects will be created. Generally you'd enter the container holding the server object you are installing on.
- use ssl Y (The certificate must have been exported as preparation step - if you don't have it set to N)
- ssl cer path (as done in pre task /root/TrustedRootCert.der)
You'll now be presented with the installation overview.
When satisfied with the settings hit enter to install!
NOTE: ZenWorks will be installed in /opt/novell/zenworks
~
2) Post Install tasks
- After the installation has finished check the logfile.
cat /var/log/ZENworks_Desktop_Management_InstallLog.log | less
It should state 165 SUCCESSES and 0 Warnings and Errors. The successes number depends on how many ZenWorks products were installed.
If errors have occurred they must be resolved or the services might not work as expected.
- Unmount the ZenWorks installation media:
umount /mnt
- (OPTIONAL) Add the following ZenWorks bin paths to /etc/profile
/opt/novell/zenworks/bin
/opt/novell/zenworks/preboot/bin
3) Checking and configuring your services
You can now check the ZenWorks services:
ZDMStart status
Configuring Policies:
Using ConsoleOne you can now create or adjust the server policy with the correct import, remove & inventory properties.
PDHCP / PXE services are disabled by default.
To turn these services on:
chkconfig novell-proxydhcp on
service novell-proxydhcp start
~
Reboot and check if all services have started and are running
ZDMStart status
Apply the latest patches:
1) ZDML 7 SP1 IR3a.zip ( link to download )
2) ZDML7SP1IR3a_HP1.zip ( link to download )
* newer patches may be available
For both mentioned patches simply unzip the files and change into the folder where the files have been unzipped to.
!! Before installing the patches stop the ZDM services using ZDMStop
Install the upgrades (using the force switch):
rpm -Fhv *.rpm
Start the service again with ZDMStart
With ZDMStart status check is the services are running.
Also start the Inventory service at lease once to the update database.
--
Your ZenWorks server should now be up and running.
NOTE: The imaging service does not need NCP or SAMBA server configured to work.
It can be easyer for administration tasks to enable SAMBA so the images can be accessed and modified (using Zen's image explorer) on Windows platforms.
Easy SAMBA setup can be done using YaST > SAMBA Server
Also set the password for specified users with smbpasswd to be able to access the samba shares.
