Virtual environment: Difference between revisions

From Testar
Jump to navigation Jump to search
m updated virtual machine table
Line 220: Line 220:
|-
|-
|10.101.0.10
|10.101.0.10
|FREE
|NOT USED
|
|
|
|
Line 228: Line 228:
|
|
|10.102.0.10
|10.102.0.10
|
|NOT USED
|
|
|
|
Line 247: Line 247:
|Windows10 Olivia
|Windows10 Olivia
|
|
|
|2
|
|8GB
|
|128GB
|OK
|OK
|
|
Line 264: Line 264:
|Windows 10 Amit Dua
|Windows 10 Amit Dua
|
|
|
|2
|
|8GB
|
|128GB
|OK
|OK
|
|
Line 281: Line 281:
|windows 10 saltstack test client
|windows 10 saltstack test client
|
|
|
|2
|
|8GB
|
|128GB
|OK
|OK
|
|
Line 298: Line 298:
|Windows10 Christiaan de Ridder
|Windows10 Christiaan de Ridder
|
|
|
|2
|
|8GB
|
|128GB
|OK
|OK
|
|
Line 482: Line 482:
|OK
|OK
|2020-10-03 cloned from 10.102.0.18
|2020-10-03 cloned from 10.102.0.18
|
|10.102.0.25
|
|
|
|
Line 499: Line 499:
|OK
|OK
|2020-10-03 cloned from 10.102.0.18
|2020-10-03 cloned from 10.102.0.18
|
|10.102.0.26
|
|
|
|
Line 516: Line 516:
|OK
|OK
|2020-10-03 cloned from 10.102.0.18
|2020-10-03 cloned from 10.102.0.18
|
|10.102.0.27
|
|
|
|
Line 533: Line 533:
|OK
|OK
|2020-10-03 cloned from 10.102.0.18
|2020-10-03 cloned from 10.102.0.18
|
|10.102.0.28
|
|
|
|
Line 550: Line 550:
|OK
|OK
|2020-10-03 cloned from 10.102.0.18
|2020-10-03 cloned from 10.102.0.18
|
|10.102.0.29
|
|
|
|
Line 567: Line 567:
|OK
|OK
|
|
|
|10.102.0.30
|
|
|
|
Line 584: Line 584:
|OK
|OK
|
|
|
|10.102.0.31
|
|
|
|
Line 601: Line 601:
|OK
|OK
|
|
|
|10.102.0.32
|
|
|
|
Line 618: Line 618:
|OK
|OK
|
|
|
|10.102.0.33
|
|
|
|
Line 627: Line 627:
|
|
|-
|-
|..
|
|
|
|
Line 634: Line 635:
|
|
|
|
|
|..
|
|
|
|
|
Line 702: Line 702:
|128GB
|128GB
|00:0C:29:44:A0:27
|00:0C:29:44:A0:27
|
|
|
|
|
|
|
|
|
|-
|..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|-
|
|
|
|
|
|
|
|
|
|
|
Line 905: Line 803:
|4
|4
|4GB
|4GB
|520GB
|16GB+512GB
|
|
|
|
|
|
|
|
|
|
|10.102.0.254
|backuping host testar<br />
|rbackup.esx.testar.org
|4
|4GB
|16GB+512GB
|
|
|
|

Revision as of 09:38, 4 October 2020

Virtual Environment @ UPV

OpenVPN Client configuration

On the routertestar.dsic.upv.es and routertestaq.dsic.upv.es an OpenVPN server is installed. Users can connect to one of the routers via OpenVPN. A user certificate needs to be created and added to an OpenVPN client configuration. To create a OpenVPN client configuration please follow the following steps:

  1. Log into routertestar.dsic.upv.es
  2. Become root user
  3. Read the OpenVPN CA password in /root/testar-ca-key-password.txt
  4. Run the following command: openvpn-users.sh
  5. Follow the instructions of the script and give the CA password when asked. 2 OpenVPN configuration files will be created and the certificates will be distibuted to the 2 testar routers
  6. Copy the generated OpenVPN configurations files from the /root/ directory to your own computer with scp/winscp
  7. Distribute the OpenVPN configuration files to the end user, so they can import this in their OpenVPN client.


Virtual machines

