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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Translate the entire conversation x

PDMLink 9.1 M060 Rehosting question

borourke
11-Garnet

PDMLink 9.1 M060 Rehosting question

For our 9.1 to 10.0 migration test, I set up a new server that I want to rehost my 9.1 M060 production server on. My question is about rehosting the LDAP from my source system to the new target server. I know in the old days(8.0 to 9.1 and Aphelion), you would deal with the various branches and nodes, but how do I deal with Directory Server? When I installed the target 9.1, I used the base DN from my source system. I then took an export from the source system, but of course the server name does not match my target system. Do I simply edit the server name? I know there is a rehosting script available under the adminTools\rehost directory, but this seems to apply if you have the source and target systems on the same server. All advice welcome! Thanks in advance! Who Dat and Geaux Tigers!


Send lawyers, guns, and money...the sh!t has hit the fan!

9 REPLIES 9
clawrenz-2
6-Contributor
(To:borourke)

Bill,



You do not need to edit the hostname.



When upgrading to Windchill 10.0 the upgrader manager will upgrade your
system to a different host name. i.e it does the rehosting for you.



/Cars10


Bill,

I assume your intent is to rehost your production environment to test environment for your wc10 rehearsal. The source and target does not have to be on the same server, they don't even have to be in the same domain. The rehost script will use the value of the target found in the ie.properties file to make changes where needed when it clones your LDAP. That script does it all for you in terms of your LDAP. PTC has really improved that rehost script from the initial release version of it. You did the right thing by using the same Source basedn on the target. So all you need to do now is run the rehost script to clone your LDAP.

Thanks

Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265

Bill,

Find below a sample session from running the rehost script. Observe the source and target are not on the same server and not even in the same domain. However baseDN are same on target and source.

[echo] source-domain = abc.dx.company.com
[echo] source-ldap = ldap://cn=Manager:aphelionID@abc.dx.company.com/dc=dxjdpswc1,dc=dx,dc=deere,dc=com
[echo] target-domain = xyz.sdde.company.com
[echo] target-ldap = ldap://cn=Manager:aphelionID@xyz.sdde.company.com/dc=dxjdpswc1,dc=dx,dc=deere,dc=com
[echo]
[echo]

[input] About to make a copy of the source LDAP to the Target LDAP. You should only skip this step if you manually copied the source LDAP to the Target LDAP. Continue? (y, n, skip)

do.ldap.copy:
[echo]
[echo] -- Making Copy of Source LDAP to Target LDAP --
[copier] Ldap Copy Tree Start Time = Thu Apr 28 13:01:51 CDT 2011
[copier] Ldap Copy End Time = Thu Apr 28 13:02:55 CDT 2011
[copier] Ldap Copy Tree Total Time = 63633 msec
[echo]
[echo]

[input] About to re-host the contents of the Target LDAP from abc.dx.company.com to xyz.sdde.company.com. Continue? (y, n)

[echo]
[echo] -- Re-Hosting Target LDAP --
[rehoster] Ldap Copy Tree Start Time = Thu Apr 28 13:03:18 CDT 2011
[rehoster] Ldap Copy End Time = Thu Apr 28 13:03:18 CDT 2011
[rehoster] Ldap Copy Tree Total Time = 452 msec
[echo]
[echo]

[input] About make local property changes. Continue? (y, n)

[echo]
[echo] -- Setting Local Properties --

