BaSyx Virtual Machine Setup#
The virtual machine images for these components and for the DataBridge component can be found here. In the following, it is explained how the images can be used with Oracle VirtualBox and VMware Workstation Player.
Oracle VirtualBox#
Import the Virtual Machine#
Import the virtual machine image under File -> Import Appliance.
Enable Port Forwarding#
This step is only required when NAT or NAT Network is selected as networking mode under Settings -> Network -> Attached to. NAT does not facilitate inter-communication between virtual machines. If inter-communication is required, Bridged Adapter or NAT Network can be used instead.
Create for every component a new entry in the port forwarding list (Settings -> Network -> Adapter 1 -> Advanced -> Port Forwarding) with the following properties:
Host IP: 127.0.0.1
Host Port: <port>
Guest IP: 10.0.2.15
Guest Port: <port>
For aasdiscoveryservice, aasenvironment, aasrepository, conceptdescriptionrepository and submodelrepository, the port can be specified in the respective application.properties. For aasregistry_service_release_log_mem and submodelregistry_service_release_log_mem, the port can be specified in the virtual machine in /home/basyx_aasregistry_service_release_log_mem/basyx_aasregistry_service_release_log_mem_startup.sh (Default: 8086) and /home/basyx_submodelregistry_service_release_log_mem/basyx_submodelregistry_service_release_log_mem_startup.sh (Default: 8087), respectively.
VMware Workstation Player#
Import the Virtual Machine#
Import the machine (Player -> File -> Open). If the import fails, select retry.
Make the Virtual Machine Load the Shared Folder#
This step is only necessary if changes have been made to this file before.
Execute in the virtual machine
crontab -e
and remove the # in front of the second reboot and comment out the preceding line instead by placing a # in front of it.
IP Address and Port Number#
The IP address of the virtual machine can be found out by executing ifconfig in the guest system, for instance.
For aasdiscoveryservice, aasenvironment, aasrepository, conceptdescriptionrepository and submodelrepository, the port can be specified in the respective application.properties. For aasregistry_service_release_log_mem and submodelregistry_service_release_log_mem, the port can be specified in the virtual machine in /home/basyx_aasregistry_service_release_log_mem/basyx_aasregistry_service_release_log_mem_startup.sh (Default: 8086) and /home/basyx_submodelregistry_service_release_log_mem/basyx_submodelregistry_service_release_log_mem_startup.sh (Default: 8087), respectively.