services:labtest:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:labtest:start [2025/02/13 10:45] – jas | services:labtest:start [2025/04/02 13:53] (current) – jas | ||
---|---|---|---|
Line 381: | Line 381: | ||
</ | </ | ||
- | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting | + | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting |
< | < | ||
Line 423: | Line 423: | ||
</ | </ | ||
- | ... or you can create one long session 9:00 AM - 11:00 AM, but you will have to clear the lab manually between sessions yourself: | + | ... or you can create one long session 9:00 AM - 1:00 PM, but you will have to clear the lab manually between sessions yourself: |
< | < | ||
Line 1115: | Line 1115: | ||
eclass.yorku.ca/ | eclass.yorku.ca/ | ||
dm7crvy4e45rz.cloudfront.net | dm7crvy4e45rz.cloudfront.net | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
</ | </ | ||
Line 1136: | Line 1142: | ||
< | < | ||
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
</ | </ | ||
| | ||
Line 1303: | Line 1309: | ||
\\ | \\ | ||
WARNING: Before you can re-use the same secureq directory for another test, at a minimum, you must move any existing “secureq/ | WARNING: Before you can re-use the same secureq directory for another test, at a minimum, you must move any existing “secureq/ | ||
+ | |||
+ | ====== Labtest and Containers ====== | ||
+ | |||
+ | It may be helpful to some courses to use containers from within labtest. | ||
+ | |||
+ | Download an Ubuntu image: | ||
+ | |||
+ | < | ||
+ | % podman pull ubuntu: | ||
+ | </ | ||
+ | |||
+ | **NOTE:** Your EECS home directory has limited storage space and is on network storage. | ||
+ | |||
+ | Start up the container from the ubuntu: | ||
+ | |||
+ | < | ||
+ | % podman run -it --name my-ubuntu ubuntu: | ||
+ | </ | ||
+ | | ||
+ | Make changes -- in this case, we'll just add an empty file named " | ||
+ | |||
+ | < | ||
+ | # cd | ||
+ | # touch file | ||
+ | # exit | ||
+ | </ | ||
+ | |||
+ | Now let's stop the container: | ||
+ | |||
+ | < | ||
+ | % podman stop my-ubuntu | ||
+ | </ | ||
+ | |||
+ | Commit the changes in my-ubuntu container to my-new-ubuntu image: | ||
+ | |||
+ | < | ||
+ | % podman commit my-ubuntu my-new-ubuntu | ||
+ | </ | ||
+ | |||
+ | Save the image to a tar file: | ||
+ | |||
+ | < | ||
+ | % podman save -o my-new-ubuntu.tar my-new-ubuntu | ||
+ | </ | ||
+ | |||
+ | Place my-new-ubuntu.tar into ltinit directory in the course labtest web directory: | ||
+ | |||
+ | In ltinit/ | ||
+ | |||
+ | < | ||
+ | podman load -i $HOME/ | ||
+ | podman run -dit --name labtest my-new-ubuntu | ||
+ | gnome-terminal -- podman exec -it labtest bash | ||
+ | </ | ||
+ | |||
+ | Now, when the user logs in, the image is unpacked and loaded. Podman run starts the container. | ||
+ | |||
+ | * -d runs it in the background (detached). | ||
+ | * -i keeps stdin open. | ||
+ | * -t allocates a pseudo-tty. | ||
+ | * --name labtest names the container labtest. | ||
+ | * my-new-ubuntu is the image used to create the container | ||
+ | |||
+ | **NOTE:** Large container downloads with large multi lab labtests could result in performance issues since all users will be downloading the container on login. | ||
====== Labtest File Synchronization (ltsave) ====== | ====== Labtest File Synchronization (ltsave) ====== | ||
Line 1576: | Line 1646: | ||
Access the Labtest Cloud URL here: | Access the Labtest Cloud URL here: | ||
- | * https:// | + | * https:// |
+ | |||
+ | The best way to access ltcloud is directly from a web browser when you are connected to [[https:// | ||
+ | If you want to access LTCloud directly from your home PC, you can use [[https:// | ||
- | Note that if you are accessing this URL from a non-EECS IP address (such as from home), you must be connected to [[https:// | ||
- | |||
After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | ||
services/labtest/start.1739461525.txt.gz · Last modified: 2025/02/13 10:45 by jas