[Ocfs-users] Changing a node's hostname.

Wim Coekaerts wim.coekaerts at oracle.com
Mon Aug 23 17:09:44 CDT 2004


unless this is one of those things where hostid has been regenerated on
each reboot and now ran out of slots.

On Mon, Aug 23, 2004 at 01:58:12PM -0700, Sunil Mushran wrote:
> 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 at oracle.com] 
> > Sent: Monday, August 23, 2004 12:03 PM
> > To: don.stocks at clearcapital.com
> > Cc: ocfs-users at 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 at ClearCapital.com
> > > 
> > > 
> > >  
> > > 
> > > 
> > > 
> > > ______________________________________________________________________
> > > _______________________________________________
> > > Ocfs-users mailing list
> > > Ocfs-users at oss.oracle.com
> > > http://oss.oracle.com/mailman/listinfo/ocfs-users
> > 
> > 
> 
> _______________________________________________
> Ocfs-users mailing list
> Ocfs-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs-users



More information about the Ocfs-users mailing list