move-to-oes2-sp2, a guide through the process

  • 7004963
  • 02-Dec-2009
  • 30-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux

Situation

Pre-requisites:

- Read Doc (section 5.4.5):
https://www.novell.com/documentation/oes2/inst_oes_lx/data/bv6uejh.html#bmrgz9d


- Upgrade does require access to installation source.
If the system was installed via CD/DVD media, you may want to change the installation source to be a network installation source prior to installing the move-to-oes2-sp2 patch, as the process may ask you to insert media.
<!--[if !supportLineBreakNewLine]-->

- There are many pre-requisites that may be considered prior to the upgrade,

  • LDAP configured correctly
  • verify LUM is functioning correctly  (rcnamcd status, or id admin)
  • certificates are not expired
  • sufficient disk space
  • etc…

- Are the activation keys valid?? SLES10 and OES2

 

- SMT customers need to mirror down the following channels to the SMT server prior to upgrading any servers to OES2sp2:

  • OES2-SP2-Updates
  • SLES10-SP3-Updates
  • OES2-SP2-Pool
  • SLES10-SP3-Pool 
  • OES2-SP2-Online
  • SLES10-SP3-Online
-What channels is the system subscribed to:

bmemmott6:/etc/zmd # rug ca

Sub'd? | Name                                | Service                         

-------+-------------------------------------+------------------------------------

       | Novell Open Enterprise Server 2 SP1 | Novell Open Enterprise Server 2 SP1

       | SUSE Linux Enterprise Server 10 SP2 | SUSE Linux Enterprise Server 10 SP2

Yes    | SLES10-SP2-Updates                  | https://nu.novell.com           

Yes    | SLES10-SP2-Pool                     | https://nu.novell.com           

       | SLES10-SP2-Online                   | https://nu.novell.com           

       | SLE10-SP2-Debuginfo-Updates         | https://nu.novell.com           

Yes    | OES2-SP1-Updates                    | https://nu.novell.com           

Yes    | OES2-SP1-Pool                       | https://nu.novell.com           

 

 

-What products does rug think are installed:

bmemmott6:/etc/zmd # rug pd -i

S | Name                       | Version | Category

--+----------------------------+---------+---------

i | SUSE_SLES_SP2              | 10.2-0  | base

i | OPEN_ENTERPRISE_SERVER_SP1 | 2.0.1-0 | add-on

 

 

Preparatory Process:

-Assuming all is correct above, then proceed:

 

-suse_register can register the machine with ncc if need.

 

-Refresh the channel data:

rug ref

 

-Update the system with patches from channels. Need to get patched prior to taking the move-to-oes2-sp2 patch. reboots will be required, and repeat until all patches are consumed.

rug up -t patch

 

-See what patches are available in the channels

rub lu -t patch sles10-sp2-updates oes2-sp1-updates

 

Catalog            | Name                | Version | Category | Status

-------------------+---------------------+---------+----------+-------

OES2-SP1-Updates   | move-to-oes2-sp2    | 0-3     | optional | Needed

SLES10-SP2-Updates | move-to-sles10-sp3  | 0-26    | optional | Needed

SLES10-SP2-Updates | slesp2-sysstat-isag | 5455-0  | optional | Needed

-Proceed when only optional patches are available in the channel

 

 

-System is still with SLES10-sp2 and OES2-sp1 catalogs

# rug ca

 

Sub'd? | Name                                | Service                           

-------+-------------------------------------+------------------------------------

       | Novell Open Enterprise Server 2 SP1 | Novell Open Enterprise Server 2 SP1

       | SUSE Linux Enterprise Server 10 SP2 | SUSE Linux Enterprise Server 10 SP2

Yes    | SLES10-SP2-Updates                  | https://nu.novell.com             

Yes    | SLES10-SP2-Pool                     | https://nu.novell.com             

       | SLES10-SP2-Online                   | https://nu.novell.com             

       | SLE10-SP2-Debuginfo-Updates         | https://nu.novell.com             

Yes    | OES2-SP1-Updates                    | https://nu.novell.com             

Yes    | OES2-SP1-Pool                       | https://nu.novell.com             

 

rug sl

 

# | Status  | Type | Name                                | URI                 

--+---------+------+-------------------------------------+----------------------

