Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Migrate database from v1.1 to v1.3.2 (David Weise)
   2. Re: WG:  error in daemon logfile (Eric Miller)
   3. Re: Migrate database from v1.1 to v1.3.2 (Eric Miller)
   4. Re: WG:  error in daemon logfile (Huber, Peter)
--- Begin Message ---
hi,
Thank you. So I have now installed Netdisco 2 on the server that was running v1.3.2. I've deleted/moved that v1.3.2 installation. Therefore it is no longer functioning. I've read on your website about upgrading from 1.x to v2.0, but it doesn't really talk about migrating the data from one box to another. How do I go about doing that? (what set of directions should I follow).

--David

On 2/27/2014 2:18 AM, Oliver Gorwits wrote:
Hi David,

On 2014-02-26 22:21, David Weise wrote:
   I have two netdisco servers.  One server, netdisco11 is running
netdisco v1.1 and the new server netdiso132 is running netdisco
1.3.2.
How do I migrate the database from my netdisco11 to netdisco132
server?
In the /sql subdirectory of the Netdisco source tarball are diff files
for the schema which should bring it up to 1.3.2. You provide them as
standard input to a psql command. Let me know if you need more detail.

Also... you may wish also to evaluate Netdisco 2 which is stable and
has many more features. It will upgrade the database as part of the
installation automatically (and still be backwards compatible):

https://metacpan.org/pod/App::Netdisco

regards,
oliver.

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users


<<attachment: dweise.vcf>>


--- End Message ---
--- Begin Message --- After clicking on the MAC address and following it to Node search page, select "Archived Data" then click on "Search Nodes". If you see the MAC on multiple switch ports in archive view, it's an indication that the topology is not complete and the node is appearing on the last device visited during a macwalk. A manual macsuck after the scheduled macwalk would make that device the last visited.

Eric

On 2014-03-05 02:19, Huber, Peter wrote:
Hey everybody,

I still have the problem, that the netdisco 2 cron job (daemon) does
not update the database. I do not see any mac address on any switch
still I start the mucsuck by hand.

Does anyone have the same problem, or does anyone have an idea how I
can debug this?

Regards

Peter

-----Ursprüngliche Nachricht-----
Von: Huber, Peter [mailto:[email protected]]
Gesendet: Montag, 24. Februar 2014 08:48
An: [email protected]
Betreff: Re: [Netdisco] error in daemon logfile

Hi Oliver,

here some more information about this problem.

As you see in 1.png the last macsuck, started by the daemon, is a few minutes
old. But as you can see in 2.png, no macaddress are shown.
After starting a macsuck via the webgui by hand you see in 3.png that there
are now macaddresses shown.

=> It seems the "cron-job" is running, but not updating the database. Is this
possible?

Regards

Peter

-----Ursprüngliche Nachricht-----
Von: Oliver Gorwits [mailto:[email protected]]
Gesendet: Freitag, 14. Februar 2014 18:35
An: Huber, Peter
Betreff: Re: AW: [Netdisco] error in daemon logfile

Hi Peter,

Do you have any macsuck_no or macsuck_only configured as well?

regards,
oliver.

On 2014-02-14 12:54, Huber, Peter wrote:
Hi Oliver,

thank you, this fixed my problem. But I have another question:

I have defined the following in my deployment.yml  file:
housekeeping:
  discoverall:
    when: '0 9 * * *'
  arpwalk:
    when:
      min: 30
  macwalk:
    when:
      min: 15
      hour: '*/2'
  nbtwalk:
     when: '0 8,13,21 * * *'
  expiry:
      when: '20 23 * * *'

But it seems that there is no macsuck process scheduled, or this
process is not working correctly. If I look at the "ports" webpage I
do not see any mac address for the switch I choosed. If I start a
macsuck for this switch (from the details page) I will see mac
addresses a few seconds later.

What could be wrong?

Regards

Peter

-----Ursprüngliche Nachricht-----
Von: Oliver Gorwits [mailto:[email protected]]
Gesendet: Donnerstag, 13. Februar 2014 14:24
An: [email protected]
Betreff: Re: [Netdisco] error in daemon logfile

