Skip to main content
1-Visitor
September 27, 2016
Solved

Products missing after Rehost

  • September 27, 2016
  • 2 replies
  • 5629 views

Hi all,

we created a test system and tried to rehost our production system (Windchill 10.2 M030 CPS03).

It worked fine with the user data (LDAP import successful) but we are missing all our products and objects. We can only see the newly created product.

Please see attached screenshot.

no_products.PNG

Does anyone have a hint what could have gone wrong during rehosting? Did anyone experience the same behavior?

Thanks in advance!

Benjamin

Best answer by TomU

The fact that Windchill starts up successfully makes me think the Rehost utility worked fine.  I really question if the database was imported correctly.  The Rehost utility doesn't make changes to existing products or libraries.  It's basically changing server names, file paths, passwords, etc.  If the rehosted system fires up correctly, then what you see when you log it is what exists in the database.

Are you allowed access directly to the database?  If so, try querying for the products and libraries:

select * from PDMLinkProduct

select * from WTLibrary

2 replies

23-Emerald IV
September 27, 2016

Did you copy your production database to your test system (and import it) before running the Rehost utility?

1-Visitor
September 27, 2016

Expdp and impdp were called during the rehosting.

We did the following steps:

  1. export ldap
  2. import ldap
  3. expdp
  4. impdp
  5. copy vaults
23-Emerald IV
September 27, 2016

What version of the Rehost utility are you using?

Are you positive the database import actually worked?  (Maybe do a row count on a few of the larger tables and make sure they agree with production.)

I'm assuming you ran the other required Rehost tasks after step 5 above - InfoEngine, Apache, Database, and Vault...

22-Sapphire I
September 27, 2016

Hopefully PTC is reading this...

I absolutely love what the Re-host utility brings to the table - and applaud PTC for developing it.  I've finally become relatively expert using it.

But, the documentation is extremely hard to follow.  It takes extreme perseverance to be able to get from the documentation what to actually do and how to do it.  The people writing it really tried - you can see that.  Just needs some more attention actually sitting with someone trying to follow it.  There is so much in the guide about the advanced functionality (e.g. scripting) but it's very hard to get to the point where a very bare-bones basic re-host process is working.

5-Regular Member
September 28, 2016

Mike - It is being read and passed along 🙂

Tom Uminn‌ thanks for your work.

Best,

Toby