Otaking 2.0
From otaking wiki
| Revision as of 10:47, 17 August 2007 194.237.142.6 (Talk | contribs) Hardware ← Previous diff |
Revision as of 18:26, 22 August 2007 213.114.212.228 (Talk | contribs) Next diff → |
||
| Line 42: | Line 42: | ||
| 500 GB Western Digital (SE or RE) for additional storage. | 500 GB Western Digital (SE or RE) for additional storage. | ||
| Possibly more since I need to replace three drives, two 200 GB and one 320 GB, that are close to failing. | Possibly more since I need to replace three drives, two 200 GB and one 320 GB, that are close to failing. | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="4" cellspacing="1" | ||
| + | |- | ||
| + | ! || AMD Dual core || Intel Dual core || Intel Quad core | ||
| + | |- | ||
| + | !Case | ||
| + | | colspan="3" align="center"| Chieftec Mesh miditower | ||
| + | [http://www.dustinhome.se/DacsaPortal/?ProdID=5010082653 Case at Dustin] | ||
| + | |- | ||
| + | !PSU | ||
| + | | colspan="3" align="center"| T.B.D. | ||
| + | |- | ||
| + | !CPU | ||
| + | |Athlon 64 X2 5200+ | ||
| + | |Core 2 Duo E6xxx | ||
| + | |Core 2 Quad Q6600 | ||
| + | |- | ||
| + | !Motherboard | ||
| + | | | ||
| + | | | ||
| + | | | ||
| + | |- | ||
| + | !RAM | ||
| + | | colspan="3" align="center"| 4 GB (ECC if motherboard supports it) | ||
| + | [http://www.dustinhome.se/DacsaPortal/?ProdID=5010099797 2 GB Kingston KVR with ECC] | ||
| + | |} | ||
| ==Software== | ==Software== | ||
| Line 54: | Line 81: | ||
| ==Virtual Machines== | ==Virtual Machines== | ||
| - | A short list of possible configurations of virtual machines. Each VM has some overhead in terms of RAM usage which limits the number of VMs I can run at one time. Possible overhead (up to 54 MB for a VM allocated up to 512 MB RAM) is not included in resource proposal. I think up to 1700-1800 MB RAM can be directly allocated, leaving 200-300 MB RAM for overhead and host OS. | + | A short list of possible configurations of virtual machines. Each VM has some overhead in terms of RAM usage which limits the number of VMs I can run at one time. Possible overhead (up to 54 MB for a VM allocated up to 512 MB RAM) is not included in resource proposal per VM. |
| {| border="1" cellpadding="4" cellspacing="1" | {| border="1" cellpadding="4" cellspacing="1" | ||
| Line 67: | Line 94: | ||
| |VM 1 | |VM 1 | ||
| |Firewall/ | |Firewall/ | ||
| - | port forward | + | router/ |
| - | |FreeBSD | + | port forwarding |
| + | |Free- or OpenBSD | ||
| |ipfw with dummynets(?) | |ipfw with dummynets(?) | ||
| - | |~64-192 MB RAM | + | |~128-256 MB RAM |
| |Configuration saved within VMfs | |Configuration saved within VMfs | ||
| | | | | ||
| |-valign="top" | |-valign="top" | ||
| |VM 2 | |VM 2 | ||
| - | |DB server | + | |HTTP/FTP/radio/mail etc. |
| |FreeBSD | |FreeBSD | ||
| - | |MySQL 5.x | + | |Apache 2.x |
| - | |~192-256 MB RAM | + | PureFTPd(?) |
| - | |DB saved within VMware virtual disk | + | |~256-512 MB RAM |
| - | |Current database size ~100 MB | + | |Files accessed via NAS(?) |
| + | | | ||
| |-valign="top" | |-valign="top" | ||
| |VM 3 | |VM 3 | ||
| - | |NAS | + | |DB/storage server |
| |FreeBSD | |FreeBSD | ||
| - | |FreeNAS(?) | + | |MySQL 5.x, SVN, |
| - | |~128 MB RAM(?) | + | samba |
| - | |Files saved within VMware virtual disk | + | |~256-512 MB RAM |
| - | and/or raw mounted disks(?) | + | |DB saved within VMware virtual disk |
| - | | | + | Misc storage t.b.d. |
| + | |Current database size ~120 MB | ||
| |-valign="top" | |-valign="top" | ||
| |VM 4 | |VM 4 | ||
| - | |HTTP server | + | |minikai |
| - | |FreeBSD | + | |Windows (2k?) |
| - | |Apache 2.x | + | |MSN, IRC, ICQ, Jabber, etc. |
| - | |~256 MB RAM | + | |~512-768 MB RAM |
| - | |Files accessed via NAS(?) | + | |Files saved within VMware virtual disk |
| | | | | ||
| |-valign="top" | |-valign="top" | ||
| |VM 5 | |VM 5 | ||
| - | |Mail server | + | |Misc Windows client |
| - | |FreeBSD | + | |Windows (2k?) |
| - | |Courier-IMAP and Postfix | + | |DC/BT etc. |
| - | with SpamAssassin | + | |~512-768 MB RAM |
| - | |~128-256 MB RAM | + | |Storage access to VM 3 via VM 1 |
| - | |Mailboxes accessed via NAS or local(?) | + | |
| - | | | + | |
| - | |-valign="top" | + | |
| - | |VM 6 | + | |
| - | |FTP server | + | |
| - | |FreeBSD | + | |
| - | |PureFTPd(?) | + | |
| - | |~128-256 MB RAM | + | |
| - | |Files accessed via NAS(?) | + | |
| | | | | ||
| |-valign="top" | |-valign="top" | ||
| Line 120: | Line 141: | ||
| ! | ! | ||
| ! | ! | ||
| - | !~896-1344 MB RAM | + | !~1.6-2.8 GB RAM |
| - | / 2048 MB | + | / 4 GB |
| |} | |} | ||
| ===Additional services=== | ===Additional services=== | ||
| - | Some form of user database connection with mail, FTP and NAS. Candidates: LDAP? | + | Some form of combined user database to connect mail, FTP and storage. LDAP? |
| - | + | ||
| - | Separate database within HTTP server for its use only? | + | |
| - | + | ||
| - | ===Possible mergers=== | + | |
| - | Only use FTP from FreeNAS, skip standalone FTP server? | + | |
| - | + | ||
| - | Intigrate user database/authentication into DB VM? | + | |
| - | + | ||
| - | Mail server with firewall? | + | |
| ===Storage=== | ===Storage=== | ||
| - | Different ways to manage VM/data storage. The easiest way to share access to data is to utilize the NAS server | + | Different ways to manage VM/data storage. The easiest way to share access to data is to utilize the storage VM server. |
| One idea is to store the information in the same VMware virtual disk as the guest OS. This could work well enough when the required storage space is low. | One idea is to store the information in the same VMware virtual disk as the guest OS. This could work well enough when the required storage space is low. | ||
Revision as of 18:26, 22 August 2007
Contents |
Plans for otaking 2.0
Hardware
Hardware plans have changed after Intel's price drop this summer. It will be alot of new things.
Pre-existing hardware
A few old HDDs for temporary high-performance non-critical storage (possibly 3x 80 GB in software RAID 5).
IDE controller card using a PCI slot. (Will require a new one if there is no Linux support.)
Planned purchases
Case
Chieftec Mesh Fulltower with a 400W PSU included.
I will require two 120mm fans and three to five 92mm fans as well as a fan controller with at least 4 channels to go with them. Maybe some filters as well.
Motherboard
I had my eyes on the Gigabyte GA-N680SLI-DQ6 with four GbLAN ports, 10 SATAII ports etc, but it costs a shitload. I probably won't need more than what the Abit AB9 Pro has to offer, which is two GbLAN ports and 9 SATAII ports (plus one eSATA). I still need to confirm driver compatibility with Red Hat based OSes on the AB9 Pro.
CPU
Intel Core 2 Quad Q6600, 2.4 GHz with four cores and 4 MB L2 cache per pair.
RAM
2-4 GB of DDR2 RAM of any decent brand will do. Preferably two 2 GB sticks to have room for upgrades in the future, if more than 4 GB is needed.
Graphics card
A low-end graphics card for PCI-express. Mostly any will do as long as it doesn't try to share system memory.
Storage
2x 250 or 320 GB SATA HDDs (Western Digital RE/RE2, RE=Raid Edition with 5 year warranty); For use as system disks in a software RAID 1 array.
500 GB Western Digital (SE or RE) for additional storage. Possibly more since I need to replace three drives, two 200 GB and one 320 GB, that are close to failing.
| AMD Dual core | Intel Dual core | Intel Quad core | |
|---|---|---|---|
| Case | Chieftec Mesh miditower | ||
| PSU | T.B.D. | ||
| CPU | Athlon 64 X2 5200+ | Core 2 Duo E6xxx | Core 2 Quad Q6600 |
| Motherboard | |||
| RAM | 4 GB (ECC if motherboard supports it) | ||
Software
Host OS: CentOS 5 (based on Red Hat Enterprise Linux)
VMware Server for Linux
Concept
Minimal host OS running multiple guest OSes with VMware Server.
Virtual Machines
A short list of possible configurations of virtual machines. Each VM has some overhead in terms of RAM usage which limits the number of VMs I can run at one time. Possible overhead (up to 54 MB for a VM allocated up to 512 MB RAM) is not included in resource proposal per VM.
| Description | Guest OS | Service(s) | Resource proposal | Main storage | Comment | |
|---|---|---|---|---|---|---|
| VM 1 | Firewall/
router/ port forwarding | Free- or OpenBSD | ipfw with dummynets(?) | ~128-256 MB RAM | Configuration saved within VMfs | |
| VM 2 | HTTP/FTP/radio/mail etc. | FreeBSD | Apache 2.x
PureFTPd(?) | ~256-512 MB RAM | Files accessed via NAS(?) | |
| VM 3 | DB/storage server | FreeBSD | MySQL 5.x, SVN,
samba | ~256-512 MB RAM | DB saved within VMware virtual disk
Misc storage t.b.d. | Current database size ~120 MB |
| VM 4 | minikai | Windows (2k?) | MSN, IRC, ICQ, Jabber, etc. | ~512-768 MB RAM | Files saved within VMware virtual disk | |
| VM 5 | Misc Windows client | Windows (2k?) | DC/BT etc. | ~512-768 MB RAM | Storage access to VM 3 via VM 1 | |
| Summary | ~1.6-2.8 GB RAM
/ 4 GB |
Additional services
Some form of combined user database to connect mail, FTP and storage. LDAP?
Storage
Different ways to manage VM/data storage. The easiest way to share access to data is to utilize the storage VM server.
One idea is to store the information in the same VMware virtual disk as the guest OS. This could work well enough when the required storage space is low.
A better idea is to store the data in a separate VMware virtual disk from the guest OS for easy backup. In the case of large storage requirements, like for the NAS server, this is a much better idea than the previous since it separates the OS from the data.
A third idea, mainly for the NAS server's more permanent storage of larger files, is to mount one or more partitions/devices raw. You wouldn't need to have data stored in VMware virtual disk files on such drives, which increases portability and access from outside of the VM if necessary.
VMware discussion forum
My recently posted topic: VM and data storage (comments on my planned server upgrade is appreciated)
Interesting topics
Physical Disk Multiple VMservers
VMDK Performance tweaks....how to obtain the best performance???
Vmware Server – Teaming / Bonding Multiple NICs in Linux
