Here we try to answer the most frequent questions asked by students and colleagues.
Please use this page to look up and think about possible explanations for the problems you are having and address them precisely when contacting your supervisor or the chair administrators, so they can help you as fast as they can.
First of all make sure you have access to your in.tum user account/credentials as it will be used to give you access to the VM. It is the computer science specific user account that exists beside your official TUM account. If you can log in on this website: https://webmail.in.tum.de/ you are good to go. By default every computer science and mathematics student and employee has an IN-TUM account. If you forgot your credentials please contact the RBG Helpdesk to reset your password or get your account details.
After that you will have to ask your supervisor to create a VM for you. Please CC the chair administrators (admin@cm.in.tum.de) when you send your request to the supervisor.
The mail should contain some required information in order to create the VM. Copy the template from below:
IN-TUM username: - (up to 8 letters - usually your last name with some letters of your first name) CPU-Cores: (default = 2) RAM: (default = 4GB) Storage: (default = root partition 20GB + ~TB data) Expiration-Date: - (e.g. 2020-10-31)
As a rule of thumb for the expiration date take the submission date of your thesis/project and extend it by two-four weeks.
In case the resources provided are not sufficient for your research you can e-mail your supervisor and request more resources.
Be aware that changing the resources requires a reboot of the VM!
Stop all your services and scripts before sending the E-Mail and mention that the VM is ready for a reboot.
Ideally you will want to explain the bottleneck you are running into and how much more resources you need. Our cluster has limited resources, so please bear that in mind and be understanding if we are not able to provide the resources to the extent you are wishing for.
The VM is by default in the MWN network. You need to be in the same network in order to reach the VM. Two steps are needed:
!<username> | <password>
After establishing the VPN connection all traffic will go through the VPN and you should be able to reach your VM.
$ sudo ip route add 172.24.24.0/23 dev tun0
We use the IN-TUM LDAP to give you access to the VM. Therefore login is possible with your in.tum username and your in.tum password via ssh.
ssh <user>@<vm.cm.in.tum.de>
To verify that you use the correct credentials you can test them by logging in on this website: https://webmail.in.tum.de. If you forgot your credentials please contact the RBG Helpdesk to reset your password or get your account details.
A service is active on all VMs to prevent brute-force attacks.
If you enter an invalid password a couple of times in a row you will be blocked for 5-10 minutes and a “Connection refused” will be shown.
Data must be stored in the mounted shared folder.
All other directories (including your home directory) are not fault-tolerant and data can be lost!
A folder with your username is automatically create and already mounted on the VM:
If you work on a dataset copy the according dataset from the mounted datasets folder to your own folder.
The size of the mounted folder (df -h
) does not reflect the actual storage capacity as we share it with many other groups. The storage is not only limited in space but also on the number of files (inodes). You need to archive/zip/tar/merge datasets and folders with many small files (< 1MB). Also leave out folders that are easily retrieved from external services (github/gitlab). The number of files can be counted with this command:
find . -type f | wc -l
This is a very critical factor to maintain a good filesystem performance, so please keep it in mind when moving data to the shared storage.
Main Points:
As mentioned in the “how to connect” above, the VM is in the MWN network. All access to the internet is done through the in.tum proxy (http://proxy.in.tum.de:8080). This should already work transparently as the proxy is configured by default on all VMs through environment and apt variables (/etc/environment).
Problems that can occur:
Your are responsible for the security of the VM.
Automatic package upgrades are performed every day to ensure the latest versions are installed.
This is an automatic service run in the morning. If you need special package versions and more stability or you want to exclude packages from being updated use these commands
sudo apt-mark hold <package_name> # list all hold packages sudo dpkg --get-selections | grep "hold" # unhold a package sudo apt-mark unhold package_name
A intrusion detection service is active on all VMs to prevent brute-force attacks. If you enter an invalid password for a couple of times in a row you will be blocked for 5/10 minutes and a “Connection refused” will be shown. Wait for some time until you try again. You can test your credentials on this website to verify them before trying it again: https://webmail.in.tum.de
Our chair has three networks we can assign VMs to but only one that is set by default to the VMs. Other networks are only assigned under special circumstances.
The default network for all VMs:
Other available networks:
If you think the default network is not sufficient contact your supervisor and if you both agree that another setup/network is needed contact the chair administrators with your supervisor in CC.
You probably run into routing problems using the LRZ VPN. The VPN does not set the right routing entry to our address range, thus resulting in the connection going through your default gateway into the internet, where it gets lost.
To solve this problem, you have two options:
!<username> | <password>
After establishing the VPN connection all traffic will go through the VPN and you should be able to reach your VM.
$ sudo ip route add 172.24.24.0/23 dev tun0
For VMs in the MWN network the outgoing connections are running through the RBG proxy by default and also is required to do so. This means that another issue with your application might be, that you will have to manually set the proxy settings for it, in case it does not utilize the environment proxy variable. The RBG proxy is configured as
http://proxy.in.tum.de:8080
If your application does not have the option to configure a proxy, you can e-mail the chair administrators with the supervisor in CC and explain your goal as well as networking requirements.
Our whole network is secured with firewalls, one for the mwn network and one for the chair/intern network. The default settings for those are the following:
Exceptions or new firewall entries can only be requested for the chair network. Have a look at “How can I open ports?”. Keep in mind that the in.tum proxy is configured by default on all VMs regardless the network with environment proxy variables. Interfaces in the MWN network are even required to use the proxy to get access to the internet. Try to unset the proxy variables for VMs in the chair network to resolve some network issues:
unset http_proxy HTTP_PROY https_proxy HTTPS_PROXY # Environment variables are set on every login # delete the according variables to persist the changes sudo vim /etc/environment
Ports for incoming traffic from the internet can only be opened for the chair network. E-mail the chair administrators with the port(s) and according protocol(s) you need opened and please also explain why you need them opened. They can also open up a range of ports, but only if really needed.