Using pvsoptimize_config on Windows
The configuration of the PVS Optimize Utility is accomplished using the pvsoptimize_config tool.
1. Using Windows Explorer, browse to the <installation_directory>\bin directory in which you installed the Creo View Adapters product. Double-click pvsoptimize_config.exe.
The PVS Optimize Configurationdialog box opens.
2. If you have a prior configuration, you can use the Existing Configurationgroup to quickly and completely update that configuration to the latest version of the PVS Optimize Utility. The Setup Directoryfield in this group allows you to specify the location of the previous configuration.
Once you browse to an existing setup directory, pvsoptimize_config automatically fills in all the required fields. Click Setup to automatically update your earlier version to the latest version.
* 
If you prefer to test the new configuration before overwriting your existing version, you can change the Setup Directory location in the Parametersgroup. This saves the new configuration in a different location, preserving the existing version instead of overwriting it. Then, if you choose not to use the new configuration, you can return to the Existing Configuration Setup Directory, which acts as a backup. When you are satisfied that the new version is working in your location, you can overwrite the old version with the new one.
3. Use the Parametersgroup settings in the PVS Optimize Configurationdialog box to specify configuration settings for the adapter. This allows you to specify the way your system locates and starts PVS optimize Utility for publishing purposes. The Parametersgroup includes these fields:
a. Client/Server Version
In the Client/Server Versiondrop-down list, you specify the client/server version number. This version should match your Creo View client and/or Visualization server. Setting the version incorrectly can cause problems with your Creo View client and/or Visualization server.
b. Setup Directory
pvsoptimize_config configures the utility to run from the setup directory that you specify. Using different setup directories allows you to have multiple configurations available to address different Creo View requirements.
To specify the setup directory, you can use the folder icon to the right of the Setup Directoryfield in the PVS Optimize Configurationdialog box. This displays the Select a Setup Directorydialog box. Browse to a <setup_directory> location, or you can type the path in the Directoryfield.
Click OKafter selecting the setup directory. You are returned to the PVS Optimize Configurationdialog box, to make further configuration selections.
4. Use the Componentsgroup settings in the PVS Optimize Configurationdialog box to define the publishing components to configure and the way your system locates the Visualization server host and port. The Components group box includes these fields:
a. Create pvsoptimizebatch
Enable this setting to run in batch mode from the command line.
b. Create pvsoptimizeworker
Enable this setting to run in worker mode. Selecting this setting enables the host and port settings.
i. Server Host
The Server Hostis the name of the machine on which the Visualization server is running. The worker may run on a different machine than the Visualization server.
ii. Server Port
The Server Portdefines the port to be used when connecting to the worker agent on the server host. The port number should match the Port setting defined in the configuration of the worker agent.
iii. Test Server
After you specify the server host, port, and alias name in the case of an alias worker, click Test Serverto perform the following actions:
Validate the machine name, port number, worker availability, and alias name.
Verify that the test server can connect to the Worker Agent at that location.
A Server Configuration Testwindow displays the following results:
Worker Type
Server
Port
Test Connection to Server—Opens the Server Configuration Testdialog box. If the test result shows Succeededor Failed, and the resulting message commences with Set keepalive ok, then click Okto continue the setup.
* 
Although the PVS Optimize utility can be configured as a worker, there is no Windchill publisher available that can make use of one.
5. After all the settings have been properly entered, click Setupand the wizard generates your configuration. The previous illustration provides an example of a dialog box populated with configuration data.
Once the setup runs, the Setup Completeprompt appears. Click OK to continue.
6. After you set up the configuration, you can click Recipe Editorto edit the recipe file for this configuration.
* 
Changes to the recipe file should only be performed by advanced users.
7. Click Exitand a prompt appears. Click Yesto confirm that you want to exit.
War dies hilfreich?