This article describes upgrading OES 2 SP1 to OES 2 SP2 using several different methods.
For this document, I have used nu.novell.com as the patch channel. The same methods with required modifications should work with internal patch servers as well.
- OES 1 -> OES 2 SP2
- OES 2 -> OES 2 SP2
- OES 2 SP1 -> OES 2 SP2
- Insert the SLES10SP3 Boot disk on the OES 2 SP1 server and proceed with the Installation.
- During Installation Mode choose the option “Update” and click “Include add-on products”.
- Click “Next” and enter the OES 2 SP2 build path.
- Click “Accept” and start the Upgrade process.
- After the Installation is done, during the OES configuration, click “Upgrade” to upgrade eDirectory.
- Enter the admin credentials for the upgrade to proceed.
The DSFW Media is same as a normal Linux Upgrade except that the DSFW administrator password has to be provided during the eDirectory Upgrade.
- Install OES 2 SP1 as VM Guest on the Host Machine
- Create a directory on the VM Host server to copy the RAM disk and configuration files of SLES10SP3 (/upgrade)
- Check the kernel type on VM guest using the command uname -r, the kernel ends either with xen or xenpae. Based on this kernel type the file has to be copied into the upgrade directory of the VM Host server
- Shutdown the VM Guest
- Copy the vmlinuz-xen and initrd-xen or vmlinuz-xenpae and initrd-xenpae(based on kernel type) from the Installation source of SLES10SP3 to the upgrade directory of the VM Host server
- Copy the VM Guest configuration file into a file to modify for Upgrade process
Run this command on the VM host
xm list -l <Name of VM Guest> > /<path ofupgrade dir>/modify_config_file.sxp
xm list -l oes2sp1 > /upgrade/modify_config_file.sxp
- Make a copy of this modified_config_file before modifying and name it as unmodified_config_file and create the two files under the same path /upgrade
- Delete the VM Guest configuration from the XEN database using xm delete <VM Guest name>
- Open the Modified_config_file.sxp and modify the following parameters
- Remove the line that begins with (bootloader_args ….
- Change the line from
(on_reboot restart) to (on_reboot destroy)
- Remove the line that contains
- Modify the kernel line so that it reads:
(kernel /upgrade/vmlinuz-xen or /upgrade/vmlinuz-xenpae)
- Insert a ramdisk line below the kernel line
(ramdisk /upgrade/initrd-xen or /upgrade/initrd-xenpae)
- In the args line between the quotes insert the SLES10SP3 Installation path
(args ‘install=http://<ip addr>/sles10sp3/<arch>’)
- Start the Upgrade by entering this command on VM host server:
xm create -F /<path of upgrade dir>/modify_config_file.sxp
xm create -F /upgrade/modify_config_file.sxp
Now the VM Guest will appear on the virt-manager as running, open the VM Guest and the enter the details for Upgrade
- After the first stage of the Upgrade i.e Perform Update, the VM Guest will disappear from the virt-manager.
Create the VM Guest again to continue the second stage of the Upgrade process by entering the following command on VM Host server:
xm new -F /<path of upgrade dir>/unmodify_config_file.sxp
xm new -F /upgrade/unmodify_config_file.sxp
Now continue with the second stage of Upgrade process.
- Register the server in the Novell Customer Center using YaST -> Software -> Customer Center Configuration or through command:
suse_register -a email=<email-address> -a regcode-sles=code -a regcode-oes=code
- Verify the Service types using:
rug sl # | Status | Type | Name | URI --+---------+------+-------------------------------------+-------------- 1 | Active | ZYPP | Novell Open Enterprise Server 2 SP1 | http://164.99.147.... 2 | Active | ZYPP | SUSE Linux Enterprise Server 10 SP2 | http://164.99.147.... 3 | Active | NU | https://nu.novell.com | https://nu.novell.com
- Install the move-to-oes2-sp2 patch on the server using the rug command
rug in -t patch move-to-oes2-sp2 && rug ping -a
(Using GUI Method, click Software Updater Icon and select move-to-oes2-sp2 patch and click Update)
- Check SLES10-SP3-Updates and OES2-SP2-Updates using rug pch
- Install the recommended patches in the channel:
rug up -t patch -g recommended && rug ping -a
- To finish the upgrade, reboot the server.
Note: For Silent Upgrade, create an answer file and reboot the server
- After reboot, the upgrade proceeds with the OES configurations.
- Click the novell Updater icon on the desktop (orange color icon near the clock on taskbar).
- Select the patches you wish to install and click update.
- After the Update is successful, it pops up with a Reboot option to proceed with the Update process.
- When all the patches are applied, the Novell Updater icon changes to a globe.
- Reboot the server and the upgrade proceeds with the YaST Configurations of OES.
- Click YaST -> Software -> Online Update and select all the Security and Recommended patches, click Accept and install all these patches.
Then select the optional patch which is move-to-oes2-sp2 and Install the patch to go to the next level.
- After the Patches are applied, reboot the server for the upgrade to finish.
Note: Channel Upgrade on XEN is the same as upgrading the Linux Physical Server.
Channel Upgrade can be done using two ways. One is Silent or scripted upgrade and other one is Interactive upgrade.
The password file will get generated where the admin password will be saved into the file and during upgrade process the admin credentials will be picked up from the password file. No user intervention is required during Upgrade process.
After applying the patches, do not reboot the server. Create the answer file for a Silent Upgrade and reboot the server
Command to create answer file:
yast2 create-answer-file <admin password>
The create-answer-file script will be located under /usr/share/YAST2/clients.
It will create an answer file under the same location(/usr/share/YAST2/clients)
Copy the answer file to /opt/novell/oes-install directory. The upgrade code will search the answer file in /opt/novell/oes-install.
:/usr/share/YAST2/clients # cp answer /opt/novell/oes-install
Command to create answer file for DSFW silent upgrade
yast2 create-answer-file <admin password> <dsfw administrator password>
User intervention is required to provide the admin password during upgrade.
DSFW Interactive Channel Upgrade:
If Archive Versioning is not running by default after Upgrade, check the permissions of arkmanager directory located under /opt/novell.
If the User and Group has been changed to root user after the upgrade, change the permissions to admin and admin group and start the service.
iPrint on NSS:
If the iPrint Client RPM breaks the iPrint NSS Symbolic Links.
- Bring up the shared volume used for storing the iPrint configuration.
- Backup the existing /var/opt/novell/iprint/htdocs on your shared volume.
Note: At minimum, backup the existing /var/opt/novell/iprint/htdocs/iprint.ini and restore it post step 2.
- Copy /var/opt/novell/iprint_client/htdocs to /var/opt/novell/iprint/htdocs (which will be a symbolic link to the shared folder) using following:
cp /var/opt/novell/iprint_client/htdocs/* /var/opt/novell/iprint/htdocs/* -rfNote: Do not remove the /var/opt/novell/iprint/htdocs on the shared volume, only overwrite the contents in this folder from /var/opt/novell/iprint_client/htdocs/. This is because the /var/opt/novell/iprint/htdocs/ folder contains some additional files which are not part of the client rpm and hence not available in /var/opt/novell/iprint_client/htdocs/ folder.
- Copy the iprint.ini from the backup folder in to the /var/opt/novell/iprint/htdocs.