10.101.0.1 routertestaq DNS CPU Mem HDD MAC dhcp Remarks 10.102.0.1 routertestar DNS CPU Mem HDD MAC dhcp Remarks
10.101.0.2 Windows10 Guy01 guy10.esx.testar.org 2 8GB 128GB 00:0C:29:49:BD:79 10.102.0.2 Windows10 Ad Mulders 01 admulders01.esx.testar.org 2 8GB 128GB OK shutdown, student graduated
10.101.0.3 Windows10 Carlo Sengers 01 carlosengers01.esx.testar.org 2 8GB 128GB OK 10.102.0.3 Windows 10 Ad Mulders 02 admulder02.esx.testar.org 2 8GB 128GB OK shutdown, student graduated
10.101.0.4 Windows10 Carlo Sengers 02 carlosengers02.esx.testar.org 2 8GB 128GB 00:0C:29:78:D8:74 10.102.0.4 windows 10 master windows10-master.esx.testar.org 2 8GB 128GB OK
10.101.0.5 Windows 10 Ad Mulders 05 admulders05.esx.testar.org 2 8GB 128GB shutdown, student graduated 10.102.0.5 buhos buhos.esx.testar.org 4 8GB 128GB OK
10.101.0.6 Windows 10 Ad Mulders 06 admulders06.esx.testar.org 2 8GB 128GB shutdown, student graduated 10.102.0.6 Windows 10 Ad Mulders 03 admulders03.esx.testar.org 2 8GB 128GB OK shutdown, student graduated
10.101.0.7 Windows 10 Ad Mulders 07 admulders07.esx.testar.org 2 8GB 128GB shutdown, student graduated 10.102.0.7 Windows 10 Ad Mulders 04 admulders04.esx.testar.org 2 8GB 128GB OK shutdown, student graduated
10.101.0.8 Windows 10 Ad Mulders 08 admulders08.esx.testar.org 2 8GB 128GB shutdown, student graduated 10.102.0.8 Windows 10 Tanja Vos 2 8GB 128GB OK
10.101.0.9 Windows10 Carlo Sengers 03 carlosengers03.esx.testar.org 2 8GB 128GB OK 10.102.0.9 WIndows 10 Axel Bons 01 axelbons01.esx.testar.org 2 8GB 128GB OK
10.101.0.10 NOT USED 10.102.0.10 NOT USED
10.101.0.11 testar-demo1011 2 8GB 128GB OK 10.102.0.11 Windows10 Olivia 2 8GB 128GB OK
10.101.0.12 rdp-12 2 8GB 128GB OK shutdown 10.102.0.12 Windows 10 Amit Dua 2 8GB 128GB OK
10.101.0.13 rdp-13 2 8GB 128GB OK shutdown 10.102.0.13 windows 10 saltstack test client 2 8GB 128GB OK
10.101.0.14 rdp-14 2 8GB 128GB OK shutdown 10.102.0.14 Windows10 Christiaan de Ridder 2 8GB 128GB OK
10.101.0.15 Windows10 Nikolay 1 2 8GB 128GB OK 10.102.0.15 Windows10 Aaron 2015 4 8GB 400GB+512GB
10.101.0.16
Windows10 Nikolay 6 2 8GB 128GB OK 2020-09-07 cloned from 10.101.0.15 10.102.0.16 Windows10 Aaron 2016 4 8GB 400GB+512GB
10.101.0.17 Windows10 Nikolay 7 2 8GB 128GB OK 2020-08-07 cloned from 10.101.0.51 10.102.0.17 Windows10 Aaron 2017 4 8GB 400GB+512GB
10.101.0.18 Windows10 Nikolay 8 2 8GB 128GB OK 2020-09-07 cloned from 10.0.101.50 10.102.0.18 Windows10 Aaron 2018 4 8GB 400GB+512GB
10.101.0.19 Windows10 Nikolay 9 2 8GB 128GB OK 2020-09-07 cloned from 10.0.101.50 10.102.0.19 Windows10 Aaron 2019 4 8GB 400GB+512GB 2020-10-03 cloned from 10.102.0.18
10.101.0.20 Windows10 Nikolay 10 4 8GB 128GB OK 2020-09-07 cloned from 10.0.101.50 10.102.0.20 Windows10 Aaron 2020 4 8GB 400GB+512GB 2020-10-03 cloned from 10.102.0.18
10.101.0.21 Windows10 Nikolay 11 4 8GB 128GB OK 2020-09-07 cloned from 10.0.101.50 10.102.0.21 Windows10 Aaron 2021 4 8GB 400GB+512GB 2020-10-03 cloned from 10.102.0.18
10.101.0.22 Windows10 Nikolay 12 4 8GB 128GB OK 2020-09-07 cloned from 10.0.101.50 10.102.0.22 Windows10 Aaron 2022 4 8GB 400GB+512GB 2020-10-03 cloned from 10.102.0.18
10.101.0.23 Windows10 Nikolay 13 4 8GB 128GB OK 2020-09-07 cloned from 10.0.101.50 10.102.0.23 Windows10 Aaron 2023 4 8GB 400GB+512GB 2020-10-03 cloned from 10.102.0.18
10.101.0.24 Windows10 Aaron 1024 4 8GB 400GB+512GB OK 2020-10-03 cloned from 10.102.0.18 10.102.0.24 Windows10 Aaron 2024 4 8GB 400GB+512GB 2020-10-03 cloned from 10.102.0.18
10.101.0.25 Windows10 Aaron 1025 4 8GB 400GB+512GB OK 2020-10-03 cloned from 10.102.0.18 10.102.0.25
10.101.0.26 Windows10 Aaron 1026 4 8GB 400GB+512GB OK 2020-10-03 cloned from 10.102.0.18 10.102.0.26
10.101.0.27 Windows10 Aaron 1027 4 8GB 400GB+512GB OK 2020-10-03 cloned from 10.102.0.18 10.102.0.27
10.101.0.28 Windows10 Aaron 1028 4 8GB 400GB+512GB OK 2020-10-03 cloned from 10.102.0.18 10.102.0.28
10.101.0.29 Windows10 Aaron 1029 4 8GB 400GB+512GB OK 2020-10-03 cloned from 10.102.0.18 10.102.0.29
10.101.0.30 Windows10 Stefano 2 8GB 128GB OK 10.102.0.30
10.101.0.31 Windows10 Innspire 2 8GB 128GB OK 10.102.0.31
10.101.0.32 Windows10 Praegus1 2 8GB 128GB OK 10.102.0.32
10.101.0.33 Windows10 Praegus2 2 8GB 128GB OK 10.102.0.33
.. ..
10.101.0.50 Windows10 Nikolay 2 2 8GB 128GB OK
10.101.0.51 Windows10 Nikolay 3 2 8GB 128GB OK
10.101.0.52 Windows10 Nikolay 4 2 8GB 128GB OK
10.101.0.53 Windows10 Nikolay 5 2 8GB 128GB 00:0C:29:44:A0:27
..
10.101.0.20 Windows10 - Fernando
10.101.0.247 Windows10

