[Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed dependencies

Rich Amick rAmick at dotster.com
Mon Dec 10 19:11:28 PST 2007


OK, I guess I'm still missing something.

I changed the config on all nodes using service o2cb configure.

I then stopped the cluster (crsctl stop crs), offlined and unloaded o2cb, updated the packages, loaded o2cb, onlined o2cb, tried to
start ocfs2 and I get the same errors as below.

oracle0 ~]$ /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
  Heartbeat dead threshold: 46
  Network idle timeout: 10000
  Network keepalive delay: 5000
  Network reconnect delay: 2000
Checking O2CB heartbeat: Active

oracle1 ~]# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
  Heartbeat dead threshold: 46
  Network idle timeout: 100000
  Network keepalive delay: 5000
  Network reconnect delay: 2000
Checking O2CB heartbeat: Not active

[I am trying to do the upgrade on oracle1, first with oracle0 still active in production]

How do I do this in a rolling manner with no downtime? 

-----Original Message-----
From: ramick [mailto:ramick at dotster.com] 
Sent: Monday, December 10, 2007 9:29 AM
To: 'Sunil Mushran'
Cc: 'Marcos.Matsunaga at oracle.com'; 'ocfs2-users at oss.oracle.com'
Subject: RE: [Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed dependencies

Yes, and you said so in your previous email - I didn't remember...

I am trying to do a  rolling upgrade so I have to use "service o2cb configure" to modify these parameters.  I have done so and will
have to wait for another maintenance window.

Thank you both for your help.

-----Original Message-----
From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com] 
Sent: Monday, December 10, 2007 9:17 AM
To: Rich Amick
Cc: Marcos.Matsunaga at oracle.com; ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed dependencies

As the faq mentions, to do a rolling upgrade, you need to
ensure the cluster timeout values are the same. In this case,
you should have set it to:

O2CB_HEARTBEAT_THRESHOLD=46 
O2CB_IDLE_TIMEOUT_MS= 10000
O2CB_KEEPALIVE_DELAY_MS= 5000
O2CB_RECONNECT_DELAY_MS= 2000

The last three were the original defaults.


Rich Amick wrote:
> I changed parameters in /etc/sysconfig/o2cb to those suggested:
> > >  FROM: 
> O2CB_HEARTBEAT_THRESHOLD=46 
> O2CB_IDLE_TIMEOUT_MS= 
> O2CB_KEEPALIVE_DELAY_MS= 
> O2CB_RECONNECT_DELAY_MS=
> > >  TO: 
> O2CB_HEARTBEAT_THRESHOLD = 31 
> O2CB_IDLE_TIMEOUT_MS = 30000 
> O2CB_KEEPALIVE_DELAY_MS = 2000 
> O2CB_RECONNECT_DELAY_MS = 2000
>  
> /etc/init.d/o2cb load 
> /etc/init.d/o2cb online
>  
> And tried to mount the volumes:
> /bin/mount -at ocfs2
>  
> Now, I get:
> mount.ocfs2: Transport endpoint is not connected while mounting 
> /dev/sda1 on /u01. Check 'dmesg' for more information on this error.
>  
> dmesg says:
> (409,3):o2hb_check_slot:881 ERROR: Node 0 on device sda1 has a dead 
> count of 92000 ms, but our count is 62000 ms.
> Please double check your configuration values for 
> 'O2CB_HEARTBEAT_THRESHOLD'
> (27024,0):o2net_check_handshake:1181 node oracle0 (num 0) at 
> 192.168.0.1:7777 uses a network idle timeout of 10000 ms, but we use 
> 30000 ms locally.  disconnecting
> (407,2):dlm_request_join:901 ERROR: status = -107
> (407,2):dlm_try_to_join_domain:1049 ERROR: status = -107
> (407,2):dlm_join_domain:1321 ERROR: status = -107
> (407,2):dlm_register_domain:1514 ERROR: status = -107
> (407,2):ocfs2_dlm_init:2024 ERROR: status = -107
> (407,2):ocfs2_mount_volume:1133 ERROR: status = -107
> ocfs2: Unmounting device (8,1) on (node 1)
>  
> What now?
>  
>
> ------------------------------------------------------------------------
> *From:* ocfs2-users-bounces at oss.oracle.com 
> [mailto:ocfs2-users-bounces at oss.oracle.com] *On Behalf Of *Rich Amick
> *Sent:* Friday, December 07, 2007 9:11 PM
> *To:* Marcos.Matsunaga at oracle.com
> *Cc:* ocfs2-users at oss.oracle.com
> *Subject:* RE: [Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed 
> dependencies
>
> That did it - thanks.
>
> ------------------------------------------------------------------------
> *From:* Marcos E. Matsunaga [mailto:Marcos.Matsunaga at oracle.com]
> *Sent:* Friday, December 07, 2007 9:04 PM
> *To:* Rich Amick
> *Cc:* ocfs2-users at oss.oracle.com
> *Subject:* Re: [Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed 
> dependencies
>
> Rich,
>
> Try:
> /bin/rpm -Uvh /usr/local/src/ocfs2-tools-1.2.7-1.el4.x86_64.rpm /usr/local/src/ocfs2console-1.2.7-1.el4.x86_64.rpm
usr/local/src/ocfs2-tools-devel-1.2.7-1.el4.x86_64.rpm
>
>
> That should do it.
>   
>
> Regards,
>
> Marcos Eduardo Matsunaga
>
> Oracle USA
> Linux Engineering
>
>
>   
>
>
> Rich Amick wrote:
>> [root at oracle1 ~]# uname -a
>> Linux oracle1 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
>>
>> [root at oracle1 ~]# rpm -qa | grep ocfs
>> ocfs2-tools-devel-1.2.4-1
>> ocfs2-2.6.9-34.ELsmp-1.2.5-2
>> ocfs2-tools-1.2.4-1
>> ocfs2console-1.2.4-1
>>
>> [root at oracle1 ~]# /etc/init.d/o2cb status
>> Module "configfs": Not loaded
>> Filesystem "configfs": Not mounted
>> Module "ocfs2_nodemanager": Not loaded
>> Module "ocfs2_dlm": Not loaded
>> Module "ocfs2_dlmfs": Not loaded
>> Filesystem "ocfs2_dlmfs": Not mounted
>>
>> However, I get:
>> /bin/rpm -Uvh /usr/local/src/ocfs2-tools-1.2.7-1.el4.x86_64.rpm /usr/local/src/ocfs2console-1.2.7-1.el4.x86_64.rpm 
>> error: Failed dependencies:
>>         ocfs2-tools = 1.2.4 is needed by (installed) ocfs2-tools-devel-1.2.4-1.x86_64
>>
>> If I try to upgrade ocfs2-tools-devel, I get:
>> [root at oracle1 ~]# /bin/rpm -Uvh /usr/local/src/ocfs2-tools-devel-1.2.7-1.el4.x86_64.rpm
>> error: Failed dependencies:
>>         ocfs2-tools = 1.2.7 is needed by ocfs2-tools-devel-1.2.7-1.el4.x86_64
>>
>> What am I doing wrong?
>>
>>
>> _______________________________________________
>> Ocfs2-users mailing list
>> Ocfs2-users at oss.oracle.com
>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users




More information about the Ocfs2-users mailing list