Testing Containers
Table of Contents
About Testing Containers
You can test a container to make sure that the appliance runs correctly. Testing a container may include testing container services, for example. Once you are satisfied that the container runs correctly, you can then move the appliance to the destination machine.
You can test an appliance on either the source machine or the destination machine.
Testing Requirements
If you are testing on the destination machine, make sure that the environment is configured to meet the configuration requirements of the application or service in the appliance. For more information, see your application documentation for system configuration requirements.
To avoid service conflicts where appliances with services from the source machine already exist on the destination, VirtaMove will display an error message and prevent the local service from starting. You must resolve this conflict by either removing the service from the destination or removing the service from the container.
Testing a Container
At the command prompt, type the following:
virtadock <container>
container
is the full path of the container that you want to dock.If the container contains services, type the following at the command prompt to start the services inside the container:
virtarun <container> <ServiceName>
At the command prompt, enter the following:
virtarun <container> [“application”[“arguments”]]
where
container
is the full path of the container;
whereapplication
is the full path of the application to run;
wherearguments
are argument parameters for the application.
For example:If you omit the application to run, the container's startup application will run.
Test the container application.
What If I Find Problems During Testing?
You can address testing issues by deleting a container and recreating the container, if necessary.
To Delete and Recreate a Container
Undock the container using the virtaundock command.
Do one of the following:
Create a backup copy of the container template. Delete the container and then make the necessary changes to the template and use the virtacreate /T command to recreate the container.
Delete the container and start over.
Dock, start the container's services (if required), and run the container to confirm the changes have been made.
You can repeat any of these actions as often as required until a container satisfies your requirements.