1 | Active  | ZYPP | Novell Open Enterprise Server 2 SP1 | http://bmemmott1.l...

2 | Active  | ZYPP | SUSE Linux Enterprise Server 10 SP2 | http://bmemmott1.l...

3 | Pending | NU   | https://nu.novell.com               | https://nu.novell.com

 

rug pd -i

 

S | Name                       | Version | Category

--+----------------------------+---------+---------

i | SUSE_SLES_SP2              | 10.2-0  | base   

i | OPEN_ENTERPRISE_SERVER_SP1 | 2.0.1-0 | add-on 

Resolution

Install move-to-oes2-sp2 patch:
 
-Note: The move-to-oes2-sp2 patch also does the work of the move-to-sles10-sp3 patch. Do not attempt to install the move-to-sles10-sp3 patch on an OES2 system, as this patch will not subscribe the system to the correct catalogs.
 
 
-Refresh the channel data:

rug ref

 

- Install move-to-oes2-sp2 patch

rug in -t patch move-to-oes2-sp2

Resolving Dependencies...

 

The following packages will be installed:

  move-to-oes2-sp2 0-3 (OES2-SP1-Updates)

   

  move-to-oes2-sp2-message 0-3 (OES2-SP1-Updates)

    message:move-to-oes2-sp2-message-0-3.noarch[OES2-SP1-Updates] needed by

patch:move-to-oes2-sp2-0-3.noarch[OES2-SP1-Updates]

   

  move-to-oes2-sp2-script.sh 0-3 (OES2-SP1-Updates)

    script:move-to-oes2-sp2-script.sh-0-3.noarch[OES2-SP1-Updates] needed by

patch:move-to-oes2-sp2-0-3.noarch[OES2-SP1-Updates]

   

  Novell-Open-Enterprise-Server-SP2-migration 2-0 (OES2-SP1-Updates)

    product:Novell-Open-Enterprise-Server-SP2-migration-2-0.x86_64[OES2-SP1-Updates] needed by

patch:move-to-oes2-sp2-0-3.noarch[OES2-SP1-Updates]

   

  SUSE-Linux-Enterprise-Server-SP3-migration 10-24 (SLES10-SP2-Updates)

    product:SUSE-Linux-Enterprise-Server-SP3-migration-10-24.x86_64[SLES10-SP2-Updates] needed

by patch:move-to-oes2-sp2-0-3.noarch[OES2-SP1-Updates]

 

 

Proceed with transaction? (y/N) y

 

This update enables your system for an upgrade from Open Enterprise

Server Service Pack 1 to Open Enterprise Server Service Pack 2.

(This update also includes upgrading SUSE Linux Enterprise Server

10 from Service Pack 2 to Service Pack 3.)

 

Please ensure that you have applied all maintenance updates provided

for both Open Enterprise Server Service Pack 1 and SUSE Linux

Enterprise Server 10 Service Pack 2 before starting the upgrade.

 

Press CANCEL in this dialog to skip this Service Pack upgrade.

 

To start the upgrade now, press ACCEPT.

 

 

Do you accept the license? [y/N]

y

 

Transaction...

 

 

Finish the move-to-oes2-sp2 by setting correct products:

-The system is now subscribed to the SLES10-sp3 and OES2-sp2 channels, but need to finish updating the products. See rug ca and rug pd -i

 

rug ca

Sub'd? | Name                                | Service                            

-------+-------------------------------------+------------------------------------

       | Novell Open Enterprise Server 2 SP1 | Novell Open Enterprise Server 2 SP1

       | SUSE Linux Enterprise Server 10 SP2 | SUSE Linux Enterprise Server 10 SP2

Yes    | SLES10-SP3-Online                   | https://nu.novell.com             

Yes    | OES2-SP2-Online                     | https://nu.novell.com             

Yes    | OES2-SP2-Pool                       | https://nu.novell.com             

Yes    | OES2-SP2-Updates                    | https://nu.novell.com             

 

rug pd -i

S | Name                                        | Version | Category

--+---------------------------------------------+---------+---------

i | Novell-Open-Enterprise-Server-SP2-migration | 2-0     | add-on 

i | SUSE-Linux-Enterprise-Server-SP3-migration  | 10-24   | add-on 

i | SUSE_SLES_SP2                               | 10.2-0  | base   

