It's not the hostname, but the ip address in ocfs.conf which determines
the network interface. hostname is for ornamentation purposes only.
BTW, just changing the ip address may not be enough.
On Mon, 2004-08-23 at 13:50, Don Stocks wrote:> Thanks a bunch! One more question. I would like all ocfs "cluster
> traffic" to go over my private network adapters (connected via
crossover
> cables) not over my public interfaces (connected to the switch). If I
> use the hostname that references the private address when configuring
> the ocfs nodes, will ocfs use the private interface for all "cluster
> traffic" even though the "registered nodes" list shows the
systems
> "real" hostnames?
>
> Thanks, Don
>
> -----Original Message-----
> From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com]
> Sent: Monday, August 23, 2004 12:03 PM
> To: don.stocks@clearcapital.com
> Cc: ocfs-users@oss.oracle.com
> Subject: Re: [Ocfs-users] Changing a node's hostname.
>
> After changing the name in ocfs.conf, you will need (re)load the module
> and mount the device.
>
> The new nodename gets reflected in the device only during the mount.
>
> ocfstool does not store any info. On startup, it reads the header of all
> the partitions listed in /proc/partitions and lists those which match
> ocfs' signature. So, it depends how you "dumped" those
partitions. A
> quick way would be to....
>
> dd if=/dev/zero of/dev/sdXX bs=512 count=1
>
> On Mon, 2004-08-23 at 10:46, Don Stocks wrote:
> > What steps do I need to take to change a host's name? I modified
the
> > /etc/ocfs.conf file but ocfstool still reports the old name under the
> > "Configured Nodes" tab.
> >
> >
> >
> > I'm also wondering where ocfstool stores the partition information
> > that it shows under the device list. I dumped a couple ocfs
> > partitions but they still show up in ocfstool.
> >
> >
> >
> > Thanks, Don
> >
> >
> >
> > _____________________________
> >
> > Don Stocks
> >
> >
> > Senior System Administrator
> >
> >
> > Clear Capital
> >
> >
> > Formerly BPO Tracker
> >
> >
> >
> >
> >
> > office: 530.550.2556
> >
> >
> > fax: 530.582.9941
> >
> >
> > email: don.stocks@ClearCapital.com
> >
> >
> >
> >
> >
> >
> > ______________________________________________________________________
> > _______________________________________________
> > Ocfs-users mailing list
> > Ocfs-users@oss.oracle.com
> > http://oss.oracle.com/mailman/listinfo/ocfs-users
>
>