Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each virtual machine is configured by default with 2.3 Gb of memory, which is the minimum required. 

Tip

If you are installing Rep Attack RepAttack on a host machine with more than 6Gb of memory, you can increase the virtual machine's performance by increasing the --memory parameter for each machine in the machine_setup script prior to executing it.

...

The Host-only network used by Rep Attack RepAttack on your host machine requires no resources from the host's network. It is only connected to your host machine and not to the wider network so all traffic between the virtual machines will remain on your host and the machines have no direct connection to the Internet.

...

Warning

The source and target machines have hard coded IP addresses of 192.168.56.66 and 192.168.56.67 respectively.

If you already have VirtualBox installed and you are using the default Host-only network and you have existing machines running on these addresses, then you will have to shut down those machines while the Rep Attack machines are running, or change the IP addresses of the Rep Attack RepAttack machines. 

Tip

The Host-only network will enable you to use client tools on your host machine to connect to the databases on the virtual machines. So you can use tools like SQL*Developer or TOAD etc on your host.

...

Serial Ports

No serial ports have been configured for the virtual machines.

...

Each machine has been configured with 1.0 USB controller although this is not used as part of the Rep AttackRepAttack. A USB 2.0 controller has not been configured as this requires the installation of the Oracle specific extensions to VirtualBox.

...

Warning

Snapshots are a great way to revert a machine back to a known configuration so you can start again, but remember, ANY changes you've made since the snaphot was taken will be lost.

If you have created any scripts or files on your virtual machines you want to keep, make sure you put a copy of them in the shared folder (/media/sf_shared) as this belongs to the host machine and it's contents will be saved when the snapshot is restored.

Machine Administration

The machines are started automatically via the machine_setup script when you create them for the first time but after that you are on your own to look after them. Here's a few pointers to administer your Rep Attack RepAttack environment.

Shutdown

Log out of any terminal sessions, then on the console, as root (password is root) issue the shutdown -h now command. This should perform an orderly shutdown of the database and machine.

Tip
titleShutdown for the lazy

The Rep Attack RepAttack machines have been configured with the Advanced Configuration and Power Interface (ACPI) daemon running. This daemon will perform an orderly shutdown using the shutdown -h now command if it detects the (virtual) power button is pressed. You can press the virtual power button by selecting the ACPI Shutdown from the Machine menu on the machines console window.

Startup

Start each virtual machine by highlighting the machine in the VirtualBox Console GUI and selecting the Start icon, or right click and select Start from the menu.

Restoring

So you've had a good play around with Rep Attack RepAttack and you've tried all sorts of things but now you want to revert the machines back to a known state to start again? No worries! The machines are running from an "Initial" snapshot that was taken when the they were started for the very first time. To restore them back to this point, follow these steps (for both machines):

  • Shutdown the machine.
  • In the VirtualBox Console window, highlight the machine and near the top right-hand corner of the VirtualBox Console window you will see a Snapshots button.
  • Click on the Snapshots button to show the snaphot panel for that machine.

 

  • Right click on the Initial snapshot and select the Restore Snapshot from the menu.

Image Modified

 

  • You will be asked if you want to save the current state of the machine before restoring the Initial snapshot. That's up to you but I would recommend you uncheck the box as you probably don't want to keep all the stuff you've done then click the Restore button.

Image Modified

It may take a few moments to undo all the changes you have made and put the machine back the way you found it.

Warning

As the warning said above, Snapshots are a great way to revert a machine back to a known configuration so you can start again, but remember, ANY changes you've made since the snaphot was taken will be lost.

If you have created any scripts or files on your virtual machines you want to keep, make sure you put a copy of them in the shared folder (/media/sf_shared) as this belongs to the host machine and it's contents will be saved when the snapshot is restored.

Removing

 If you've finished with your Rep Attack RepAttack machines, you can easily delete them by shutting them down then right clicking on the machine in the VirtualBox Console and selecting Remove from the menu. 

Image Added

You will be asked if you want to delete the files containing the virtual machine. Select Delete all files. This will completely remove the machine and free up the disk space.

Image Added

 As long as you keep the original contents of the download or USB stick, you can always create the machines again in about 10 minutes!