Information for Network Administrators

A 'Floating-License' is a 'Network License'.

About Network Installations

The Product Key settings we must do for a Network License are different to those settings for a Standalone License. Please tell us at the time you buy MechDesigner that you need a Network License.

A network installation requires more set-up. You (or the Network Administrator) install the CMServer [CopyMinder Network Server] on a server. The 'Client' machines (MechDesigner users) must be able to communicate with CMServer for protection checks. The CMServer manages how many clients can use MechDesigner at the same time. CMServer must be able to communicate, over the internet, with the CopyMinder databases for regular checks. You must make sure this is possible, even when the Network Administrator is logged out after installing the CMServer program.

As a network installation, you can also have Roaming Licences. These enable one or more clients to use MechDesigner on a remote machine for a period of time. For example, a client may wish to use MechDesigner on a laptop over the weekend or while away on business.

tog_minus        Install MechDesigner and CopyMinder Network Server (CMServer.exe)

If necessary, delete existing CopyMinder product keys for Trial or Standalone installation.

Delete the path C:ProgramData/HW

This may have CopyMinder data for a Trial or Standalone License. It may confuse the new Network Installation.


Netowrk Installation Schematic

Client Side

Server Side

CLIENT MACHINE PART 1

Install MechDesigner Software on one Client Machine.

Install, but DO NOT Launch / Run. You must complete the Server-Side instructions after you install, but before your run the first time.

To Install:

Download the latest MechDesigner application ZIP file from our website (www dot psmotion dot com/user). It is typically called 'MD-PRO64-ZZ-Y-ZZZ.ZIP'.

Enter a Passcode [sent in an email to you] This is NOT the PRODUCT KEY

Enter a Passcode [sent in an email to you]
This is NOT the PRODUCT KEY

2.Double-click on the ZIP file you have downloaded, to start the installation wizard.

- or -

2.Extract and save the installation executable from the ZIP file.
3.Double-click the extracted .exe file to start the installation wizard.

SEE LEFT: You will need a password to extract the ZIP file - we give you the password in an email - THIS IS NOT THE PRODUCT KEY.

When you enter the password, the standard installation forms will guide you through the installation.

We call the Client-Side installation directory [installdir].

DO NOT LAUNCH MECHDESIGNER YET.

Navigate to the installation directory.

There are three files in [installdir]that you need for the Server-Side.

SERVER

1.Create a directory on your Server

We call this directory [CMServer].

You choose where to put this directory.

CMServer must have write access to the folder in which you will find the MechDesigner.cm file.
CMServer must have internet access during and after the Network Administrator has logged off, after this installation is complete.
2.Copy Files

Cut and Paste from [installdir] to [CMServer]

CMServer.exe
MechDesigner.exe.cm
MechDesigner.exe.cm.ini
3.Run CMServer.

You will see the CMServer Configuration dialog-box. You should see an entry in the products list: [MD32_0_0 - MechDesigner.exe.cm].

MD-CMServer-Install

 

 

Application or Service?

Some things to consider regarding this choice:

An Application requires there to be a user logged in on the machine for it to run. This may not always be the case on server machines. If you choose to run CMServer as an application and want to have it start automatically when the user logs in, then create a shortcut to CMServer in that user's Startup start menu folder which gives the applicable command-line parameters to make CMServer start automatically.
A Service starts automatically when the machine starts and does not require a user to be logged in for it to run. This is now the most common way of running a background task on Windows®.

Which method you choose depends on particular requirements. Running CMServer as an application may be the ideal choice initially, while setting up the system, switching to running it as a service after everything is set-up correctly.

Start-up Modes.

Select the mode when you have decided how you want to run CMServer. We recommend a Service.

Network Configuration.

Use Automatic.

If necessary, in Custom options, choose the IP address that CMServer will accept connections on. If your machine has only one IP address then this is pre-selected for you and cannot be changed. You will also choose a port number which the server will listen for connections on. Choose one from the list and keep a note of it in case you need to configure your firewall(s) later on.

cmServer-sucess

4.Click the 'Start' button in the CMServer Configuration dialog box.

CMServer performs a protection check - over the internet - with the database on the CopyMinder servers.


Now  - Enter the MechDesigner Product Key we have emailed to you.

