Hey, we may know how to kill process in unix environment especially the zombie process. All we need is process ID information (PID) and execute ‘kill -9 PID’. But what if those zombie process are hard to be killed & removed? How if we can’t mount a partition and found message “mount: /dev/hdb1 already mounted or /lad/cdma/ busy”

I tried some trick to troubleshoot when found a directory ‘/lad/cdma’ from /dev/hdb1 partition known as read only mode. I already checked /etc/fstab and everything is normal that means no read only mode written in this file configuration. This ‘/lad/cdma’ can’t be remounted.

At last, it can be solved by using this steps,

1. Stop application & database that related to ‘/lad/cdma’
2. Check, kill & trace all process that related to ‘/dev/hdb1’ partition

sh> fuser -m /dev/hdb1
sh> kill -9 PID
sh> strace -p PID

3. Check, kill & trace all process that related to ‘/lad/cdma’

sh>kill -9 PID
sh>strace -p PID

3. Unmount ‘/lad/cdma’

sh> unmount /lad/cdma

4. Remount ‘/lad/cdma’

sh> mount /lad/cdma

Hmm good 🙂

5. Done

Advertisements

It’s a bit confusing when we setup MPXIO storage multipath using old method in Solaris 10 8/11 , and I found panic message and auto rebooted server. Server is only going fine while FC cable was unplugged, it means multipath is failed.

Below I post nice step using new method (it’s too late for me). I hope it can help when we need, especially at critical moment.

Firstly, create backup file

sh> cp /kernel/drv/mpt.conf /kernel/drv/mpt.conf.ori
sh> cp /kernel/drv/fp.conf /kernel/drv/fp.conf.ori
sh> cp /kernel/drv/scsi_vhci.conf /kernel/drv/scsi_vhci.conf.ori


In next step, we must disable internal drive multipath

sh> stmsboot -D mpt -d


We need to check the result,

sh> stmsboot -L
sh> mpathadm list lu


We also have to make sure connected HBA,

sh> luxadm -e port
/devices/pci@0,60/pci@8/SUNW,qlc@0/fp@0,0:devctl         CONNECTED
/devices/pci@1,70/pci@0/SUNW,qlc@0/fp@0,0:devctl         CONNECTED


For example below I use HDS storage. We insert additional line into “/kernel/drv/fp.conf” file,

name="fp" parent="/pci@0,60/pci@8/SUNW,qlc@0" port=0 mpxio-disable="no";
name="fp" parent="/pci@1,70/pci@0/SUNW,qlc@0" port=0 mpxio-disable="no";


Meanwhile, we also have to edit some information line at “/kernel/drv/scsi_vhci.conf” file,

device-type-scsi-options-list="HITACHI DF600F",
"symmetric-option";
symmetric-option = 0x1000000;


Spare 5 minutes or more to review it by your self or ask your friend to do it. After all complete and confirmed, we move to next command to execute the magic command,

sh> stmsboot -e

Have a good day 🙂

Catatan buat Dek Denok sayang,

(I do swear that I’ll always be there. I’d give anything
and everything and I will always care. Through weakness
and strength, happiness and sorrow, for better, for worse,
I will love you with every beat of my heart.)

From this moment life has begun
From this moment you are the one
Right beside you is where I belong
From this moment on

From this moment I have been blessed
I live only for your happiness
And for your love I’d give my last breath
From this moment on

I give my hand to you with all my heart
Can’t wait to live my life with you, can’t wait to start
You and I will never be apart
My dreams came true because of you

From this moment as long as I live
I will love you, I promise you this
There is nothing I wouldn’t give
From this moment on

You’re the reason I believe in love
And you’re the answer to my prayers from up above
All we need is just the two of us
My dreams came true because of you

From this moment as long as I live
I will love you, I promise you this
There is nothing I wouldn’t give
From this moment
I will love you as long as I live
From this moment on

Sebelumnya tidak pernah terjadi problem instalasi via jumpstart seperti ini, “Begin script install_begin execution completed” . Proses instalasi stuck dan tak ada clue penyebabnya. Sehingga problem ini cukup merepotkan, sederhana tapi rumit.

Setelah mencoba beberapa kemungkinan-kemungkinan solusi, akhirnya kita sampai pada kesimpulan bahwa penyebab utamanya adalah disk internal yang contain previous Solaris OS.

Sehingga langkah yang diperlukan sebagai solusinya adalah seperti ini,

1. Boot network to single user mode
“boot net -s”

