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/09/22 21:30] – [5. Restrict IP Addresses Which Can Access Your eClass Quiz From Within eClass] jas | services:labtest:start [2026/08/21 15:30] (current) – jas | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| In order to setup your labtest, login to an EECS system via [[https:// | In order to setup your labtest, login to an EECS system via [[https:// | ||
| - | Open a Terminal, then start Labtest Assistant (labtest command) and pass in the concatenation of your course number and section (eg. 7777A for EECS7777A) followed by a space and then a test version name (eg. labtest1). | + | Open a Terminal |
| < | < | ||
| Line 84: | Line 84: | ||
| </ | </ | ||
| - | By default, the default start page for your labtest is called " | + | By default, the default start page for your labtest is called " |
| < | < | ||
| Line 90: | Line 90: | ||
| </ | </ | ||
| - | Modify the default page, and add your own information such as your rules for the test, and links to other content. | + | Modify the default |
| - | NOTE: If you're creating a labtest which points to an eClass quiz, you'll want to include a link to your quiz directly on this page. It will look like this: https:// | + | NOTE: If you're creating a labtest which points to an eClass quiz, you'll want to include a link to your quiz directly on this page. It will look like this: https:// |
| After you finish editing index.html, save the file. | After you finish editing index.html, save the file. | ||
| Line 105: | Line 105: | ||
| Put success. | Put success. | ||
| </ | </ | ||
| + | |||
| + | You can also upload other files like slides, or documentation, | ||
| Labtest Assistant will ensure that file permissions are setup correctly. | Labtest Assistant will ensure that file permissions are setup correctly. | ||
| Line 144: | Line 146: | ||
| < | < | ||
| Labtest (7777A) [labtest1] > help | Labtest (7777A) [labtest1] > help | ||
| + | |||
| + | Available commands: | ||
| status | status | ||
| Line 162: | Line 166: | ||
| quit Quit | quit Quit | ||
| + | app help | ||
| + | eecsvm help Display eecsvm help options | ||
| lock help Display lock help options | lock help Display lock help options | ||
| ltinit help Display ltinit help options | ltinit help Display ltinit help options | ||
| Line 180: | Line 186: | ||
| * You can use the " | * You can use the " | ||
| - | There are also a few subcommands in Labtest Assistant - lock, ltinit, restrict, and submit which will be described below. | + | There are various |
| + | |||
| + | ===== Labtest Applications Help ===== | ||
| + | |||
| + | < | ||
| + | Labtest (7777A) [labtest1] > app help | ||
| + | |||
| + | Labtest Application Dock Help: | ||
| + | |||
| + | In labtest mode, you can specify which applications are available on the app dock at the bottom of the | ||
| + | screen. | ||
| + | |||
| + | These applications are ALWAYS included no matter what your settings: Firefox, Logout, and LTRestore | ||
| + | |||
| + | In labtest lock mode, no additional applications are added by default unless you add them using "app add" | ||
| + | |||
| + | DISCLAIMER: Not all applications are suitable for labtest lock mode. For example, VSCode | ||
| + | requires access to the terminal for compiling and debugging code. | ||
| + | Consult with tech when adding new applications in lock mode. | ||
| + | |||
| + | In regular labtest mode, these other applications are added by default: | ||
| + | |||
| + | org.gnome.Ptyxis | ||
| + | eclipse | ||
| + | org.gnome.Nautilus | ||
| + | |||
| + | NOTE: If you add an app, but still want some of the defaults, you will have to re-add the defaults. | ||
| + | |||
| + | NOTE: | ||
| + | |||
| + | app default | ||
| + | app list List custom app list | ||
| + | app add < | ||
| + | app delete < | ||
| + | app edit Edit app list in text editor | ||
| + | app help | ||
| + | </ | ||
| + | |||
| + | ===== EECSVM Help ===== | ||
| + | |||
| + | < | ||
| + | Labtest (7777A) [labtest1] | ||
| + | |||
| + | EECSVM Mode Help: | ||
| + | |||
| + | The EECSVM service allows students to use virtual machines required by courses | ||
| + | they are taking. The service is only available to students enrolled in courses | ||
| + | requiring this service, and the respective faculty. | ||
| + | |||
| + | By default, EECSVM service is NOT available in Labtest mode. It can be enabled | ||
| + | (or disabled) with the options below. | ||
| + | to VMs that they have created outside of Labtest mode - only the template VMs. | ||
| + | |||
| + | eecsvm enable | ||
| + | eecsvm disable | ||
| + | eecsvm help | ||
| + | |||
| + | For more information on EECSVM service, please refer to this page: | ||
| + | |||
| + | https:// | ||
| + | </ | ||
| ===== Labtest Lock ===== | ===== Labtest Lock ===== | ||
| Line 191: | Line 257: | ||
| In labtest lock mode, the student is placed in a limited environment | In labtest lock mode, the student is placed in a limited environment | ||
| with no access to a terminal. | with no access to a terminal. | ||
| - | is Firefox web browser. | + | is Firefox web browser. |
| + | (see "apps help"). | ||
| lock enable | lock enable | ||
| lock disable | lock disable | ||
| - | lock list List apps in lock mode | ||
| - | lock add <app> [< | ||
| - | lock delete < | ||
| - | lock help | ||
| - | |||
| - | NOTE: As there is no access to a terminal, apps must bring up a GUI. | ||
| - | |||
| - | Example: | ||
| Enable lock mode (by default includes Web browser access only): | Enable lock mode (by default includes Web browser access only): | ||
| Line 208: | Line 267: | ||
| > lock enable | > lock enable | ||
| - | Want to make Eclipse available in lock mode? | + | Disable |
| - | > lock add eclipse | + | > lock disable |
| - | Add Matlab to lock mode (requires the option -desktop): | ||
| - | |||
| - | > lock add matlab -desktop | ||
| - | |||
| - | DISCLAIMER: Not all applications are suitable for lock mode. For example, VSCode | ||
| - | requires access to the terminal for compiling and debugging code. | ||
| </ | </ | ||
| Line 296: | Line 349: | ||
| ====== Requesting Labtest Mode ====== | ====== Requesting Labtest Mode ====== | ||
| - | Each term, the technical team books a significant number of labtests. | + | Each term, the technical team books a significant number of labtests |
| The **first time** in a term when you book a labtest for a course, please provide us with: | The **first time** in a term when you book a labtest for a course, please provide us with: | ||
| Line 305: | Line 358: | ||
| * EECS TA user IDs (they will be able to help students move between machines in a labtest) (eg. johns, alicez, aigha) (*) | * EECS TA user IDs (they will be able to help students move between machines in a labtest) (eg. johns, alicez, aigha) (*) | ||
| - | (*) Please make sure that you **only send us EECS user IDs** - not full names, not gmail, or other alternate email. | + | (*) Before submitting a list of users, **please read this carefully**: |
| + | |||
| + | If a TA does not have an account, the process for them to get an account depends on the user type: | ||
| + | |||
| + | * If your TA is an undergrad, and an EECS student taking an EECS course, and they don' | ||
| + | * If your TA is an undergrad or grad that is not an EECS student, then **you** (**please | ||
| + | * Student Type: ugrad TA | ||
| + | * First name: | ||
| + | * Last name: | ||
| + | * Student ID: | ||
| + | * Passport York Login: | ||
| + | * If your TA is an EECS grad, and does not have an EECS account, then **they** need to email tech@eecs.yorku.ca with the following information: | ||
| + | * First name: | ||
| + | * Last name: | ||
| + | * Student ID: | ||
| + | * Degree: Msc/PhD | ||
| + | * Supervisor: | ||
| + | * Passport York login: | ||
| + | |||
| + | Grad accounts will remain on our system for the duration of the students time in their programme at York. Undergraduate temporary TA accounts will be deleted at the end of the term. | ||
| For **subsequent** labtest bookings in your course, please always include in your booking: | For **subsequent** labtest bookings in your course, please always include in your booking: | ||
| Line 359: | Line 431: | ||
| # labtest1-LAB1 | # labtest1-LAB1 | ||
| # version: labtest1-lab1 | # version: labtest1-lab1 | ||
| - | 06/ | + | 06/ |
| 06/ | 06/ | ||
| </ | </ | ||
| Line 365: | Line 437: | ||
| Description: | Description: | ||
| - | * On June 20, 2023 at 9:54 AM, machines ea01-ea78 in las1006 will display (to logged in users) a warning that the machines will reboot in 5 minutes into labtest mode. The machines will remind students once per minute until the 5 minutes have elapsed. | + | * On June 20, 2023 at 9:55 AM, machines ea01-ea78 in las1006 will display (to logged in users) a warning that the machines will reboot in 5 minutes into labtest mode. The machines will remind students once per minute until the 5 minutes have elapsed. |
| - | * The machines will reboot into labtest mode at 9:59 AM, so they should be ready by 10:00 AM. | + | * The machines will reboot into labtest mode at 9:55 AM, so they should be ready by 10:00 AM. |
| * On June 20, 2023 at 11:45 AM, machines ea01-ea78 in las1006 will display (to logged in users) a warning that the machines will reboot back to Linux mode in 5 minutes. | * On June 20, 2023 at 11:45 AM, machines ea01-ea78 in las1006 will display (to logged in users) a warning that the machines will reboot back to Linux mode in 5 minutes. | ||
| - | * At 11:50 PM, machines will reboot from Labest | + | * At 11:50 PM, machines will reboot from Labtest |
| **Please ensure that your labtest ends 10 minutes prior to the end of your lab booking time.** | **Please ensure that your labtest ends 10 minutes prior to the end of your lab booking time.** | ||
| Line 377: | Line 449: | ||
| # labtest1-LAB1 | # labtest1-LAB1 | ||
| # version: labtest1-lab1 | # version: labtest1-lab1 | ||
| - | 06/ | + | 06/ |
| 06/ | 06/ | ||
| </ | </ | ||
| Line 386: | Line 458: | ||
| # labtest1-LAB1 MAIN | # labtest1-LAB1 MAIN | ||
| # version: labtest1-lab1 | # version: labtest1-lab1 | ||
| - | 06/ | + | 06/ |
| 06/ | 06/ | ||
| # labtest1-LAB1 ACCOMMODATION - 5 machines getting extra hour | # labtest1-LAB1 ACCOMMODATION - 5 machines getting extra hour | ||
| # version: labtest1-lab1 | # version: labtest1-lab1 | ||
| - | 06/ | + | 06/ |
| 06/ | 06/ | ||
| # labtest1-LAB1 ACCOMMODATION - 2 students getting extra 30 minutes | # labtest1-LAB1 ACCOMMODATION - 2 students getting extra 30 minutes | ||
| # version: labtest1-lab1 | # version: labtest1-lab1 | ||
| - | 06/ | + | 06/ |
| 06/ | 06/ | ||
| # labtest1-LAB1 ACCOMMODATION - 1 student getting extra 20 minutes | # labtest1-LAB1 ACCOMMODATION - 1 student getting extra 20 minutes | ||
| # version: labtest1-lab1 | # version: labtest1-lab1 | ||
| - | 06/ | + | 06/ |
| 06/ | 06/ | ||
| </ | </ | ||
| Line 433: | Line 505: | ||
| After you have submitted your labtest booking, someone from tech will get back to you to confirm your booking. | After you have submitted your labtest booking, someone from tech will get back to you to confirm your booking. | ||
| + | |||
| + | ===== Reserving Additional Lab Time for Accommodations ===== | ||
| + | |||
| + | You can now view the [[https:// | ||
| If you have any questions about labtest booking, please e-mail the technical team. | If you have any questions about labtest booking, please e-mail the technical team. | ||
| Line 920: | Line 996: | ||
| Now if you test your labtest in ltcloud, the user will only be able to access the Firefox web browser. | Now if you test your labtest in ltcloud, the user will only be able to access the Firefox web browser. | ||
| - | If you want additional software to be accessible in labtest, | + | If you want additional software to be accessible in labtest, |
| - | <app name>,< | + | These applications are ALWAYS included no matter what your settings: Firefox, Logout, and LTRestore |
| - | For example, if you want Eclipse to be available in lock mode, you would add to the lock file: | + | In labtest |
| - | eclipse | + | **DISCLAIMER: |
| - | By default, there are no optional arguments, and if no alternate display name is mentioned, then it will appear in the menu with the same name as the command name, but with the first letter capitalized (" | + | In regular labtest mode, these other applications |
| - | If you want to add Matlab: | + | org.gnome.Ptyxis (this is the terminal) |
| + | eclipse | ||
| + | org.gnome.Nautilus (this is the file manager) | ||
| - | matlab,-desktop | + | If you want to add an app, you need to find the desktop |
| - | In order to run " | + | If you add an app, but still want some of the defaults |
| - | On the other hand, if you wanted to include Visual Studio Code, you would add: | + | idea <- that's intellij |
| + | org.gnome.Ptyxis (this is the terminal) | ||
| + | eclipse | ||
| + | org.gnome.Nautilus (this is the file manager) | ||
| - | code,, | + | ** Please ensure that you're careful when allowing access to software in lock mode. Giving access to additional software may have unintended side effects. |
| - | + | ||
| - | Now, " | + | |
| - | + | ||
| - | In labtest lock mode, the window environment is a little different in order to support the locked down nature of the environment. | + | |
| - | + | ||
| - | When labtest mode is started, a web browser will appear with the labtest start page. Additional software will be available by right clicking the desktop, or by clicking on the "Apps & Logout" | + | |
| - | + | ||
| - | Please ensure that you're careful when allowing access to software in lock mode. Giving access to additional software may have unintended side effects. | + | |
| ====== Accessing External Hosts In Labtest (optional) ====== | ====== Accessing External Hosts In Labtest (optional) ====== | ||
| Line 1093: | Line 1166: | ||
| In this section, we will configure labtest to provide secure access to an eClass quiz. | In this section, we will configure labtest to provide secure access to an eClass quiz. | ||
| - | ===== 1. Allow Lab Machines | + | ===== 1. Allow Lab Machines To Access |
| First, you need to allow the lab machines limited access to eClass in labtest mode. | First, you need to allow the lab machines limited access to eClass in labtest mode. | ||
| Line 1179: | Line 1252: | ||
| NOTES: | NOTES: | ||
| - | * If you are using all 3 of WSC105, WSC106, AND WSC108, use instead: 130.63.131.0/ | + | * If you are using all 3 of WSC105, WSC106, AND WSC108, use instead: 130.63.131.0/ |
| * If you are testing in ltcloud, please ensure that you include both the IP range for the required lab followed by a comma followed by the ltcloud range. | * If you are testing in ltcloud, please ensure that you include both the IP range for the required lab followed by a comma followed by the ltcloud range. | ||
| * If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds around 14, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | * If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds around 14, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | ||
| Line 1186: | Line 1259: | ||
| You will need to limit the start and end time of your quiz in eClass. | You will need to limit the start and end time of your quiz in eClass. | ||
| + | |||
| + | ===== 7. Lock Access to eClass Only (optional) ===== | ||
| + | |||
| + | If you want your students to only be able to access eClass, and no additional software on our systems (eg. Eclipse/ | ||
| + | |||
| + | If you're using Labtest Assistant, use the command: lock enable | ||
| + | |||
| + | If you're not using Labtest Assistant, then touch the file called " | ||
| + | |||
| + | % touch / | ||
| + | % chmod 644 / | ||
| Final Notes: | Final Notes: | ||
| Line 1535: | Line 1619: | ||
| Sometimes, during labtest mode, you may require a student to move from one machine to another machine. | Sometimes, during labtest mode, you may require a student to move from one machine to another machine. | ||
| - | When a student moves from one machine to the another, | + | When a student moves from one machine to the another, |
| To restore a students files from another machine, you will need to enter 3 pieces of information -- Labtest Admin (userid), Password, and Restore Machine. | To restore a students files from another machine, you will need to enter 3 pieces of information -- Labtest Admin (userid), Password, and Restore Machine. | ||
services/labtest/start.1758591043.txt.gz · Last modified: by jas
