[rancid] Re: rancid and Alcatel-Lucent OmniSwitch 6850

David Newman dnewman at networktest.com
Wed Jan 7 00:29:50 UTC 2009


On 1/6/09 3:37 PM, Kevin Turner wrote:
> David,
> 
> Apparently, you are using one of the alpha versions of RANCID. 

Yes. This is on 2.3.2a7, which is from the rancid-devel port on FreeBSD.

> Rancid-fe has
> changed in the alpha versions. So, yes add "'alcatel'           =>
> 'orancid'," instead of the line I gave you to rancid-fe.

ok, done

> 
> Also, indeed you are seeing the output for "show configuration status";
> however, you should also see the output of more commands including "show
> configuration snapshot all". The script seems to be stopping for some
> reason. It may may due to a change in the alpha version of RANCID. I am
> using the current version 2.3.1
> 
> Try running the following debug command from the directory 'orancid' is
> located. 
> 
> env NOPIPE=y orancid -d <device name or IP address>
> 
> This will produce devicename.raw and and devicename.new files in the 
> current directory. The .raw file will have more output to examine for
> errors.

orancid and ologin are in /usr/local/libexec/rancid, which the rancid
user does not have write access to.

Instead I ran this from the rancid user's home directory (on this box
it's /usr/local/etc/rancid). (Also, I needed to add
/usr/local/libexec/rancid to the rancid user's path, which I've done
permanently.)

The output of the .new file looks like the "show configuration status,"
as before. The output of the .raw file has all the output from all
commands, including the switch config.

So, unclear why rancid-run isn't picking up the config when manually
running orancid does.

I have not posted any log output because everything looks "normal" but
if there's any other info I can provide for debugging please let me know.

thanks again

dn





> Kevin
> 
> -----Original Message-----
> From: David Newman [mailto:dnewman at networktest.com] 
> Sent: Tuesday, January 06, 2009 5:49 PM
> To: Kevin Turner
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: rancid and Alcatel-Lucent OmniSwitch 6850
> 
> On 1/5/09 7:24 AM, Kevin Turner wrote:
>> David,
>>
>> I have attached the two scripts that I use to backup our 6850's.
> 
> Thanks, Kevin!
> 
>> Also, add the line below to rancid-fe
>>
>> elsif ($vendor =~ /^alcatel$/i)         { exec('orancid', $router); }
> 
> OK, I've added that.
> 
> Would adding this to the vendortable section do the same thing?:
> 
>     'alcatel'           => 'orancid',
> 
> 
>> The attached scripts are slight settings modifications of scripts
> published
>> by Alexander Bochmann (who deserves all the credit).
>>
>> I have also CC'd the discussion board since I have had other requests for
>> this information.
>>
>> Let me know whether they work for you.
> 
> orancid runs, but I think it executes "show configuration status"
> instead of "show configuration snapshot all".
> 
> All I get for a device config is the following:
> 
> !RANCID-CONTENT-TYPE: alcatel
> !
> !Cfg: Running configuration and saved configuration are identical
> !
> !
> !
> !
> !
> !
> !
> !
> !! Stack Manager :
> 
> That's it, all 137 bytes of it. That looks like the output from "show
> configuration status" rather than the device config.
> 
> How to tweak orancid so that it uses "show configuration snapshot all"?
> 
> thanks again
> 
> dn
> 
> 
> 
> 
>> Kevin 
>>
>> -----Original Message-----
>> From: David Newman [mailto:dnewman at networktest.com] 
>> Sent: Sunday, January 04, 2009 2:55 PM
>> To: Kevin Turner
>> Subject: Re: rancid and Alcatel-Lucent OmniSwitch 6850
>>
>> On 1/4/09 6:43 AM, Kevin Turner wrote:
>>> Hello David,
>>>
>>> I found scripts in the message archives that I had to modify slightly to
>>> work with the 6850. I'll be glad to send these to you tomorrow morning
>>> (Eastern time) when I am in the office again.
>> Thanks very much! I appreciate it.
>>
>> dn
>>
>>
>>> Kevin Turner
>>>
>>> -----Original Message-----
>>> From: David Newman [mailto:dnewman at networktest.com] 
>>> Sent: Friday, January 02, 2009 4:32 PM
>>> To: kevin_turner at syncglobal.net
>>> Subject: rancid and Alcatel-Lucent OmniSwitch 6850
>>>
>>> Hi Kevin,
>>>
>>> Where did you find the rancid patches for Alcatel-Lucent OmniSwitch
>>> 6850? Did these work for you?
>>>
>>> I've got a couple of these to look after as well.
>>>
>>> Many thanks, and happy 2009.
>>>
>>> dn
>>>
>>>
>>>
>>>
>>>
> 
> 
> 
> 



More information about the Rancid-discuss mailing list