Then, another check is made with the CopyMinder database to find the key we have bought for you.


IMPORTANT NOTE:

If you are asked to obtain an 'Activation Code' for a Manual Installation, then you do not have internet permissions with the CMServer path

Do not do a Manual Installation .... Do not request an 'Activation Code'

Why?  It is much better to automatically make the connection to the CopyMinder database. PSMotion will be able to add licenses as needed for training, extend the expiry date [if you have leased MechDesigner], ...


Make sure the CMServer path has internet access, and the firewall does not stop the access to the CopyMinder database.

Put these CopyMinder IP addresses on your Firewall white-list.

Primary1:  89.200.137.136

Primary2:  92.60.122.223


When all protection checks are complete the server will either become operational as an application (if you chose that mode of operation), or it will install and start itself as a service.

CLIENT MACHINE PART 2

When CMServer is running, you can run MechDesigner on client[workstation/ machines.

The first time you run MechDesigner on each Client-Machine, you must specify the installation you want. You will see three options:

Configure as a standalone program
Configure as a trial
Configure as a network client

Select 'Configure as a Network Client'.

install-Network

In most cases MechDesigner will automatically detect the presence of the CopyMinder Network Server and the details are filled in for as: IPADDRESS:PORT, e.g. 192.168.1.10:10589.

Click OK.

If the server details do not show in the text field, then it is possible that the:

CMServer is not running

or

that a firewall is blocking communication between the client and server machines.

It is possible to manually specify the IP address and port to use, in the form IPADDRESS:PORT, e.g.OFFICESERVER:10589  or 192.168.1.10:10589.

However, it is better to resolve the problem that caused the auto-detection to fail.

If it is a problem now, then it will be a problem later.

Things to note

CMServer and the clients use separate copies of the .cm file.
The machine you choose to install CMServer must have internet access.
CMServer will terminate if it fails its protection checks. This will also stop MechDesigner running on the client-machines. You must restart CMServer.

Try to find out why it failed its protection check.  Usually, the problem is a Firewall, Virus-checker, or Path-Permission. See Network Firewall checks

For example, if you install CMServer as an Administrator, and then you logout, it is possible that CMServer then does not have permission to check over the internet.

tog_minus        The CopyMinder Network Server...

The CMServer Viewer

See also: CMServer /viewer

When CMServer is running as an application...

...it will display the CMServer Viewer.

This utility displays the status of the CopyMinder Network Server, the products it is serving and the network users currently connected to it. A CMServer icon will show in the notification area of the taskbar on the computer running CMServer.

The utility can also be used to force a particular product to access the CopyMinder server in order to update settings that may have changed. This is usually a more convenient way of getting an update than restarting the CopyMinder Network Server. To force a protection update, select the product to update from the list of products being served and select Server > Update Product.

You can also open the server's log-file from this utility by going to Server > Show Logfile. The log-file records important events during the running of the server and is used from time to time to help diagnose problems.


When CMServer is running as a service...

...it will not display the CMServer Viewer because services cannot display Graphical User Interfaces (GUIs).

However, you can still use the CMServer Viewer by running CMServer.exe /viewer command-line parameter [you need the 'space' before '/viewer'. (see below)

Command-Line Parameters

CMServer can accept several command-line parameters which control its behaviour.

Note: Please put in a 'space' before adding a command-line parameter

These command-line parameters are:

/s

Configures CMServer to install/run as a service.

/a

Configures CMServer to run as an application.

/q

Quiet mode. Only displays errors.

/u

Uninstalls the CMServer service.

/viewer

Just display the CMServer Viewer.

/logfile

Just open CMServer's logfile.

/listen=IPADDRESS

Sets the IP address on which CMServer accepts connections (replace IPADDRESS with your chosen IP address).

/port=PORT

Sets the port on which CMServer listens for connections (replace PORT with your chosen port number).

/?

Displays a help window documenting these command-line parameters.

Firewalls

Like most server software, CMServer accepts incoming connections by 'listening' on an IP address and port. If the machine running CMServer also has a firewall (including Windows® firewall and also third party firewall software), then the firewall software is explicitly told to let the incoming connections to get through to CMServer. Likewise, if a firewall exists on a machine between the server machine (the one running CMServer) and the client machines then this  must be configured, too.

Important

Failure to correctly configure your firewall(s) could result in the CopyMinder Server being inaccessible by client machines.

Firewall Checklist

Your firewall(s) must allow both TCP and UDP traffic through to CMServer.
Your firewall(s) must allow CMServer to accept incoming connections on the IP address and port that you chose when setting up CMServer.
Clients auto-detect CMServer by performing a multicast broadcast to 237.96.71.123 and whichever port you configured CMServer to listen on. Your firewall(s) does not block traffic destined for this address/port, or auto-detection will not work.

Log-file

CMServer maintains its own log-file in which it records various important events during its execution. While the server is running, all events are recorded to this file rather than being displayed on-screen. The most common reason to view the log-file is to start diagnosing a problem.

You can view the log-file by running CMServer.exe with the /logfile command-line parameter. Alternatively, you can access it from the CMServer Viewer's menu.

The logfile is actually stored on disk in the 'All Users' profile under the CMServer/<DID> directory (<DID> is PSMotion's Developer ID (contact us separately for this)).

Managing the CMServer Service

If CMServer is installed as a 'service', you can control it through Windows® Services Management like other services. Once CMServer has been installed you will see the services in the Services console. From here, you can see the status of the service [that is, is it running or stopped] or you can stop or start the service as required. To un-install the service, run CMServer.exe with the /u command-line parameter.

Add/Remove Products
If CMServer must serve a new software product, then the .cm file for that product can be placed in the CMServer directory and CMInstall can be run, even while the server is running. However, repeat steps 3-5 described in Installing the CopyMinder Network Server above before CMServer will let network users use that product.
To remove a product from CMServer then stop CMServer first.

tog_minus        Roaming Licences

With a network installation, you may want the flexibility of taking a copy of your software off-site for a period of time.

CopyMinder addresses this requirement by means of Roaming Licences. These are licences that are temporarily borrowed from their 'maximum simultaneous network users' count for a product key.

We can specify limits on how many and for how long network users can be used for roaming.

The Network Administrator can provide us with an email address and we will email a password for the Network Administrator so that he can log-in to the Network Administrator's page, which enables them to control roaming users.

Within the limits we specify, the Network Administrator can control his/her roaming users via a CopyMinder web page (http://primary.copyminder.com/networkadmin.php or http://secondary.copyminder.com/networkadmin.php). This web page is protected by means of the Network Administrator's password that we provide.

The system will provide you with a product key for each roaming user. The end-user can use this product key to install a time-limited stand-alone copy of our software on a machine. When the time limit is reached, the roaming licence is automatically returned to the pool.

It should be remembered that changes the Network Administrator makes on the web site only change the CopyMinder Network Server the next time that it accesses the CopyMinder server for a protection update. Similarly, when a roaming licence expires, it only gets returned to the CopyMinder Network Server on the next web access.

tog_minusMore on the using CMServer / Viewer

CMViewer is utility that displays the status of the CopyMinder Network Server, the products it is serving and the network users currently connected to it. If CMServer is running as a service (which it will in all instances after being installed) you can start CMViewer by running the CMServer.exe /viewer' command-line parameter in a command prompt window. Make sure you have navigated to the directory in which the CMServer.exe is located before running the command.

cmd-cmsERVERvIEWER

The CMViewer dialog will be displayed showing the products available, the number of users currently logged onto each application and the maximum number of licences that are available for each application. You can click on the product to see the users that are logged onto the application.

CMD-Server-Viewer-Dialog

tog_minusTrouble-shooting

Licence manager says that licences are all in use but they are not?

This can happen if the software has not shutdown properly for whatever reason. if possible check each PC to ensure that the software is no longer running as a process using the task manager. If this is not the problem then you can release all licences by restarting the licence manager.

To do this, stop CMServer using windows services management. To restart it, right click on the “cmserver.exe” file and select “run as admin”.

General Errors

Whenever you get an error related to CopyMinder you can find descriptions of the error numbers in the CopyMinder Knowledge-base which can be accessed at http://www.copyminder.com/kb .

 

 

Tutorial and Reference Help Files for MechDesigner and MotionDesigner 13.2 + © Machine, Mechanism, Motion and Cam Design Software by PSMotion Ltd