Einsatz von Linux als Server BS statt UnixWare 7.x für Einsatz als Datenbankserver
Hallo, bisher haben wir auf unseren Unix Servern (Intel basiert) immer Produkte von SCO im Einsatz gehabt. Erst die Unixware 2.1 Varianten, danach Unixware 7.x. Unser neuer Server ist etwa wie folgt ausgestattet: 1.ASUS P2B-DS ACPI BIOS Rev. 1010 Motherboard mit 2 Pentium II 4XX MHZ Prozessoren und 512 MB RAM 2.Adaptec AIC-7890 SCSI BIOS Rev. V2.11 Controller 3.Toshiba XM-6401TA Fast/Ultra SE PCI CD-ROM 4.IBM DNES -309170Y Ultra 2-LVD 5.GDT7519RN-PCI RAID Controller von ICP-Vortex mit einem angeschlossenen RAID Array a 80 GB Kapazität. 6.3COM 3C905B 10/100 Mbit Ethernet PCI. Die Installation von Unixware 7.1 gestaltete sich mehr als mühsam. Erstmal mußte das 40 fach CD-Rom durch eine 32 fach Version ersetzt werden. Blieb das CD-Rom bei der Installation "hängen". Dann stürzte die Installation bei der Paketauswahl mehrfach ab. Usw, Usw. Ingesamt habe ich daran mehrere Tage rumgewerkelt. Ich konnte dann meinen Chef überzeugen, es mal mit Linux zu probieren. Die Installation lief auch wesentlich angenehmer ab und nach Neukompilieren des Kernel war auch das RAID Array über den GDT Controller ansprechbar. Im Prinzip soweit alles klar und gut. Folgende Fragen stellen sich mir noch: 1) Auf dem System soll Informix Dynamic Server 7.x installiert werden. Der Datenbank Bereich soll ca. 30 GB zu Beginn betragen. Soweit ich das in Erinnerung habe, kann ein Chunk maximal 2GB groß sein. Ich muß also zumindest 15 Partitionen auf dem RAID Verbund anlegen. Ist das so korrekt? Gibt es eine Begrenzung in der Anzahl der Partionen, die ich auf einer Platte anlegen kann? Falls die Kapazität z.b. auf 60 GB erhöhe. 2) Restliches Dateisystem: Leider hat ja Linux bisher kein Journaling Filesystem (wie z.b. UnixWare). Was kann ich tun, damit im Falle eines Absturzes die Hochfahrzeit nicht allzu groß wird? Ich nehme mal an, eine sinnvolle Partitionierung. Mehrere nicht zu große Partitionen und Trennung von Bereichen wo keinen Änderungen geschrieben werden (usr) von Bereichen mit Änderungen (home, var). Wäre später eine Konversion möglich, wenn Linux mit JFS ähnlichem Dateisystem herauskommt. 3) Kann ich größere Partitionen als 2GB für Dateisysteme anlegen? Mir ist klar, daß die maximale Dateigröße innerhalb auf 2GB beschränkt ist, aber Partitionen können doch hoffentlich größer sein. Mfg Jörg Spilker --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Joerg Spilker wrote:
Hallo,
Hi Joerg,
bisher haben wir auf unseren Unix Servern (Intel basiert) immer Produkte von SCO im Einsatz gehabt. Erst die Unixware 2.1 Varianten, danach Unixware 7.x.
Unser neuer Server ist etwa wie folgt ausgestattet:
1.ASUS P2B-DS ACPI BIOS Rev. 1010 Motherboard mit 2 Pentium II 4XX MHZ Prozessoren und 512 MB RAM 2.Adaptec AIC-7890 SCSI BIOS Rev. V2.11 Controller 3.Toshiba XM-6401TA Fast/Ultra SE PCI CD-ROM 4.IBM DNES -309170Y Ultra 2-LVD 5.GDT7519RN-PCI RAID Controller von ICP-Vortex mit einem angeschlossenen RAID Array a 80 GB Kapazität. 6.3COM 3C905B 10/100 Mbit Ethernet PCI.
Der is ja wie fuer Linux geschaffen... :-) [...]
Ich konnte dann meinen Chef überzeugen, es mal mit Linux zu probieren. Die Installation lief auch wesentlich angenehmer ab und nach Neukompilieren des Kernel war auch das RAID Array über den GDT Controller ansprechbar.
Die GDTs werden auch von SuSE empfohlen. Ich hab auch einen, laeuft ohne Probleme...
1)
Auf dem System soll Informix Dynamic Server 7.x installiert werden. Der Datenbank Bereich soll ca. 30 GB zu Beginn betragen. Soweit ich das in Erinnerung habe, kann ein Chunk maximal 2GB groß sein. Ich muß also zumindest 15 Partitionen auf dem RAID Verbund anlegen. Ist das so korrekt?
Ich nehme an Chunk is ein Teil der Datenbank? Also im Endeffekt eine Datei? Dann ist das AFAIK korrekt. Noch, denn bald kommt ext3, und das kann AFAIR mehr.
Gibt es eine Begrenzung in der Anzahl der Partionen, die ich auf einer Platte anlegen kann? Falls die Kapazität z.b. auf 60 GB erhöhe.
4 pri's. Aber wenn eine davon eine extended ist, kannst du in dieser machen, was du willst.
2)
Restliches Dateisystem:
Leider hat ja Linux bisher kein Journaling Filesystem (wie z.b. UnixWare). Was kann ich tun, damit im Falle eines Absturzes die Doch, aber SuSE sieht es als noch nicht stabil genug, deshalb ist es noch nicht auf der neuen 6.3er Distri eingebaut. Du koenntest es natuerlich trotzdem mal ausprobieren...
Hochfahrzeit nicht allzu groß wird? Ich nehme mal an, eine sinnvolle Partitionierung. Mehrere nicht zu große Partitionen und Trennung von Bereichen wo keinen Änderungen geschrieben werden (usr) von Bereichen mit Änderungen (home, var).
USV, doppeltes Netzteil.... ;-) (+ das was DU meintest)
Wäre später eine Konversion möglich, wenn Linux mit JFS ähnlichem Dateisystem herauskommt.
weis nicht.
3)
Kann ich größere Partitionen als 2GB für Dateisysteme anlegen? Mir ist klar, daß die maximale Dateigröße innerhalb auf 2GB beschränkt ist, aber Partitionen können doch hoffentlich größer sein.
Ja. Gruss Marc -- +-----Du hast eine nützliche Linuxseite? Du suchst eine?-----------+ | --> http://www.Links2Linux.de <-- | | | +---Registered-Linux-User-#136487------------http://counter.li.org + --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
At 19:35 22.11.99 +0100, Joerg Spilker wrote:
Hallo, ... 1)
Auf dem System soll Informix Dynamic Server 7.x installiert werden. Der Datenbank Bereich soll ca. 30 GB zu Beginn betragen. Soweit ich das in Erinnerung habe, kann ein Chunk maximal 2GB groß sein. Ich muß also zumindest 15 Partitionen auf dem RAID Verbund anlegen. Ist das so korrekt?
Gibt es eine Begrenzung in der Anzahl der Partionen, die ich auf einer Platte anlegen kann? Falls die Kapazität z.b. auf 60 GB erhöhe.
das kommt auf den Treiber des Raidcontrollers an, beim Mylex kann man nur 7 oder 8 Partitionen ansprechen, auch wenn man mehr anlegen kann ! Das müsste dann aber in einer Readme zum Treiber stehen.
2) Restliches Dateisystem:
Leider hat ja Linux bisher kein Journaling Filesystem (wie z.b. UnixWare). Was kann ich tun, damit im Falle eines Absturzes die Hochfahrzeit nicht allzu groß wird? Ich nehme mal an, eine sinnvolle
wenn ein fsck fällig ist, ist es IMHO egal wieviel partitionen es sind, wird wohl ziemlich gleich lange dauern. Wenns mehr Partitionen sind könnte allerdings ein fehler nicht so grosse Auswirkung haben, un dsich auf die eine oder andere Partition beschränken.
Partitionierung. Mehrere nicht zu große Partitionen und Trennung von Bereichen wo keinen Änderungen geschrieben werden (usr) von Bereichen mit Änderungen (home, var). ... 3) Kann ich größere Partitionen als 2GB für Dateisysteme anlegen? Mir ist klar, daß die maximale Dateigröße innerhalb auf 2GB beschränkt ist, aber Partitionen können doch hoffentlich größer sein.
geht natürlich grösser, hab schon eine mit über 30 GB angelegt, dauert dann halt entsprechend. -- und servus Hans Klein /* http://www.net-con.net */ --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Hans Klein wrote:
das kommt auf den Treiber des Raidcontrollers an, beim Mylex kann man nur 7 oder 8 Partitionen ansprechen, auch wenn man mehr anlegen kann ! Das müsste dann aber in einer Readme zum Treiber stehen.
lt. Documentation/devices.txt ist die Anzahl der Partitionen auf SCSI Disks auf 16 beschränkt und bei IDE Disks merkwürdigerweise auf 64. Dann muß ich wohl die 80 GB auf mehrer Host Devices aufteilen. Denn der Informix Datenbank kann ich maximale Chunks von 2GB zuteilen.
Kann ich größere Partitionen als 2GB für Dateisysteme anlegen? Mir ist klar, daß die maximale Dateigröße innerhalb auf 2GB beschränkt ist, aber Partitionen können doch hoffentlich größer sein.
geht natürlich grösser, hab schon eine mit über 30 GB angelegt, dauert dann halt entsprechend.
auch die kompletten 80 GB sind kein Problem. Mfg Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
At 18:04 26.11.99 +0100, Joerg Spilker wrote:
Hans Klein wrote:
das kommt auf den Treiber des Raidcontrollers an, beim Mylex kann man nur >> 7 oder 8 Partitionen ansprechen, auch wenn man mehr anlegen kann ! Das müsste dann aber in einer Readme zum Treiber stehen.
lt. Documentation/devices.txt ist die Anzahl der Partitionen auf SCSI Disks auf 16 beschränkt und bei IDE Disks merkwürdigerweise auf 64. Dann muß ich wohl die 80 GB auf mehrer Host Devices aufteilen. Denn der Informix Datenbank kann ich maximale Chunks von 2GB zuteilen.
Das mit den Partitionen kommt auf den Treiber an, ich kenne jetzt nur den DAC960 und da ist es dann kein SCSIdevice mehr, sondern ein Blockdevice, normalerweise zB. /dev/sda1 beim Raid schauts aber so aus: /dev/rd/c0d0p1 der rest steht hier: http://www.dandelion.com/Linux/README.DAC960 (ab zeile 62) Das kann sich aber durchaus von anderen Raidcontrollern unterscheiden ! Ich sehe gerade das die GDT-treiber unter SCSI sind, dann könnte es schon sein, das das Raid im System als ganz nomale Scsiplatte auftaucht (sda), da kann ich dann aber nicht mehr weiterhelfen. Was ich damals gemacht habe, war nur ein ganz normaler Fileserver, deswegen auch (fast) alles in eine Partition.
Kann ich größere Partitionen als 2GB für Dateisysteme anlegen? Mir ist klar, daß die maximale Dateigröße innerhalb auf 2GB beschränkt ist, aber Partitionen können doch hoffentlich größer sein.
geht natürlich grösser, hab schon eine mit über 30 GB angelegt, dauert dann halt entsprechend.
auch die kompletten 80 GB sind kein Problem.
? -- und servus Hans Klein /* http://www.net-con.net */ --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Hans Klein wrote: Hallo Hans,
Ich sehe gerade das die GDT-treiber unter SCSI sind, dann könnte es schon sein, das das Raid im System als ganz nomale Scsiplatte auftaucht (sda), da kann ich dann aber nicht mehr weiterhelfen.
genauso sieht es auch aus. Das eine konfigurierte Host Device tritt als eine SCSI Platte mit ca. 80 GB Kapazität auf. Evtl. muß ich also mehrere Hosts Devices anlegen, wenn ich denn mehr als 16 Partitionen anlegen möchte. Mfg Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Hi, Joerg Spilker wrote:
Hallo,
bisher haben wir auf unseren Unix Servern (Intel basiert) immer Produkte von SCO im Einsatz gehabt. Erst die Unixware 2.1 Varianten, danach Unixware 7.x.
Unser neuer Server ist etwa wie folgt ausgestattet:
1.ASUS P2B-DS ACPI BIOS Rev. 1010 Motherboard mit 2 Pentium II 4XX MHZ Prozessoren und 512 MB RAM 2.Adaptec AIC-7890 SCSI BIOS Rev. V2.11 Controller 3.Toshiba XM-6401TA Fast/Ultra SE PCI CD-ROM 4.IBM DNES -309170Y Ultra 2-LVD 5.GDT7519RN-PCI RAID Controller von ICP-Vortex mit einem angeschlossenen RAID Array a 80 GB Kapazität. 6.3COM 3C905B 10/100 Mbit Ethernet PCI.
vielleicht etwas wenig RAM ...
1)
Auf dem System soll Informix Dynamic Server 7.x installiert werden. Der Datenbank Bereich soll ca. 30 GB zu Beginn betragen. Soweit ich das in Erinnerung habe, kann ein Chunk maximal 2GB groß sein. Ich muß also zumindest 15 Partitionen auf dem RAID Verbund anlegen. Ist das so korrekt?
Chunk = Tablespace ? (keine Informaix Erfahrungen) Nimm doch einfach ne ganze Partition als Tablespace. Dann hast du kein Filesystem mehr dazwischen. Die datenbank cacht eh besser. Da sollten sich (fast) beliebig grosse Partitionen machen lassen. Du kannst ja später Partitionen zum Tablespace hinzufügen. Wenn es uebers Filesystem gehen soll, dann deaktivieren caching fuer die mounts
Gibt es eine Begrenzung in der Anzahl der Partionen, die ich auf einer Platte anlegen kann? Falls die Kapazität z.b. auf 60 GB erhöhe.
max. 4 primaere, dann mind. 8 in der erweiterten. Weiss jetzt aber nicht so genau, wieviele wirklich
2)
Restliches Dateisystem:
Leider hat ja Linux bisher kein Journaling Filesystem (wie z.b. UnixWare). Was kann ich tun, damit im Falle eines Absturzes die Hochfahrzeit nicht allzu groß wird? Ich nehme mal an, eine sinnvolle Partitionierung. Mehrere nicht zu große Partitionen und Trennung von Bereichen wo keinen Änderungen geschrieben werden (usr) von Bereichen mit Änderungen (home, var).
gute Idee.
Wäre später eine Konversion möglich, wenn Linux mit JFS ähnlichem Dateisystem herauskommt.
warum nicht?
3)
Kann ich größere Partitionen als 2GB für Dateisysteme anlegen? Mir ist klar, daß die maximale Dateigröße innerhalb auf 2GB beschränkt ist, aber Partitionen können doch hoffentlich größer sein.
Selbstverständlich kannst du Partitionen groesser als 2GB anlegen. Files nicht, da Integer mit 32 bit halt begrenzt sind. -- bis denne TM --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Thomas Markus wrote:
vielleicht etwas wenig RAM
nö, ich denke nicht. Ist ein Entwicklungsrechner für unser kleines Team. Maximal 5 Leute gleichzeitig würde ich denken. Viel Kompilation und Arbeiten mit Java. Da sollten 512 MB doch ausreichend sein, oder?
Chunk = Tablespace ? (keine Informaix Erfahrungen) Nimm doch einfach ne ganze Partition als Tablespace. Dann hast du kein Filesystem mehr dazwischen. Die datenbank cacht eh besser. Da sollten sich (fast) beliebig grosse Partitionen machen lassen. Du kannst ja später Partitionen zum Tablespace hinzufügen. Wenn es uebers Filesystem gehen soll, dann deaktivieren caching fuer die mounts
Bei Informix kann ich in einem Online System eine Anzahl von DBSPACES einrichten. Jeder dieser DBSPACE besteht aus Chunks. Diese Chunks können entweder Dateien oder aber auch ganze Partitions sein. Aufjedenfall sind die Chunks aber auf maximal 2 GB beschränkt. Bei 30GB Datenbankgröße müßte ich also 15 Partionen nehmen. Da aber lt. Documentation/devices.txt maximal 16 Partitionen pro SCSI Disk möglich sind, muß ich wohl die 80 GB in mindestens 2 Host Laufwerke aufteilen. Mfg Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Joerg Spilker wrote:
Thomas Markus wrote: Bei Informix kann ich in einem Online System eine Anzahl von DBSPACES einrichten. Jeder dieser DBSPACE besteht aus Chunks. Diese Chunks können entweder Dateien oder aber auch ganze Partitions sein. Aufjedenfall sind die Chunks aber auf maximal 2 GB beschränkt. Bei 30GB Datenbankgröße müßte ich also 15 Partionen nehmen. Da aber lt. Documentation/devices.txt maximal 16 Partitionen pro SCSI Disk möglich sind, muß ich wohl die 80 GB in mindestens 2 Host Laufwerke aufteilen.
Oder in eine große (80 GB) ext2 (oder Reiser fs) Partition mit entsprechend vielen kleinen (!) 2 GB Dateien. -- __ _ Raymond Häb, ray.haeb@gmx.net, cologne, germany / / (_)__ __ ____ __ / /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a /____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . . --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
participants (5)
-
hansi.klein@net-con.net
-
js@jetsys.de
-
m.schiffbauer@gmx.net
-
ray.haeb@gmx.net
-
thmarkus@gsg-berlin.com