Re: [Veritas-ha] Correcting the types.cf file
Manuel & Gene - Thanks for your assistance. I think I was chasing my tail. It does appear that the types.cf gets completely rewritten during haconf -dump -makero and it's different from the original, so there is no issue. Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 10:48 AM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, > Am I following an issue that may not exist? This could be the case. The file is parsed and rearranged in a deterministic fashion (e.g. alphabetic order). It seems just the remote build nodes write it down (if no files are missing in the meantime on the local build node). Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 8. August 2008 16:34 To: Manuel Braun; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Manuel - The *.cf files are consistent between all members of the cluster following the below commands. Now a new question. Am I following an issue that may not exist? Does haconf -dump necessarily write the types.cf file in the same format/size as it originally existed? Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 10:25 AM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Could you do the following test to ensure the engine is consistently writing the config files? Prerequisite: all cluster nodes are running 1) /opt/VRTSvcs/bin/haconf -makerw 2) On all nodes: Move all files from the "/etc/VRTSvcs/conf/config" directory to a backup location 3) /opt/VRTSvcs/bin/haconf -dump 4) Check if the types.cf file is the same on all nodes 5) /opt/VRTSvcs/bin/haconf -dump -makero Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 8. August 2008 16:02 To: Manuel Braun; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Manuel - I don't know if you got this yesterday. It was too big for the mailing list posting in it's original size but it's kind of hard to tell. The order of the types is different between the two so they don't match up well in a diff, but from what I can tell, the differences are mostly additional spaces and some defaults specified for some of the variables. Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 4:34 PM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Does a diff between both types.cf - as suggested by Gene - gives some insights? Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 22:21 To: Auleta, Michael; Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Setting the premissions had no effect. hastop -all -force cd /etc/VRTSvcs/conf/config cp ../types.cf types.cf chmod 444 types.cf ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf hastart (on one node, then the other) ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf haconf -makerw haconf -dump -makero ls -l types.cf -rw--- 2 root root6171 Aug 7 16:06 types.cf This is exhibited on both nodes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 4:01 PM To: Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The "good" types.cf is the one that get's installed using pkgadd (6348 is the size) grep types.cf /var/sadm/contents /etc/VRTSvcs/conf/types.cf f none 0444 root sys 6348 18142 1109878762 VRTSvcs but now I see an issue with permissions. Let me try to fix that and see what happens. From: Gene Henriksen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 3:43 PM To: Auleta, Michael; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Out of curiosity, what is the difference between the "good" types.cf and what it saves? Did you manually edit the "good" types.cf to make changes? If you edited the types.cf, you could have added extra spaces or put in a setting that is already a default and these would g
Re: [Veritas-ha] Correcting the types.cf file
Hi Mike, > Am I following an issue that may not exist? This could be the case. The file is parsed and rearranged in a deterministic fashion (e.g. alphabetic order). It seems just the remote build nodes write it down (if no files are missing in the meantime on the local build node). Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 8. August 2008 16:34 To: Manuel Braun; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Manuel - The *.cf files are consistent between all members of the cluster following the below commands. Now a new question. Am I following an issue that may not exist? Does haconf -dump necessarily write the types.cf file in the same format/size as it originally existed? Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 10:25 AM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Could you do the following test to ensure the engine is consistently writing the config files? Prerequisite: all cluster nodes are running 1) /opt/VRTSvcs/bin/haconf -makerw 2) On all nodes: Move all files from the "/etc/VRTSvcs/conf/config" directory to a backup location 3) /opt/VRTSvcs/bin/haconf -dump 4) Check if the types.cf file is the same on all nodes 5) /opt/VRTSvcs/bin/haconf -dump -makero Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 8. August 2008 16:02 To: Manuel Braun; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Manuel - I don't know if you got this yesterday. It was too big for the mailing list posting in it's original size but it's kind of hard to tell. The order of the types is different between the two so they don't match up well in a diff, but from what I can tell, the differences are mostly additional spaces and some defaults specified for some of the variables. Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 4:34 PM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Does a diff between both types.cf - as suggested by Gene - gives some insights? Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 22:21 To: Auleta, Michael; Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Setting the premissions had no effect. hastop -all -force cd /etc/VRTSvcs/conf/config cp ../types.cf types.cf chmod 444 types.cf ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf hastart (on one node, then the other) ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf haconf -makerw haconf -dump -makero ls -l types.cf -rw--- 2 root root6171 Aug 7 16:06 types.cf This is exhibited on both nodes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 4:01 PM To: Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The "good" types.cf is the one that get's installed using pkgadd (6348 is the size) grep types.cf /var/sadm/contents /etc/VRTSvcs/conf/types.cf f none 0444 root sys 6348 18142 1109878762 VRTSvcs but now I see an issue with permissions. Let me try to fix that and see what happens. From: Gene Henriksen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 3:43 PM To: Auleta, Michael; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Out of curiosity, what is the difference between the "good" types.cf and what it saves? Did you manually edit the "good" types.cf to make changes? If you edited the types.cf, you could have added extra spaces or put in a setting that is already a default and these would get stripped out on a save. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 3:12 PM To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The simulator exibits the same behavior. Start the cluster Check the types.cf (-rw--- 1 root root 6348 Aug 7 14:55 types.cf) (correct) Run hacf -makerw Run hacf -dump -makero Che
Re: [Veritas-ha] Correcting the types.cf file
Manuel - The *.cf files are consistent between all members of the cluster following the below commands. Now a new question. Am I following an issue that may not exist? Does haconf -dump necessarily write the types.cf file in the same format/size as it originally existed? Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 10:25 AM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Could you do the following test to ensure the engine is consistently writing the config files? Prerequisite: all cluster nodes are running 1) /opt/VRTSvcs/bin/haconf -makerw 2) On all nodes: Move all files from the "/etc/VRTSvcs/conf/config" directory to a backup location 3) /opt/VRTSvcs/bin/haconf -dump 4) Check if the types.cf file is the same on all nodes 5) /opt/VRTSvcs/bin/haconf -dump -makero Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 8. August 2008 16:02 To: Manuel Braun; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Manuel - I don't know if you got this yesterday. It was too big for the mailing list posting in it's original size but it's kind of hard to tell. The order of the types is different between the two so they don't match up well in a diff, but from what I can tell, the differences are mostly additional spaces and some defaults specified for some of the variables. Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 4:34 PM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Does a diff between both types.cf - as suggested by Gene - gives some insights? Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 22:21 To: Auleta, Michael; Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Setting the premissions had no effect. hastop -all -force cd /etc/VRTSvcs/conf/config cp ../types.cf types.cf chmod 444 types.cf ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf hastart (on one node, then the other) ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf haconf -makerw haconf -dump -makero ls -l types.cf -rw--- 2 root root6171 Aug 7 16:06 types.cf This is exhibited on both nodes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 4:01 PM To: Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The "good" types.cf is the one that get's installed using pkgadd (6348 is the size) grep types.cf /var/sadm/contents /etc/VRTSvcs/conf/types.cf f none 0444 root sys 6348 18142 1109878762 VRTSvcs but now I see an issue with permissions. Let me try to fix that and see what happens. From: Gene Henriksen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 3:43 PM To: Auleta, Michael; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Out of curiosity, what is the difference between the "good" types.cf and what it saves? Did you manually edit the "good" types.cf to make changes? If you edited the types.cf, you could have added extra spaces or put in a setting that is already a default and these would get stripped out on a save. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 3:12 PM To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The simulator exibits the same behavior. Start the cluster Check the types.cf (-rw--- 1 root root 6348 Aug 7 14:55 types.cf) (correct) Run hacf -makerw Run hacf -dump -makero Check the types.cf (-rw--- 2 root root 6171 Aug 7 14:56 types.cf) (incorrect) I'm not sure it's actually reading the types.cf file I want to use. I can't find any other instances other than /etc/VRTSvcs/conf & /opt/VRTScssim, and they're the correct size. What I actually think is happening is that the types.cf setting is being ignored in main.cf, but I don't know where the one that's being used is coming from. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008
Re: [Veritas-ha] Correcting the types.cf file
Hi Mike, Could you do the following test to ensure the engine is consistently writing the config files? Prerequisite: all cluster nodes are running 1) /opt/VRTSvcs/bin/haconf -makerw 2) On all nodes: Move all files from the "/etc/VRTSvcs/conf/config" directory to a backup location 3) /opt/VRTSvcs/bin/haconf -dump 4) Check if the types.cf file is the same on all nodes 5) /opt/VRTSvcs/bin/haconf -dump -makero Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Freitag, 8. August 2008 16:02 To: Manuel Braun; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Manuel - I don't know if you got this yesterday. It was too big for the mailing list posting in it's original size but it's kind of hard to tell. The order of the types is different between the two so they don't match up well in a diff, but from what I can tell, the differences are mostly additional spaces and some defaults specified for some of the variables. Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 4:34 PM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Does a diff between both types.cf - as suggested by Gene - gives some insights? Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 22:21 To: Auleta, Michael; Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Setting the premissions had no effect. hastop -all -force cd /etc/VRTSvcs/conf/config cp ../types.cf types.cf chmod 444 types.cf ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf hastart (on one node, then the other) ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf haconf -makerw haconf -dump -makero ls -l types.cf -rw--- 2 root root6171 Aug 7 16:06 types.cf This is exhibited on both nodes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 4:01 PM To: Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The "good" types.cf is the one that get's installed using pkgadd (6348 is the size) grep types.cf /var/sadm/contents /etc/VRTSvcs/conf/types.cf f none 0444 root sys 6348 18142 1109878762 VRTSvcs but now I see an issue with permissions. Let me try to fix that and see what happens. From: Gene Henriksen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 3:43 PM To: Auleta, Michael; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Out of curiosity, what is the difference between the "good" types.cf and what it saves? Did you manually edit the "good" types.cf to make changes? If you edited the types.cf, you could have added extra spaces or put in a setting that is already a default and these would get stripped out on a save. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 3:12 PM To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The simulator exibits the same behavior. Start the cluster Check the types.cf (-rw--- 1 root root 6348 Aug 7 14:55 types.cf) (correct) Run hacf -makerw Run hacf -dump -makero Check the types.cf (-rw--- 2 root root 6171 Aug 7 14:56 types.cf) (incorrect) I'm not sure it's actually reading the types.cf file I want to use. I can't find any other instances other than /etc/VRTSvcs/conf & /opt/VRTScssim, and they're the correct size. What I actually think is happening is that the types.cf setting is being ignored in main.cf, but I don't know where the one that's being used is coming from. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:53 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, How about this: 1) "hastop -local -force" on the "strange" node 2) Move all files from the "/etc/VRTSvcs/conf/config" to a backup location 3) "hastart" on the "strange" node Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 20:43 To: Manuel Braun; veri
Re: [Veritas-ha] Correcting the types.cf file
Manuel - I don't know if you got this yesterday. It was too big for the mailing list posting in it's original size but it's kind of hard to tell. The order of the types is different between the two so they don't match up well in a diff, but from what I can tell, the differences are mostly additional spaces and some defaults specified for some of the variables. Mike From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 4:34 PM To: Auleta, Michael; Gene Henriksen; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, Does a diff between both types.cf - as suggested by Gene - gives some insights? Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 22:21 To: Auleta, Michael; Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Setting the premissions had no effect. hastop -all -force cd /etc/VRTSvcs/conf/config cp ../types.cf types.cf chmod 444 types.cf ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf hastart (on one node, then the other) ls -l types.cf -r--r--r-- 2 root root6348 Aug 7 16:04 types.cf haconf -makerw haconf -dump -makero ls -l types.cf -rw--- 2 root root6171 Aug 7 16:06 types.cf This is exhibited on both nodes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 4:01 PM To: Gene Henriksen; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The "good" types.cf is the one that get's installed using pkgadd (6348 is the size) grep types.cf /var/sadm/contents /etc/VRTSvcs/conf/types.cf f none 0444 root sys 6348 18142 1109878762 VRTSvcs but now I see an issue with permissions. Let me try to fix that and see what happens. From: Gene Henriksen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 3:43 PM To: Auleta, Michael; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Out of curiosity, what is the difference between the "good" types.cf and what it saves? Did you manually edit the "good" types.cf to make changes? If you edited the types.cf, you could have added extra spaces or put in a setting that is already a default and these would get stripped out on a save. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 3:12 PM To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The simulator exibits the same behavior. Start the cluster Check the types.cf (-rw--- 1 root root 6348 Aug 7 14:55 types.cf) (correct) Run hacf -makerw Run hacf -dump -makero Check the types.cf (-rw--- 2 root root 6171 Aug 7 14:56 types.cf) (incorrect) I'm not sure it's actually reading the types.cf file I want to use. I can't find any other instances other than /etc/VRTSvcs/conf & /opt/VRTScssim, and they're the correct size. What I actually think is happening is that the types.cf setting is being ignored in main.cf, but I don't know where the one that's being used is coming from. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:53 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, How about this: 1) "hastop -local -force" on the "strange" node 2) Move all files from the "/etc/VRTSvcs/conf/config" to a backup location 3) "hastart" on the "strange" node Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 20:43 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file I tried that previously (after your initial response). Same issue. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:28 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, I quickly tested this in a lab cluster. A non-existing or modified types.cf is overwritten in the REMOTE_BUILD phase on the joining node. Could you please try removing the types.cf before doing the hastart. Regards Manuel ___ Veritas-ha maillist - Veritas-ha@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha
Re: [Veritas-ha] Correcting the types.cf file
The "good" types.cf is the one that get's installed using pkgadd (6348 is the size) grep types.cf /var/sadm/contents /etc/VRTSvcs/conf/types.cf f none 0444 root sys 6348 18142 1109878762 VRTSvcs but now I see an issue with permissions. Let me try to fix that and see what happens. From: Gene Henriksen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 3:43 PM To: Auleta, Michael; Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Out of curiosity, what is the difference between the "good" types.cf and what it saves? Did you manually edit the "good" types.cf to make changes? If you edited the types.cf, you could have added extra spaces or put in a setting that is already a default and these would get stripped out on a save. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 3:12 PM To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The simulator exibits the same behavior. Start the cluster Check the types.cf (-rw--- 1 root root 6348 Aug 7 14:55 types.cf) (correct) Run hacf -makerw Run hacf -dump -makero Check the types.cf (-rw--- 2 root root 6171 Aug 7 14:56 types.cf) (incorrect) I'm not sure it's actually reading the types.cf file I want to use. I can't find any other instances other than /etc/VRTSvcs/conf & /opt/VRTScssim, and they're the correct size. What I actually think is happening is that the types.cf setting is being ignored in main.cf, but I don't know where the one that's being used is coming from. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:53 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, How about this: 1) "hastop -local -force" on the "strange" node 2) Move all files from the "/etc/VRTSvcs/conf/config" to a backup location 3) "hastart" on the "strange" node Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 20:43 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file I tried that previously (after your initial response). Same issue. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:28 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, I quickly tested this in a lab cluster. A non-existing or modified types.cf is overwritten in the REMOTE_BUILD phase on the joining node. Could you please try removing the types.cf before doing the hastart. Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 19:53 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw---
Re: [Veritas-ha] Correcting the types.cf file
Hi Mike, How about this: 1) "hastop -local -force" on the "strange" node 2) Move all files from the "/etc/VRTSvcs/conf/config" to a backup location 3) "hastart" on the "strange" node Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 20:43 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file I tried that previously (after your initial response). Same issue. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:28 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, I quickly tested this in a lab cluster. A non-existing or modified types.cf is overwritten in the REMOTE_BUILD phase on the joining node. Could you please try removing the types.cf before doing the hastart. Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 19:53 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw--- 1 root root6348 Aug 7 09:44 types.cf.previous -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6348 Aug 7 13:40 types.cf After running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 262 -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r--
Re: [Veritas-ha] Correcting the types.cf file
I tried that previously (after your initial response). Same issue. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:28 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, I quickly tested this in a lab cluster. A non-existing or modified types.cf is overwritten in the REMOTE_BUILD phase on the joining node. Could you please try removing the types.cf before doing the hastart. Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 19:53 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw--- 1 root root6348 Aug 7 09:44 types.cf.previous -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6348 Aug 7 13:40 types.cf After running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 262 -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6171 Aug 7 13:41 types.cf.07Aug2008.13.41.15 -rw--- 2 root root6171 Aug 7 13:41 types.
Re: [Veritas-ha] Correcting the types.cf file
Out of curiosity, what is the difference between the "good" types.cf and what it saves? Did you manually edit the "good" types.cf to make changes? If you edited the types.cf, you could have added extra spaces or put in a setting that is already a default and these would get stripped out on a save. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 3:12 PM To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file The simulator exibits the same behavior. Start the cluster Check the types.cf (-rw--- 1 root root 6348 Aug 7 14:55 types.cf) (correct) Run hacf -makerw Run hacf -dump -makero Check the types.cf (-rw--- 2 root root 6171 Aug 7 14:56 types.cf) (incorrect) I'm not sure it's actually reading the types.cf file I want to use. I can't find any other instances other than /etc/VRTSvcs/conf & /opt/VRTScssim, and they're the correct size. What I actually think is happening is that the types.cf setting is being ignored in main.cf, but I don't know where the one that's being used is coming from. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:53 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, How about this: 1) "hastop -local -force" on the "strange" node 2) Move all files from the "/etc/VRTSvcs/conf/config" to a backup location 3) "hastart" on the "strange" node Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 20:43 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file I tried that previously (after your initial response). Same issue. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:28 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, I quickly tested this in a lab cluster. A non-existing or modified types.cf is overwritten in the REMOTE_BUILD phase on the joining node. Could you please try removing the types.cf before doing the hastart. Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 19:53 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw--- 1 root root6348 Aug 7 09:44 types.cf.previous -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6348 Aug 7 13:40 types.cf After running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs
Re: [Veritas-ha] Correcting the types.cf file
The simulator exibits the same behavior. Start the cluster Check the types.cf (-rw--- 1 root root 6348 Aug 7 14:55 types.cf) (correct) Run hacf -makerw Run hacf -dump -makero Check the types.cf (-rw--- 2 root root 6171 Aug 7 14:56 types.cf) (incorrect) I'm not sure it's actually reading the types.cf file I want to use. I can't find any other instances other than /etc/VRTSvcs/conf & /opt/VRTScssim, and they're the correct size. What I actually think is happening is that the types.cf setting is being ignored in main.cf, but I don't know where the one that's being used is coming from. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:53 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, How about this: 1) "hastop -local -force" on the "strange" node 2) Move all files from the "/etc/VRTSvcs/conf/config" to a backup location 3) "hastart" on the "strange" node Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 20:43 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file I tried that previously (after your initial response). Same issue. From: Manuel Braun [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 2:28 PM To: Auleta, Michael; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Hi Mike, I quickly tested this in a lab cluster. A non-existing or modified types.cf is overwritten in the REMOTE_BUILD phase on the joining node. Could you please try removing the types.cf before doing the hastart. Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 19:53 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw--- 1 root root6348 Aug 7 09:44 types.cf.previous -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6348 Aug 7 13:40 types.cf After running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:
Re: [Veritas-ha] Correcting the types.cf file
Hi Mike, I quickly tested this in a lab cluster. A non-existing or modified types.cf is overwritten in the REMOTE_BUILD phase on the joining node. Could you please try removing the types.cf before doing the hastart. Regards Manuel From: Auleta, Michael [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. August 2008 19:53 To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: RE: [Veritas-ha] Correcting the types.cf file Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw--- 1 root root6348 Aug 7 09:44 types.cf.previous -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6348 Aug 7 13:40 types.cf After running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 262 -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6171 Aug 7 13:41 types.cf.07Aug2008.13.41.15 -rw--- 2 root root6171 Aug 7 13:41 types.cf Ideas? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Braun Sent: Thursday, August 07, 2008 1:28 PM To: veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file Hi Mike, > Does the types.cf get "
Re: [Veritas-ha] Correcting the types.cf file
Tried another experiment 1) hastop -all -force 2) copy correct types.cf to /etc/VRTSvcs/conf/config 3) modify path to types.cf to the absolute path (include /etc/VRTSvcs/conf/config/types.cf) 4) hastart on a single node and wait for service groups to come online 5) haconf -makerw 6) haconf -dump -makero The old types.cf is written back to disk From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Auleta, Michael Sent: Thursday, August 07, 2008 1:53 PM To: Manuel Braun; veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw--- 1 root root6348 Aug 7 09:44 types.cf.previous -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6348 Aug 7 13:40 types.cf After running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 262 -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6171 Aug 7 13:41 types.cf.07Aug2008.13.41.15 -rw--- 2 root root6171 Aug 7 13:41 types.cf Ideas? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Braun Sent: Thursday, August 07, 2008 1:28 PM To: veritas-ha@mailman.eng.auburn.edu S
Re: [Veritas-ha] Correcting the types.cf file
Still not working. I did the following: 1) hastop -all -force 2) copied the correct types.cf into /etc/VRTSvcs/conf/config 3) ran hastart on the "good" node 4) waited for resources to come on line 5) verified the types.cf had not changed 6) ran hastart on the other node 7) waited for resources to come on line the types.cf file is the old one again on the second node before running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 248 -rw--- 1 root root6348 Aug 7 09:44 types.cf.previous -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6348 Aug 7 13:40 types.cf After running hastart node 1: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 722 -rw-r--r-- 1 root sys 244 Jul 11 2003 VRTSWebAppType.cf -r--r--r-- 1 root root6348 Nov 20 2007 types.cf.init41 -rw--- 2 root root1074 Nov 20 2007 OracleTypes.cf -rwx--x--x 1 root root 45695 Nov 20 2007 main.cmd.cvk -rw--- 1 root root 112046 Nov 20 2007 main.cmd -rw-r--r-- 1 root root5168 May 5 10:10 1 -rw--- 2 root root 51018 Jul 23 14:56 main.cf drwxr-xr-x 2 root root1536 Aug 6 14:53 bkups -rw--- 1 root root 51018 Aug 6 14:54 main.cf.2008080600 -rw--- 1 root root 51071 Aug 6 14:55 main.cf.new -rw--- 1 root root6171 Aug 6 14:58 types.cf.2008080600 -rw--- 2 root root6348 Aug 6 16:35 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.47.3 3 -rw--- 2 root root6348 Aug 7 13:40 types.cf node 2: [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > hastart [EMAIL PROTECTED]:/etc/VRTSvcs/conf/config <mailto:[EMAIL PROTECTED]:/etc/VRTSvcs/conf/config> > ls -ltr total 262 -rw--- 1 root root1074 Aug 7 09:44 OracleTypes.cf -rw-r--r-- 1 root root 244 Aug 7 09:45 VRTSWebAppType.cf -rw--- 2 root root 51018 Aug 7 09:45 main.cf.07Aug2008.09.45.41 -rw--- 2 root root 51018 Aug 7 09:45 main.cf -rw--- 2 root root6348 Aug 7 13:40 types.cf.previous -rw--- 2 root root6348 Aug 7 13:40 types.cf.07Aug2008.09.45.41 -rw--- 2 root root6171 Aug 7 13:41 types.cf.07Aug2008.13.41.15 -rw--- 2 root root6171 Aug 7 13:41 types.cf Ideas? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Braun Sent: Thursday, August 07, 2008 1:28 PM To: veritas-ha@mailman.eng.auburn.edu Subject: Re: [Veritas-ha] Correcting the types.cf file Hi Mike, > Does the types.cf get "built" from the running node along with main.cf? Yes, this works as designed and is called a "remote build". Just stop all nodes. Modify on one node and start this node fist. The other joining nodes will do the remote build. I hope this helps. Regards Manuel From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Auleta Sent: Donnerstag, 7. August 2008 17:58 To: veritas-ha@mailman.eng.auburn.edu Subject: [Veritas-ha] C
Re: [Veritas-ha] Correcting the types.cf file
Hi Mike, > Does the types.cf get "built" from the running node along with main.cf? Yes, this works as designed and is called a "remote build". Just stop all nodes. Modify on one node and start this node fist. The other joining nodes will do the remote build. I hope this helps. Regards Manuel From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Auleta Sent: Donnerstag, 7. August 2008 17:58 To: veritas-ha@mailman.eng.auburn.edu Subject: [Veritas-ha] Correcting the types.cf file We have a cluster (4.1) running on Solaris 10 where the types.cf in /etc/VRTSvcs/conf/config is incorrect. It does not match the types.cf in /etc/VRTSvcs/conf or the one in /opt/VRTScssim/types. I have run hastop -all -force and copied the correct types.cf file in place. I then run hastart on each node and the old types.cf file ends up being copied back on both nodes. I did this a second time and now one node has the correct types.cf and the other node has the old one. I run an hastop -local -force on the node with the incorrect types.cf and copy the correct one in place, but when I run an hastart, the old one gets put back again. I've even cleaned out the /etc/VRTSvcs/conf/config directory and put only our main.cf, the correct types.cf, OracleTypes.cf & VRTSWebAppType.cf in place, and the types.cf still gets overwritten by the old version when I run hastart. I know some of the changes to types.cf are to MultiNICB & IPMultiNI! CB (the reason for this exercise), but if I run hatype -display for these resources on both nodes, the output is identical. Does the types.cf get "built" from the running node along with main.cf? Has anyone seen this behavior before, and how can I fix it? Thanks - Mike ___ Veritas-ha maillist - Veritas-ha@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha