Posts

Showing posts from May, 2008

Presense integration for webbased applications

To BM I had shared a simple piece of code to have presence integration - term for linking office communicator to any normal windows or web application - for one of the applications in my orgn. I am not going to explain it all over here - if you want that please refer to BM's blog - rather tell you how i did it. Disclaimer : We had no chance to see that code works if you have Office / Live communicator 2007. It would be good if someone could test and share this to the community I had seen Presence integration on the Sharepoint pages ( If i remember correctly its the contacts webpart) . I was landing into Microsoft's presence integration samples and the ASP.NET examples were not quite interesting and looked like a lot of plumbing. I abandoned that idea and started looking at the HTML (view source) of the sharepoint pages and understood, which javascript piece is required, what ActiveX control is used...etc... If i am not wrong its all the functions and variables that starts wit...

Extending LVM and LVM configuration backup

How I screwed things on my own... Recently I was supposed add new disks of 3 TBs ( 5 Physical 750GB disks) to an existing Linux LVM. A new big disk of 3TB was created from the array of disks. Used "parted" to create a big partition for the whole disk size( normal partitions bigger than 2TB are not supported via fdisk) and went ahead adding the new disk space to LVM. things went fine , when i finally checked with lvmdisplay the new size was increased in the target lvm.... but , vgdisplay and pvdisplay didn't report it appropriately :-( No issues, since i remembered the previous size, i shirked it using lvextend -L -3TB. then any command that i issued was throwing error. and things got screwed. Goggled a lot to get a resolution and didn't land to any right spot. then browsed through all the commands that get installed with the lvm RPM. then found 2 important commands vgcfgbackup and vgcfgrestore. What I learnt. the /etc/lvm folder is quite important. backup, cache, ...