Testing of config files
Hello to you, I'm a system administrator and I just try to install Linux on my Computerpool with AutoYast, before I did it years ago with master images. I try to write the configfile (autoinst.xml) by hand, because AutoYast doesn't produce that what I need. Questions: 1. Is it only possible to test a created configfile's during install on a test machine? Is there no development enviroment or something else? At the moment I only do a xml check with tidy. Problem: I have got completly similar computers expect the harddisc's. There are three Western Digital WD400EB (20.000 logical sectors) and fifteen Western Digital WD400BB (4800 logical sectors). This difference causes a problem with region tags in partition part of Configfile. How can I do a harddisc check as rule to create the region tags? I need similar partitions to write the old image to it. --- Thx for helping Ralf Neugebauer Fachhochschule Osnabrück Albrechstr. 30 49076 Osnabrück Tel. (0541) 969-3673 Fax. (0541) 969-3671 eMail R.Neugebauer@et.fh-osnabrueck.de
Dipl.-Ing. Ralf Neugebauer wrote:
Problem: I have got completly similar computers expect the harddisc's. There are three Western Digital WD400EB (20.000 logical sectors) and fifteen Western Digital WD400BB (4800 logical sectors). This difference causes a problem with region tags in partition part of Configfile. How can I do a harddisc check as rule to create the region tags? I need similar partitions to write the old image to it.
Why do you use region then? Wouldn't it be easier to specify sizes? To create a new partition /dev/hda2 of 200mb for /boot I use sth. like <partition> <create config:type="boolean">true</create> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <fstopt>defaults</fstopt> <mount>/boot</mount> <partition_nr config:type="integer">2</partition_nr> <size>200mb</size> </partition> and if this partition already existed before and I want to reformat it I just use <partition> <create config:type="boolean">false</create> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <fstopt>defaults</fstopt> <mount>/boot</mount> <partition_nr config:type="integer">2</partition_nr> </partition> without giving a size. This way you never have to deal with sectors... cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
Hello, thanks for your answer. Is it possible that you send me your autoinst.xml File as sample to learn how a Cfg must and could be written. My main problem is to find a good documentation with (full) examples in the internet. The documentations from Anas Nashif are very good, but only parts of the configfiles are explained. -- thx for you help Ralf Neugebauer Fachhochschule Osnabrück Albrechstr. 30 49076 Osnabrück Tel. (0541) 969-3673 Fax. (0541) 969-3671 eMail R.Neugebauer@et.fh-osnabrueck.de
Ralf Neugebauer wrote:
Hello,
thanks for your answer. Is it possible that you send me your autoinst.xml File as sample to learn how a Cfg must and could be written. My main problem is to find a good documentation with (full) examples in the internet. The documentations from Anas Nashif are very good, but only parts of the configfiles are explained.
I tried to send them to the list, too, but the mail was to large. If anyone else is interested in such an example set, let me know. -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
participants (3)
-
Dipl.-Ing. Ralf Neugebauer
-
Frank Steiner
-
Ralf Neugebauer