Posts Tagged “build”

The mock tool can be a wonderful thing, allowing you to produce rpm packages for any rpm based system (assuming your have the written .cfg for it).

What I did find a little lacking on the documentation side was the SCM integration (read: Source Control Management), git/svn etc …

In short so long as your rpm spec file is in your SCM (and it should be), moc will build your rpm from your sources in scm, which can be used for.

1. bleeding edge builds for testing
2. builds from “stable tags”

Yes yes yes … obvious I know …

So with no futher ado here is the syntax:

1
mock -r your_target --scm-enable --scm-option method=git --scm-option package=git_project --scm-option git_get='git clone git@git_ip_address:SCM_PKG.git SCM_PKG' --scm-option spec='SCM_PKG.spec' --scm-option branch=1-2 --scm-option write_tar=True -v
  1. scm-enable – turns on the use of scm
  2. scm-option – set an option for the scm in use

The above worked for me, you will need to adjust it acordingly, i.e. if your spec file is not named identically to that of your git project: –scm-option spec=’specfile_name.spec’

This will tie me over untill I get chance to play with my monkey farm

Tags: , , , , , , ,

Comments No Comments »

We are still unfortunately waiting for the memory to arrive from crucial, *sigh*, so in this part I will cover what the “extras” are and the installation of them.

Parts list:

  1. Chenbro ES34069
  2. Jetway JNC92 Motherboard
  3. Jetway SATA II Daughterboard
  4. 2GB Transcend Flash Memory Module
  5. 4 x Samsung Spinpoint 1TB
  6. 2GB Low profile Ram (When it arrives)

The Case

Chenbro ES34069Chenbro ES34069 "guts"

The Chenbro ES34069 case has 4 ‘hot swappable’ SATA 2 HD caddies, optional card reader, internal PSU.

PROS:

Good quite case, has all the required features, even some extras such as LED’s for the network interfaces, nice and compact, with the hot swap being a major bonus

CONS:

I’d have to say the price, this case weighs in at £200+ which is a bit hefty for a case.

The proprietary PSU adapter, I’ve not had any issues with the PSU’s power adapter, but by the looks of things it is bespoke to Chenbro, so I doubt getting a spare/replacement is going to be easy.

The USB header, and optional Card reader, this is more a ‘con’ of this build, as the motherboard used only has 2 USB headers, one of which is being used by the USB storage for the operating system, meaning you have the choice of either using the front facing USB or the optional card reader.

Inaccessible backplane, now this for me was the kicker, the Daughterboard comes with some finely crafted 90 degree SATA cables, which would of been perfect, if I had been able to actually access the backplane to attach them, I could not for the life of me find a way to get to the backplane without causing irreversible damage to the case itself.

The Motherboard

The Jetway JNC92 Motherboard comes with an Intel Atom Dual core 330 processor, the reasoning behind this will become clear later on, however you can opt for the cheaper single core processors if you wish.

Jetway JNC92 Motherboard, CN1 Sata Daughtboard, Transcend 2GB "SSD"

As the picture shows I have opted to use a Transcend 2GB USB module which attaches directly onto the motherboard, this will be used to store the freeNAS operating system

The SATA II Daughterboard has onboard hardware RAID support 0, 1, 0+1, and 5 RAID options across the 4 ports, I am still debating using the hardware RAID over Software RAID for the following reasons.

Yes I know Hardware raid is much much faster however as I understand it due to the XOR logic used in the hardware processor, using hardware raid essentially locks you into using a particular manufacturers hardware, which if this line is discontinued by the time something goes wrong is a serious issue when trying to recover data, this is where software raid shines as it is code based, and will run from any x86 capable hardware, and lets face it, it is not as if we are lacking CPU power in this build!

PROS:

Cheap and cheerfull motherboard

Powerful dual core CPU (Not like we’re going to be playing Crysis here, but for the use it is intended this CPU has ample power)

Expandability, this HAS to be the biggest selling point for this motherboard, you do not have to use it for any one thing in particular, I will shortly be looking at using this motherboard with the 3 x Gigabit daughterboard for building a hardware network monitor, think IDS, man in the middle machine goodness!

CONS:

Heatsinks, or their rotation they are top to bottom, where as the case I am using as most cases now has the airflow front to back, this is a minor con, but the heatsinks should be orientated for the best airflow.

USB headers, the Transcend USB module is designed to lock into the plastic socket you useually find on your USB headers, this motherboard does not have the sockets just the raw pins.

More images

Tags: , , ,

Comments 4 Comments »

As the company I am working for (Psycle Interactive Ltd) grow there became an increasing need to store and share large files between machines, granted we are all on MACs here, but the “drop box” becomes inconvenient when you want to share that file with multiple people.

As such I looked for ways to build a “cost effective” NAS, and now following the success of a recent build using FreeNAS for deploying an office NAS with 2.7TB of usable disk space I/we have developed a concept for using these relatively cheap NAS systems for Disaster Recovery Purposes.

This NAS build at the time of writing costs £740.54 inc VAT, for a 4TB system, giving approx 2.7TB of usable diskspace in a RAID 5 configuration, try getting a pre-built model for that, here’s a comparison

  • 4TB NAS Built in this series £740.54 inc VAT
  • Iomega 4TB NAS ~£2576.50
  • HP Proliant 4TB ~£4502
  • Netgear Readynas ~£1322.17

note: “~”
As show above I will be building our 4 NAS systems (1 I have already built) for around £1600 less than the price of a single HP Proliant system.

This blog series will cover the build process of the NAS systems as they are built, along with the theory and methods used to allow them to function as DR devices.

Currently we are waiting for the memory to arrive from Crucial, so until that arrives the new builds will not progress, in Part 2 I will be going over the motherboard and the “extras” we have chosen to use for this build.

See you in part 2!

Tags: , , ,

Comments 1 Comment »