Saturday, August 21, 2010

Brocade Switch command

Brocade Switch command
----------------------

switchshow == show switch details

cfgshow (overall zone config file name) == list the config file details

nsaliasshow == list all aliases

nsshow

alicreate "alias name", "WWN"

zonecreate "zone name", "alias name"

cfgadd "overall zone config file name", "new zone name"

cfgsave

cfgenable "overall zone config file name"

Linux and Solaris HBA


Solaris
----------
fcinfo hba-port == display WWN for HBA
prtpicl -v |grep -i WWN == display WWN for HBA

luxadm -e port == HBA port status and port physical path
luxadm probe == see what devices are connected
luxadm -e dump_map == get more details of HBA port
luxadm -e forcelip == perform loop connection (LIP)
cfgadm -c unconfigure/configure == configure controller
luxadm display == more details about that WWN
cfgadm -o show_FCP_dev -alv == more details about the controller
iostat -En

Linux
---------
echo 1 > /sys/class/fc_host/hostN/issue_lip == Loop connection for FC (LIP)
echo "- - -" > /sys/class/scs_host/hostN/scan == scan for new SCSI devices

echo "scsi-qlascan" > /proc/scsi// == qlogic card rescan

echo "scsi add-single-device 0 1 2 3" > /proc/scsi/scsi == scsi mid layer rescan

export PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/goodies:/usr/openv/netbackup/bin/admincmd:/usr/openv/volmgr/bin

Netapp and NDMP

Netapp
---------
sysconfig -a == shows everything in the system

storage show adapter == display adapter

storage show tape == show connected tapes
storage show mc == show connected changers

sysconfig -t == display connected tape drives
display connected == display connected tape drives
sysconfig -m == display connected medium changer

storage stats tape == more details about tape

storage show tape supported == list tape drives which is supported

fcadmin link_stats == ??

storage disable adapter == disable adapater
storage enable adapter == enable adapter


NDMP
----
ndmpd status == check ndmp sessions

ndmpd kill

ndmp killall


Solaris
-------
set_ndmp_attr -probe fillername == rescan and probe drives

set_ndmp_attr -verify fillername== check if you can login to the netapp from the server

Wednesday, June 30, 2010

Today is My Wife Birthday

Yup, today is my wife birthday. For the past 9 year, i always celebrate his birthday without any single day forgotten until today when i need to work on night shift. Sorry dear, we will celebrating your birthday on 1st june. Hehehe.

By the way, Happy Birthday to You Syg, I will always loving you.


Friday, October 16, 2009

Kejadian di Pagi Raya

Raya datang lagi, suasana masih sama cuma first raya, pagi2 dah pegi usj rumah atuk. Tahun ni raya kl so mmg kat kl la jawabnya. Tapi pada mlm sebelum tu, atas kesudian my wife yg mmg agak luarbiasa sudah sound aku;

wife -> abg, nak cakap sikit..
aku -> ye, kenapa?
wife -> abg, esok tengah hari kita balik kg abg. Raya KL tak best lah. Sama jer.
aku - > ok, kemas beg sekarang, solat raya kat kl lepas tu dlm tengah hari kita gerak penang.

Perh, mcm drama swasta yg hebat. Dalam 5 minit punya perbualan menyebabkan kiteorg beraya di 2 negeri pada hari yg sama. So, lepas solat raya, salam-salaman ngan uncle/auntie, borak2 kejap, kiteorg berdua pun balik kg aku. Mcm tulah bila dah berkeluarga, kekadang benda2 yg tak disangka akan jadi.. So korang bila lagi?

Monday, March 30, 2009

My London - Paris Preparation

Yup, my london- paris journey will be start on 30th april, a month from now. Accomodation in there should be settle by 2 weeks from now. France??, yup, i'm gonna learn a few words from now starting with bonjour

Thursday, March 5, 2009

My 1 step to ecommerce world

yup..this is my first step to e-commerce world by revamping my old website...http://www.liverpoolfanzone.com