-map-credentials-update:
[xconfman] WARNING:
[xconfman] *** WARNINGS **********************************************************************
[xconfman] The following properties have been declared multiple times.
[xconfman] The last value encountered will be used, but the conflicting or duplicate declarations should be corrected.
[xconfman] - epmdocument.usedby
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/pdmlink/xconfs/pdmlink.plhelp.properties.xconf, line 38
[xconfman] file:/opt3/ptc/Windchill/codebase/plhelp.properties.xconf, line 151
[xconfman] file:/opt3/ptc/Windchill/site.xconf, line 197
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/plhelp.properties
[xconfman] - epmdocument.uses
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/pdmlink/xconfs/pdmlink.plhelp.properties.xconf, line 39
[xconfman] file:/opt3/ptc/Windchill/codebase/plhelp.properties.xconf, line 150
[xconfman] file:/opt3/ptc/Windchill/site.xconf, line 146
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/plhelp.properties
[xconfman] - forum.view
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/pdmlink/xconfs/pdmlink.plhelp.properties.xconf, line 17
[xconfman] file:/opt3/ptc/Windchill/codebase/plhelp.properties.xconf, line 256
[xconfman] file:/opt3/ptc/Windchill/site.xconf, line 185
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/plhelp.properties
[xconfman] - project.export_project_as_template
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/plhelp.properties.xconf, line 119
[xconfman] file:/opt3/ptc/Windchill/codebase/plhelp.properties.xconf, line 252
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/plhelp.properties
[xconfman] - project.save_project_as_template
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/plhelp.properties.xconf, line 118
[xconfman] file:/opt3/ptc/Windchill/codebase/plhelp.properties.xconf, line 254
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/plhelp.properties
[xconfman] - wt.query.searchAttributeList
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/pdmlink/xconfs/pdmlink.wt.properties.xconf, line 110
[xconfman] file:/opt3/ptc/Windchill/codebase/wt.properties.xconf, line 1,454
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/wt.properties
[xconfman] - wt.services/rsc/default/com.ptc.netmarkets.util.misc.FilePathFactory/Attributes/wt.inf.library.WTLibrary/0
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/enterprise/part/PartManagement-typedservices.properties.xconf, line 41
[xconfman] file:/opt3/ptc/Windchill/codebase/typedservices.properties.xconf, line 97
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/typedservices.properties
[xconfman] - wt.services/rsc/default/com.ptc.netmarkets.util.misc.FilePathFactory/Attributes/wt.part.WTPart/0
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/enterprise/part/PartManagement-typedservices.properties.xconf, line 33
[xconfman] file:/opt3/ptc/Windchill/codebase/typedservices.properties.xconf, line 93
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/typedservices.properties
[xconfman] - wt.services/svc/default/com.ptc.core.components.command.ActionCommand/tabular_input_edit_structure/java.lang.Object/0
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/enterprise/part/PartManagement-service.properties.xconf, line 253
[xconfman] file:/opt3/ptc/Windchill/codebase/service.properties.xconf, line 1,846
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/service.properties
[xconfman] - wt.services/svc/default/com.ptc.core.components.descriptor.DataUtility/recipientInfo/java.lang.Object/0
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/core/subscription/subscription.dataUtilities.properties.xconf, line 95
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/core/subscription/subscription.dataUtilities.properties.xconf, line 107
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/com/ptc/core/subscription/subscription.dataUtilities.properties
[xconfman] - wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/deleteTeam/null/0
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/enterprise/enterpriseui-service.properties.xconf, line 62
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/enterprise/enterpriseui-service.properties.xconf, line 68
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/com/ptc/windchill/enterprise/enterprise.service.properties
[xconfman] - wt.services/svc/default/com.ptc.netmarkets.util.misc.TableRenderer/simpleTree/null/0
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/core/components/components.service.properties.xconf, line 41
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/core/components/components.service.properties.xconf, line 177
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/com/ptc/core/components/components.service.properties
[xconfman] - wt.services/svc/default/wt.events.eventNotificationDelegates.StandardEventNotificationDelegate/%2A%2Fwt.events.summary.ModifySecurityLabelsSummaryEvent%2F/java.lang.Object/0
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/service.properties.xconf, line 2,032
[xconfman] file:/opt3/ptc/Windchill/codebase/service.properties.xconf, line 2,161
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/service.properties
[xconfman] --------------------------------------------------------------------------------------
[xconfman] The following properties have been mapped into conflicting target files.
[xconfman] - wt.services/svc/default/com.ptc.windchill.enterprise.part.structure.ProductStructureReportListDelegate/reportSelector/wt.part.WTPart/0
[xconfman] Mapped to:
[xconfman] /opt3/ptc/Windchill/codebase/service.properties
[xconfman] /opt3/ptc/Windchill/service.properties
[xconfman] Specified at:
[xconfman] file:/opt3/ptc/Windchill/codebase/com/ptc/windchill/enterprise/part/PartManagement-service.properties.xconf, line 558
[xconfman] file:/opt3/ptc/Windchill/site.xconf, line 737
[xconfman] **************************************************************************************
[xconfman]
[xconfman] Propagating XCONF data to target files...
[echo]
[echo]

