[opensuse-autoinstall] autoinstallation using images in oS13.2?
Hi, the autoyast documentation in oS13.2 does not mention images any longer. Does it still work? I used it once upon a time, but don't remember how. I also don't find a documentation for it. Is the image just a tar.gz of a preconfigured system? How do I specify it in the control file? -- Mit freundlichen Gruessen, Andreas Vetter -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hi, the autoyast documentation in oS13.2 does not mention images any longer. Does it still work? I used it once upon a time, but don't remember how. I also don't find a documentation for it. Is the image just a tar.gz of a preconfigured system? How do I specify it in the control file?
I finally found something: https://en.opensuse.org/SDB:Disaster_Recovery It has instructions for "Native disaster recovery with AutoYaST" https://en.opensuse.org/SDB:Disaster_Recovery#Native_disaster_recovery_with_... -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hello, On Feb 19 10:25 vetter@physik.uni-wuerzburg.de wrote (excerpt):
the autoyast documentation in oS13.2 does not mention images any longer. Does it still work? I used it once upon a time, but don't remember how. I also don't find a documentation for it. Is the image just a tar.gz of a preconfigured system? How do I specify it in the control file?
I finally found something: https://en.opensuse.org/SDB:Disaster_Recovery
It has instructions for "Native disaster recovery with AutoYaST" https://en.opensuse.org/SDB:Disaster_Recovery#Native_disaster_recovery_with_...
Wow! It seems you are the very first who recognized it! The original documentation about "imaging feature"/"image script" is http://users.suse.com/~ug/autoyast_changes_SLES10_SLES11.html I (mis)-used it in rear-SUSE to skip RPM package installation in AutoYaST in the same way as described at "Other possible ways to do native disaster recovery with AutoYaST" in https://en.opensuse.org/SDB:Disaster_Recovery You may have a look at the original rear-SUSE documentation in /usr/share/doc/packages/rear-SUSE/README in the rear-SUSE RPM. You can "just install" the rear-SUSE RPM from http://download.opensuse.org/repositories/home:/jsmeix/openSUSE_13.2/noarch/ The RPM installation won't do anything in your system (except that you get its files stored on your disk). For anything after SLE11 (in particular for SLE12 and 13.2) rear-SUSE can no longer work because the whole installation workflow is meanwhile too different (new installer, systemd instead of sysVinit, ...). Nevertheless the general information in the rear-SUSE README might be still of interest. Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton - HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hello, Johannes Meixner <jsmeix@suse.de> wrote on 19/02/2015 10:59:36:
Hello,
On Feb 19 10:25 vetter@physik.uni-wuerzburg.de wrote (excerpt):
the autoyast documentation in oS13.2 does not mention images any longer. Does it still work? I used it once upon a time, but don't remember how. I also don't find a documentation for it. Is the image just a tar.gz of a preconfigured system? How do I specify it in the control file?
I finally found something: https://en.opensuse.org/SDB:Disaster_Recovery
It has instructions for "Native disaster recovery with AutoYaST" https://en.opensuse.org/ SDB:Disaster_Recovery#Native_disaster_recovery_with_AutoYaST
Wow! It seems you are the very first who recognized it!
The original documentation about "imaging feature"/"image script" is http://users.suse.com/~ug/autoyast_changes_SLES10_SLES11.html
I (mis)-used it in rear-SUSE to skip RPM package installation in AutoYaST in the same way as described at "Other possible ways to do native disaster recovery with AutoYaST" in https://en.opensuse.org/SDB:Disaster_Recovery
You may have a look at the original rear-SUSE documentation in /usr/share/doc/packages/rear-SUSE/README in the rear-SUSE RPM. You can "just install" the rear-SUSE RPM from
http://download.opensuse.org/repositories/home:/jsmeix/openSUSE_13.2/noarch/
The RPM installation won't do anything in your system (except that you get its files stored on your disk). For anything after SLE11 (in particular for SLE12 and 13.2) rear-SUSE can no longer work because the whole installation workflow is meanwhile too different (new installer, systemd instead of sysVinit, ...). Nevertheless the general information in the rear-SUSE README might be still of interest.
I have a question about the changes to the autoyast.xml file. On the page https://en.opensuse.org/SDB:Disaster_Recovery#How_does_autoinst.xml_for_nati... in the second box you add <image_location>http://my_internal_http_server</image_location> <image_name>backup-restore-image</image_name> in the <image> section. Is this really working? The restore script specified in <script_location>http://my_internal_http_server/backup-restore.sh </script_location> has no way to get those definitions, does it? Your example skript hardcodes the location and name of the image. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hello, On Mar 10 11:46 vetter@physik.uni-wuerzburg.de wrote (excerpt):
I have a question about the changes to the autoyast.xml file. On the page https://en.opensuse.org/SDB:Disaster_Recovery#How_does_autoinst.xml_for_nati...
in the second box you add <image_location>http://my_internal_http_server</image_location> <image_name>backup-restore-image</image_name> in the <image> section. Is this really working? The restore script specified in <script_location>http://my_internal_http_server/backup-restore.sh </script_location> has no way to get those definitions, does it? Your example skript hardcodes the location and name of the image.
Many thanks for your feedback! The <image_name>backup-restore-image</image_name> is misleading. I replaced it with <image_name>backup-restore-script</image_name> to make it more clear that the whole <image>...</image> part only specifies the plain restore script. At least for me the whole wording "image" looks misleading because it is not clear what exactly is meant with "image" in AutoYaST. Therefore I use "backup" for this particular use case. As far as I know you can provide any value you like for <image_name> (and also for <image_location>) because this values does not matter in the end (I don't know for what that values are actually used, an AutoYaST expert should know this). I think it may also work without <image_location> and <image_name> but as far as I remember there had been issues (perhaps only with some beta version or whatever) where one had to specify <image_location> and <image_name> with dummy values to make it work. What really matters is the <script_location> value so that AutoYaST can download the script from there and run it. The script must implement on its own all what is needed to do the actual work (in particular the actual backup restore). Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton - HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (2)
-
Johannes Meixner
-
vetter@physik.uni-wuerzburg.de