[Bug 486758] New: kiwi: be prepared for SAP appliance
https://bugzilla.novell.com/show_bug.cgi?id=486758 Summary: kiwi: be prepared for SAP appliance Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: System Imaging AssignedTo: ms@novell.com ReportedBy: ms@novell.com QAContact: adrian@novell.com Found By: --- In order to allow creation of an SAP appliance kiwi's boot workflow needs some adaptions mentioned in this report as follows: ****** PARTITIONING ******* 1 HD System: /boot - sinnvoller wert (kommt aufs MB nicht an) LVM - Rest der Platte und im LVM: swap - 2 mal RAM / - Rest des LVM 2 HD System: die kleinere Platte /boot - sinnvoller wert (kommt aufs MB nicht an) LVM "system_vg" - Rest der Platte und im LVM: swap - 2 mal RAM / - Rest des LVM die größere Platte enthält nur ein LVM LVM "data_vg" über die ganze Platte und im LVM: /sapdata Filesysteme sind ext3 ****************************** ********* MEDIA CHANGER ******** den Media Changer kriegst du mit: getpac -r sles10-sp2-x86_64 sap-media-changer oder in /mounts/dist/full/full-sle10-sp2-x86_64/suse/noarch/sap-media-changer.rpm im laufenden System muss er über den wrapper gestartet werden mit "yast2 inst_sap_wrapper" ******************************** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486758#c1 --- Comment #1 from Marcus Schaefer <ms@novell.com> 2009-03-19 04:22:28 MST --- System checks: MEM=`grep -i MemTotal /proc/meminfo | awk '{ print $2 }'` CPU=`uname -m` if [ "$MEM" -lt 1900000 ]; then FEEDBACK="This installation requires at least 2 GB of RAM\nbut only $(( ${MEM} / 1024 )) MB were detected.\nYou can override this check by passing\n'nomemcheck' to the kernel fi; if [ "$CPU" != "x86_64" ]; then FEEDBACK="This installation requires a 64Bit CPU (x86_64) but\na $CPU CPU was detected.\nYou can override this check by passing\n'nocpucheck' to the kernel commandline." fi; Das HD Size check script ist etwas größer, darum habe ich es angehängt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486758#c2 --- Comment #2 from Marcus Schaefer <ms@novell.com> 2009-03-19 04:23:30 MST --- Created an attachment (id=280536) --> (https://bugzilla.novell.com/attachment.cgi?id=280536) HD Size check script -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486758#c3 --- Comment #3 from Marcus Schaefer <ms@novell.com> 2009-03-24 09:02:42 MST ---
One question I still have is if it is possible to use an autoyast profile in a way that yast don't try to install any packages ? it even shouldn't try to check or setup a repo because the software is all there by design of the image description
that's a little bit problematic. In the second stage of the installation (after the reboot) autoyast asks every client that is configured in the XML file (like for example users_auto.ycp): "What packages do you need to be installed?" and collects those package names. Then it checks if any of those packages is already installed (I think that triggers the repo check already, because Autoyast asks the Packager). Then inst_rpmcopy.ycp is called in the second stage and that client tries to install those packages. It always calls: Pkg::DoProvide (AutoinstSoftware::post_packages) which initializes the packager again. So on the first sight with the current code, I don't see an option to turn that off without changing code. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486758#c4 --- Comment #4 from Marcus Schaefer <ms@novell.com> 2009-03-30 07:58:02 MDT --- short status for this one: - I have added the functions SAPMemCheck SAPCPUCheck and SAPStorageCheck - I have added the config.xml option <oem-sap-install>yes|no</oem-sap-install> - kiwi already supports the required LVM setup next steps: - add a function to setup the data_vg LVM setup on the data disk - add a function to start the media changer in the preinit stage of kiwi In reply to comment #3 - we should also make sure there is a valid installation source activated after the media changer has copied the data on the disk otherwise the first boot setup will fail. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486758#c5 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |milisav.radmanic@novell.com --- Comment #5 from Marcus Schaefer <ms@novell.com> 2009-03-30 08:26:49 MDT --- Question: is it required to have the media changer running in an X11 environment ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486758#c6 --- Comment #6 from Marcus Schaefer <ms@novell.com> 2009-03-30 08:38:44 MDT --- Question: is it required to have an entry in /etc/fstab for the data_vg ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=486758 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=486758#c7 --- Comment #7 from Marcus Schaefer <ms@novell.com> 2009-03-31 08:23:23 MDT --- ok I have added the data_vg code and I also added the possibility to run the media changer. the boot process now also supports running X applications next steps: - create sample image description which runs all the checks and the media changer. Will use a laptop as one disk test system -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com