1. Devin Lane

Devin Lane

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Network to GPU Hardware Support #4024
    Devin Lane
    Participant

      I have some ideas but I have not implemented this in practice. I believe NVIDIA GPUDirect should support VMs as long as PCI passthrough is supported.

      in reply to: IPV6 EXT network service #3985
      Devin Lane
      Participant

        You need to add a route to whatever you are trying to reach via the external gateway once all your interfaces are up and the IPs are made publicly routable. The interface for the gateway should be ens7, but it might be something else. Here is a modified version of the cell under “Configure Node1 – FABnetv6” in the example notebook I shared. Note that adding 0.0.0.0/1 exposes the node to the entire internet; it might be a better idea to only add a route to your specific public network (home internet, school, etc…). Hope this helps!

        
        
        try:
        # Get Node
        node1 = slice.get_node(name=node1_name) 
        # Get Network
        node1_network = slice.get_network(name=network1_name) 
        # Get Interface
        node1_iface = node1.get_interface(network_name=network1_name) 
        
        # Configure first IP from the subnet
        node1_addr = network1_available_ips.pop(0)
        node1_iface.ip_addr_add(addr=node1_addr, subnet=network1.get_subnet())
        node1.execute(f'sudo ip route add {node1_network.get_gateway()} dev ens7');
        node1.execute(f'sudo ip route add 0.0.0.0/1 via {node1_network.get_gateway()}')
        
        stdout, stderr = node1.execute(f'ip addr show {node1_iface.get_os_interface()}')
        stdout, stderr = node1.execute(f'ip route list')
        except Exception as e:
        print(f"Exception: {e}")
        
        
        
        
        
        in reply to: IPV6 EXT network service #3982
        Devin Lane
        Participant

          Hi,

           

          There is a good tutorial for this here. There are a couple of things to note:

           

          1. As of right now, you will need to copy the plugins.py file from the parent directory of this file into your experiment’s directory. This will allow the “from plugins import Plugins” to work (this will be ported to fablib in a future release to avoid this step).
          2. You will need the proper permissions in your FABRIC project to use external networking.
          3. All routes (even to the public internet) will need to be added manually once the slice is up and running.

           

          Hope this helps!

          in reply to: expired refresh token #3926
          Devin Lane
          Participant

            Did you try to restart your server? I believe you can do this at File -> Hub Control Panel -> Stop My Server (you may have to click it twice). Let me know if this helps.

            in reply to: expired refresh token #3924
            Devin Lane
            Participant

              Hello,

               

              Have you tried generating a new token and copying and pasting this into your id_token.json file? You can get to the token management page through the portal: portal -> Experiments -> Manage Tokens -> Open fabric credential manager -> Create token. You should be able to copy this value, open the token.json file in your fabric environment (may have to right click and press “open with editor” in jupyter), then restart the server.

               

              Hopefully this helps!

              Devin Lane
              Participant

                Thanks, I tested it and it works well 👍

                in reply to: Destination Host Unreachable From Node #3319
                Devin Lane
                Participant

                  Can you try doing ‘ping google.com’? I believe I had a similar issue with the IP not resolving, but specifying the domain name worked for me.

                  in reply to: FABRIC Slice Manager Not Displaying Stitched Network Slice #3312
                  Devin Lane
                  Participant

                    Thank you for the response! I will keep that in mind.

                    in reply to: Local FABRIC Setup on Mac #3291
                    Devin Lane
                    Participant

                      As an update, I found a pretty good solution.

                      1. Update the configure_environment jupyter notebook to match the file structure of your local machine.
                      2. Run the notebook.
                      3. Shut down Jupyter server.
                      4. ‘source’ the fabric_rc file created from the configure_environment notebook:
                        1. source <path_to_fabric_rc>
                      5. Start Jupyter server.

                      That should work. Please respond to this post if something seems wrong or if anyone else is having this issue.

                      in reply to: Local FABRIC Setup on Mac #3267
                      Devin Lane
                      Participant

                        Okay, I went through that and it still isn’t working. One thing I have noticed is that the environment variables aren’t persistent; I restarted my computer and the exported variables were no longer present. Could this have something to do with Mac using zsh?

                      Viewing 10 posts - 1 through 10 (of 10 total)