Project Mobius Beta 2

34

Migrating or maintaining multiple Citrix farms? Project Mobius is a Microsoft Windows application that allows you to drag and drop published applications and/or folders from one Citrix Presentation Server farm to one or more separate Citrix Presentation Server farms.

One of the most popular ways to migrate from one Citrix Presentation Server farm to a new Citrix Presentation Server farm is to build the farms in parallel and use Web Interface to aggregate the two separate farms’ published applications. This is a great strategy and I have used parallel farms many times in the past to migrate users to a new farm. One of the challenges of this strategy is duplicating published applications and policies from the old farm to the new farm. Traditionally, you would need to either manually create each published application in the new farm or use scripting to export/import published applications. This is where Project Mobius comes in. Project Mobius is a Microsoft Windows application that allows you to drag and drop published applications and/or folders from one Citrix Presentation Server farm to one or more separate Citrix Presentation Server farms. Project Mobius currently only has capabilities to migrate published applications and content, but the capability to migrate policies is slated for a future release.

  Download Project Mobius Beta 2

What’s New in Beta 2?
The following enhancements have been made for Beta 2:

  • Supports migrating published content.
  • Supports migrating content redirection file type associations.
  • Supports migrating nearly all application settings using a “least common denominator” methodology. This means that applications can be migrated upward or downward across Citrix platforms. For instance, a published application can be migrated from a MetaFrame XP farm to a Presentation Server 4.5 farm. Or, vice versa, a published application can be migrated from a Presentation Server 4.5 farm to a MetaFrame XP farm.
  • Numerous visual feedback enhancements.
  • No policy migration yet. I am still working on getting the bugs ironed out of policy migration. I have a lot of the policy migration code written, but it is still a little “less than stable” so I excluded it from the latest build. If you would like to be a tester for Beta 3 (with policy migration), shoot me an email.

* Special thanks goes to David Taig for enhancement suggestions and testing the various builds of Project Mobius.
Project Mobius requires Microsoft .Net Framework version 2.0.

Installation

Project Mobius utilizes MFCOM to perform application migration. Thus, Project Mobius must be run from either a Citrix Presentation Server or a workstation that has the Citrix Presentation Server SDK installed and registered for DCOM (utilizing mfreg.exe).

Project Mobius does not require an install. Simply copy Mobius.exe as well as Interop.MetaFrameCOM.dll to a location on your Presentation Server (or workstation).

Tested Platforms
The MFCOM interfaces and methods used in the source code for Project Mobius should be compatible with Citrix MetaFrame XP 1.0 and above. However, Project Mobius has specifically been tested on the following platforms:

  • Citrix MetaFrame XP FR3 (Microsoft Windows 2000)
  • Citrix Presentation Server 3.0 (Microsoft Windows 2003)
  • Citrix Presentation Server 4.0 (Microsoft Windows 2003)
  • Citrix Presentation Server 4.5 (Microsoft Windows 2003)

Using Project Mobius

