perfsonar-user - RES: RES: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService
Subject: perfSONAR User Q&A and Other Discussion
List archive
RES: RES: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService
Chronological Thread
- From: "Murilo Vetter" <>
- To: "'Aaron Brown'" <>
- Cc: <>
- Subject: RES: RES: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService
- Date: Fri, 3 Oct 2014 15:11:11 -0300
Hi Aaron,
It took some time but it created afterwards.
Thanks,
--
Murilo Vetter
Analista REMEP-FLN/PoP-SC
PoP-SC - Ponto de Presença da RNP em Santa Catarina
REMEP-FLN - Rede Metropolitana de Educação e Pesquisa da Região de
Florianópolis
RNP - Rede Nacional de Ensino e Pesquisa
UFSC - Universidade Federal de Santa Catarina
SETIC - Superintendência de Governança Eletrônica e Tecnologia da Informação
e Comunicação
Fundações de Apoio FEESC e FEPESE
--/--
www.pop-sc.rnp.br
remep.pop-sc.rnp.br
CHAMADOS:
.br
+55(48)3721-6335
INOC: 11242*100
-----Mensagem original-----
De: Aaron Brown
[mailto:]
Enviada em: sexta-feira, 3 de outubro de 2014 15:09
Para: Murilo Vetter
Cc:
Assunto: Re: RES: RES: RES: RES: [perfsonar-user] Reset topology database in
RNP PerfSONAR-PS-TopologyService
Hey Murilo,
If you add topology, does it create the database then?
Cheers,
Aaron
On Oct 3, 2014, at 2:03 PM, Murilo Vetter
<>
wrote:
> Hi Aaron,
>
> What I did for reset the database was:
>
> ---
> # pwd
> /var/lib/perfsonar/topology_service
>
> # ls -la
> total 333772
> drwxr-xr-x 2 perfsonar perfsonar 4096 Oct 3 10:01 .
> drwxr-xr-x 4 perfsonar perfsonar 4096 Oct 3 10:45 ..
> -rw-rw---- 1 perfsonar perfsonar 24576 Oct 3 14:01 __db.001
> -rw-rw---- 1 perfsonar perfsonar 59940864 Oct 3 14:50 __db.002
> -rw-rw---- 1 perfsonar perfsonar 83894272 Oct 3 14:50 __db.003
> -rw-rw---- 1 perfsonar perfsonar 2129920 Oct 3 14:01 __db.004
> -rw-rw---- 1 perfsonar perfsonar 172990464 Oct 3 14:50 __db.005
> -rw-rw---- 1 perfsonar perfsonar 40960 Oct 3 14:50 __db.006
> -rw-r--r-- 1 perfsonar perfsonar 230 Jun 6 2013 DB_CONFIG
> -rw-rw---- 1 perfsonar perfsonar 10485760 Oct 3 10:01 log.0000002713
> -rw-rw---- 1 perfsonar perfsonar 10485760 Oct 3 14:01 log.0000002714
> -rw-rw---- 1 perfsonar perfsonar 1359872 Oct 3 14:01 topology.dbxml
>
> # /etc/init.d/topology_service stop
> /etc/init.d/topology_service stop: Topology Service stopped
>
> # rm __* log* topology.dbxml
> rm: remove regular file `__db.001'? y
> rm: remove regular file `__db.002'? y
> rm: remove regular file `__db.003'? y
> rm: remove regular file `__db.004'? y
> rm: remove regular file `__db.005'? y
> rm: remove regular file `__db.006'? y
> rm: remove regular file `log.0000002713'? y
> rm: remove regular file `log.0000002714'? y
> rm: remove regular file `topology.dbxml'? y
>
> # /etc/init.d/topology_service start
> /opt/perfsonar_ps/topology_service/bin/daemon.pl
> --config=/opt/perfsonar_ps/topology_service/etc/daemon.conf
> --pidfile=topology_service.pid --piddir=/var/run
> --logger=/opt/perfsonar_ps/topology_service/etc/daemon_logger.conf
> --user=perfsonar --group=perfsonar
> /etc/init.d/topology_service start: Topology Service started
>
> # ls -la
> total 24
> drwxr-xr-x 2 perfsonar perfsonar 4096 Oct 3 14:58 .
> drwxr-xr-x 4 perfsonar perfsonar 4096 Oct 3 10:45 ..
> -rw-r--r-- 1 perfsonar perfsonar 230 Jun 6 2013 DB_CONFIG
>
> ---
>
> I am in doubt because the service got up but it didn't create the
database.
> Is it right?
>
> Thanks,
> --
>
>
> Murilo Vetter
> Analista REMEP-FLN/PoP-SC
> PoP-SC - Ponto de Presença da RNP em Santa Catarina REMEP-FLN - Rede
> Metropolitana de Educação e Pesquisa da Região de Florianópolis RNP -
> Rede Nacional de Ensino e Pesquisa UFSC - Universidade Federal de
> Santa Catarina SETIC - Superintendência de Governança Eletrônica e
> Tecnologia da Informação e Comunicação Fundações de Apoio FEESC e
> FEPESE
> --/--
> www.pop-sc.rnp.br
> remep.pop-sc.rnp.br
> CHAMADOS:
>
> .br
> +55(48)3721-6335
> INOC: 11242*100
>
>
> -----Mensagem original-----
> De:
>
> [mailto:]
> Em nome de Aaron Brown
> Enviada em: sexta-feira, 3 de outubro de 2014 14:39
> Para: Murilo Vetter
> Cc:
>
> Assunto: Re: RES: RES: RES: [perfsonar-user] Reset topology database
> in RNP PerfSONAR-PS-TopologyService
>
> Hey Murilo,
>
> When you deleted the /var/lib/perfsonar/topology_service contents, you
> had reset the database. This is just loading new data into it if desired.
>
> Cheers,
> Aaron
>
> On Oct 3, 2014, at 1:35 PM, Murilo Vetter
> <>
> wrote:
>
>> Hi Aaron,
>>
>> Do I have to have a pre-set topology (/path/to/topology.xml) or it
>> can be an empty file since I want to reset it?
>>
>> Thanks,
>> --
>>
>>
>> Murilo Vetter
>> Analista REMEP-FLN/PoP-SC
>> PoP-SC - Ponto de Presença da RNP em Santa Catarina REMEP-FLN - Rede
>> Metropolitana de Educação e Pesquisa da Região de Florianópolis RNP -
>> Rede Nacional de Ensino e Pesquisa UFSC - Universidade Federal de
>> Santa Catarina SETIC - Superintendência de Governança Eletrônica e
>> Tecnologia da Informação e Comunicação Fundações de Apoio FEESC e
>> FEPESE
>> --/--
>> www.pop-sc.rnp.br
>> remep.pop-sc.rnp.br
>> CHAMADOS:
>>
>> .br
>> +55(48)3721-6335
>> INOC: 11242*100
>>
>>
>> -----Mensagem original-----
>> De:
>>
>> [mailto:]
>> Em nome de Aaron Brown
>> Enviada em: sexta-feira, 3 de outubro de 2014 12:27
>> Para: Murilo Vetter
>> Cc:
>>
>> Assunto: Re: RES: RES: [perfsonar-user] Reset topology database in
>> RNP PerfSONAR-PS-TopologyService
>>
>> Hey Murilo,
>>
>> The easiest way is:
>>
>> /opt/perfsonar_ps/topology_service/scripts/load_topology
>> -db_dir=/var/lib/perfsonar/topology_service -db_file=topology.dbxml
>> /path/to/topology.xml
>>
>> Cheers,
>> Aaron
>>
>> On Oct 3, 2014, at 10:44 AM, Murilo Vetter
>> <>
>> wrote:
>>
>>> Hi Aaron,
>>>
>>> How to use the script? What options should I use?
>>>
>>> # /opt/perfsonar_ps/topology_service/scripts/load_topology
>>> Error: you must specify an existing topology input file
>>> /opt/perfsonar_ps/topology_service/scripts/load_topology: loads a
>>> topology
>> into a database replacing the existing topology elements.
>>> [--debug] [--help] [--output=NORMALIZED_TOPOLOGY_FILE]
>>> [--db_dir=DATABASE_DIRECTORY] [--db_filename=DATABASE_FILENAME]
>>> [--uri=REMOTE_TOPOLOGY_ARCHIVE] INPUT_FILE
>>>
>>> What I want is to reset the topology db.
>>>
>>> Thanks,
>>> --
>>> <image001.jpg>
>>>
>>> Murilo Vetter
>>> Analista REMEP-FLN/PoP-SC
>>> PoP-SC - Ponto de Presença da RNP em Santa Catarina REMEP-FLN - Rede
>>> Metropolitana de Educação e Pesquisa da Região de Florianópolis RNP
>>> - Rede Nacional de Ensino e Pesquisa UFSC - Universidade Federal de
>>> Santa Catarina SETIC - Superintendência de Governança Eletrônica e
>>> Tecnologia da Informação e Comunicação Fundações de Apoio FEESC e
>>> FEPESE
>>> --/--
>>> www.pop-sc.rnp.br
>>> remep.pop-sc.rnp.br
>>> CHAMADOS:
>>>
>>> .br
>>> +55(48)3721-6335
>>> INOC: 11242*100
>>>
>>> De:
>>>
>>> [mailto:]
>>> Em nome de Aaron Brown
>>> Enviada em: sexta-feira, 3 de outubro de 2014 11:13
>>> Para: Murilo Vetter
>>> Cc:
>>>
>>> Assunto: Re: RES: [perfsonar-user] Reset topology database in RNP
>>> PerfSONAR-PS-TopologyService
>>>
>>> Hey Murilo,
>>>
>>> There's a "load_topology" script included with the TS. This can be
>>> used to
>> load a topology file into the database.
>>>
>>> Cheers,
>>> Aaron
>>>
>>> On Oct 3, 2014, at 9:51 AM, Murilo Vetter
>>> <>
>>> wrote:
>>>
>>>
>>> Hi Aaron,
>>>
>>> How to reload the DB?
>>>
>>> Thanks,
>>> --
>>> <image001.jpg>
>>>
>>> Murilo Vetter
>>> Analista REMEP-FLN/PoP-SC
>>> PoP-SC - Ponto de Presença da RNP em Santa Catarina REMEP-FLN - Rede
>>> Metropolitana de Educação e Pesquisa da Região de Florianópolis RNP
>>> - Rede Nacional de Ensino e Pesquisa UFSC - Universidade Federal de
>>> Santa Catarina SETIC - Superintendência de Governança Eletrônica e
>>> Tecnologia da Informação e Comunicação Fundações de Apoio FEESC e
>>> FEPESE
>>> --/--
>>> www.pop-sc.rnp.br
>>> remep.pop-sc.rnp.br
>>> CHAMADOS:
>>>
>>> .br
>>> +55(48)3721-6335
>>> INOC: 11242*100
>>>
>>> De: Aaron Brown
>>> [mailto:]
>>> Enviada em:
>>> sexta-feira,
>>> 3 de outubro de 2014 10:20
>>> Para: Murilo Vetter
>>> Cc:
>>>
>>> Assunto: Re: [perfsonar-user] Reset topology database in RNP
>>> PerfSONAR-PS-TopologyService
>>>
>>> Hey Murillo,
>>> Hey Murilo,
>>>
>>> The easiest way is to delete everything except DB_CONFIG (if
>>> present) from
>> /var/lib/perfsonar/topology_service and then to restart the TS, and
>> reload the DB.
>>>
>>> Cheers,
>>> Aaron
>>>
>>> On Oct 3, 2014, at 6:53 AM, Murilo Vetter
>>> <>
>>> wrote:
>>>
>>>
>>>
>>> Hi,
>>>
>>> We are using Topology Service 3.2.2-2.pSPS for our Circuit Service
>>> in
> RNP.
>> We are wondering how to clear the topology database.
>>> Are there scripts to do this or some procedure to do it?
>>>
>>> Information about the Topology Service:
>>> ---
>>> [root@RNP-PS-DCN-v1
>>> scripts]# yum list
>>> perl-perfSONAR_PS-TopologyService.noarch
>>> Loaded plugins: fastestmirror, security Loading mirror speeds from
>>> cached hostfile
>>> * base: mirror.globo.com
>>> * extras: mirror.globo.com
>>> * rpmforge: mirror.rit.edu
>>> * updates: mirror.globo.com
>>> Installed Packages
>>> perl-perfSONAR_PS-TopologyService.noarch
>> 3.2.2-2.pSPS installed
>>> ---
>>>
>>> Regards,
>>> --
>>> <image001.jpg>
>>>
>>> Murilo Vetter
>>> Analista REMEP-FLN/PoP-SC
>>> PoP-SC - Ponto de Presença da RNP em Santa Catarina REMEP-FLN - Rede
>>> Metropolitana de Educação e Pesquisa da Região de Florianópolis RNP
>>> - Rede Nacional de Ensino e Pesquisa UFSC - Universidade Federal de
>>> Santa Catarina SETIC - Superintendência de Governança Eletrônica e
>>> Tecnologia da Informação e Comunicação Fundações de Apoio FEESC e
>>> FEPESE
>>> --/--
>>> www.pop-sc.rnp.br
>>> remep.pop-sc.rnp.br
>>> CHAMADOS:
>>>
>>> .br
>>> +55(48)3721-6335
>>> INOC: 11242*100
>>
>>
>>
>
>
>
- [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
- RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
- RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
- RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
- RES: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: RES: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
- RES: RES: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- RES: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
- RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
- RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Murilo Vetter, 10/03/2014
- Re: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService, Aaron Brown, 10/03/2014
Archive powered by MHonArc 2.6.16.