perfsonar-user - [perfsonar-user] Re: Running pscheduler inside a linux namespace
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Murilo Vetter <>
- To: "Garnizov, Ivan (RRZE)" <>
- Cc: perfsonar-user <>
- Subject: [perfsonar-user] Re: Running pscheduler inside a linux namespace
- Date: Wed, 6 Jun 2018 12:08:06 -0300 (BRT)
- Ironport-phdr: 9a23:mjmRGROVt4DbQHRhhAwl6mtUPXoX/o7sNwtQ0KIMzox0K/z7pMbcNUDSrc9gkEXOFd2Cra4c1qyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhDexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRshfWSxbAo2ibIUADeQBM/tXoIbhplsAqge+CBK2C+/z1jBHnWX70bE43uknDArI3BYgH9ULsHnMq9v1Kb0SUeGxzKnP0D7MYO1Z2Svh6IfWaBAqvPaBXbdtccrLyEkvEwTFgk+OqYP7IzOVyvoCs3KA4up4UuKvk3crqxptrTS13McsjJHJipgOxVDe7Ch0xps+K9O/SE5+e9GkEZ1QujmCN4RoWMMiTXpouCE8yrIco563Zi4Kx4o7xxLHcfyHdZCI7gj4W+aLOTt4imhqeK+lixmv70etzPD3WMqs0FtSsCZIkcXAum0I2hHQ9sSKT+Fy80Si1DuK2A3f9v1ILVwxmKfeK5Mt2qA8moYPvUjZACP7lkf7gLWLekgg5OSk8eTqb7P7rZGGLYB0kBvxMqE2l8y/H+s4Ng8OUnCa+OS90b3s5lf5T69Qgv0ulanZqInWJd8HqaKjGQ9V1J4j5wykADe8yNgYnH8HI0xZeB+fkYTkOE3CLO39APq8n1ihlS1kyvPFM7DkDZjBMmTPnKvkcLt460NQ0A8zwspe55JQBLEBOvXzWkrpudzdEx85KQ20w+LgCNlnyIMRR36PArOHP6PIqlKI/uUvI/GVaI8OpDnxMeIl5/j2jXMjglAdZ7Gl3YELZ3CgAvRmP0KZbGL0gtgfC2cKsBE+TOvsiFKYSz5ffmuyX7ki6TEhE4+mCYbDRpuxgLyawiu3BJxWZmZaCl+SC3focZuLW+sSZC6IPMBujyEEBvCdTNpr+hi0sg7ozKQjZsvK8ytQ9ajZ5vU0raWHlA8783p7Bt6b0nOKUUl6l35OSzJgj5pyuUhs9lDW9LVigvhfXeJe++9ESE9uMIPGzuh9Tc7/Rh7MZP+RT07jWd7gGzcpCNgrlYwgeUF4TvC/lBHH2GKUDqMJmqbDUJkp6KPY2D7vKtphxmzuzK45ykItBNFJLSusnPgspEDoG4fVnhDBxO6RfqMG0XuIrT/bwA==
Submitting task...
Unable to post task: Error while tasking 192.168.0.43: Unable to post task to 192.168.0.43: ERRO: Task already exists. All participants must be on separate systems.
--
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:
+55(48)3721-3000
INOC: 11242*100
Para: "Murilo Vetter" <>, "perfsonar-user" <>
Enviadas: Quarta-feira, 6 de junho de 2018 9:20:33
Assunto: RE: Running pscheduler inside a linux namespace
Dear Murillo,
Your findings are correct. pScheduler is programmed to operate only in the default context. There are implemented functions, which allow the daemon to initiate the measurements in different contexts though.
Here is a documentation reference: http://docs.perfsonar.net/release_candidates/4.1b1/pscheduler_ref_contexts.html
Please note the tag of the documentation is: pS 4.1b1
It would be great to hear back from you with feedback, since you will be one of the few testers of this feature.
Regards,
Ivan Garnizov
GEANT SA1T2: pS deployments GN Operations
GEANT SA2T3: pS development team
GEANT SA3T5: eduPERT team
Jubiläumsjahr 2018 - IT in Bewegung
Das RRZE - der IT-Dienstleister der FAU
From: [mailto:]
On Behalf Of Murilo Vetter
Sent: Mittwoch, 6. Juni 2018 13:39
To: perfsonar-user <>
Subject: [perfsonar-user] Running pscheduler inside a linux namespace
Hi list,
We are evaluating the use of pscheduler in an atypical scenario. The scenario is described bellow and we already use it to homologate IP network
circuits, but we are just using iperf and ping directly. We are wondering if it is possible to use pscheduler to schedule and run the tests inside the Linux namespaces.
SCENARIO DESCRIPTION:
- 1 LINUX HOST configure with:
+ 3 network interfaces:
+-- ens192 (no namepace configure)
+-- ens224 (namepace configure - ns-ens224)
+-- ens256 (namepace configure - ns-ens256)
WHAT I AM TRYING TO DO:
* Run pscheduler (IPERF3) between both interfaces configure in the namespace
NODE CONFIGURATION:
Configure namespace to ens224 and ens256:
---
ip netns add ns-ens256
ip link set ens256 netns ns-ens256
ip netns exec ns-ens256 iptables -A INPUT -p icmp --icmp-type 5 -j DROP
ip netns exec ns-ens256 ifconfig ens256 mtu 9000
ip netns exec ns-ens256 ifconfig ens256 up
ip netns exec ns-ens256 ifconfig ens256 192.168.0.39 netmask
255.255.255.240 mtu 9000
ip netns exec ns-ens256 ifconfig ens256 up
ip netns exec ns-ens256 ifconfig lo up
ip netns exec ns-ens256 ip route add default via 192.168.0.33
ip netns add ns-ens224
ip link set ens224 netns ns-ens224
ip netns exec ns-ens224 iptables -A INPUT -p icmp --icmp-type 5 -j DROP
ip netns exec ns-ens224 ifconfig ens224 mtu 9000
ip netns exec ns-ens224 ifconfig ens224 up
ip netns exec ns-ens224 ifconfig ens224 192.168.0.45 netmask
255.255.255.240 mtu 9000
ip netns exec ns-ens224 ifconfig ens224 up
ip netns exec ns-ens224 ifconfig lo up
ip netns exec ns-ens224 ip route add default via 192.168.0.33
---
I checked if pscheduler is running of all interfaces
independently if it is configure with namespace or not. I didn't change any configuration, just tried to restart service.
But when I run:
# pscheduler ping <IP>
The only address that is up is from the Linux context, not the others 2 from the namespace.
Is there a way to run pscheduler in this scenario?
Other thing that I was trying to undestand is how linux context works in pscheduler task call. Does it just run the tool defining the namespace that it should run?
Regards,
--
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:
+55(48)3721-3000
INOC: 11242*100
- [perfsonar-user] Running pscheduler inside a linux namespace, Murilo Vetter, 06/06/2018
- [perfsonar-user] RE: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/06/2018
- [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/06/2018
- [perfsonar-user] RE: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/06/2018
Archive powered by MHonArc 2.6.19.