-
Notifications
You must be signed in to change notification settings - Fork 0
Lab Servers
The lab has several servers and workstations. Their names and IP addresses are shown, below:
username@peloton.cse.ucdavis.edu marr (Peloton head node)
169.237.107.49 miller (Lab workstation; LS-190346)
169.237.107.47 corkin (Lab workstation; LS-190345)
169.237.107.48 dennett (Lab workstation; LS-190347)
//frey-nas.dss.ucdavis.edu/Huskey_Lab hopper (Lab production server)
//LS-190472-S.ou.ad3.ucdavis.edu hopper (DNS name for lab production server)
http://huskey-nas.dss.ucdavis.edu/Huskey-Scratch gazzaniga (Lab backup server; Synology RS3618xs)
It can be hard to recognize what server you are connected to since each computer has an alphanumeric hostname. You can change that by modifying your bashrc file. This how-to is particularly useful and shows all the different ways you can customize your profile to suit your individual needs. As just one example, here is what Richard uses.
-
Temporarily back up your PS1 settings in .bashrc. This helps you restore things should you make an error. The "DEFAULT" variable has all the information we need to recover our default prompt settings.
$ DEFAULT=$PS1 $ cp ~/.bashrc ~/.bashrc.back -
Set the a new profile that makes it easier to understand what system you are working on:
$ PS1="\u@servername:\$ " -
You'll see that the profile in your terminal has now changed. In this example, we've updated the
.bashrcfile on dennett.rwhuskey@dennett:$ -
Now you'll need to make this change permanent. To do that
$ nano ~/.bashrc -
Update the FIRST PS1 setting. In this example, we're updating the
.bashrcfile on dennett to match the above:PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@dennett\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' -
Close the terminal, and re-open. Changes should be applied. If you are unhappy, or made an error, just restore from
.bashrc.back. Otherwiserm ~/.bashrc.back -
If you want these changes to apply to tmux sessions do the first make a
.tmux.conffile in yourhomedirectory and add:set -g default-terminal "screen-256color"
NB: If you make an error when testing your configuration settings, just run: PS1=$DEFAULT
This lab server automatically mount on the lab workstations after reboot. They follow an adaptation of this procedure. The relevant syntax can be found in /etc/fstab
You can now find the lab server on a lab workstation at the following file path:
$ /mnt/ccsl_nas/
This syntax will mount the lab server on reboot. The way this works is as follows:
- Jeff Trask of LSIT created a local Synology account on this workstation and mounted the server under that user account.
- That user account has root access and mounts the server with 777.
- By doing so, aall users can read/write to the server, from a workstation, can read/write without having to elevate permissions.
- The server will re-mount on restart
- This limits security risk because:
- The new user account is not on Active Directory (so it does not have access to other Davis services)
- The new user account only has permissions for the lab server (and, the local workstation, of course)
- The credentials for the new user account are not stored in the user directory.
NOTE: if you mount the server on your own laptop, all files and directories you create will still be restricted to you unless you change their permissions. Best to SSH in.
NOTE: If this procedure stops working, we'll need to open a ticket with LSIT. Talk with Richard ASAP.
- Connect to the LS IT VPN For macOS
- Open Finder -> Connect to vpn.dss.ucdavis.edu
- Type in
cifs://AD3;<yourKerboseID>@frey-nas.dss.ucdavis.edu/Huskey_LabNOTE: update with your specific KerboseID (e.g., the user ID you use to login to UC Davis services)
And then hit Connect
- Type in your KerboseID password and hit connect
- Then you can access the server through sidebar
NOTE: Steps 6 and 7 aren't mandatory. Also, you won't be able to connect at login unless you also sign into the VPN
-
Go to System Preferences -> Users&Groups -> Login Items
-
Hit '+' button and then navigate to 'frey-nas.dss.ucdavis.edu/Huskey_Lab'
Then hit 'Add'
-
Click the checkbox next to the item 'Huskey_Lab'
Your mac will connect to the server upon reboot
-
Connect to the LS IT VPN For Windows
-
Go to Windows Explorer > This PC > Click "..." (see red circle in image below)

- You will now have the "Map Network Drive" option (see image below). Select "Map Network Drive"

-
Pick a drive letter (any will do so long as it is not already in use). NB: you need to use the Windows backslashes instead of forward slashes for the path.
-
Enter
\\LS-190472-S.ou.ad3.ucdavis.edu\Huskey_Labfor "Folder"

