Novell Home

Auto-Installation of NetWare 5.0 SP5 using ZENworks for Servers 1.0

Novell Cool Solutions: Feature
By John Horn

Digg This - Slashdot This

Posted: 23 Jun 2000
 

Current Version: ZENworks for Servers 1.0

If you're using ZENworks for Servers 1.0, and you want to apply the latest NetWare 5.0 Support Pack (SP5), you're going to love this. If you were the guy who talked the bosses into buying ZfS, you're about to become a local hero.

To use this utility, we assume you know how to use ZfS to create Server Software Packages (SSPs). If you need a little refresher, check here to go to the online documentation.

Prerequisites and Gotchas

This utility, that we are providing as a Cool Solution, has had limited testing. No interoperability testing has been done. We highly recommend you test this in a non-production environment before rolling it out to your production servers. This tool is released as-is. It is not supported by Novell Technical Support. If you use this utility as outlined below, it should work beautifully and save you a considerable amount of time.

Listed below are the prerequisites and gotchas we know about thus far:

  1. ZENworks for Servers 1.0 must be setup and working.
  2. All prerequisites for installing are still in place. You will need to follow the Readme.txt file that comes with the Support Pack to make sure your environment is ready for the Support Pack.
  3. The intended use of this utility is to go from NW5SP4x to NW5SP5. It will not work with previous Support Packs. At this time, it will not work with NW5.1 support packs.
  4. In creating this CPK, you will have to enter your admin password and user name. There is a potential security risk you should know about. Your password could be extracted from the SPK but only with considerable effort. To prevent this from happening, we suggest you create a temporary admin account, push out the CPK, and when the installation has successfully completed, delete the temporary account.
  5. If you do not put in a user name and password, you will not be able to continue.
  6. If you put in the incorrect User Name and Password, the servers will hit that point of the SP installation and wait for user intervention. It will sit at the Login prompt until you intervene.
  7. Part of the installation will unload ZfS on all servers you are pushing the Support Pack out to. It is important to check and recheck everything you enter. If you misspell the user name, password, or anything else on the command line, the Support Pack installation will error out, and you will have to manually reload ZENworks for Servers on all your servers that you attempted to push the support pack out to.
  8. Don't forget: Once you start this off, it will unload ZfS on the server. If it errors out, you will need to manually reload ZfS on each server.

If you discover any interoperability issues with other products, or any other gotchas, please let us know and we'll add them to this list.

Creating a Compiled Software Package (.cpk) file to distribute NW5 SP5

Note: SP5INST.LOG file is created in the same directory as SP5INST.NLM. This will be updated if there is an error.

  1. Copy the NetWare5 SP5 build, and the file sp5inst.nlm (available at the end of this article) to your client's hard drive.
    (If you haven't already got it, you can download NW5SP5.EXE from the Minimum Patch List.)

  2. Bring up ConsoleOne.

  3. Choose Create New Server Software Package. Create a package as you would any other SSP.

  4. Choose Create New Component.
  5. Under the properties of this new component, set your requirements for Operating System to NetWare 5.

  6. Under the pre-installation tab select to "Add" "Unload Process" and add "ICMD" as the file to be unloaded. Next follow the same process and unload "NWCONFIG".
  7. Under Copy File, specify a File Group name, and a target path.

  8. Then add a file to the group you just defined and browse to the SP5 build you have copied locally. Be sure that the Recurse Directories option is checked (this is the default option).

  9. Next add the sp5inst.nlm file to your file group. This should be at the same level as the SP5 build.
    ie: File Group Name
    NW5SP5
    Sp5inst.nlm

  10. Now skip to the "Post-Installation" tab and select to load an NLM. The NLM you want to load is the sp5inst.nlm.
    (Remember that you must specify the exact location where you placed this NLM in your distribution.)

  11. Under Parameters you will need to specify several parameters that will be used in your custom installation.
    (If you forget these, simply type in the path to sp5inst on a server that has this NLM installed and it will tell you the parameters.)

    1. /path=<path to the .ips script in the sp5 build> (example data:\nw5sp5)
    2. /<the options of the support pack you want to install>
      • /all
      • /default (by default it installs SP5 and Backup)
      • /sp5
      • /Tivoli
      • /backup
    3. /user=<Fully distinguished name of user with rights to extend the schema>
    4. /pwd=<user Password>

    (Example: /path=data:\nw5sp5 /sp5 /user=admin.organization /pwd=Password)

  12. Apply all your changes and compile the .cpk.

  13. Create a distribution that includes this .cpk file.

Q&A

Q: The service pack will unload the JVM as part of its install process. ZfS is a Java process, so what's going to happen?

A: We have worked around the issue by unloading ZfS gracefully in the sp5inst.nlm before the service pack unloads the JVM.

Q: Does installing the support pack via a ZfS .cpk change the way the support pack executes once the installation process begins?

A: No. Make sure you read the readme.txt with the support pack before installing. Once it reaches the destination server and begins the installation, the support pack acts just as it would if you installed it manually.

Q: Will the support pack .cpk automatically reboot my server after it is done installing?

A: YES! Please take the proper precautions for downing your server, and/or do this after hours.

Download the Tool

Download sp5inst.nlm now.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell