cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

rehost utility

MikeLockwood
22-Sapphire I

rehost utility

We've rehosted production probably 200 times over the years, always using very manual steps. Recently I asked a person on our team to investigate the Rehosting Utillity avalable from PTC. Lots of tech support interaction and lots of hours spent but no success to date.


Main Questions: What is your experience with this utlility? Do you use it? What is your technique for populating the rehost.properties file? Do you utilize multiple rehost.properties files for various purposes?


Note: I read thru the PDF on this thoroughly - doesn't seem to help much in understanding the exact values to use in populuating the rehost.properties file.


Other Question: Since the utility causes your source system to export data, etc., your non-production system is "controlling" the production system thru the utility. We're very leery of this - would like to instead utilize exports that already exist. Is this possible? Anyone else with the same concerns?


note: we're being told by tech support to not bother with the utility that is released and wait for 2.0 due out "soon."


thx

7 REPLIES 7

Mike,

Unfortunately we are in the same situation. We are new to Windchill (~2 years) and I was always told "using the utility was the way to go". In the 2 years, I've rehosted 10+ times and every rehost utility produces different results. The utility doesn't touch every file that needs changing/updating. A typical rehost for us takes about 2-3 days to complete, to work out all the errors and time spent with support fixing new issues that we didn't see in the last rehost. I have found that running each task separately produced the best results, but still end up manually changing about 40% of the rehosted system. Hopefully 2.0 will be better. I would like to see a GUI or menu driven utility which prompts you for the required information. You are correct, the PDF is cryptic and trial and error is the best way to determine the values they are looking for.

Kevin Stevens
SAP BASIS Administrator/PTC Windchill Administrator
SAP Technology Group
Albany International Corporation
Office +1.603.833.2301 - Mobile +1.843.408.6090
[Description: Description: cid:image001.jpg@01C71948.93D63FE0]

I'm glad I'm not alone in feeling this utility is only half-baked. PTC said 2.0 would be better at last year's User Conference, so where is it 6 months later?

I agree that it needs a GUI to populate the rehost.properties file. Would make it a lot easier than trying to find out which options you need to set and which can be ignored.

Ben

Hi Mike


I've rehosted Windchill systemsmay be a 1000 times in my 15 years of implementing,applying service packsand upgrading since Windchill 5.0. The rehost utility was developed back in Windchill 6/7 and sort of matured in 8/9. Itwas painful backbecauseeither poor documentation or just didn't work well.Back in 2005 for a Windchill 6.2.6 to 7 upgrade, there is always a major difference betweena new install versus a rehosted forWindchill infoengine LDAP structure. The rehosted LDAP structure looked like a mess while the new install looked clean.I wish they would stop placing the Windchill versionWindchill 9, 10, 10.1 in the LDAP structurename.


I use a combination of the rehost utiltiy and my own techniques over the years. I don't always depend on this utility because it is really limited to the configurations you have implemented like clusters, replica's which can be a bit more difficult than the simple normal single application server with a separate database or even multi-server tiered.


Patrick

In Reply to Mike Lockwood:



We've rehosted production probably 200 times over the years, always using very manual steps. Recently I asked a person on our team to investigate the Rehosting Utillity avalable from PTC. Lots of tech support interaction and lots of hours spent but no success to date.


Main Questions: What is your experience with this utlility? Do you use it? What is your technique for populating the rehost.properties file? Do you utilize multiple rehost.properties files for various purposes?


Note: I read thru the PDF on this thoroughly - doesn't seem to help much in understanding the exact values to use in populuating the rehost.properties file.


Other Question: Since the utility causes your source system to export data, etc., your non-production system is "controlling" the production system thru the utility. We're very leery of this - would like to instead utilize exports that already exist. Is this possible? Anyone else with the same concerns?


note: we're being told by tech support to not bother with the utility that is released and wait for 2.0 due out "soon."


thx


I find the Rehost Utility really useful in my cloning process. It doesn’t manage the entire process but it simplifies the changes to properties and LDAP to reflect the new name.



A bit of context on our process…



We clone our systems. That means we take the entire installation and data from one environment, copy it over to the other environment, modify the configuration and run it. There is no pre-installation required.



The process starts with a PROD snapshot which we re-use for as many clones as we need :


- PROD Snapshot : Shutdown PROD, export a DB DMP file, tar the Windchill, Apache, WindchillDS directories, take a listing of current vault content, Startup PROD.



Each clone follows this process :


- Build required servers (Linux VMs). Our environments are Windchill clusters, so they have one master and at least one slave.


- Import DMP file into the target DB server (separate VM)


- Extract Windchill, Apache, WindchillDS from the snapshot onto the master node


- Copy vault as indicated in snapshot listing


- Change server name for a few properties


- Run the Rehost Utility to change the environment name in properties and in LDAP (WindchillDS)


- Copy Apache and Windchill from the master to the slave server (I use rsync all the time)


- Make a few changes to properties so that the slave acts as a slave and not as a master


- Start Windchill cluster 🙂



Although the Rehost Utility is designed so that you can script a lot of the manual tasks I have before and after the Rehost Utility, I haven’t gotten around to building those scripts. It would be nice but it would require time I don’t have to get it done. For now, I get by with the semi-manual process. I can complete a clone in 1-2 days if my VMs are ready.



My 2 cents on the Rehost Utility is that I couldn’t get my clone done without it. Hopefully 2.0 brings improvements to ease of use, documentation and support of the “cloning” scenario. I had to work with PTC to get me through my first clone.



JL

Jean-Louis,

This has been my experience as well with rehosting windchill back when I supported windchill in 9.x. PTC has made some effort to simplify the rehosting procedure with script to update the LDAP entries compared to what it used to be in previous versions. Having said that, I have been gone from windchill world a few years now and not sure what the current rehost process is in 10.x. The procedure you described below is how I used to rehost our windchill environment and is the PTC recommended approach, and I think it's important to note that following the PTC prescribed method of rehosting is always best.

Thanks

Alexius C. Chukwuka
IT Analyst, SAP Platform Support
Global Hosting and Network Services
Deere and Company
One John Deere Place
Moline, IL 61265 USA

We just hired an admin who has used the utility successfully in her previous job, many times. We're going to be trying to use it in our much more complex system this week and next week. I'll let you know how it goes.

Daniel

Hi Guys,


I just tested out the rehosting utility in 10.1 M030. Guess what, it has problems. I found out that you still have entries in the WindchillDS pointing to production urls for infoengine jndi and other adapters. Also, after when you fix that you might get possibly LDAP ERROR 49 which is due to encription password keysthat is tied to the previous host.


So, youhave to reset all the passwords of the database, wcadmin, and infoengine admin/WindchillDS admin/cn=Manager.


https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS96619


And walla, all done. Make sure your mirrored/target system is identical to your source.


I guess I don't get a lobster dinner. You guys have fun working it with PTC at the user conference in June. I can't come again this year.


You guys take care and have a great week and weekend.


Patrick

Announcements


Top Tags