Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] RE: Running pscheduler inside a linux namespace

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] RE: Running pscheduler inside a linux namespace


Chronological Thread 
  • From: "Garnizov, Ivan (RRZE)" <>
  • To: Murilo Vetter <>, perfsonar-user <>
  • Subject: [perfsonar-user] RE: Running pscheduler inside a linux namespace
  • Date: Wed, 6 Jun 2018 12:20:33 +0000
  • Accept-language: en-GB, de-DE, en-US
  • Ironport-phdr: 9a23:NUxRpRxDim1Esd/XCy+O+j09IxM/srCxBDY+r6Qd0uoULPad9pjvdHbS+e9qxAeQG9mDtrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYwhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7Vq4/Vyi84Kh3SR/okCYHOCA/8GHLkcx7kaZXrAu8qxBj34LYZYeYP+d8cKzAZ9MXXWpPUNhMWSxdDI2ybIUPAOgAPelEoIbwvEEOoQe6CAS2GO/j1j1Fi3nr1qM6yeQhFgTG0RQuE9wPqnvUttP1NKYTUOCy0qnE1SjIYfBI2Tjn7ojDbxQtr+2QU71zfsTdzEcjHB7Cg1WRt4zqJTWV2v4Cs2eB9epgU+Ovim8gqwFvuTWvyN0jipTTio0I1F/J7CN0y5s7K92/TU50e9+kEJ1IuiGCKYR2WM0iQ3pvuCY80LIGo4S3fC4Ux5Q73xLfcfqHc5CS7h34TuadOTl4i2h4eL6lmhm9706twfD/WMmsyFtGsyRInsTWunwQ1BHe6dKLRuZg8ku7xzqDyhjf5vxKLEwpj6bXNp0sz70qmpcQrEjPBDH6lUrygaOOaEko5vSk5/nib7jnqJKRNIp5hRviPqgyhsCyBPk0PhQQU2Wb/Omx0bPu8E7/Tb5XlPM5iLPZv4rfJckDpq62HQtV0oE75ha6ADaqyc4YnHgeIF5bYh6HlZLpOlDQL/ziEPe/hVWsnC51yPDcOr3uGJPNLnfdn7fnZ7py9lBTxBIyzdBZ+Z1UFqkMLO/9V0PsrtDUExw0Pg+uz+r6FdlxzJ0SVX+XDq+cKqzSsFuI5uw1I+mLYY8YoDf9K+Y/6P7ol3M5lkUSfbOv3ZsWaXG4GepmLl6XYXX2n9cNC3oFsRQmQOzwlFKCSSJTZ2q1X68k/jE0FpimDYnYRoCqhryOxj27EoRLZmBdFF+MC2zld4GFW/cXdCKSOdFtniYFVbinV48uywuutAnkxLp7MObY4DMXuo/+1Is92+qGsAwo9DhzR/qQz32AVSkgm34SRjsxmr5yvVBw0H+b1rA9mPceD9pLoflTBENyLZPGwfd9DdnoHx/ac83BHE6rWNu9Bjc4VJcs2NIUS0d7B9i4iB3fhWynD6JDxJKRA5lhuI3VxX7wNcFjjz7nyqAnxxkcePlidCfu0q9h/g6VCIfTlUSLkLiCe60BmiLAojTQhVGStV1VBVYjGZ7OWmoSMw6P9Yz0

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

www.50-jahre.rrze.fau.de

 

 

 

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




Archive powered by MHonArc 2.6.19.

Top of Page