Home › Forums › FABRIC General Questions and Discussion › Getting up and running
- This topic has 8 replies, 2 voices, and was last updated 1 year, 4 months ago by Ilya Baldin.
-
AuthorPosts
-
July 24, 2023 at 11:24 am #4800
OK, posting in the right place …
1 – I think the configure notebook ran and I successfully ran the “hello_fabric” notebook. I also ran the l2 LAN example. I am not sure why I ran into errors with fablib previously but I am sure the error is between the keyboard and the chair.
2 – Slice builder did not initialize for me but after several tries I now have the interface shown in the “First Slice” guide.
3 – As requested, posting the contents of my rc file
export FABRIC_CREDMGR_HOST=cm.fabric-testbed.net
export FABRIC_ORCHESTRATOR_HOST=orchestrator.fabric-testbed.netexport FABRIC_PROJECT_ID=b55cc265-97af-4597-8c2f-c38b0618d3e1
export FABRIC_TOKEN_LOCATION=/home/fabric/.tokens.jsonexport FABRIC_BASTION_HOST=bastion.fabric-testbed.net
export FABRIC_BASTION_USERNAME=bhhics_0000086577export FABRIC_BASTION_KEY_LOCATION=/home/fabric/work/fabric_config/bastion_key
#export FABRIC_BASTION_KEY_PASSPHRASE=export FABRIC_SLICE_PRIVATE_KEY_FILE=/home/fabric/work/fabric_config/slice_key
export FABRIC_SLICE_PUBLIC_KEY_FILE=/home/fabric/work/fabric_config/slice_key.pub
#export FABRIC_SLICE_PRIVATE_KEY_PASSPHRASE=export FABRIC_LOG_FILE=/home/fabric/fablib.log
export FABRIC_LOG_LEVEL=INFOexport FABRIC_AVOID=”
export FABRIC_SSH_COMMAND_LINE=”ssh -i {{ _self_.private_ssh_key_file }} -F /home/fabric/work/fabric_config/ssh_config {{ _self_.username }}@{{ _self_.management_ip }}”
July 24, 2023 at 3:48 pm #4807Are you still having problems logging in (to VMs via SSH)?
- This reply was modified 1 year, 5 months ago by Ilya Baldin.
July 24, 2023 at 5:29 pm #4817Looks to me like you are all set – your fabric_rc looks as expected.
I am not sure the issue with loading the portal/slice builder. The usual advice is to log out, remove all cookies that start with ‘fabric’, then log back in.
July 24, 2023 at 5:36 pm #4819Thanks for checking – I was able to get a manually created slice up and ssh into the VMs. Just getting used to the tools and ideas – a bit different than GENI but looks nice so far. Also trying to figure out the best strategy for keys, work storage, etc. so I am going through the posts and guides still. The goal is to get a couple of our team members into the project and able to work with the slice. Slow but sure on my end 🙂
July 24, 2023 at 5:38 pm #4820Understood,
Please encourage them also to ask questions here on the forums. Suggestions for features and documentation are always welcome (we may not do it right away but we do take notes).
July 24, 2023 at 5:39 pm #4821Will do!
July 26, 2023 at 3:05 pm #4849OK, we have gotten to the point where we are adding group members. To start we have three professors (me and two others) that should be able to create/delete/etc. Should they be set as project leads and should we all be using the same slice keys?
July 26, 2023 at 3:29 pm #4850No, as per documentation, Project Lead role is needed to create new projects (I strongly suggest looking over that article, particularly its last section). If the project has been created, they can be members or, if they want to be able to add other members like their students, they can be project owners. All members of the projects (owners, regular members) have the same rights with respect to creating slices. Sliver keys should be generated on a per person basis.
If they wish to access each others’ slices, they can add each others’ public sliver SSH keys into VMs in their slices (this can be easily done using ‘node.execute(command)’) after the slice is created. The keys need to be appended to ~/.ssh/authorized_keys file in each VM. We are adding a more programmatic way to do it, but it is not currently available.
August 4, 2023 at 3:02 pm #4934Note that the latest ‘Bleeding Edge’ container has an example of a notebook that shows how to push extra SSH public keys into a slice at creation time.
-
AuthorPosts
- You must be logged in to reply to this topic.