Step 1 – Click File -> Connect to Farm. Then, specify any Citrix Presentation/MetaFrame Server in any farm you want to manage.  Project Mobius uses the specified server to enumerate all published applications and folders in a given farm.  Repeat this step for any additional farms you want to manage. (Tip: you may also right click on the Enterprise Farms tree node or click the Connect to Farm icon to connect to a farm.

Connect to Farm
Click to enlarge Click to enlarge


Step 2
– Highlight a folder in the left hand tree view containing the published applications and folders you want to migrate.  Drag and drop the published applications and folders from the right hand side to the appropriate location in any farm on the left hand side. (Tip: you may use Ctrl or Shift to select multiple published applications or folders).

Farm Applications
Click to enlarge Click to enlarge


Optional
– Farms that have a large number of applications may take several minutes to enumerate all published applications.  This is due to the fact that Project Mobius has to use the LoadData() method of the IMetaFrameApplication interface for each published application in order to retrieve the application object and bind the object to the tree view.  This can be time consuming as each call to LoadData retrieves all properties for a published application.  To mitigate this time consuming process, click on Tools -> Options.  Then, select Enable dynamic population.  This option will only load published applications for the selected folder.  Each time you highlight a new folder, Project Mobius will dynamically retrieve the published applications within the folder.

Options
Click to enlarge Click to enlarge

Trivial Information
For those of you still reading and wondering why this piece of software is called Project Mobius, let me explain. Citrix code names Presentation Server after rivers (Hudson = Presentation Server 3.0; Colorado = Presentation Server 4.0; Ohio = Presentation Server 4.5; etc.). I was pondering what to name this project and I decided to name products after wakeboard tricks. One wakeboard trick that has a cool sounding name in my opinion is called a Mobius. A Mobius is a back side roll (flip) with a 360 degree handle pass rotation.  If you want to see what it looks like, check out this video.  So, all in all, this project has no hidden tie in to the wakeboarding Mobius.  I just think it is a cool name (and trick).

34 thoughts on “Project Mobius Beta 2

  1. Hi Jason,

    Once again would like thank you for the wonderful utility. I m pretty sure this utility is going to save lot of time for administrators during migration.

    I do have one question regarding.

    1. Can this tool provide a cross platform migration.
    e.g Can i migrate published applications from 4.0 Farm to 4.5 Farm

    Thanks
    Sunil Pawar

  2. Sunil,

    I have been testing the Alpha version of Beta 2 from a 3.0 Farm to 4.5 Farm for the last few weeks. This public Beta 2 is rock solid for cross platform migration.

    Cheers,
    David Taig

  3. Just migrated 86 applications from PS 4 to new PS 4.5 farm and it worked flawlessly! Only request would be to include a progess bar or a dialog box that says when it is complete. Worked perfectly – thanks!

  4. Hi jason,

    I am getting an error ” Failed to compare two elements in the array” . It detects the Farm and try to load applications but then it throws this error. Do you have any idea?

    Thanks

  5. “Failed to copy published application ({App_Name}).

    Details: Unable to cast COM object of type `System.__ComObject` to interface type `MetaFrameCom.IMetaFrameApplication4`, This operation failed because the QueryInterface call on the COM component for the interface with IID`{ED62F58D-63C2-11D4-94D8-00C04FB0F326}` failed due to the following error: no such interface supported (Exception from HRESULT: 0x80004002 {E_NOINTERFACE)).”

    My environment is – Windows 2000 SP4 with rollups on both farm servers. Metaframe XP FR3 on the source farm, Metaframe PS 4.0 with rollup 3 on the target farm.

    No applications will copy, but empty folders are created when I try to copy folder. I downloaded the SDK on both source and target servers and ran MFREG /REGSERVER on both source and target servers. Mobius is executed from the target server.

    Did I miss a step somewhere?

    Incidentally your “edit my profile” page does not come up after registration.

  6. Update on Error:”Failed to compare two elements in the array”. I was able to launch the Mobius beta 2 on a newly installed PS 4.5. The Only diffrence between the two PS is PSE450W2K3019.msp. May be the Hotfix has something to do with it. I will try to install the package on the PS and confirm the issue.

  7. I cannot drag appliations from one farm to another. The farms open without error, and I can see the applications – just cannot drag.

  8. Sorry, I was using the left pane only. Dragging from the right pane to the left pane works . . . but I have found a limitation. I have all of my applications seperated by application groups. I get a refresh issue (not showing the apps) trying to copy apps from the ‘Test Farm\App1’ group to the ‘PROD farm\App1’ group. I tried to drag-n-drop the group and the group gets copied, but no apps. I tried to drag apps from test to the newly copied group on PROD and get an error – Failed to copy published application. Details:Exception from HRESULT: 0x820D002.

    Digging more it appears that the apps do copy, just don’t show up in the console. Which brings me to a request: Can we get a refresh button that would requery the farm for apps?

    Thanks for all your work!

  9. Hi Jason,

    I am also getting:

    “Failed to copy published application ({App_Name}).

    Details: Unable to cast COM object of type `System.__ComObject` to interface type `MetaFrameCom.IMetaFrameApplication4`, This operation failed because the QueryInterface call on the COM component for the interface with IID`{ED62F58D-63C2-11D4-94D8-00C04FB0F326}` failed due to the following error: no such interface supported (Exception from HRESULT: 0x80004002 {E_NOINTERFACE)).”

    I am running the Mobius executable on a server in my PS 4.5 farm and trying to migrate an app from XP FR3.

    Thanks,
    Robert

  10. This is the error i get

    —————————
    Failed to copy published application.
    —————————
    Failed to copy published application (Accreditation Manager Plus).
    Details: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘MetaFrameCOM.IMetaFrameApplication4’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{ED62F58D-63C2-11D4-94D8-00C04FB0F326}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    —————————
    OK
    —————————

  11. This is an awseome tool for those of us who hate command line or have customers that do. I noticed that if an application has UNIVERSAL groups listed as users, they do not get migrated. The same thing happens with the FarmAppUtil as well. Is there something I am missing?
    Bmann

  12. I was the person who posted above. The same behavior occurs with Access Suite Console when you run an Application report. I found a thread on Citrix’s site that refers to the issue as an issue with R02 and R03. I removed them from a test box and ran the tool and the Universal Groups came across.

  13. I’m getting the same error above. I am in the same situation: migrating PS XP FP3 to PS 4.0… the error (just to clarify) is “No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))”

    Any suggestions?

  14. I amd the person that just posted the “0x80004002 (E_NOINTERFACE))” error above. Here is more detail on the problem: I’m running the Mobius application on the target server (Windows 2003 running PS 4.0) the source server is a Windows 2000 with XP FP3

  15. We are trying to migrate the PA from version XPFR3 on Win2K3 towards PS 4.5 win2K3. We are getting the same error. We have around 350 PA.
    Mobius is started from the PS4.5 Win2K3 server.

    I have tried the same thing with Beta 1 and …….it worked! User permissions were not copied and icons neither.

  16. Hi,
    When connecting to a farm the ‘loading applications’ fails, a popup is displayed:

    Buffer cannot be null.
    Parameter name: buffer

    The Beta 1 version does work. Any ideas as to what is going wrong here?
    I’m running PS4.5 HRP1 on a Windows 2003 SP2 machine

    Thanks!

  17. Hi

    Is there a solution for this problem??

    Running it on XP FR3 W2K3 to PS4.5 W2K3.

    Does not matter if the tool is launched on the XP or PS4.5 server, same error.

    rgds

    Hans

  18. Great utility.
    How do I get this to work between domains?
    I have two domain and I would like to transfer applications between domains. I can make the transfer between two farms in the same domain but I can not get two farms from different domains to even load into MOBIUS at the same time. Is there a “How to” document or a list of requirements.

    Sincerely,
    Dan

  19. This is the error I am getting when trying to connect.

    —————————
    Error Connecting to Farm
    —————————
    There was an error connecting to the farm with server XXXX.

    Retrieving the COM class factory for remote component with CLSID {ED62F4E2-63C2-11D4-94D8-00C04FB0F326} from machine XXXX failed due to the following error: 800706ba.
    —————————
    OK
    —————————

  20. Bump… is there any new develpment on why this error is occuring?

    I am moving from xp w2k3 and w2k to ps4.5 w2k3. I have ran Mob v2 from both servers and continue to get the same error. Server has been registered as well as .Net 2.0.

Leave a Reply

Your email address will not be published. Required fields are marked *