The Departmental Private Cloud Infrastructure - FAQ
This page describes some FAQs about the Departmental Private Cloud Infrastructure - more general information is available elsewhere
Ready-to-Run Instances (DTAI and NUMA):
- Access to the instances/VMs: use the (public) DNS name (and probably port 2222)
- from within departmental cabled and departmental VPN: direct connection
- from elsewhere with jump host: ssh -J login@ssh.cs.kuleuven.be -p 2222 account@instance-dtai-hera.cs.kuleuven.be
- Managing OpenStack Instances and Volumes (via the Horizon web interface) is not needed: helpdesk does that for you
- Managing NetApp Volumes: ask helpdesk
- Backup: when needed: consult with helpdesk
Do-it-Yourself Instances/Projects (DistriNet):
How to access the Horizon web interface to manage your instances/VMs:
- from within departmental and KU Leuven cabled and wireless networks: direct access
- from home or elsewhere: use the departmental or KU Leuven VPN
How to access your instances/VMs via SSH:
- from within departemental cabled networks, including the departmental student computer labs:
- direct connection to your instances using their 172.2.... IP addresses
- personnel also has direct connection to their instances from anywhere in the world when using the departmental VPN with a config that tunnels the private addresses (a 'labo' config)
- from within KU Leuven cabled and wireless networks and from home or elsewhere: use SSH jumphost:
- personnel: ssh -J login@ssh.cs.kuleuven.be ubuntu@172.2....
- students: ssh -J r0123456@st.cs.kuleuven.be ubuntu@172.2....
- you don't need a VPN if you only want to use SSH - the jump servers are accessible from anywhere in the world
- use SSH Certs for the jump servers
- initial access to your instances is via the SSH key that you provide when lauching them
- you need an extra parameter in your ssh command above to do so: -i /path/to/your/private/key
- configure your instances to use SSH Certs as well for subsequent access
- in this way you don't need that extra parameter anymore and get a seamless login from wherever you are right onto your instance with the same SSH Cert
- from within departemental cabled networks, including the departmental student computer labs:
How to use services on/of an instance/VM:
- via departmental proxy service - consult with dnetcloud team
- via SSH tunneling: ssh -L 13306:172.2...:3306 login@ssh.cs.kuleuven.be
Creating a new instance/VM from an image:
- How to avoid the time out when using a large image:
- first create a volume from the image
- then launch an instance with that volume
- rationale: for some (yet unknown) reason the timeout when launching directly from an image is (much) smaller than the timeout when creating a volume from an image
- How to avoid the time out when using a large image:
App Credentials and Roles:
- in the new version of OpenStack, the _member_ role seems to have been deprecated more and more
- app credentials with that role can do some things but not all as before
- use the roles member and/or reader (without _member_) to regain all functionality
Snapshots:
- you can use snapshots on OpenStack Volumes as you need
- but for some (yet unknown) reason instances with snapshots cannot live migrate:
- because of regular maintenance, the physical compute nodes must be rebooted from time to time
- we try to keep the impact of that maintenance as low as possible by live-migrating instances to another compute node
- instances with snapshots cannot be live-migrated - we will therefore ask you to choose between either delete the snapshots or allow a cold-migration: shutdown&reboot
- you can pro-actively avoid this by deleting snapshots as soon as they are no longer of use
OpenStack Volume Size:
- experience shows that boot/root volumes are best kept as small as possible
- make your boot/root volume just big enough to install the software and keep the log files but not bigger (with some spare room for updates of course)
- if you need large (data) storage volume, it is best to use an (NFS) NetApp volume
Resizing an OpenStack Volume:
- a data volume:
- detach, resize and attach again
- a boot volume:
- delete the instance without deleting the volume
- resize the volume
- recreate the instance and launch with that volume
- a data volume:
Resizing a NetApp Volume
- ask helpdesk
Backup:
- no (direct) backup in the departmental backup system is provided
- if you need backup and you want it in the departmental backup system, you must copy/rsync your backup data to a system that is backuped by the departmental backup system
- there are snapshots of the OpenStack and NetApp volumes but these are limited in time
- if what you seek is deleted or changed not too long ago, we might be able to recover it from there, but you need helpdesk to access it

