perfsonar-user - 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: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService
Chronological Thread
- From: "Murilo Vetter" <>
- To: "'Aaron Brown'" <>
- Cc: <>
- Subject: RES: RES: RES: [perfsonar-user] Reset topology database in RNP PerfSONAR-PS-TopologyService
- Date: Fri, 3 Oct 2014 14:35:36 -0300
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,
>
> Theres 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.