Linux Multipath Setup Howto

Filed under: Linux, Oracle — Wrote on Friday, June 27th, 2008 @ 3:10 pm

Multipathing Di linux dengan Device Mapper
———————————————-
1. Server IBM BladeCenter HS20 dengan RHEL 4
2. Storage HDS USP1100
3. Switch brocade 48000

Langsung aja ya..

Cek HBA WWN nya
# cat /proc/scsi/qla2xxx/2 |grep port
scsi-qla1-adapter-port=210000145e24e4d5;
# cat /proc/scsi/qla2xxx/1 |grep port
scsi-qla0-adapter-port=210000145e24e4d4;

Cek Aplikasi Device mapper & Installasi
# rpm -qa|grep device-mapper

# wget ftp://ftp.pbone.net/mirror/ftp.centos.org/4.6/os/i386/
CentOS/RPMS/device-mapper-multipath-0.4.5-27.RHEL4.i386.rpm


# wget ftp://ftp.pbone.net/mirror/ftp.centos.org/4.6/os/i386/
CentOS/RPMS/sysfsutils-1.2.0-1.i386.rpm

# rpm -ivh sysfsutils-1.2.0-1.i386.rpm
# rpm -ivh device-mapper-multipath-0.4.5-27.RHEL4.i386.rpm

ModProbe ke Kernel
# modprobe dm-multipath

Startup Config
# chkconfig multipathd on
# service multipathd start
(more…)

My Feisty Fawn Cd Has Arrived

Filed under: Info, Linux — Wrote on Monday, June 25th, 2007 @ 4:22 am

three days ago when i was training solaris 10, at my desk has come a new packet from ubuntu, the packet was come so fast that i ever things.
I’m very happy coz now inside the packet you will find a sticker ubuntu there..

ubuntu1.jpg

Collect Data In Your Box with cfg2html

Filed under: HP-UX, Linux — Wrote on Tuesday, May 15th, 2007 @ 3:51 am

Cfg2html is a UNIX shell script similar to check_config or get_config, except that it creates a HTML (and plain ASCII) system documentation..

$ sudo apt-get install gawk
$ wget http://www.cfg2html.com/cfg2html-linux_1.39-4_all.deb
$ sudo dpkg -i cfg2html-linux_1.39-4_all.deb
$ sudo cfg2html-linux
$ firefox /etc/cfg2html/<your-hostname>.html

Enjoy The Document..
Cheers.

apache2: apr_sockaddr_info_get() failed for & Could not reliably determine the server’s fqdn, using 127.0.0.1 for ServerName

Filed under: Linux — Wrote on Tuesday, April 10th, 2007 @ 7:59 am

Pernah?
Dah Basi Pastinya

$ gksudo gedit /etc/apache2/httpd.conf
Lalu Masukan Parameter Dibawah ini
ServerName localhost
$ sudo /etc/init.d/apache2 start
* Starting web server (apache2)... httpd (pid 12023) already running [ OK ]

–EOF

Errors were upgrade to dapper

Filed under: Linux — Wrote on Wednesday, March 28th, 2007 @ 3:59 am

When i was upgrade from hoary to edgy, I was stuck, when level upgrade from breezy to dapper.

Errors were encountered while processing:
/var/cache/apt/archives/
lvm2_2.02.02-1ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

so i was sudo apt-get remove lvm2, and then when i was to sudo dpkg --purge lvm2, i get an error “cant remove coz lvm2 wasn’t installed..n directory was empty..”,

So?
conclusion just change the repository back to breezy, then sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
after finished the upgrade change the repository to dapper and then sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
after that you should now what you’re doing.
cheers

gandalf@isengard:~$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 6.10
Release: 6.10
Codename: edgy

“apt-get *” behind Proxy Server

Filed under: Linux — Wrote on Monday, March 26th, 2007 @ 3:15 am

Dah lama ga upload tulisan, meski kadang yang gue tulis ga berbobot, wakakak,

Kawan jikalau merasa rada suntuk melakukan apt-get dibelakang proxy server, silahkan tambahkan ip proxy anda seperti dibawah ini..
(more…)

Speed up Ubuntu boot

Filed under: Linux — Wrote on Wednesday, January 3rd, 2007 @ 6:57 pm

Boot proses dalam sebuah sistem operasi adalah hal yang sangat perlu dicermati, karena merupakan proses utama dalam sebuah sistem operasi, jadi misalnya didalam sebuah boot proses tersebut terdapat banyak services yang berjalan atau bahkan sebuah malicious script atau virus [yang terakhir disebutkan ini masih dikatakan jarang, kecuali untuk pemakai, M$], maka apa jadinya sysop anda. Nah untuk melihat service-service yang berjalan tersebut maka digunakan sebuah aplikasi yang namanya “sysv-rc-conf“, hampir-hampir mirip “chkconfig” bila anda pemakai redhat.

(more…)

Optimasi Firefox

Filed under: Linux — Wrote on Wednesday, January 3rd, 2007 @ 5:22 pm

Optimasi firefox? perlu ga seh..
Mungkin untuk sebagian orang optimasi dan tweaking si rubah api dibutuhkan untuk meningkatkan performance agar “more faster” lagi.
trus apa yang harus dilakukan, apa harus config manual seperti mengganti
network.http.pipelining, network.http.pipelining.maxrequests,
network.http.max-persistant-connections-per-proxy, etc
di “about:config” pada firefox.
(more…)

Using Proxy on Wget

Filed under: Linux — Wrote on Tuesday, January 2nd, 2007 @ 9:25 pm

Memang susah kalo apa-apa selalu dibelakang proxy, ini yang seperti gue alami saat ini, apalagi disaat menggunakan wget yang notabene berjalan di port 80.
trus bagaimana ngakalinya?
gampang masukin aja “proxy” nya, trus “wget” deh, done..

$ sudo nano /etc/wgetrc
Lalu Edit pada baris

http_proxy = http://isatproxy:8080/
use_proxy = on

Keterangan:
Isatproxy = Nama Proxy Servernya
8080 = Port Yang digunakan, default 3128 atau 8080
See skrinsut before n after..

Installation ubuntu on Microsoft virtual Pc

Filed under: Info, Linux — Wrote on Tuesday, October 10th, 2006 @ 8:46 pm

Are u stack when installin Ubuntu Dapper Drake on virtual pc 2004,
Follow this trick..

(more…)

© it’s simply a matter of a time…