Sharing Custom Origin Files Including Service Releases

From OriginLab Wiki

Revision as of 22:59, 4 January 2011 by Mking98 (Talk | contribs)
Jump to: navigation, search

Go back to


Contents



Introduction

The Group Folder feature is available to all Origin and OriginPro 8.5 users. It is an optional feature - it does not need to be used.


The Group Folder feature can be used by any site/organization that has multiple Origin users managed by any license type. Even though the group leader and group menbers have different license types, sharing files between them by using Group Folder is available.

  1. Share custom Origin files such as templates and fitting functions with other users/members of your group.
  2. Publish Origin Service Releases (patches) to other users/members of your group.
  3. If a FLEXnet service (Concurrent Network users) is moved to a different machine, the Group Folder feature can be used to update the members of the Concurrent Network package with this new location.


The Group Folder feature involves setting up one or more group leaders that publish custom files to other Origin users/members of your group. All or any number of Origin and OriginPro 8.5 users can share the same group leader or leaders. For example, group leaders could be established at the department level of an organization.

Setting up a Group Leader and Group Members

  1. The first step is to set up a group folder to publish custom files that are to be shared.
    • The group folder must exists on the network already. It can be either a shared folder on the machine of the person who will be your group leader, or it can be a shared network folder on another machine or on a network drive. The person who will be your group leader must have write privileges to this shared folder.
  2. Next, you set up the group leader.
    • The person who will be the group leader selects Tools:Set Group Folder Location in Origin.

    Image:Set_Folder_Location.png.
    • In the dialog box that opens, enter the UNC path of the shared folder in the Group Folder UNC Path edit box.

    Image:Set_Location.png.
    • If you choose to browse to the folder, you must go to your Entire Network to get the correct UNC path.

    Image:Entire_Network.png
    • Also, you must select the Group Leader Machine check box to identify that this Origin is to act as the group leader.

    Image:Set_As_Group_Leader.png
  3. Now other users of Origin and OriginPro 8.5 who want to have this Origin member as their group leader must specify the shared group folder.
    • To do this, they select Tools:Set Group Folder Location in Origin.

    Image:Set_Folder_Location.png.
    • In the dialog box that opens, they also enter the UNC path of the shared folder in the Group Folder UNC Path edit box. (Thus you must provide all members with this UNC path.)

    Image:Set_Location.png.
    NOTE: The members do NOT select the Group Leader Machine - they should leave that check box cleared.

How a Group Member becomes a Group Leader

For example, let's say that the group leader leaves the company and a group member needs to become the group leader. The following steps should be taken:

  1. Select Tools:Set Group Folder Location and check the "Group Leader Machine" checkbox. Click OK.
  2. Select Tools:Group Folder Manager and move files from the Group Files list to the User Files list.

Note: Once you become a group leader, you no longer have access to Group files until you move them into your User Files folder. As a group member, the files were copied into a GroupShared folder under your User Files folder, but as the group leader Origin no longer knows about this folder.

Using the Group Leader to Publish Files

The group leader manages the contents of the group folder by selecting Tools:Group Folder Manager in Origin.

Image:Group_Folder_Manager.png

This opens the following dialog box:

Image:GroupManager.png

  • File Type drop-down - allows the group leader to select a specific Origin file type such as templates, themes etc. The All Files means all supported custom files.
  • User Files list - displays a list of all files of the selected file type that exist in the User Files Folder of this Group Leader machine.
  • Group Files list - shows all files of the selected File Type, that have been moved/copied into the Group Folder.
  • The color coding scheme assists you in knowing if you have a newer file in your User Files Folder that you need to publish (move into the Group folder).

The User Files from the Group Leader machine can be added to the Group folder by selecting the file and click on the Image:Add Button.jpg icon.

Image:Adding_To_Group_Folder.png

Types of Files that the Group Leader can Publish

A group leader can share the following support files. Note that if the File Type drop-down is set to All Files it will list only files of the following types, and NOT every file that exists in the User Files Folder:

  • Templates (OTP, OTW, OTM)

    Graph templates have a Category association such as "Line", "Multi-Curve" etc. Ideally the group leader should create a new category with a clear name so that custom templates are easily accesible in the Template Library dialog in the Origin GUI.

  • Import Filters

    Group filters will appear in the import wizard prefaced by "Group Folder:".

  • Fitting Functions (FDF)

    Fitting functions in Origin have Category association such as "Basic Functions", "Peak Functions" etc. Ideally when a group leader wants to share custom fitting functions with the group, they should create a new category with a clear name so that such fitting functions are easily accessible from the Function Organizer and the Nonlinear Curve Fit (NLFit) dialog.

  • LabTalk OGS files

    You can set your current working directory to the Group folder, using the cd LabTalk command.

  • Theme Files

    Themes will appear in the Theme Organizer. The Path will say Group.

  • Package OPX Files

    When a Group Leader unpacks an OPX, it is automatically prepared for publishing. It gets copied to an Auto Install folder that gets created under the Group Leader's User Files Folder. The Group Folder Manager will display all OPX files in that folder, for the group leader to publish. Once published, when the client starts a notification of an update appears. Client needs to restart Origin to install the opx.

  • X Functions

    X-functions are accessed from the new Command Window.

  • Origin C Files

    Origin C functions are called from Origin using LabTalk statements.

How the Group Member Gets Updated Files

After the Origin group member specifies the group folder, and upon subsequent Origin start-ups, if newer files exist in the shared group folder, the group member will see a message telling them that files are updated (only for support files, not patches), or an update is now available and a re-start of Origin is required to receive the updates (for patches).

The (support files) from the shared group folder are copied to the group member's \GroupShared\ folder located in their User Files Folder.

The files then become available in various Origin dialogs such as Theme Organizer, Fitting Function Organizer etc. The files will have a prepend tag of (Group) to identify them as originating from the group folder.


Publishing Patches to Members of the Group

First you must patch your Origin group leader.

After the patch has been applied to the group leader, re-start the group leader.

Then select Tools:Group Folder Manager, and publish the patch file that you applied to the group leader.

Now when the Origin group member starts their Origin, they will see a message that a patch is available from the group leader. They can choose to apply the patch, close their Origin, and the patch program will start running.

Moving the FLEXnet Server and Updating Members of the New Location (Concurrent Network packages)

All Concurrent Network members must have a connection to the FLEXnet license server. If you need to install and set up a FLEXnet license server on a different machine, the Group Folder feature provides an easy mechanism to update all the group members with the new FLEXnet server.

After you set up the replacement FLEXnet server and have the service running successfully, then you can edit the Use_Server.lic file located in your Origin group leader's <Origin> \FLEXlm\ folder.

This file will typically have the following text, assuming the FLEXnet server is <FLEXnet server>

SERVER <FLEXnet server> ANY

USE_SERVER


A 3-Server Redundant FLEXnet server is also supported, for example if we have three servers <one>, <two>, <three>, and ports 12345, 23456, 34567, the Use_Server.lic file looks like:

SERVER <one> ANY 12345

SERVER <two> ANY 23456

SERVER <three> ANY 34567

USE_SERVER


Once this change is made and the Origin group leader is restarted, this file will be automaticaly published to the Group Folder, and the Origin group members will be notified of the change of FLEXnet server with a message "Concurrent license server settings are updated. Click OK to restart".