2. Mengubah layout vtoc internal disk
“format”

3. Execute Solaris installation script
“/sbin/install-solaris”

Dan proses instalasi jumpstart berjalan normal 🙂

Lagu Kita

January 23, 2012

Biasanya sih orang punya lagu yang merefleksikan dirinya, semacam identitas ketika sedang sedih berduka, gembira sampai kasmaran. Nah ini tak coba share ke sampean lagu-lagu yang menjadi semacam soundtrack atau theme song hari-hari, siapa tahu tho ada yang nyantol.

Lagu My Way yang pernah dibawakan oleh Frank Sinatra juga oleh Elvis Presley, padat singset berisi dan maknyus. Tak diragukan lagi, lirik dan untaian nadanya begitu mengaduk emosi, coba sesekali sampean dengerin.

Kemudian ada Gran Torino. Lagu ini ditulis oleh Jamie Cullum bersama dua orang lainnya spesial untuk film Gran Torino-nya Clint Eastwood. Chorus Gran Torino pernah dibawakan oleh Axl Rose dalam konser GNR di akhir 2011 sebagai intro lagu November Rain.

Sedangkan lagu Everybody’s Changing milik Keane juga masih menggelayut dalam nada semangat.

Stuck In The Moment garapan U2 sangat nendang, kickass pokoknya maah.

Nah kalau yang It’s Alright dari Black Sabbath bisa meredam segala argumen. In case everything doesn’t work out, still God with us and it’s alright.

Lagu di atas mungkin bisa ditautkan, “I did it my way” because “I need someone to hold” and “I try to stay awake and remember my name” also “I’m not afraid of anything in this world” so “It’s alright it’s alright”

Kalau lagu romantis? Buaaaanyaak deh, nih contohnya lagu Arti Kehidupan dari Om Mus Mujiono dan Ketaman Asmoro milik Didi Kempot.

Nah kalau masih kecil, theme song yang cocok yaa si Gundul Gundul Pacul 🙂

Apakah mungkin mengubah nama atau nomor controller disk di Solaris? Pertanyaan ini muncul saat ada problem perubahan instance number disk controller untuk LUN yang dikenal dalam Solaris.

Awalnya, Solaris mengenali instance number disk controller sebagai c3t0dXXXs0. Namun setelah ada penggantian HBA card, instance number disk controller berubah jadi c7t0dXXXs0.

Setelah diselidiki, instance number ini bisa diubah, saya tahu trik ini dari tulisan Fabio Morais di Web.

Berikut kutipannya,

sc> cd /dev/cfg
sc> mv c3 c3.o
sc> mv c7 c7.o
sc> mv c3.o c7
sc> mv c7.o c3
sc> touch /reconfigure
sc> shutdown -y -g0 -i6

Menarik bukan? 🙂

San, Howdy?

December 31, 2011

Ting tung, chat messenger di monitorku muncul. Ada account chat yang offline memulai percakapan denganku, kupikir mungkin dia sedang menghindari yang lain.

“Buzz”, “San, howdy. You’re working in Bandung right?”

“Soon, I need to go there” , “You know what. Almost three years something months, I was walking nowhere”.

Sambil ikuti percakapan, kusesap kopi panas di meja. Hanya berselang detik, dia terus menulis cerita kelunya.

“I blocked some contacts, cause I cant hear their critics and advices even it sounds good to me”

“Those depressed me so much, it caused me in deep pain”

“I dont like how they judge me, they don’t know me and they don’t care, I know it. It seems I lost in faith for my friend, especially those people”

Siang itu hanya ada rasa ingin tahu, tapi kukesampingkan.

“I’ve got contract last week. And you know? I’m going to work next month in Bandung”, selanya.

Kucoba meraih HP di saku baju untuk melihat nomorku sebelum kuberikan padanya, heran dengan nomor sendiri pun aku tak ingat.

“Hei Stev, this is my number +628xxxyyzzvv” timpalku, “Just drop me a call whenever you need”

Aku panggil dia Stev, panggilan dari namanya Steven Moore Rosenbaum.

Dulu, aku mengenalkan namaku sebagai Sandy ke dia. Biar keren dan terdengar beken. Padahal kalian sendiri tahu namaku, Mbeling.

Aku senang bisa tahu dia mampu berjalan tegap kembali di akhir tahun ini. I need to learn from him and also need to be stronger, may God give stronger arms to me, amin.

Advertisements
%d bloggers like this: