Pratamaputra’s Weblog

Just another WordPress.com weblog

Archive for June 2008

Installing Raid Card on IBM x3200 M2

without comments

What a day, …

As per request, i designed a server with RAID capability and plan to use SATA RAID controller from intel / adaptec / promises brand.

Looking for intel and promise is difficult, yet i found 1 sata raid controller from adaptec at gudang IT, 3rd floor of dusit mangga dua Jakarta.

Happily take home those card, i get shock when i open my new-fresh from the box IBM x3200 M2 has no PCI-X slot ready. Luckily it has one pci-X slot, but, to enable it you need PCI-X Enablement Slot / Card from IBM.

I’m not sure whether IBM Indonesia has it or not, well, .. i guess i’m not supposed to be pushing my body limit yet. (since i’m planning to finish all the installation today). It’s gonna be very bad if IBM Indonesia doesn’t have it. I look everywhere in Internet yet found nothing but it. Except a small information from IBM website with no where-to-buying info.

Written by pratamaputra

June 27, 2008 at 4:13 pm

Rapid Web Application Development

without comments

Case : Building HR system, including employees data, relate to structural organization chart and access right, payroll, attendance, leave, overtime, and performance. All those should be created in 2 days, starting from scratch.

Solution : Use framework, since it will speed up your development time. Because you don’t have to deal on form’s object and their property.

For example, a select option tag. While editing saved data, you need to show a previous saved data using select object. If you plan to build on php scratch, than you’ll need to iterate from all select’s option, compare it with last saved value, and add “selected” label on option that fit with your last saved.

Mmm, .. it is more easy to use delete data and reinsert to replace edit. Mmm, .. but you need to keep ID information … yea, you can’t user delete-than-insert method to replace edit.

Written by pratamaputra

June 2, 2008 at 2:28 pm

Multi Internet Connection & Auto BCC

without comments

Case :

  1. using 3 different internet line, create a 1 line, 3x bandwidth, and high availability line but transparent to user.
  2. create an email server that can add bcc to one hidden account from every email, either it incoming email or outgoing email.

Solution Plan :

1. Using router Linksys rv082, which has 8 ether port and 2 wan port, featuring load balancing to integrate 2 line of wan. Linksys did not come with 2 or more wan port. So, I’m planning to use 2 RV082, stacked to come with 3 load balanced WAN access.

2. forwarding email on incoming email is easy, but copying outgoing email need more effort. Using sendmail as mail transport agent, you will find some of hint to do auto copy / auto bcc for outgoing email.

http://www.sendmail.org/faq/section4/sf_highlight/auto+bcc#4.20

quote from sendmail.org, It would require custom programming. Note that no such feature has been added to sendmail. When asked about this one of the sendmail developers said it was “because we still believe a bit in privacy.”

using .forward file on each of every user home directory will automatically deliver incoming mail to another destination.

PS: This solutions has not yet proven.

Written by pratamaputra

June 2, 2008 at 2:15 pm