Forum Discussion
Using image2disk to upgrade 9.4.7 to 10.2
To install 10.2 I have the line:
image2disk --instslot=HD1.2 --format=partitions BIGIP-10.2.0.1707.0.iso
1. Am I right in assuming I need to use the 'partitions' option instead of 'volumes' because I need to increase my partition size for 10.2?
2. Are there any other commands I need to run with image2disk? Unfortunately I'm still in the planning stage so have not been through change control to install image2disk and therefore am unable to view the man pages.
3. Would someone be kind enough to paste the man pages here?
Thanks very much.
- hoolio
Cirrostratus
If you want to keep 9.x and install 10.2, you'd need to reformat the filesystem for the larger partitions. In the process, you'll lose the 9.x slot. So make sure to back up the 9.x config to a UCS and then install 9.x after the 10.2 upgrade is complete. This is a painful set of steps for customers who are upgrading to 10.x for the first time and want to keep the original 9.x installation available for a quick regression.
If you don't want to keep a 9.x slot, it would make sense to move to volumes. In that case, you'd set --format to volumes.
You can extract the image2disk script from the BIG-IP ISO by running 'im '.
You can check the 10.2 release notes for details on installing the upgrade.
Also, I'd be slightly leery of running 10.2.0 without a hotfix on a significant production system. We're still recommending 10.1.0HF1 to enterprise level customers until at least 10.2.0HF1 is released by F5.
Usage: /usr/sbin/image2disk [options] REPOSITORY Install a product to a specified image location.
The REPOSITORY may be a product distribution file (an iso image), an HTTP URL, or the absolute path to a local directory. If a URL or directory is specified, it must correspond to the root directory of a mounted CD/DVD, or loopback-mounted image file.
Options: --instslot=LOCATION: Install to specified location (eg: HD1.1) --pkgset=NAME: Install specified package set (eg: LTM.ROS) --format=STYLE: Reformat disks in specified style before installation STYLE may be either volumes or partitions --noarray: when formatting, don't create a disk array even if the system supports it. --force: Proceed with requested action even though it might conflict with Software Volume Management --autocreate: Allow creation of location if it doesn't exist. --hotfix: Image file is a hotfix. --nosaveconfig: Do not save and restore config --nomoveconfig: Save/restore in same location; the installation location --nvlicenseok: Allow installation to proceed even if license is not valid --reboot: Reboot after installation --setdefault: Set switchboot to newly installed image location --verbose: Increase verbose level (cumulative) --tee=FILENAME: Save all output to named file.
Aaron
- Hamish
Cirrocumulus
Hmm... I'd hesitate to ever argue against hoolio... But FWIW I DIDN'T have to reformat my 6400's when I updated from 9.4.8 to 10.1.0... That may be because the 1600 and 6400's have different partition sizes (Sorry, I don't have access to those units any more to take a closer look). - hoolio
Cirrostratus
I haven't seen any issues upgrading several different platforms on partitions from 9.x to 10.1.x while keeping the existing 9.x slot. But we've tested several times on a 6400 from 9.3 and 9.4.8 to 10.2.0 without finding a way to preserve the 9.x slot. I believe F5 Support confirmed in a case a colleague opened that there was no way to preserve the 9.x slot. You'd need to reinstall 9.x on partitions after upgrading to 10.2.0. Assuming we didn't miss anything, I am quite surprised that F5 would foist this kind of process on customers. - ringoseagull_77
Nimbostratus
Thanks very much for your assistance. Fortunately I am not required to retain a 9.4.7 build, so should be able to avoid partitioning. - hoolio
Cirrostratus
If you don't need to keep a 9.x slot, then you should use volumes (hotfix and upgrade installations are much easier to perform on volumes than partitions). You can upgrade the single 9.x slot to 10.x using volume formatting. The disk will be reformatted in the upgrade process. - ringoseagull_77
Nimbostratus
OK, thanks Aaron, that makes sense for the first upgrade from 9.4.7 to 10.1. - ringoseagull_77
Nimbostratus
OK, after some more reading I see that the Software management system is in 10.1, so once I've installed 10.1 and rebooted it will be there for the hotfix step. - ringoseagull_77
Nimbostratus
My command line plan from 9.4.7 to 10.1.to hotfix 1 should now be: - hoolio
Cirrostratus
That looks about right. Also 10.1.0HF2 was just released. You could install this at the same time. - ringoseagull_77
Nimbostratus
BTW there's no need to install HF1 and then HF2 is there? I was under the impression HF2 contained everything in HF1, so HF2 would suffice on its own.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com