Fernando

..
10.101.0.253 saltstack host salt.esx.testar.org 4 4GB 16GB
10.101.0.254 backuping host testaq
qbackup.esx.testar.org 4 4GB 16GB+512GB 10.102.0.254 backuping host testar
rbackup.esx.testar.org 4 4GB 16GB+512GB

DHCP address space

Both the routertestaq and routertestar have a DHCP server (DNSMASQ) running that will give a IP to a virtual machine according to the mac address of the virtual machine.

The mac address needs to be set to manual in the network interface settings of the virtual machine and the mac address needs to start with: 00:50:56:UV:WX:YZ where UV::WX:XY has to be set according to the mapping below. The MAC address can only be changed when the virtual machine is switched off.

In the DHCP server the mac addresses are reserved for the ranges from 10.101.0.2 until 10.101.0.200 on the routertestaq server and from 10.102.0.2 until10.102.0.200 for the routertestar server.

MAC address mapping:

00:50:56:01:0X:YZ maps to 10.101.0.XYZ on the routertestaq

00:50:56:02:0X:YZ maps to 10.102.0.XYZ on the routertestar

When the last octet is below 10 the X and Y will be set to 0. When the last octect is below 100 only the X will be set to 0.

Example:

Below you can find how the manual MAC address (00:50:56:01:00:06) is set for a virtual machine that will get the 10.101.0.6 as IP address from the DHCP. The the octet is 6 so the X=0, Y=0 and Z=6.