From: Stefano E. <ste...@so...> - 2009-03-20 09:43:30
|
Hi Marc, I succeed to get on single-node cluster with the Grub on external partition. Now I have a doubt, how do I prepare the second node to add it to the cluster ? What remains unclear to me is what I do to the infrastructure ! Thanks Ing. Stefano Elmopi Gruppo Darco - Area ICT Sistemi Via Ostiense 131/L Corpo B, 00154 Roma cell. 3466147165 tel. 0657060500 email:ste...@so... Il giorno 17/mar/09, alle ore 12:49, Stefano Elmopi ha scritto: > > > > Hi Marc, > > I had solved by changing the parameters with which it is > call the function clusterfs_mount_cdsl in the script > linuxrc.generic.sh and recreating the image, > but if this is not tested, I change the strategy. > I will do the procedure again because I want to have the Grub on > partition OCFS2, > and then I would create the infrastructure with <nodeid> and not > with <nodename>, > avoiding to create symbolic-link and to have a cleaner situation. > To do this, I must put option -i using com-mkcdslinfrastructure ?? > > Thanks > > > > > Ing. Stefano Elmopi > Gruppo Darco - Area ICT Sistemi > Via Ostiense 131/L Corpo B, 00154 Roma > > cell. 3466147165 > tel. 0657060500 > email:ste...@so... > > Il giorno 12/mar/09, alle ore 09:23, Marc Grimme ha scritto: > >> On Wednesday 11 March 2009 16:35:10 Stefano Elmopi wrote: >>> Hi Marc >>> >>> maybe I found a small error in the init script. >>> The function clusterfs_mount_cdsl is called with 4 parameters: >>> mountpoint >>> cdsl_dir >>> nodeid >>> prefix="/cluster/cdsl" >>> >>> but, in this manner, build the directory: >>> >>> ...../cluster/cdsl/1/..... >>> >>> to mount on >>> >>> ...../cdsl.local/..... >>> >>> but the infrastructure created is of type: >>> >>> ...../cluster/cdsl/<nodename>/..... and no <nodeid>. >>> >>> In this way the procedure goes wrong. >>> In the linuxrc.generic.sh I have changed as is called the function >>> clusterfs_mount_cdsl >>> and precisely call it with <nodename> instead of <nodeid>. >>> In this mamanner the procedure goes well and the new root OCFS2 is >>> mounted with GRUB on local server. >>> I hope to be clear. >> This means you've created the cdsl infrastructure with nodenames >> instead of >> nodeids. The default is to create the cdsl infrastructure with >> nodenames >> although we don't support it (test it) anymore (I should open a >> bug!!!!). We >> must change the default behaviour to use nodeids. >> >> But for you to work it around you could leave everything as it is >> and create >> symbolic links from <nodename> to <nodeid> in /cluster/cdsl. What >> do you >> think? >> >> -- >> Gruss / Regards, >> >> Marc Grimme >> http://www.atix.de/ http://www.open-sharedroot.org/ >> >> > |