Difference between revisions of "Logging in to the system"

From HPC users
Jump to navigationJump to search
Line 26: Line 26:
==== Linux ====
==== Linux ====


First you may need to install some additional packages. This can be done e.g. with the command:
Before you can setup the VPN connection, you may have to install some additional packages. This can be done e.g. with the command:
sudo apt-get install network-manager-vpnc network-manager-vpnc-gnome
After installing these packages and there dependencies, you will have to restart the network manager. You can do that with the command:
service network-manager restart
Now you can create the needed VPN connection. Navigate to the system settings and open the network connections menu. You will find a small "Add"-button somewhere.
Click on it and choose VPN and the newly installed package "Cisco Compatible VPN (vpnc)". Confirm the selection with a click on "Create".
You will need to fill in the following informations:
*Connection name: "VPN Uni Oldenburg" (or any other name of your choice)
*Gateway: vpn.uni-oldenburg.de
*User name: your username ("abcd1234")
*User password: your password
*Group name: tunnel
*Group password: tunnel


sudo apt-get install network-manager network-manager-gnome network-manager-vpnc vpnc
Click on "Save" if you have entered every needed information.
 
You will be prompted for the password on your local machine. If you are using KDE install network-manager-kde instead of the "-gnome" one.
 
To setup the network connection, download the [[Media:VPN_HPC_CONFIG_FILE.zip | zipped configuration file]] and unpack it. Then start from the Applications menu System Tools->Preferences->Network Connections. Select the VPN tab and import the PCF file from above. Complete the setup by entering your university user name and save.
 
To connect click on the network status (upper left of your desktop) and select the VPN connection. You will be prompted for your university password.
 
<!-- == Difficulties to resolve hostname upon login to hero.hpc.uni-oldenburg ==
 
Sometimes, even though the VPN tunnel is correctly set up, the login procedure
to HERO might fail due to problems resolving the hostname. Then you might try
to access the cluster via the IP address of one of the distinguished login
nodes. Just establish the VPN tunnel and try to access the HERO component of
the HPC system e.g. forthe login node <tt>hero01</tt> via
 
  ssh abcd1234@10.140.1.61
 
For other login in nodes please change the IP address to one address listed below.
 
<center>
{| style="background-color:#eeeeff;" cellpadding="10" border="1" cellspacing="0"
|- style="background-color:#ddddff;"
!Hostname
!IP address
|-
| <tt>flow01</tt>
| 10.140.1.71
|-
| <tt>flow02</tt>
| 10.140.1.72
|-
| <tt>hero01</tt>
| 10.140.1.61
|-
| <tt>hero02</tt>
| 10.140.1.62
|-
|}
</center> -->

Revision as of 13:38, 27 September 2017

From within the University (intranet)

Within the internal net of the University, access to the systems is granted via ssh. Use your favorite ssh client like OpenSSH, PuTTY, etc. For example, on a UNIX/Linux system, users of CARL may type on the command line (replace "abcd1234" with your own account):

ssh abcd1234@carl.hpc.uni-oldenburg.de

Similarly, users of EDDY login by typing:

ssh abcd1234@eddy.hpc.uni-oldenburg.de

For security reasons, access to the HPC systems is denied from certain subnets. In particular, you cannot login from the WLAN of the University (eduroam) or from "public" PCs (located, e.g., in Libraries, PC rooms, or at other places).

From outside the University (internet)

First, you have to establish a VPN tunnel to the University intranet. After that, you can login to CARL or EDDY via ssh as described above. See the following instructions on how to setup the VPN tunnel:

Windows

Download the Cisco-VPN-Client from this web site and install it following the instructions of the IT Services.

For the HPC systems, a separate VPN tunnel has been installed, which is only accessible for users of CARL and EDDY. Therefore, you have to configure a new VPN connection using this zipped configuration file. Again, refer to the instructions of the IT services on how to import the PCF-file.

When you start a VPN tunnel by pressing connect, you will be prompted for your university user name and password.

Linux

Before you can setup the VPN connection, you may have to install some additional packages. This can be done e.g. with the command:

sudo apt-get install network-manager-vpnc network-manager-vpnc-gnome

After installing these packages and there dependencies, you will have to restart the network manager. You can do that with the command:

service network-manager restart 

Now you can create the needed VPN connection. Navigate to the system settings and open the network connections menu. You will find a small "Add"-button somewhere. Click on it and choose VPN and the newly installed package "Cisco Compatible VPN (vpnc)". Confirm the selection with a click on "Create". You will need to fill in the following informations:

  • Connection name: "VPN Uni Oldenburg" (or any other name of your choice)
  • Gateway: vpn.uni-oldenburg.de
  • User name: your username ("abcd1234")
  • User password: your password
  • Group name: tunnel
  • Group password: tunnel

Click on "Save" if you have entered every needed information.