Hi Peter,

On 2014-02-13 12:31, Huber, Peter wrote:
I see a lot off errors in our daemon logfile:

Use of uninitialized value $ENV{"PERL_ANYEVENT_HOSTS"} in length at
netdisco/perl5/lib/perl5/AnyEvent/DNS/EtcHosts.pm line 195

Any idea, how I can fix this?

This was due to the variable being undefined (without a default), and
I applied a fix.

If you upgrade, the messages ought to disappear.

regards,
oliver.

Regards

Peter

Private Universität Witten/Herdecke gGmbH Alfred-Herrhausen-Straße
50  D - 58448 Witten

 Homepage: http://www.uni-wh.de
 Twitter: http://twitter.com/UniWH
 Facebook: http://www.facebook.com/UniWH

 Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl.
oec. Jan Peter Nonnenkamp (Kanzler)

 Sitz der Gesellschaft: Witten
 Handelsregister des Amtsgerichts Bochum Nr. HRB 8671


---------------------------------------------------------------------
-
--------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ost
g.
clk
trk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Private Universität Witten/Herdecke gGmbH Alfred-Herrhausen-Straße 50
D - 58448 Witten

Homepage:  http://www.uni-wh.de
Twitter:       http://twitter.com/UniWH
Facebook:  http://www.facebook.com/UniWH

Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec.
Jan Peter Nonnenkamp (Kanzler)

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671


Private Universität Witten/Herdecke gGmbH Alfred-Herrhausen-Straße 50 D -
58448 Witten

Homepage:  http://www.uni-wh.de
Twitter:       http://twitter.com/UniWH
Facebook:  http://www.facebook.com/UniWH

Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec. Jan Peter
Nonnenkamp (Kanzler)

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671

Private Universität Witten/Herdecke gGmbH
Alfred-Herrhausen-Straße 50
D - 58448 Witten

Homepage:  http://www.uni-wh.de
Twitter:       http://twitter.com/UniWH
Facebook:  http://www.facebook.com/UniWH

Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec.
Jan Peter Nonnenkamp (Kanzler)

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message --- If the postgresql database from v1.3.2 is still intact, you should be able to use the same the database connection parameters from your old netdisco.conf in the new Netdisco 2 deployment.yml then run the netdisco-deploy script to have it update the database schema.

If you are moving physical servers then you probably need to do a database backup from the old server and restore on the new.

Eric

On 2014-03-05 13:19, David Weise wrote:
hi,
 Thank you. So I have now installed Netdisco 2 on the server that was
running v1.3.2. I've deleted/moved that v1.3.2 installation. Therefore
it is no longer functioning.  I've read on your website about
upgrading from 1.x to v2.0, but it doesn't really talk about migrating
the data from one box to another. How do I go about doing that? (what
set of directions should I follow).

--David

On 2/27/2014 2:18 AM, Oliver Gorwits wrote:
Hi David,

On 2014-02-26 22:21, David Weise wrote:
   I have two netdisco servers.  One server, netdisco11 is running
netdisco v1.1 and the new server netdiso132 is running netdisco
1.3.2.
How do I migrate the database from my netdisco11 to netdisco132
server?
In the /sql subdirectory of the Netdisco source tarball are diff files
for the schema which should bring it up to 1.3.2. You provide them as
standard input to a psql command. Let me know if you need more detail.

Also... you may wish also to evaluate Netdisco 2 which is stable and
has many more features. It will upgrade the database as part of the
installation automatically (and still be backwards compatible):

https://metacpan.org/pod/App::Netdisco

regards,
oliver.

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Thank you for your response.

I have done an manual macsuck, clicked on one of the found macaddresses, then 
selected the "archived data" and found a lot of switches after clocking "search 
nodes".
One port found is the correct port where the computer is connected. All other 
ports found are backbone trunk ports.

=> The MAC Address is found on only one access port and on about 45 backbone 
ports.

Does this help?

Regards

Peter

