From stephen.johnson at arkansas.gov Thu Mar 17 15:23:34 2011 From: stephen.johnson at arkansas.gov (Stephen Johnson) Date: Thu, 17 Mar 2011 10:23:34 -0500 Subject: [dsc] Question about upgrading ancient version of DSC to most current Message-ID: <1300375414.7093.49.camel@sjohnson.state.ar.us> Greeting. I've been running DSC since 2007. It's been a very handy tool over the years. Especially recently when for a DoS episode we had. I have an old pre-dsc-200801301758 version of DSC installed and running. I'm about to make some major additions to my DNS infrastructure. So I'm wanting to get DSC upgraded first and out of the way first. My question(s) is what order should I do the updates in. Should I do the Collectors first and then the Presenter? Vice-Versa? Do them all at once? Or doesn't matter? Thanks in advance. -- Stephen L Johnson Unix Systems Administrator / DNS Hostmaster Department of Information Systems State of Arkansas 501-682-4339 From petrasch at denic.de Mon Mar 21 07:21:13 2011 From: petrasch at denic.de (Christian Petrasch) Date: Mon, 21 Mar 2011 08:21:13 +0100 Subject: [dsc] dsc Digest, Vol 40, Issue 1 In-Reply-To: References: Message-ID: Dear Stephen, for a DSC upgrade you have to update both, collectors and presenter. There is a new data structure in the xml format of the collected data, so the "old" presenter wouldn't understand. You have to migrate your old data with a script which is delievered in the new DSC package. I have done the upgrade this way.. 1. I stopped collecting data. 2. Then I wait until all collectors transfer directories are empty (../upload/presenter .. ) 3. Stop data transfer to presenter 4. Upgrade Collector 5. Start collecting data 6. Upgrade the presenter and the data structure (Store for the time you need for upgrading the presenter the collected data on the collector nodes) 7. Start data transfer to presenter.. It's a little bit tricky, cause you will get a new data structure during the update... cheers.. Christian -- Christian Petrasch IT-Services DENIC eG Kaiserstra?e 75-77 60329 Frankfurt am Main GERMANY E-Mail: petrasch at denic.de http://www.denic.de PGP-KeyID: 17613DFA, Fingerprint: 791A 40DF 47EF DBBD D8E3 72D0 9A6A 846E 1761 3DFA Angaben nach ? 25a Absatz 1 GenG: DENIC Domain Verwaltungs- und Betriebsgesellschaft eG (Sitz: Frankfurt am Main) Vorstand: Sabine Dolderer, Helga Kr?ger, Carsten Schiefner, Dr. J?rg Schweiger Vorsitzender des Aufsichtsrats: Elmar Knipp Eingetragen unter Nr. 770 im Genossenschaftsregister, Amtsgericht Frankfurt am Main Von: dsc-request at measurement-factory.com An: dsc at measurement-factory.com Datum: 17.03.2011 19:00 Betreff: dsc Digest, Vol 40, Issue 1 Gesendet von: dsc-bounces at measurement-factory.com Send dsc mailing list submissions to dsc at measurement-factory.com To subscribe or unsubscribe via the World Wide Web, visit http://www.measurement-factory.com/mailman/listinfo/dsc or, via email, send a message with subject or body 'help' to dsc-request at measurement-factory.com You can reach the person managing the list at dsc-owner at measurement-factory.com When replying, please edit your Subject line so it is more specific than "Re: Contents of dsc digest..." Today's Topics: 1. Question about upgrading ancient version of DSC to most current (Stephen Johnson) ---------------------------------------------------------------------- Message: 1 Date: Thu, 17 Mar 2011 10:23:34 -0500 From: Stephen Johnson To: "dsc at measurement-factory.com" Subject: [dsc] Question about upgrading ancient version of DSC to most current Message-ID: <1300375414.7093.49.camel at sjohnson.state.ar.us> Content-Type: text/plain; charset="UTF-8" Greeting. I've been running DSC since 2007. It's been a very handy tool over the years. Especially recently when for a DoS episode we had. I have an old pre-dsc-200801301758 version of DSC installed and running. I'm about to make some major additions to my DNS infrastructure. So I'm wanting to get DSC upgraded first and out of the way first. My question(s) is what order should I do the updates in. Should I do the Collectors first and then the Presenter? Vice-Versa? Do them all at once? Or doesn't matter? Thanks in advance. -- Stephen L Johnson Unix Systems Administrator / DNS Hostmaster Department of Information Systems State of Arkansas 501-682-4339 ------------------------------ _______________________________________________ dsc mailing list dsc at measurement-factory.com http://www.measurement-factory.com/mailman/listinfo/dsc End of dsc Digest, Vol 40, Issue 1 ********************************** From wessels at measurement-factory.com Tue Mar 22 16:37:58 2011 From: wessels at measurement-factory.com (Duane Wessels) Date: Tue, 22 Mar 2011 10:37:58 -0600 (MDT) Subject: [dsc] Question about upgrading ancient version of DSC to most current In-Reply-To: <1300375414.7093.49.camel@sjohnson.state.ar.us> References: <1300375414.7093.49.camel@sjohnson.state.ar.us> Message-ID: On Thu, 17 Mar 2011, Stephen Johnson wrote: > Greeting. I've been running DSC since 2007. It's been a very handy tool > over the years. Especially recently when for a DoS episode we had. > > I have an old pre-dsc-200801301758 version of DSC installed and running. > I'm about to make some major additions to my DNS infrastructure. So I'm > wanting to get DSC upgraded first and out of the way first. > > My question(s) is what order should I do the updates in. Should I do the > Collectors first and then the Presenter? Vice-Versa? Do them all at > once? Or doesn't matter? Hi Stephen, I suggest that you upgrade the presenter first. The new presenter code knows how to read the old file formats. For example here is a snippet from dsc-xml-extractor.pl: # this is the old way -- one dataset per file # if ($dataset ne 'dscdata') { return extract_dataset($XML, $dataset); } # this is the new way of grouping all datasets # together into a single file # while (my ($k,$v) = each %{$XML->{array}}) { extract_dataset($v, $k) or die "dataset $k extraction failed"; } If you've read the CHANGES file, and the 2008-01-09 entry in particular, then you know that you should run the update-dat-file-locations.sh script so that the presenter can find your historical data. Once you have the presenter upgraded go ahead and upgrade the collector software. Duane W.