We often get the question, "How do I move my .swd directory?" and "How do I change my project's host?" Here is a checklist of things to do when moving a project.
- Shut down the project. Note that a project in RTDA terms can either be a FlowTracer project or a product such as NetworkComputer (vnc), LicenseMonitor (licmon), or WorkloadAnalyzer (wa).
- Edit the registry. The registry contains project information such as host, port, and location. The registry directory is located at $VOVDIR/local/registry. In there will be one file for each project/product that is running. The name of the file contains the project name and the host, so the file will have to be renamed if you are changing hosts. The contents of the file will need to be changed if you change any part of the project's location.
- The project's setup.tcl file, located in the .swd directory itself, will also need to be changed. The default location of the .swd for each product is $VOVDIR/../../product/product.swd where product is one of: vnc, licmon, or wa. For FlowTracer projects, the name of the project is used.
- There will likely be an entry in the equiv.tcl file, also located in the .swd directory, that contains the SWD path.
- For NetworkComputer, there is also a file in $VOVDIR/local/vncConfig that will need to be modified.
- If you are using $VOVDIR/local to store the RLM license file (not recommended), you will need to update the vovrc files (located in $VOVDIR/etc) to reflect the new path to the license file. This step is not needed if the recommended licensing configuration is used, where the license is referred to with a port@host format.
- Make sure you remember to actually move the SWD directory if you plan to.
- Restart the project.
There is an option to define the location of the SWD at project creation time. This option is available in the generic "vovproject create" command, as well as the "ncmgr" and "lmmgr" product-specific commands. Deciding up front where you want your project to reside and using this option to specify the location will prevent you from having to follow the above procedure.