[input] About to re-configure Info*Engine servlets in web.xml. Continue? (y, n)

[echo]
[echo] -- Re-configuring IE and RPC servlets in codebase/WEB-INF/web.xml --
[copy] Copying 1 file to /opt3/ptc/Windchill/codebase/WEB-INF
[xslt] Processing /opt3/ptc/Windchill/codebase/WEB-INF/web.xml to /opt3/ptc/Windchill/codebase/WEB-INF/web_rhost.xml
[xslt] Loading stylesheet /opt3/ptc/Windchill/bin/adminTools/rehost/xslt/updateIeServletParams.xsl
[xslt] /opt3/ptc/Windchill/bin/adminTools/rehost/xslt/updateIeServletParams.xsl:2: Warning! Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
[xslt] Processing /opt3/ptc/Windchill/codebase/WEB-INF/web_rhost.xml to /opt3/ptc/Windchill/codebase/WEB-INF/web.xml
[xslt] Loading stylesheet /opt3/ptc/Windchill/bin/adminTools/rehost/xslt/updateIeServletParams.xsl
[xslt] /opt3/ptc/Windchill/bin/adminTools/rehost/xslt/updateIeServletParams.xsl:2: Warning! Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
[delete] Deleting: /opt3/ptc/Windchill/codebase/WEB-INF/web_rhost.xml
[echo]
[echo] Re-hosting complete...
[echo] Running configuration troubleshooter...

init:

troubleshoot:
[echo] Done...


Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265

Try this:



  • Export the entire file in Directory Server

  • Open in MS Word

  • Replace with case sensitive on with from <old server=" name="> to <new server=" name=">

  • Backup the Directory Server root on the new server

  • Delete the Directory Server root on the new server

  • Import the modified from export server file.

If you are rehosting, you need not do this. The rehosting script can do this for you.....its sleek the way it works..

Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265

Hey Guys,

Alexius is right. You should use the supported method of rehosting in the Rehost Guides for Windchill 10<">http://www.ptc.com/WCMS/files/124969/en/WCRehostGuide.pdf> and 9.1<">http://www.ptc.com/WCMS/files/105438/en/WCRehostGuide.pdf> which for the directory LDAP servers on page 3-7 and 3-8. I have to check if it constantly keeps on adding branches instead of changing it which looks very messy and confusing in the long run. Hopefully, PTC doesn't keep changing its LDAP structure based on next release of Windchill. Thus, you'll be maintaining a Windchill 7/8.0 LDAP structure on a Windchill 10 LDAP.

The method of just modifying it in MS Word is not supported but have been working since Windchill 6.2 to 9.1, which maintains only one branch and looks like a brand new install with no duplicate branches.

Have fun,

Patrick

Hey Guys,

As Patrick indicated, updating the LDAP in MS word works, however, there is a risk with that, in the sense that if you accidentally fatfinger something that could potentially caused you more problems and delay the time you need to bring the rehosted system online. I don't believe the script adds new nodes, I think it just changes all the references of source server names, and specifics to the target server name, and specifics. That at least has been my experience with the rehost script.


Thanks

Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265

Ummm... where does one find this mythical "rehosting script"? I'm in dire need of something like this to create a test environment off of our production set. PTC gave me the Rehost Guide but didn't mention anything about a script.

For what it's worth, production set currently exists in a virtual environment and the test set will be the same.

Thanks,
-Ter

Terry,

The rehost script is located in your windchill loadpoint at <windchill>/ bin/adminTools/rehost/build.xml. The rehost guide gives you detailed instructions on how to run this ant script. The section that discusses this is "Cloning LDAP contents from source LDAP to Target LDAP".



Thanks

Alexius C. Chukwuka
IT Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265
Announcements

Top Tags