Upgrading from a nevisAppliance version 1
Upgrading a nevisAppliance version 1 to this new version 2 requires that boot your server from the nevisAppliance version 2 installation ISO image because the boot partion on the server's hard disk needs to be re-created. Therefore, access to the server's console is required to start the migration script as you won't have any usable network connectivity when booting the server from the ISO image. Overview:
- Boot the server from the nevisAppliance version 2 installation ISO image.
- Log in to the console as user root and start the migration using the "migrate-nevis.sh" script.
- Disconnect the ISO image and boot the server from its hard disk.
- Install the new update image files.
- Mark all existion Nevis product or component instances to be updated and reboot the server again.
Server migration – step by step instructions
The following steps are necessary to migrate your server:
- Boot the server from the installation ISO image, e.g. neviscd2_188.8.131.52.iso.
- Log in to the console as user root (no password is required to log in).
- Execute the migrate-nevis.sh script.
- This step re-creates the boot partition, updates the data partition's file system, migrates all data directories, and re-registers all services.
- The successful installation ends with the message migrate-nevis.sh] normal end".
- Disconnect the installation ISO image while rebooting the server. Migration command invocation example:
# shutdown -r now
- The server boots now from its hard disk using a temporary installation image.
When the server is running again, transfer the required nevisAppliance version 2 update images to the server using secure copy (scp), e.g. the neviscd2_184.108.40.206_os_base.img and neviscd2_220.127.116.11_nevis_base.img files.
The following table shows you which image files you should choose based on the nevisAppliance version 1 image type you had used in the past.
|nevisAppliance version 1
|nevisAppliance version 2
Tasks for finalizing the migration by installing the update images:
- Transfer the new update images to the server using secure copy (scp).
- Log in to the server as user root using a secure shell (ssh).
- Execute the update-nevis.sh script to install the two nevisAppliance version 2 update images and reboot the server afterwards. Example:
# update-nevis.sh neviscd2_18.104.22.168_os_base.img neviscd2_22.214.171.124_nevis_base.img
# shutdown -r now
The server is now running on the new operating system and the new Nevis software has been installed. The easiest way to deploy (update all running instances) the new software of all Nevis products or components is running the following script and rebooting the server once again.
# update-nevis.sh -r
# shutdown -r now
The server starts now like after a normal software update. You might need to go through the sowtare update procedure for nevisIDM, nevisWorkflow and nevisAdmin as mentioned in the nevisAppliance reference guide the chapter Software udpates.
Post migration tasks
Some components may require some manual adaptations (depending on your current server configuration).
- Apache Web Server The Apache server version has changed from 2.2 to 2.4
<http://httpd.apache.org/docs/2.4/upgrading.html/>. You may need to update the server's configuration files if you have modified the default configuration.
- Network settings If you are using network interface bonding, reconfigure the network interface bonding after the upgrade.
- Monitoring The number of detected disk devices may change (OID .126.96.36.199.4.1.6059.2.7.200.1.5.1). Check the content of /proc/scsi/sg/device_strs and /proc/scsi/sg/devices respectively the output of the hpssacli command (HP servers featuring smart array controller only).