August 6th, 2008
I was talking with my friend Tirthankar (from OHAC community), and did want to hear from him how he was after the incidents that happened in his city (Bangalore bomb blasts). Thankfully not many people were hurt, and i could read on his blog, that people are not afraid and are going on with their normal lives. So, i did remember the movie “I am legend“, and the Bob Marley’s attitude cited by Dr. Neville (Will Smith):
“He had this idea. It was kind of a virologist idea.
He believed that you could cure racism and hate, literally cure it
by injecting music and love into people’s lives.
When he was scheduled to perform at a peace rally, a gunman
came to his house and shot him down. Two days later he walked out
on that stage and sang. When they asked him why - He said:
The people, who were trying to make this world worse… are not taking a day off.
How can I?
Light up the darkness.”
Peace.
Posted in General | No Comments »
July 30th, 2008
Ok, sometime ago i did this post about globo.com using open source softwares, and the phrase “We are moving from Oracle to MySQL“, did create some comments on my blog like this. Now i did update that post with the presentation’s video (FULL), so you can watch the whole presentation!
You can watch and download the video directly on the linuxpark site.
ps.: Brazilian portuguese.
Posted in General, Linux, Unixtips | 2 Comments »
July 25th, 2008
Today i did write my first project proposal on the OpenSolaris (OHAC community). The link for the proposal is here, and i would like to read your comments about it. If you don’t know what i’m talking about, i have a little agent to provide ZFS/NFS HA using NON-shared discs and AVS, and i would like to integrate that solution on OHAC (so we will have real hackers working on it, and cut off my code ;-).
There are some discussions about avoid shared-storage on OHAC, and make a shared-nothing cluster solution, but that is not the intent of my agent. Here you can read one discussion about it, where i did try to explain what my agent is and what it is not.
peace.
Posted in Avs, General, Nfs, Opensolaris, Suncluster, Unixtips, Zfs | 1 Comment »
July 22nd, 2008
No, it’s not my phrase, but i think it resumes the sysadmin’s work… Actually that phrase is a citation from Seu Jorge, talking about a theater school where the motto was the title of this post. Seu Jorge is a singer, song writer, actor, and soundtrack composer. You can see him in “City of God” (wonderful movie), and in many Jazz festivals around the world.
peace.
Posted in General, Unixtips | No Comments »
July 11th, 2008
As you know, i’m doing some tests with that hardware, and these days i had some troubles mapping SAN disks for it…
But Solaris has a lot of tools to debug and fix that kind of problems. The first command i did use was:
# fcinfo hba-port
HBA Port WWN: xxxx…
…
HBA Port WWN: xxxx…
…
Wich shows how many HBAs we have on the system, and the WWNs.
ps.: Actually, the first command was “format “, but just the local disc was showed, and i was looking for three other discs…
Let’s try another one:
fcinfo remote-port -p WWN-goes-here -s
It was not showing anything… Houston, we have a problem.
So, first i did try the command:
cfgadm -o show_FCP_dev -al
Ap_Id Type Receptacle Occupant Condition
c1 fc-fabric connected unconfigured unknown
c2 fc-fabric connected unconfigured unknown
Ok, it’s clear that both are unconfigured. So the next step was test the connection state:
# luxadm -e port
/devices/pci@0,0/pci8086,25e5@5/pci103c,1705@0/fp@0,0:devctl NOT CONNECTED
/devices/pci@0,0/pci8086,25e5@5/pci103c,1705@0,1/fp@0,0:devctl NOT CONNECTED
As you can see in the above command output, there are two HBA, but no one is “CONNECTED”. I’m not an expert, but i did need to use the “-e” (expert option from the manual :), for luxadm to force the link to reinitialize ( LIP/Loop Initialization Primitive):
# luxadm -e forcelip /devices/pci@0,0/pci8086,25e5@5\
/pci103c,1705@0/fp@0,0:devctl
After a few seconds…
# luxadm -e port
/devices/pci@0,0/pci8086,25e5@5/pci103c,1705@0/fp@0,0:devctl CONNECTED
/devices/pci@0,0/pci8086,25e5@5/pci103c,1705@0,1/fp@0,0:devctl NOT CONNECTED
Now a “dump_map” should show everything that is mapped to this host:
# luxadm -e dump_map /devices/pci@0,0/pci8086,25e5@5\
/pci103c,1705@0/fp@0,0:devctl
.
.
.
(a lot of stuff here)
.
.
You can use the command: “luxadm display /dev/rdsk/some-disk” to see a lot of informations about it.
That’s all!
Posted in General, Opensolaris, Unixtips | 2 Comments »