-
If this is your personal laptop, you'll need to check the "Connect using different credentials" box and enter their AD3(Kerberos) username and password. NB: You can ignore this step if you are using a UC Davis administered PC computer, and you are already signed into that computer using your Kerberos username and password.
-
If you don't want to try to connect every time you turn your laptop on, disable "reconnect at login".
NB: Only Richard has access to this
Navigate to http://huskey-nas.dss.ucdavis.edu/Huskey-Scratch
Username: AD3\rwhuskey Password: Kerberos Password
User/group permissions are handled via Roles.
Login rights (lab workstations: LS-190346 / 169.237.107.49 / Miller; LS-190345 / 169.237.107.47 / Corkin)
- OU\DSS-US-COM-HUSKEY-USERS > In Roles Management, "Huskey Lab" application > "Users"
- OU\DSS-US-COM-HUSKEY-ADMINS > In Roles Management, "Huskey Lab" application > "Admins"
- OU\LS-US-COM-HUSKEY-FACULTY > In Roles Management, "Huskey Lab" application > "Faculty"
- OU\LS-US-COM-HUSKEY-GRAD-STUDENT-ADMINS > In Roles Management, "Huskey Lab" application > "Grad Student Admins"
- OU\DSS-US-COM-Huskey-Grad > In Roles Management, "Huskey Lab" application > "Grad Students"
- OU\LS-US-COM-HUSKEY-RAs > In Roles Management, "Huskey Lab" application > "RAs"
Sudo rights (lab workstations: LS-190346 / 169.237.107.49 / Miller; LS-190345 / 169.237.107.47 / Corkin)
- OU\DSS-US-COM-HUSKEY-ADMINS > In Roles Management, "Huskey Lab" application > "Admins"
- OU\LS-US-COM-HUSKEY-GRAD-STUDENT-ADMINS > In Roles Management, "Huskey Lab" application > "Grad Student Admins"
Login rights (Richard's workstation: LS-190347 / 169.237.107.48 / Dennett)
- OU\DSS-US-COM-HUSKEY-ADMINS > In Roles Management, "Huskey Lab" application > "Admins"
Sudo rights (Richard's workstation: LS-190347 / 169.237.107.48 / Dennett)
- OU\DSS-US-COM-HUSKEY-ADMINS > In Roles Management, "Huskey Lab" application > "Admins"
For Synology Drive Backups
NB: Only Richad has access to this
Fully Qualified Domain Name (FQDN): ls-190473-com-s.ou.ad3.ucdavis.edu
Domain (use this for Synology Drive): huskey-nas.dss.ucdavis.edu
IP Address: 169.237.107.18
Username: AD3\rwhuskey
Password: Kerberos Password
You will need a VPN to access the UCD Library from an off campus location:
)1. Install and connect using a VPN
The VPN does not support Linux, but there are some clients that seem to work. If you install the package, it is best to do it from the command line as you may need to install some extra packages. To do this, change into the directory where you downloaded the .deb file and run the following commands:
$ sudo dpkg -i pulse-9.1R1.x86_64.deb
If you need to install dependencies, enter this command:
/usr/local/pulse/PulseClient_x86_64.sh install_dependency_packages
You can run the VPN from a terminal, but this is not mandatory:
$ /usr/local/pulse/PulseClient_x86_64.sh -h vpn.library.ucdavis.edu -u <your kerberos id> -r Library
Connect to lab servers and make edits to https://communication.ucdavis.edu
You need a different VPN to connect to lab servers or to make edits to the department website. If you have a PC or Mac, this is easy. If Linux, a bit more involved (see OpenVPN for Linux section below). If you do not already have the VPN installed, navigate to the LS VPN website. Then, follow these steps:
-
Connect to the VPN
-
Access the lab servers (see above) or edit the department website communication.ucdavis.edu/login from off campus.
-
Follow the instructions at this website: https://community.openvpn.net/openvpn/wiki/OpenVPN3Linux
-
Download the OpenVPN DSS (UCD) client, requires Duo: https://vpn.ls.ucdavis.edu The client might be called a "user-locked profile". That is fine, just use whatever is appended with .ovpn in step 3
-
Run the client from the CLI by following the instructions here: https://openvpn.net/vpn-server-resources/connecting-to-access-server-with-linux/
- Start a session
openvpn3 session-start --config client.ovpn - End a session
openvpn3 session-manage --disconnect --config $'client'.ovpn
- cmnsenatefaculty@ucdavis.edu: This email list is used for reaching out to Senate faculty members. This is the primary list that we use for personnel matters as well as announcements that only pertain to senate faculty.
- cmnacademics@ucdavis.edu: This email list has all departmental faculty personnel (senate faculty, continuing and pre-six lecturers), and is used to announce events open to the general department personnel and for broad announcements, such as building facilities issues or general campus updates. Temporary affiliates such as post-docs and visiting scholars will also be added to this list.
- cmngrads@ucdavis.edu: This is the email list that we use to send messages to our graduate students. Senate faculty members are also subscribed to this list and they will also receive emails sent to this list. Graduate students, if you want to send a message to all in the department, please send it to Stephanie for distribution.