i | OPEN_ENTERPRISE_SERVER_SP1                  | 2.0.1-0 | add-on 

 

rug sl

# | Status | Type | Name                                | URI                  

--+--------+------+-------------------------------------+-----------------------

1 | Active | ZYPP | Novell Open Enterprise Server 2 SP1 | http://bmemmott1.la...

2 | Active | ZYPP | SUSE Linux Enterprise Server 10 SP2 | http://bmemmott1.la...

3 | Active | NU   | https://nu.novell.com               | https://nu.novell.com

 

 

- see out put of log file

 /var/log/YaST2/move-to-oes2-sp2-script.log

 

rug ref

Refreshing Services...

 

rug up -t patch  <=finish the channel migration

Note: If "rug up -t patch" produces dependency errors at this point, first check to ensure that the SLES10sp2 and OES2sp1 installation sources are active and available to the system (yast2/Install_sources).  ISO's or Network Installation Sources are a good alternative to physical media. 

-Now the system reports the right products, and channels

rug sl

 

# | Status | Type | Name                                | URI

--+--------+------+-------------------------------------+-----------------------

1 | Active | ZYPP | Novell Open Enterprise Server 2 SP1 | http://bmemmott1.la...

2 | Active | ZYPP | SUSE Linux Enterprise Server 10 SP2 | http://bmemmott1.la...

3 | Active | NU   | https://nu.novell.com               | https://nu.novell.com

 

rug pd -i

 

S | Name                       | Version | Category

--+----------------------------+---------+---------

i | SUSE_SLES_SP3              | 10.3-1  | base

i | OPEN_ENTERPRISE_SERVER_SP2 | 2.0.2-0 | add-on

 

rug ca

 

Sub'd? | Name                                | Service                         

-------+-------------------------------------+------------------------------------

       | Novell Open Enterprise Server 2 SP1 | Novell Open Enterprise Server 2 SP1

       | SUSE Linux Enterprise Server 10 SP2 | SUSE Linux Enterprise Server 10 SP2

Yes    | SLES10-SP3-Online                   | https://nu.novell.com           

       | OES2-SP2-Online                     | https://nu.novell.com           

Yes    | OES2-SP2-Pool                       | https://nu.novell.com           

Yes    | OES2-SP2-Updates                    | https://nu.novell.com           

Yes    | SLES10-SP3-Updates                 | https://nu.novell.com           

Yes    | SLES10-SP3-Pool                     | https://nu.novell.com            

       | SLE10-SP3-Debuginfo-Updates         | https://nu.novell.com           

       | SLE10-SP3-Debuginfo-Pool            | https://nu.novell.com           

       | SLE10-SP3-Debuginfo-Online          | https://nu.novell.com           

 
 
-If for some reason the system is NOT subcribed to the correct channels as listed above, it is possible to remove the channels and re-register the system with suse_register or Yast/Novell Customer Center. This action will put the system back to SLES10sp2/OES2sp1 level.  

 

Complete the "Channel Upgrade" from the server console:

From the server console it will ask you to login to edirectory.  This will then do the necessary OES2SP2 configuration changes to the files in /etc/sysconfig/novell and update the iManager plugins.

- If after the installation you are being asked to reconfigure products like edirectory that were configured in the previous version this step may not have completed.  Check the /etc/sysconfig/novell files.  Each of the files ending in 2_sp2 are for OES2SP2 and if you look at  SERVICE_CONFIGURED= if it is set to "no" then run "yast2 channel-upgrade-oes" to redo this piece of the upgrade.  It will only do those files in /etc/sysconfig/novell/ where the previous versions had the SERVICE_CONFIGURED="yes" and the *2_SP2 files that SERVICE_CONFIGURED="no".  It will pull the information from the previous configuration into the OES2SP2 configuration files.


Now performing the upgrade to SLES10sp3 /OES2sp2:

rug ref

rug up -t patch  <=upgrade from sles10-sp3 and OES2-sp2 online media

-Address Dependencies.....

-reboot will be required,

 

Now patches from sles10-sp3 and OES2-sp2 patch channels

 

rug ref

rug up -t patch 

-reboot will be required.

 

Verify that all recommended patches are consumed.

 

rug ref

rug lu –t patch

 

System is now upgraded and Patched.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.