>-----Ursprüngliche Nachricht-----
>Von: Eric Miller [mailto:[email protected]]
>Gesendet: Donnerstag, 6. März 2014 02:48
>An: Huber, Peter
>Cc: [email protected]
>Betreff: Re: [Netdisco] WG: error in daemon logfile
>
>After clicking on the MAC address and following it to Node search page, select
>"Archived Data" then click on "Search Nodes".  If you see the MAC on multiple
>switch ports in archive view, it's an indication that the topology is not
>complete and the node is appearing on the last device visited during a
>macwalk.  A manual macsuck after the scheduled macwalk would make that
>device the last visited.
>
>Eric
>
>On 2014-03-05 02:19, Huber, Peter wrote:
>> Hey everybody,
>>
>> I still have the problem, that the netdisco 2 cron job (daemon) does
>> not update the database. I do not see any mac address on any switch
>> still I start the mucsuck by hand.
>>
>> Does anyone have the same problem, or does anyone have an idea how I
>> can debug this?
>>
>> Regards
>>
>> Peter
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Huber, Peter [mailto:[email protected]]
>>> Gesendet: Montag, 24. Februar 2014 08:48
>>> An: [email protected]
>>> Betreff: Re: [Netdisco] error in daemon logfile
>>>
>>> Hi Oliver,
>>>
>>> here some more information about this problem.
>>>
>>> As you see in 1.png the last macsuck, started by the daemon, is a few
>>> minutes
>>> old. But as you can see in 2.png, no macaddress are shown.
>>> After starting a macsuck via the webgui by hand you see in 3.png that
>>> there
>>> are now macaddresses shown.
>>>
>>> => It seems the "cron-job" is running, but not updating the database.
>>> Is this
>>> possible?
>>>
>>> Regards
>>>
>>> Peter
>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Oliver Gorwits [mailto:[email protected]]
>>>> Gesendet: Freitag, 14. Februar 2014 18:35
>>>> An: Huber, Peter
>>>> Betreff: Re: AW: [Netdisco] error in daemon logfile
>>>>
>>>> Hi Peter,
>>>>
>>>> Do you have any macsuck_no or macsuck_only configured as well?
>>>>
>>>> regards,
>>>> oliver.
>>>>
>>>> On 2014-02-14 12:54, Huber, Peter wrote:
>>>>> Hi Oliver,
>>>>>
>>>>> thank you, this fixed my problem. But I have another question:
>>>>>
>>>>> I have defined the following in my deployment.yml  file:
>>>>> housekeeping:
>>>>>   discoverall:
>>>>>     when: '0 9 * * *'
>>>>>   arpwalk:
>>>>>     when:
>>>>>       min: 30
>>>>>   macwalk:
>>>>>     when:
>>>>>       min: 15
>>>>>       hour: '*/2'
>>>>>   nbtwalk:
>>>>>      when: '0 8,13,21 * * *'
>>>>>   expiry:
>>>>>       when: '20 23 * * *'
>>>>>
>>>>> But it seems that there is no macsuck process scheduled, or this
>>>>> process is not working correctly. If I look at the "ports" webpage I
>>>>> do not see any mac address for the switch I choosed. If I start a
>>>>> macsuck for this switch (from the details page) I will see mac
>>>>> addresses a few seconds later.
>>>>>
>>>>> What could be wrong?
>>>>>
>>>>> Regards
>>>>>
>>>>> Peter
>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: Oliver Gorwits [mailto:[email protected]]
>>>>>> Gesendet: Donnerstag, 13. Februar 2014 14:24
>>>>>> An: [email protected]
>>>>>> Betreff: Re: [Netdisco] error in daemon logfile
>>>>>>
>>>>>> Hi Peter,
>>>>>>
>>>>>> On 2014-02-13 12:31, Huber, Peter wrote:
>>>>>>> I see a lot off errors in our daemon logfile:
>>>>>>>
>>>>>>> Use of uninitialized value $ENV{"PERL_ANYEVENT_HOSTS"} in length
>>>>>>> at
>>>>>>> netdisco/perl5/lib/perl5/AnyEvent/DNS/EtcHosts.pm line 195
>>>>>>>
>>>>>>> Any idea, how I can fix this?
>>>>>>
>>>>>> This was due to the variable being undefined (without a default),
>>>>>> and
>>>>>> I applied a fix.
>>>>>>
>>>>>> If you upgrade, the messages ought to disappear.
>>>>>>
>>>>>> regards,
>>>>>> oliver.
>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Peter
>>>>>>>
>>>>>>>  Private Universität Witten/Herdecke gGmbH
>>>>>>> Alfred-Herrhausen-Straße
>>>>>>> 50  D - 58448 Witten
>>>>>>>
>>>>>>>  Homepage: http://www.uni-wh.de
>>>>>>>  Twitter: http://twitter.com/UniWH
>>>>>>>  Facebook: http://www.facebook.com/UniWH
>>>>>>>
>>>>>>>  Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl.
>>>>>>> oec. Jan Peter Nonnenkamp (Kanzler)
>>>>>>>
>>>>>>>  Sitz der Gesellschaft: Witten
>>>>>>>  Handelsregister des Amtsgerichts Bochum Nr. HRB 8671
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> -
>>>>>> --------
>>>>>> Android apps run on BlackBerry 10
>>>>>> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>>>>>> Now with support for Jelly Bean, Bluetooth, Mapview and more.
>>>>>> Get your Android app in front of a whole new audience.  Start now.
>>>>>>
>http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ost
>>> g.
>>>>>> clk
>>>>>> trk
>>>>>> _______________________________________________
>>>>>> Netdisco mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>>>>>
>>>>> Private Universität Witten/Herdecke gGmbH Alfred-Herrhausen-Straße
>>>>> 50
>>>>> D - 58448 Witten
>>>>>
>>>>> Homepage:  http://www.uni-wh.de
>>>>> Twitter:       http://twitter.com/UniWH
>>>>> Facebook:  http://www.facebook.com/UniWH
>>>>>
>>>>> Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec.
>>>>> Jan Peter Nonnenkamp (Kanzler)
>>>>>
>>>>> Sitz der Gesellschaft: Witten
>>>>> Handelsregister des Amtsgerichts Bochum Nr. HRB 8671
>>>
>>>
>>> Private Universität Witten/Herdecke gGmbH Alfred-Herrhausen-Straße 50
>>> D -
>>> 58448 Witten
>>>
>>> Homepage:  http://www.uni-wh.de
>>> Twitter:       http://twitter.com/UniWH
>>> Facebook:  http://www.facebook.com/UniWH
>>>
>>> Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec.
>>> Jan Peter
>>> Nonnenkamp (Kanzler)
>>>
>>> Sitz der Gesellschaft: Witten
>>> Handelsregister des Amtsgerichts Bochum Nr. HRB 8671
>>
>> Private Universität Witten/Herdecke gGmbH
>> Alfred-Herrhausen-Straße 50
>> D - 58448 Witten
>>
>> Homepage:  http://www.uni-wh.de
>> Twitter:       http://twitter.com/UniWH
>> Facebook:  http://www.facebook.com/UniWH
>>
>> Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec.
>> Jan Peter Nonnenkamp (Kanzler)
>>
>> Sitz der Gesellschaft: Witten
>> Handelsregister des Amtsgerichts Bochum Nr. HRB 8671
>>
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to
>> Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually
>> works.
>> Faster operations. Version large binaries.  Built-in WAN optimization
>> and the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>
>http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clk
>trk
>>
>> _______________________________________________
>> Netdisco mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/netdisco-users

Private Universität Witten/Herdecke gGmbH
Alfred-Herrhausen-Straße 50
D - 58448 Witten

Homepage:  http://www.uni-wh.de
Twitter:       http://twitter.com/UniWH
Facebook:  http://www.facebook.com/UniWH

Geschäftsführung: Prof. Dr. Martin Butzlaff (Präsident), Dipl. oec. Jan Peter 
Nonnenkamp (Kanzler)

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671

--- End Message ---
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to