Beruflich Dokumente
Kultur Dokumente
1 Installation Guide
Disclaimer
1.1 AVEVA does not warrant that the use of the AVEVA software will be uninterrupted, error-free or free from viruses. 1.2 AVEVA shall not be liable for: loss of profits; loss of business; depletion of goodwill and/or similar losses; loss of anticipated savings; loss of goods; loss of contract; loss of use; loss or corruption of data or information; any special, indirect, consequential or pure economic loss, costs, damages, charges or expenses which may be suffered by the user, including any loss suffered by the user resulting from the inaccuracy or invalidity of any data created by the AVEVA software, irrespective of whether such losses are suffered directly or indirectly, or arise in contract, tort (including negligence) or otherwise. 1.3 AVEVA's total liability in contract, tort (including negligence), or otherwise, arising in connection with the performance of the AVEVA software shall be limited to 100% of the licence fees paid in the year in which the user's claim is brought. 1.4 Clauses 1.1 to 1.3 shall apply to the fullest extent permissible at law. 1.5 In the event of any conflict between the above clauses and the analogous clauses in the software licence under which the AVEVA software was purchased, the clauses in the software licence shall take precedence.
Copyright
Copyright and all other intellectual property rights in this manual and the associated software, and every part of it (including source code, object code, any data contained in it, the manual and any other documentation supplied with it) belongs to, or is validly licensed by, AVEVA Solutions Limited or its subsidiaries. All rights are reserved to AVEVA Solutions Limited and its subsidiaries. The information contained in this document is commercially sensitive, and shall not be copied, reproduced, stored in a retrieval system, or transmitted without the prior written permission of AVEVA Solutions Limited. Where such permission is granted, it expressly requires that this copyright notice, and the above disclaimer, is prominently displayed at the beginning of every copy that is made. The manual and associated documentation may not be adapted, reproduced, or copied, in any material or electronic form, without the prior written permission of AVEVA Solutions Limited. The user may not reverse engineer, decompile, copy, or adapt the software. Neither the whole, nor part of the software described in this publication may be incorporated into any third-party software, product, machine, or system without the prior written permission of AVEVA Solutions Limited, save as permitted by law. Any such unauthorised action is strictly prohibited, and may give rise to civil liabilities and criminal prosecution. The AVEVA software described in this guide is to be installed and operated strictly in accordance with the terms and conditions of the respective software licences, and in accordance with the relevant User Documentation. Unauthorised or unlicensed use of the software is strictly prohibited. Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved. AVEVA shall not be liable for any breach or infringement of a third party's intellectual property rights where such breach results from a user's modification of the AVEVA software or associated documentation. AVEVA Solutions Limited, High Cross, Madingley Road, Cambridge, CB3 0HB, United Kingdom
Trademark
AVEVA and Tribon are registered trademarks of AVEVA Solutions Limited or its subsidiaries. Unauthorised use of the AVEVA or Tribon trademarks is strictly forbidden. AVEVA product/software names are trademarks or registered trademarks of AVEVA Solutions Limited or its subsidiaries, registered in the UK, Europe and other countries (worldwide). The copyright, trademark rights, or other intellectual property rights in any other product or software, its name or logo belongs to its respective owner.
Revision Sheet
Date
Version
Contents
Page
AVEVA ReviewShare Server 2.1 & AVEVA ReviewShare Replication Server 2.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Windows XP and Windows Server 2003 Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Sharing the Storage Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:6 ReviewShare Server Admin Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:7
Server Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:8 Diagnostics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:8 Service Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:9 Connection Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:11 Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:12
Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:12 Model Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3:14
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
2.1
Create a Folder to be Monitored . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4:8 Replication Server Admin Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4:10 Test the Replication Server is live . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4:15 Trouble shooting Replication Server Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . 4:15
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
ii
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
iii
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
iv
2.1
Introduction
The Server Installation Guide explains how to install and configure ReviewShare Server and in the case of WAN or large network configurations ReviewShare Replication Server. ReviewShare Server will take RVM, RVZ or ZGL files placed on the server and automatically encode them into a format which can then be streamed over a network to ReviewShare client workstations. As part of the preparation process consideration should be made to the type of network environment on which the ReviewShare Server will be placed. Files will be copied to the server through FTP or Windows File Sharing or some other method. ReviewShare Server also supports the following commonly used CAD file types: STP - STEP or Standard for the Exchange of Product model data IGS - Initial Graphics Exchange Specification (IGES) SAT - Standard ACIS Text
In the case of a small LAN or within a VPN, files can be placed on the ReviewShare Server across the network sufficiently using standard Windows File Sharing. In the case of a WAN or larger network, Windows File Sharing may not be suitable. For example on a network making use of multiple subnets or a DMZ (a scenario could be when a ReviewShare Server is hosted on the Internet).
1.1
Assumptions
The Server Installation Guide is intended for system administrators. Administrative privileges are required to conduct parts of the install process and experience of Windows Server environments is recommended.
1.1.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
1:1
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
1:2
2.1
Server Specifications
The following operating systems are supported: Windows Server 2003, Windows XP Service Pack 2. The user must apply the .Net Framework package. Administrative privileges are required when installing ReviewShare Model and Replication servers.
2.1
Note: ReviewShare Server requires enough storage for all the Review model files that it will store plus approximately 20 percent of this space for intermediate files. The following specification is recommended for optimum performance. Additionally the server needs free space equivalent to 100 times the size of the largest expected file. CPU Quad Core Intel Xeon E5320 2x4MB Cache, 1.86GHz, 1066MHZ FSB. RAM HDD File System Network 4 GB system memory 500 GB dedicated hard drive NTFS 100 Mb/sec or Gigabit PCIe LAN (recommended) dedicated network connection
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
2:1
2.1
2.2
If installed on a separate machine the HDD configuration is recommended to be greater on a Replication Server due to its likely hood of having multiple Workstations accessing large uncompressed files simultaneously. The following specification is recommended for optimum performance of the ReviewShare Replication Server. CPU RAM 2 GHz 32-bit (x86) 2 GB DDR-2
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
2:2
2.1
3.1
Server Preparation
AVEVA recommend the following computer configuration before installing AVEVA ReviewShare Server: C drive has Windows Server installed, with at least 100 GB of free space for the temp directory. D drive is a high performance drive of at least 500 GB capacity. The C and D drives are separate physical disks. The computer is connected to the network through a high speed connection and is not running other network services, such as IIS.
Data must be located on a high performance drive. Virtual servers have proven to result in unsatisfactory performance. An optimal installation would consist of ReviewShare Server installed on the D drive which is a high performance disk. The location and space available to the Windows temp directory is critical to the servers continued operation. The most common problem with ReviewShare Server is a disk full error because the disk where the Windows temp directory resides is nearly full. Microsoft .Net Framework must be installed before installing AVEVA software. For a description of how to install .NET Framework, refer to: http://www.microsoft.com/en-gb/download/details.aspx?id=17718
3.1.1
AVEVA Licensing
The user will need to contact AVEVA Solutions Limited supplying information about the machine on which the user wants to use ReviewShare. AVEVA will send back a license file, which the user will edit and install. Please now read the AVEVA Licensing System, provided in the ReviewShare manual set by using the Adobe Reader.
3.1.2
Configure IIS
By default ReviewShare Server uses port 80 which will cause a conflict with the IIS World Wide Web Service.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:1
2.1
If web hosting is required on the same machine a second IP address must be assigned to allow both services to run. Refer to Running IIS and ReviewShare Server and continue to Sharing the Storage Area. If the service is not required then the following steps describe how to check if the service is running and if so, how to disable the service. 1. On the Windows taskbar click Start, point to Control Panel, and click. 2. Double click Add or Remove Programs. 3. Click Add/Remove Windows Components. 4. If running Microsoft Windows XP Pro skip to step 6. 5. In the Components list, highlight Application Server and then click Details.
6. Highlight Internet Information Services (IIS) (do not alter the check box).
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:2
2.1
7. Click Details. 8. Click to clear the World Wide Web Service check box.
9. Click OK 10. Click again on OK Note: A progress bar may appear indicating that the service is being stopped and removed.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:3
2.1
3.2
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:4
2.1
3.2.1
A static IP address should only be specified if it will not change for the lifetime of 3D models hosted on the server. Specifying a hostname is the preferred method. To obtain the Server Hostname conduct the following steps: 1. On the Windows taskbar select Start>Run. 2. When prompted enter the text CMD. 3. At the command prompt enter the text HOSTNAME. 4. The hostname of the Server will be returned (If the Server is configured to supply files on the Internet it is recommended to specify the IP address). To obtain the Server IP Address conduct the following steps: 1. On the Windows taskbar select Start>Run. 2. When prompted enter the text COMMAND. 3. At the command prompt enter the text IPCONFIG. The IP Address of the Server will be returned. Note: After running the Install Wizard it is necessary to configure the server before the service will function.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:5
2.1
3.3
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:6
2.1
5. Leave the Share name as Data 6. Click the Permissions button 7. In the Permissions Window add the Users and Groups that are to be allowed access to the Data folder. In the following example Everyone has been granted Full Control, this will allow all users on the network to read and write to the Data folder.
3.4
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:7
2.1
3.4.1
Server Status
The Status of the ReviewShare Server is displayed in the top left area of the user interface.
The Status of the ReviewShare Server service can be either Running or Stopped. If the service is running the user can click Stop service. Once the service is stopped the user can click Start Service to resume the service. The user can only make a configuration change when the service is stopped and any changes will not take effect until they are applied by clicking Apply Changes. Changes to the configuration can be discarded by clicking Revert Changes.
3.4.2
Diagnostics
The user can perform a diagnostic on the ReviewShare Server service. The service status must be Running to be able to complete a diagnostic.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:8
2.1
Click Test Service to perform a series of automated diagnostic actions on the service.
When a the user begins a test the service will write a simple file to the data directory and wait until it detects that it has been successfully processed and published. When the test is finished the test file is deleted. A test will take seconds to complete and the result will be displayed in the Test Results area.
3.4.3
Service Configuration
Configuration is arranged in a series of tabs to allow the user to set up various environment settings and parameters. From the Service tab the user can control common attributes of the ReviewShare Server service.
Working Directory A ReviewShare Server has two modes of processing data files, standalone and distributed. In Standalone Server mode the local machine handles all processing of data - this is the default state when first installed.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:9
2.1
The Distributed Processing mode allows multiple servers to process the same data folder on a shared network location, increasing the maximum number of simultaneous publishing processes. Distributed Processing can lead to faster publishing times by spreading server work load. In Distributed Processing mode there must be one 'master' server and any number of 'remote' servers. The master controls the marshalling of data between all the servers and also the viewer client connections. The remote servers will typically perform only data processing. Standalone The Working Directory should be set to local install path of the server The Working Directory should be set to a UNC path that is equivalent to the local server installation path for example \\server\aveva\ReviewShareServer The Working Directory should be set to a UNC path that is equivalent to the master server installation path for example \\server\aveva\ReviewShareServer Distributed mode (Master)
When using distributed mode the user must make sure the local service account has read/ write access to the UNC path for the data directory. The user can configure the service to log on as a different user that has required permissions - this must be done in the Windows services manager. Machine Address The IP address or Hostname of the server can be manually defined in the Machine Address box. Typically this is the local host name. Parameters The number of server components can be configured: Executors File Managers The maximum number of simultaneous processes allowed, the default is 2. publishing
The number of file manager processes available. Only one can be active at any one time and is used to marshal access to the data directory, the default is 1. Having more than one may be useful in case one process crashes. Setting this to 0 is advisable for remote servers in distributed mode.
Connection Servers
The number of processes that handle viewer client connections. This may be set to 0 for remote servers in distributed mode.
Test Distributed Processing Testing the configuration for a distributed setup can be difficult as multiple machines are involved and due to the nature of the distributed setup multiple machines are processing the same data. To setup and test distributed processing follow the steps below:
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:10
2.1
Distributed Master Server Make sure all servers are stopped. Configure working directory and make sure the Number of Executors is set to > 0. Test the service.
Distributed Remote Server Make sure all servers are stopped On the master server, make sure it is configured as distributed service and that Number of Executors is set to 0. Start master server On the remote server, ensure that both the number of connection servers and file managers are set to 0. Ensure that number of Executors is > 0. Test the remote server
Following this method will ensure that the master set up is correct in the first instance and that remote servers are able to process data. Stopping all servers except the one being tested and setting num executors to 0 ensures that the server doing the publishing is the one currently being tested.
3.4.4
Connection Configuration
The Connection tab allows configuration of how client computers can connect to the server. This configuration is passed to each client as soon as they connect. Once received, a client will then modify its connection method to conform to the server connection configuration.
Allow HTTP Specifies that the server will accept client connections using the HTTP protocol over port 80.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:11
2.1
When disabled clients should not attempt to connect using this method and the server will reject any clients that do.
Allow TCP Specifies that the server will accept direct client connections on available ports When disabled clients should not attempt to connect using this method and the server will reject any clients that do.
Allow HTTP Connect Specifies that clients will attempt to make a direct connection the server, via a proxy, using the proxy specific CONNECT protocol. Note that Allow TCP must be enabled to allow this connection method. When disabled clients should not attempt to connect using this method.
Default number of connections per client Specified how many concurrent connections a client should make to the server when streaming model data. Specifying a greater number of connections can help improve performance on high latency environments though may increase overall bandwidth.
3.4.5
Reporting
The administration tool provides reporting based on logs and/or data available in the server. There are three sub tabs for reporting, these are Logs, Model Data and Published Data. Below the sub tabs a disk usage panel will display information about the disk space available.
Logs
The server produces log files on a daily basis. These logs provide information ranging from the behaviour of the server down to the access of specific files/models.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:12
2.1
Logs are divided into four categories: Connection server logs Executor logs File manager logs Usage logs Log entries The first three categories (Connection Server, Executor and File Manager logs) will display the data arranged in the following columns: Date accessed Event type Event ID Message The date and time of the event. The severity of the event, ranging from Error, Warning to Information. An internal identifier used to select the type of message to be registered. A basic description of the event. Registers information regarding certificates, connectivity, and licencing amongst others. Records basic information about operations. Lists all the operations regarding file publishing, file access, etc. Enters information regarding model usage. server
The tree view on the left hand side allows selection of a specific log file from a category. Logs are only displayed when the top node is expanded. Expanding a top node triggers a folder read. Selecting a top node - after being expanded - will display all the entries available for such category. Filtering Entry filtering is available based on the type of event (e.g. Error, Warning, or Information). These filters are applied to any of the log files from the first three log categories (Connection server, Executor or File manager log). Sorting Log entries can be sorted by column. The initial appearance of a log will present the entries sorted by date, with the most recent entry at the top.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:13
2.1
Usage Logs Data in the Usage Logs is displayed differently to the first three types of log. There is no concept of event type or event id.
The columns of data displayed for Usage logs are as follows: Date accessed Model name Data Transferred Peak connections Duration IP address Registers the time and date of the connection to the server. Identifies the model being accessed or displayed. The amount of data transferred during the recorded session. The number of HTTP connections during the recorded session. The length of time that the recorded session lasted. The IP address of the computer requesting a connection to the server.
Model Data
Click the Model Data tab to display information about the files located under the "data" folder of ReviewShare Server.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:14
2.1
Click the Watch Folder box to enable monitoring of the data folder. The list will update whenever a data file has been created, deleted or modified. The Models tab will display a list of what files can be published to the server (and copied to the "cache" folder).
Amongst other factors, the list presents: Date accessed - Shows the last accessed time and date of the model, Model name - Displays the name of the file, Type - Shows the extension of the model file, Size - Displays round-up size of the model file in Kbytes. Publishable - Indicates whether the file can be published to the server.
The number of model files found and the total size of model data is displayed.
Published Data
The Published Data tab shows a list of models that have been published. These files are collected under the "cache" folder, and organized in subfolders based on internal hash functions. As with the Model Data tab, the Published Data tab also enables folder watch. Data deletion In addition to displaying basic information about the published data, the Data deletion tab provides basic file management. Users can select one or multiple files and delete them. Deletion of files can be triggered by clicking Delete Selected, or by a "context menu". Users are prompted for confirmation to avoid deleting files inadvertently. In the event of deleting a published file, the server will try to republish it the next time it is started. It the deleted file is part of a group of files related to a particular model file, all related these related files will be deleted, and republished.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:15
2.1
Orphan data, that is data that is not linked to a model in the "data" folder, can be deleted immediately. Orphan data can be simply data left behind. This helps with the keeping of the disk space.
The Publish Data Listing provides basic information about the size and date of access, namely: Date accessed - Displays the last accessed time and date of the published file. Path (Uri) - Shows the actual file address presented in full. Type - Published files fall into three types ZGL - Graphical related data. VS - VizStream data. VI - Visual indexing information, and APX - Information related to internal geometry approximation. Not all published models will create these types. Model name - This column shows the source of the published file. It only shows the model name if it is present in the "data" folder. Otherwise, it can be classified as "orphan data". Size - Highlights the size of the published file. It is presented in Kbytes.
3.5
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:16
2.1
If the user is shown out of disk space errors and have multiple drives then it maybe that the disk with the temp directory is nearly full. If during publishing of very large models the disk becomes full, then the publish will fail and then the temp files are removed. This may result in the appearance that the disk has enough free space, when in fact it does not. An Out of disk space error can be resolved by installing the server on a larger disk drive and assigning the system TEMP environment variable to a drive with more than 4% free. As a guideline the amount of free disk space should be at least five times the size of the data directory and the amount of free space is at least 100 times the size of the largest model the user is publishing. ReviewShare Server is divided into four main components each running as a separate process. There are 2 Executor processes, 1 Connection Server, 1 File Manager. A fifth process, the Process Watcher will monitor the four components, if one fails the watcher will restart that process automatically. This can result in a continuous loop where a process will fail and then be instantly restarted by the process watcher. Further diagnosis of the problem can be made by then viewing the appropriate log file in the Log folder. Coordination of Service Log On and Temp Paths It is recommended to set the service to 'Log on as:' the 'Local System account' (this is the default installation):
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:17
2.1
(In the services windows, launched from services.msc, right click on the ReviewShare Server instance and select Properties). The Local System Account uses the System temp environment variables, whereas if running under a user account it uses the user's temp environment variables. The account under which the service is logged on as needs access to the TEMP folder, otherwise errors will occur while publishing. Access to the TEMP folder will be fixed by changing the system TMP and TEMP environment variables to a folder that the service has access to.
Conflicting Ports The server may be running a firewall that is disabling access to the ReviewShare Server ports. Refer to Specifying Ports for a detailed explanation of how to change the default ports used by ReviewShare Server. IP Addresses If the log files do not indicate a software fault then the next step in diagnosing a problem is to inspect the network configuration. Open a Windows Command prompt and type ipconfig /all (see also Retrieving the IP Address) to determine what network interfaces are available. If the server is configured to use a particular address, this will be stored in the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VizStrea m Server\Parameters\IPAddress
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:18
2.1
This entry can also contain a Hostname. If it is an IP address, then this address should be a static IP address. If this address cannot be static, either use a Hostname or do not specify the address. When it is not specified the server will use the first available address on the machine. Once the user has determined the ipaddress the server is using, the user can test the connection to the server by typing http://ipaddress/test in internet explorer on the server machine (refer to Testing the ReviewShare Server is Live). The user can also use http://ipaddress/license to test the licensing and the connection. If either of these results in a 404 page, then the server is not configured correctly and may be due to one of the following common scenarios. The most common problem is an ip conflict with a Webserver. This can diagnosed by first stopping the webservice and then restarted the ReviewShare Server Service (refer to ReStarting the ReviewShare Server Service). If either of connection tests work, then the problem has been located. If the web service is needed, then the user needs to follow the instructions Running IIS and ReviewShare Server. If the service is not needed, then either stop and disable the service of uninstall the component as detailed in Configure IIS. License Problems can arise if ReviewShare does not have a valid license. The ReviewShare Server is not licensed by itself. When unlicensed it will only allow one connection. Any other client that connects will get a license violation message. Ultimately, the vslicense.dll will delegate to FlexMan to determine the license available. The user must check that this is configured correctly by running the FlexMan Configuration Utility (see AVEVA Licensing). This can be found on the Review DVD or via the global support site.) The user must make sure to set a system level environment variable or registry entry. This is needed since the service (by default) runs under the system account. The user can check the status of server licensing by typing http://ipaddress/license in internet explorer. If licensing is place for a ReviewShare Server, it should look like the following example:
Registered Name: AVEVA Solutions Limited Expiration Date: 1/1/3000 Server Version: 3.10 Maximum Number of VizStream Connections: 9999 Maximum Number of Spicer Connections: 9999 Maximum Number of Catia Connections: 9999 Maximum Number of Messaging Connections: 9999 Speed: Optimal License Info: ReviewShare License VSLicense DLL Info: Valid License DLL Evaluation Message: Trusted Authorities:
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:19
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
3:20
2.1
A ReviewShare Replication Server will monitor folders on a local network and upload files with a specified extension directly to a ReviewShare Server. Links to these files are also managed so they resolve correctly to the specified ReviewShare Server resource. The following section details how an administrator should set up and configure a ReviewShare Replication Server. The ReviewShare Replication Server is shipped with a standard Windows Install Wizard but this must not be run before the following Prerequisites have been met.
4.1
Prerequisites
Note: This section describes how to set up an FTP site using Microsoft XP Professional. The process can vary depending on the Operating System in use and it is outside the scope of this guide to describe all variations. The user is advised to refer to the official Mircosoft documentation or web site for further advice when configuring an FTP site. The ReviewShare Replication Server uses FTP to copy files between locations, because of this it is necessary to conduct the following tasks on the machine running ReviewShare Server prior to continuing configuration of the ReviewShare Replication Server: Install the Windows FTP Service Create an FTP Site Enable Basic Windows Authentication
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:1
2.1
Conduct the steps detailed in Install the Windows FTP Service, Create an FTP Site and Enable Basic Windows Authentication on the machine running ReviewShare Server then proceed to Create a Folder to be Monitored to continue configuration of ReviewShare Replication Server: Note: If the ReviewShare Server and ReviewShare Replication Server are installed on the same machine then the following steps still apply.
4.1.1
6. Highlight Internet Information Services (IIS) (do not alter the check box), and then click Details.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:2
2.1
7. Click to select the following check boxes (if they are not already selected): Common Files File Transfer Protocol (FTP) Service Internet Information Services Manager.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:3
2.1
10. Insert the Windows CD if requested and click OK 11. Once files have been copied click Finish to complete installing the FTP Server process.
4.1.2
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:4
2.1
6. Map the ReviewShare Virtual Directory to the RS folder created in Sharing the Storage Area and click Next.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:5
2.1
7. The user must grant the Write permission on the Virtual Directory by checking the Write check box. Click Next to continue.
Once the new directory is created the following branch should be visible.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:6
2.1
8. Right click on the Default FTP Site and click Properties. 9. A Default FTP Site Properties window will appear. Click on the Security Accounts Tab. 10. On the Security Accounts tab for the FTP site, make sure that the Allow anonymous connections check box is not selected.
4.1.3
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:7
2.1
5. On the Action menu, click New User. 6. Type the user name ftpuser, enter Full name as FTP Server Login, and Description of the user account as FTP Service Account. 7. In Password type Ftpus3r and Confirm password by re-entering. 8. Check Password never expires and uncheck all other boxes. 9. Click Create, and then click Close. Note: After creating the user configure NTFS permissions for the directory or files for which the user wants to control access by removing Everyone group and adding the newly created ftpuser.
4.2
3. In the properties window click on the Sharing Tab. 4. Click the Share this folder option button.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:8
2.1
5. Leave the Share name as ReplicationDirectory. 6. Click the Permissions button. 7. In the Permissions Window make sure that Everyone Group has Full Control Allowed by checking the appropriate box.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:9
2.1
4.3
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:10
2.1
Click OK to create a new xml configuration file that will be editable in the admin tool. By default the tool will create an xml file named FileReplicationService.exe.config and this will be located in the default install directory of the Replication Server. If a configuration file already exists then the following form will open without prompt and will be fully populated with the contents of the xml configuration file. In the form, Generate Timestamp checkbox will be selected as default, but the user has the option to remove it, if required. For further details refer to Generate Timestamp.
Server Config In the Server Config part of the form specify details of the FTP server that the ReviewShare Replication Server will upload to.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:11
2.1
By default the form will be pre-populated with sample data. This should be updated as follows: VizStream Server The IP address or Host Name name of the ReviewShare Server. In the case of the example made in Retrieving the IP Address this should be populated with the IP Address or Hostname of the ReviewShare Server. Max File Transfer Threads FTP User Name The maximum number of FTP uploads that can happen at one time. The authenticated FTP user name. As detailed in Enable Basic Windows Authentication this should be populated with ftpuser. FTP Password The authenticated FTP user password. As detailed in Enable Basic Windows Authentication this should be populated with Ftpus3r. FTP Server The IP address or network name of the FTP server. In the case of the example made in Retrieving the IP Address this should be populated with the IP Address or Hostname of the ReviewShare Server. Monitored File Extensions The file extensions to be monitored. This is a semi colon delimited list.
Monitored Directory Configurations In Monitored Directory Configurations part of the form specify the location of directories that the Replication Server will monitor and the location of the directories that have been setup on the ReviewShare Server.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:12
2.1
By default the form will be pre-populated with sample data. This should be updated as follows: Add Click add to insert a new line in the list of folders to be monitored. When an entry is inserted the list will initially populate with pre-set values which can then be changed by editing the fields listed below. Remove a monitored directory from list. The shared directory where RVM, RVZ and ZGL files are placed and referenced with Review locally. Click Browse to open a standard Windows file browser dialogue box. In the case of the example made in Setting up a ReviewShare Replication Server this should be populated as C:\ReplicationDirectory FTP Folder The Virtual directory on FTP site on the ReviewShare Server. In the case of the example made in Create an FTP Site this should be populated as ReviewShare. VizStream Directory The relative path to the files in the ReviewShare Server data directory. In the case of the example made in Sharing the Storage Area this should be populated as RS. Apply Changes Click to store the values that have been input in the above fields.
Testing Configuration After the fields in the Admin Tool have been populated the user can conduct a test connection to the FTP server.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:13
2.1
Config: [ C:\ReplicationDirectory; ReviewShare; RS ] FTP Upload Status: Successfully completed upload test. Publish Status: The test file was successfully published on the server!
If a connection to the FTP server could not be established the following error will be returned:
Failed to complete upload test using [C:\ReplicationDirectory; ReviewShare; RS] Error: Failed to connect to ftp://ukcamd1642/ReviewShare
If a connection to the FTP service is successful then the Admin tool will attempt to publish a file to test that the ReviewShare server responds. If there is a problem the following error will be returned:
Config: [ C:\ReplicationDirectory; reviewshare; rs ] FTP Upload Status: Successfully completed upload test. Publish Status: The test file publishing timed out. Publish Error: Unknown error A log of network events is available until the next test run at: C:\TEMP\3e5do2n0.a00\NetworkEvents.Log
In the case of a Publish error a log file is written which can be used to help trouble shoot network errors. If there is a license violation then the following error will be returned:
Licence Violation Detected: licensed for viewing Publish Error: Unknown error
ukcamd3466:
ClientID
not
A log of network events is available until the next test run at: C:\TEMP\sql35myb.usk\NetworkEvents.Log
ReviewShare Replication Service Once the a test connection has been conducted and a suitable monitored directory has been set up, the user can then start the Replication Server service.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:14
2.1
Click on Start to run the Replication Server service. Click Stop to stop the service. Note: It may take several seconds for the Replication Service to come to a stop or start again. During this time the Status will display StopPending and StartPending respectively. Save and Restore To reset the fields in the form to a default set of values click on the Restore Defaults button. Click Save All Changes to write the contents of the form to the configuration xml file. Note: For saved changes to take effect the Replication service must be stopped and then restarted.
4.4
4.5
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:15
2.1
4. Under the Event Viewer (local) select AVEVA. 5. View errors that have been logged by the ReviewShare Replication Service by double clicking on an entry to open the following window
In the Description part of the Event Properties window a detailed summary of the error will be logged. This can be used to help troubleshoot most errors.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
4:16
2.1
5.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
5:1
2.1
5.2
When this configuration is used the ReviewShare Server should be on an IP address accessible from the Internet. The ReviewShare Replication Server is placed within the Intranet subnet and will FTP files up to the ReviewShare Server.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
5:2
2.1
5.3
In this case it will be necessary to tunnel requests through the VPN and forward port traffic to the respective IP addresses of the servers. In the case of Microsoft VPN solutions it may be necessary for ports 47 and 1723 to be open on a firewall.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
5:3
2.1
5.4
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
5:4
2.1
A.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
A:1
2.1
5. Right click on the Default Web Site and select Properties. 6. From the Web Site tab and in the IP Address field type in the first IP address bound to the network interface card. 7. Click Apply, and then OK. Disable socket pooling on the Server Machine as follows (for IIS 6.0 skip to step 2): 1. Refer to instructions detailed in Microsoft knowledge base article 238131 Disable socket pooling (http://support.microsoft.com/kb/238131). 2. Refer to instructions detailed in Microsoft knowledge base article 813368 (http:// support.microsoft.com/kb/813368). Use the first IP Address again for the httpcfg command. Test with netstat -an to check if 0.0.0.0:80 is listed. If it is still listed, a server reboot may be necessary. The anonymous IIS login needs to be set to a user that has read and write access to the SQL Server. This can be set as follows: 1. On the Windows taskbar click Start, point Settings then Control Panel and click. 2. Double click on Administrative Tools. 3. Double click Internet Information Services (IIS) Manager (Internet Information Services in XP). 4. Select servername, which is the name of the Server Machine. 5. Right click on the Default Web Site and select Properties. 6. From the Directory Security tab click Edit. 7. Click Edit and type in the name of a user with the correct access rights. 8. Make sure to uncheck Allow IIS to control passwords. 9. Click OK and restart the web service.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
A:2
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
B:1
2.1
FtpUserName
The authenticated FTP user name. As detailed in Enable Basic Windows Authentication this should be populated with ftpuser.
FtpPassword
The authenticated FTP user password. As detailed in Enable Basic Windows Authentication this should be populated with Ftpus3r.
FtpServer
The IP address or network name of the FTP server. In the case of the example made in Retrieving the IP Address this should be populated with the IP Address or Hostname of the ReviewShare Server.
MonitoredFileExtensions
The following example file has been populated based on the configuration detailed in previous sections of this manual, each element can be changed as listed in the tables above. In this example we are using a single machine with both ReviewShare Replication Server and ReviewShare Server installed, the hostname of this machine is UKCAMD3466. <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="ReplicationConfiguration" type="Aveva.Review.ReplicationConfiguration, FileReplicationDLL"/> </configSections> <ReplicationConfiguration> <MonitoredDirectoryConfigurations> <add MonitoredDirectory="C:\ReplicationDirectory" FtpFolder="ReviewShare" VizStreamDirectory="RS" /> </MonitoredDirectoryConfigurations> <ServerConfig VizStreamServer="ukcamd3466" MaxFileTransferThreads="20" FtpUserName="ftpUser" FtpPassword="Ftpus3r" FtpServer="ukcamd3466" MonitoredFileExtensions=".rvm;.rvz;.zgl;.xgl" /> </ReplicationConfiguration> </configuration> For each local directory that needs to be monitored a directory needs to be created on the FTP server, the location of the scanned directory and the FTP folder that it is being uploaded need to added to the configuration file (an example follows), If more than one directory needs to be watched (for example two different projects may save their rvm files to different directory ready for publishing), more blocks of xml can be added to the configuration file. From the above example the code block of the configuration file that defines the watched folder and the FTP folder that is used by the file replication server has been extracted:
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
B:2
2.1
<MonitoredDirectoryConfigurations> <add MonitoredDirectory="C:\ReplicationDirectory" FtpFolder="ReviewShare" VizStreamDirectory="RS" /> </MonitoredDirectoryConfigurations> If more scanned directories are added then the user must specify a distinct FTP folder and the VizStreamDirectory name, if this is not the case then the service will not start and an error will be written to the Windows Event Log (see Trouble shooting Replication Server Errors.). If this is the case then a new Virtual Directory must be created on the FTP server as detailed in Create an FTP Site. The following example illustrates a config file that will monitor two folders. <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="ReplicationConfiguration" type="Aveva.Review.ReplicationConfiguration, FileReplicationDLL"/> </configSections> <ReplicationConfiguration> <MonitoredDirectoryConfigurations> <add MonitoredDirectory="C:\ReplicationDirectory" FtpFolder="ReviewShare" VizStreamDirectory="RS" /> <add MonitoredDirectory="C:\ReplicationDirectory2" FtpFolder="ReviewShare2" VizStreamDirectory="RS2" /> </MonitoredDirectoryConfigurations> <ServerConfig VizStreamServer="ukcamd3466" MaxFileTransferThreads="20" FtpUserName="ftpUser" FtpPassword="Ftpus3r" FtpServer="ukcamd3466" MonitoredFileExtensions=".rvm;.rvz;.zgl;.xgl" /> </ReplicationConfiguration> </configuration>
B.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
B:3
2.1
A progress bar may be visible during a restart, this is because the service will finish any committed actions before shutting down.
B.2
Generate Timestamp
A file in the Replication Server has a unique name given to it based on when the file was last modified. This name is saved into the Replication Server .rs file. If the file sizes of the file on the Replication Server and Review Share Server does not match, then the file is copied from the Replication Server to the ReviewShare Server, otherwise the version on the ReviewShare Server remains unchanged. The ramifications of this mode are that if a .rvf file is generated based on the file, it will always be consistent with how it was created. If the user publishes a new version of this file, this will not be updated in the .rvf capture.
B.2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
B:4
2.1
B.2.2
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
B:5
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
B:6
2.1
RVMtoZGL Due to being unable to pass command line arguments to this translator it will automatically search for configuration files and use them if found. The default configuration can be overridden with a user defined configuration if preferred. The translator will then, in order of preference, use the following configuration files. 1. User.selection.xml 2. Rvmtozgl.selection.xml If both are discovered, the user defined file will be used and the rvmtozgl.selection.xml will not be parsed. If nether are present the behaviour will default to looking for '/' characters in names. AVEVA.Portal.Import.Review.exe No default configuration is used for this translator to ensure backwards compatibility with previous versions.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
C:1
2.1
Instead a new command line argument "-p" should be used to specify the configuration file to use. The file "rvmtozgl.selection.xml" can be used from the Server if desired. User defined element types Any User defined element types (UDETs) should be added to the configuration to make sure the translators can make an informed decision about selection. End users must add both the description of the UDET (short name and full name) to the configuration file. When using rvmtozgl it is recommended to copy the default configuration to "user.selection.xml" so that the configuration will persist if the server is uninstalled/ reinstalled.
C.1
Header Row
The first line of the file must define the number of columns and their names for the entire file. These will be the column 'headers'. There must be at least one header column '#NAME'. This identifies this column as being the one to look in when matching names in the RVM/ZGL Header column names "#MATERIAL" and "#COLOUR" are reserved to allow changing the colour of elements via the CSV. Any other values for the column name will be used as arbitrary text data that is merged into the ZGL
Data Rows
Every following row should contain the exactly the number of columns as defined in the header row. Even empty columns must be specified (eg. ",,")
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
C:2
2.1
Multiple CSVs
Multiple CSVs are merged together with the most recent files taking precedence, should there be an overlap of values.
#COLOUR Column
Any data found as part of the #COLOUR column is interpreted as a colour number, as exported from PDMS, and will trigger a material change in the model that will colour the resultant model at the specified object and all of its descendants, overriding any RVM or RVS changes there may be in that hierarchy. This colour value must be a positive integer
#MATERIAL Column
Any data found as part of the #MATERIAL is interpreted as a material name and will trigger a material change in the model that will colour the resultant model at the specified object and all of its descendants, overriding any RVM or RVS changes there may be in that hierarchy. This material name must be either The name of a material defined in any imported status file. This can be specified on the command line using the "-s" option. Material[X], where X is a minimum two digit number specifying a default colour. E.g. "Material01", "Material30". This will have the same effect as using "1" or "30" in the #COLOUR column.
If both #MATERIAL and #COLOUR are defined then #MATERIAL will take precedence.
Example
#COLOUR
#MATERIAL
STATUS BUILT
MatSteel 4
INTRANSIT
In this example, and element name in the RVM matching "/FLANGE1" will be applied a "MatSteel" material and tagged with data "SPOOLNAME=/SPOOL1", "STATUS=INTRANSIT", "PURPOSE=HEATING".
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
C:3
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
C:4
2.1
D.1
Working Directory
The following registry key string value must be set to point to the folder where the ReviewShare Server files have been installed: 1. On the Windows taskbar select Start, point to Run and click OK. 2. When prompted enter the text REGEDIT 3. In the Registry Editor navigate to the following branch: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VizStream Server\Parameters\WorkingDirectory In the case of a default installation the value should be: C:\AVEVA\ReviewShareServer If a change is made to this value the ReviewShare Server must be stopped and re-started, refer to Re-Starting the ReviewShare Server Service
D.2
VizStream Platform 3.12 Functioning: GMT 16:10 on 11/14/2007 SSL Not Configured HTTP/1.1 headers from 10.0.100.186 ------------------------------------accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
D:1
2.1
accept-language: en-gb accept-encoding: gzip, deflate user-agent: mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; .net clr 1.1.4322; .net clr 2.0.50727; .net clr 3.0.04506.30) host: 10.0.100.186 connection: keep-alive
D.3
Registry Customisation
Aspects of a ReviewShare server can be customised after installation. These changes can be made by altering values in the Windows Registry. All changes made should be followed by a ReviewShare Server restart.
D.3.1
D.3.2
Specifying Ports
By default, the ReviewShare Server uses ports 80, 1557, 554, and 443. It uses these ports to enable clients to connect through whatever firewall and proxy servers they may have. The ReviewShare client, attempts to use whichever of these ports it determines will be the most effective. Although it is not recommended for servers which will be used from the Internet, the ports that the ReviewShare uses are configurable. To specify the ports that the ReviewShare Server uses, create a registry value named, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VizStream Server\Parameters\PortNumbers if one does not already exist. Set the value of this key to be a comma delimited list of the port numbers to use. The list of ports should be a subset of those available to the ReviewShare Client to function correctly. The actual port used by the ReviewShare Client can later be checked by viewing the Performance > Network Status window in the Client application. For details of the ReviewShare Client refer to the ReviewShare User Guide.
D.3.3
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
D:2
2.1
2. Double click Administrative Tools. 3. Click Services. 4. In the list of services highlight ReviewShare Server.
A progress bar may be visible during a restart this is because the service will finish any committed actions before shutting down.
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
D:3
2.1
Copyright 2008 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
D:4
2.1