Coping Portal objects from Test to production on different Domains
I want to know if anyone besides my company uses separate domain environments to do development, QA, and production. How did you get around the object owner issues that come from this level of security. Did you have to Export OID objects from one environment, and import them into the other environments to get a common GUID? Do you use a common user to do development? I would like to hear some common/best practice advise if you have any.
For those that want to understand the issues here is a little example:
For this example, I am going to call my company Acme (I like this name). Acme uses a Sneaker method of security (Sneaker method means - To move data from one level to another, you must put in on a diskette, tape, or CD and put your sneakers on the floor and walk it to another location to install it.). While this is the most secure method out there to day, it makes working in development EXTREMELY difficult. Completely isolated environments require special concerns. I wanted to know if anyone out there does this now, and how they manage these issues.
Domains:
www.Acme.com
www.QAAcme.com
www.DevAcme.com
When you do development on your site you login as a portal developer JSmith, or KJones, of BRight on the www.devacme.com domain. You build your Portal objects and custom stuff. Now you want to move it to QA, so they can test it and promote it to Production. You build your transport sets. You export using your UNIX script and get your file. You burn the file and the UNIX script to CD.
You then take the CD to the www.QAAcme.com domain Portal server and login to that system as Oracle / OrcAdmin (God mode). You run the Import script as you normally would. <Error> This doesn't work completely because your user Jsmith is different on this domain and doesn't carry the same GUID in OID. While privileges and spelling are identical, the GUID's in OID differ and the domain names dont match. (Problem - Separate domains and OID identities - objects without matching owner GUID's will not import.)
When you check your stuff you realize that some or most of your work is missing, and all of the security that you placed on the objects is not working correctly either. Because domains are different, any OID users which you assigned permissions to are now not working at all. You will have to redo all the permissions work on this domain just like you did on the other domain. (Problem - there is no easy way to change domain names associated to OID users or group accounts, even if the names are EXACTLY the same. Permissions do not move over for users so assigning item level security is a waist of time since you will have to manually do all that work over again.)
To correct then problems above, you go and export OID user objects like OrclAdmin, IAS_Admin, and a few others. You import these identities on each domain. Now what? Do you give developers 1 identity to do their work? Pass out the Admin passwords on Dev to all the developers to do as they please? Do you build a Dev User for each Developer you have and manage those ID's outside of your normal routine?
This should draw a somewhat clear picture. There are more issues besides these. I left those out of this talk for now.
If you have questions please let me know. I would like to hear input on this. Right now, I don't have any easy solutions, just a lot of extra work. Thank you in advance for any input.
Frank
Hi Frank,
A very interesting question, which I never tried nor seen. Anyway, maybe I can try to give you a hand...
I believe the major problem doesn't seem to be the GUID but rather the privileges of the users / groups within the Portal. I'm assuming that you really want that the users and groups privileges be assigned to the three Portals, 'cause you wanna test them or something like that... otherwise it would be a lot easier to assign them only to the Production machine - also what the Portal documentation encourages you to do (and never take them with the Portal Export / Import... ie, the Portal ACLs).
In overview, what I think it might work, would be something like:-
1. Export all the OID users / groups to LDIF files.
2. Change the domains in the LDIF files to the Target Portal.
3. Import all the OID users / groups to the Target Portal.
4. Export with the Portal Export to a Transport Set.
5. Export the Transport Set to a DMP.
6. Import the DMP.
7. Backup the Portal Target at this stage - ALWAYS!
8. Before merging the DMP file the WWUTL_SEC_TX_PERSON$ and WWUTL_SEC_TX_GROUP$ tables need to be changed - DN (security is taking IDs of the users/groups internally to the Portal - so this should be fine).
9. Merge the Transport Set within the Portal UI.
Till point 8 it should be easy to be done... and you may check the Portal Configuration Guide over the 10.4.8 Migrating Users and Groups - http://download.oracle.com/docs/cd/B14099_19/portal.1014/b19305/cg_imex.htm
On step 8 do something like the following:-
-- groups (dn)
update WWUTL_SEC_TX_GROUP$
set dn=replace( dn, 'dc=dev_domain,dc=com', 'dc=prod_domain,dc=com' )
update WWUTL_SEC_TX_GROUP$
set dn_hash = wwsec_api_private.get_dn_hash( dn )
-- users (dn)
update WWUTL_SEC_TX_PERSON$
set dn=replace( dn, 'dc=dev_domain,dc=com', 'dc=prod_domain,dc=com' )
update WWUTL_SEC_TX_PERSON$
set dn_hash = wwsec_api_private.get_dn_hash( dn)
If you do have the opportunity to test this, I'd be much appreciated in knowing whether you've achieved to get this sorted out. And even if there is something I may be missing then you may come back with your questions as I'll try to answer them to my best knowledge.
Alternatively, you can use the cloning notes within the Metalink website, what they do is a schema database export / import and there it IDs with be there. The only downside is that the export / import will do everything and Portal Export / Import is more flexible, ie, you may not be interested in bringging the whole Portal, but just a couple of pages or Page Groups.
I hope it helps...
Cheers,
Pedro.
PS - I hope all the above makes sense, but if not, just let me know (or detail me what do you want where I've failed to understand you).
Similar Messages
-
Moving/Exporting Seeburger configurations/objects from QA to Production
Hi,
I need some expert advise in moving Seeburger configuration objects like splitter adapter,AS2 adapter configurations from QA to Prod.
Our scenario is like this , in the Seeburger message splitter we have defined the splitter adapter based on the AS2ID for different vendors/suppliers/customers. now when we go live on couple of customers every week, we are manually creating/configuring the seeburger channels in production. Is there a way to do it automatically like Exporting the objects in XI from QA to Prod???
Any help is much appreciated.
Thanks and Regards,
PreetiHi Preeti,
For moving the congiguration objects from quality to production, you need to configure transport groups in the SLD so that when you are moving configuration objects from quality to production it will take Production R/3 system.
For Transport Groups check the below links
/people/sap.india5/blog/2005/11/03/xi-software-logistics-1-sld-preparation
http://help.sap.com/saphelp_nw04/helpdata/en/ef/a21e3e0987760be10000000a114084/content.htm
But you need to manually change AS2ID and Partner Number according to production environment in the Party which you configured for each customer in the ID.
Regards,
Prakash -
How do I remap the connection from test to production
We are in the process of setting up EPIC's Healthcare software and purchased BO XI 3.1 for the reporting. And one of the topics is what is the best practice for managing the data connection to redirect from server to server. Each report will have to move through 3 servers, ClarityPOC (development) server, then once logos are on them and they are tested we need to move them to Clarity_QA (test) and then again to Clarity_Prod (production) server.
Thanks,
PhilHi Phil,
There are couple of ways to move the objects from Dev to QA followed by Production.
1). LCM Method, where you need to install software and add the Dev, QA and Prod and move the Objects as Hakim said.
Here are some more documents to refer
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_lcm_user_en.pdf
http://help.sap.com/businessobject/product_guides/boexir31/en/xi31_LCM_User_en.pdf
2). Another method is Import Wizard
In this method, you don't need LCM tool, In the installed BO, there is a wizard called import wizard where you can move the objects around.
If your Version of BI is 4.0 then LCM is integrated in BOBJ.
Here is the screenshots for Import Wizard.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40ec9e71-9e69-2e10-d388-e7eda0a6a965?QuickLink=index&overridelayout=true
Thanks,
Sravanthi -
Transport of object from Quality to Production.
Hi,
I am a technical designer and have a limited understanding on the transport management system and basis.
I had recently created an object on the development system and provided my user with the transport request number. She had moved it to Quality and tested it. The object is working fine and she wants to move it to the production system.
I was under the impression that the request would show up on the production system and could be imported from quality but it is not.
Could some one explain as to what I am missing here? Is there anything I could do from my side to get the object moved from Quality to Production?
Regards,
Prem.Hi Prem
Plz check whether your request is relased and transported
correctly.
for this log into quality system and type the tcode STMS_IMPORT.
search for your request,
if available ,check if there is a green tick mark against that, if yes then it can be imported to production system ( that has to be done by your BASIS personell).
if not,
check any filter criteria is set in the fields displayed and remove / change if required that as per requirement.
or , use the menu path GOTO -> IMPORT HISTORY (Ctrl+F7) and search ther (here also check for the filter criteria).
it should be available, if it is transported correctly.
do the same in your production system also, u can find your request (but unless transported to production there will not be the green tick mark against that)
reward if useful.
Regards
Prabumanoharan -
Automatic Deploying of Portal Configuration from Staging to Production Environment
Hello,
I'm anlyzing the opportunituy to write an automatic procedure that synchronize
our WebLogic Portal production environment with the staging one. These two environments
are physically separated.
I have found the BEA Propagation Tool. However it seems that is not possible to
define a procedure that is really totally automatic.
Firts of all, it is necessary to hava an manual operator that selects the objects
that have to be propagated and after starts the propagation process.
Besides it is necessary to have database connections beetween the progation tool
and both the environments.
What I'm looking for is a solution that
1. analyze the staging environment
2. export some files that contain both code, configuration and data (code, LDAP
and DB data)
3. import these files into the second enviroment
has someone deal with this problem?
Thans in advance
CiaoManish,
to answer your questions -
1. You can find the exact date and time for these refreshes/maintenance schedule on your production pod. Just go to 'Training & Support' in your production. There will be a calendar in which you can see the maintenance schedule. The details are quite accurate. to be sure of the time I would suggest you get in touch with the Service/Support rep at Oracle.
2 & 3) Oracle CRM On Demand provides a Migration Tool that can be used to migrate configuration changes from on POD to another. This can be between Staging --> Production and vice versa. Although, I would recommend that you go through the migration tool bookshelf and understand in detail the use of this tool. There are limited configurations that can be migrated. So it would be wise to create a plan based on what changes you are looking to migrate.
Note: Reports are copied on the Staging after the refresh only from Prod to Staging. This does not happen from Staging to Production. Reports will have to be created in Production and will be copied on Staging on a Quarterly basis (Check your refresh schedule)
4) You can use the migration tool to migrate configuration changes from a live environment into another instance.
The migration tool can be downloaded from:
Admin --> Import and Export Tools -->Oracle Migration Tool On Demand
You can download the Migration Tool Bookshelf here:
http://docs.oracle.com/cd/E22393_01/books/OnDemMigrTool.pdf
Thanks,
Royston -
Steps for Go Live for Webtools moving from Test to Production
Further to the useful checklist in the wiki recently supplied by Bryce can I ask for some minor gaps to be filled ( perhaps by inserting a few additional steps in that document)
I have yet to hit the issues created by a go live implementation but this is only a matter of time...
I am trying to work out what needs to occur between having :
a) a test B1 database successfully synching to a test WT site and db set up
and
b) the Production B1 database initially synched to the the live WT live WT db ready to accept the first live transactions.
1) Copy WT site from test to live location
2) Change Server config, settings and Tables tabs in Synch Manager click on 'Install Plugin' to add custom fields to Production B1 database
3) ......
I am stuck as to what needs to be done to "reset" the WT back end db and how one goes about this.
Coupled with this and probably part of the answer is the 'Initialise Synch' button. It would be useful to understand exactly what this does in terms of data - presumably it is only transactional data - but which tables are affected?
Also if there's anything else that I might have overlooked in terms of potential pitfalls I'd be grateful for advice - the recent posts regarding product trees and images come to mind.
ThanksFirst thing is to plan for some downtime in your B1 databases. Nothing more frustrating than having new data come into b1 when you're trying to set this up. So perhaps do this at night or on a weekend when no one is using B1.
Install Plugin operation adds UDF's, edits the stored proc in b1 db, and creates the queue table, PRX_Transaction_Queue
Initialize synch runs upgrade scripts(if applicable), deletes all data that has synched from B1 previously(or would synch from Wt to B1, like a test order created in Wt) and inserts all relevant data into the queue table in B1 db. Also the synchid's are reset. It's pretty much the same list as is displayed on the Settings page of the Synch Manager. Please someone correct me if I'm missing something here!
Pre-requisites:
- Name the Wt db relevant to its position in the environment. B1Webtools is not the greatest name, it's meant to be a jumping off point. Rename your Wt db in the way that you would for B1. ie WebtoolsLive, WebtoolsTest. Makes things easier
Two options:
1) Presuming you have a test Wt db and a test b1 db or even a test Wt db and a production(live) B1 db, you could duplicate the test Wt db and change the synch manager config to point to the B1 live db. Install the "plugin" on the new B1 live db and enter your table mappings. Initialize synch will delete all the data that has synched from B1 test db to Wt db(now live db) and reset the synch id's to zero. These will be populated during the synch. Then Run Synch.
Caveat: This option is fine if your synch takes a "short" period of time. Short being an hour. If you have say 20,000 business partners with 3 years of order history and 300 lines per order... expect several hours.
2) Create a test synch profile and a live synch profile in tandem and update only the live synch profile with data. Also, have two web tools websites but work primarily in the live one. The synch manager will auto synch both profiles every time the service runs(set by you)
When it's go time, copy the live db's over the test db's so you have a test environment exactly matching your live environment. Now, obviously as soon as new data goes into the live db it's out of synch, but this way you have a test system you can break or use to test upgrades, etc.
As you might guess, there are a number of ways to go with this. It really does depend on a) how comfortable you are with moving data around in SQL and b) what your setup entails.
I think the best thing you can do is make it as simple as possible. Don't overthink things and make sure you have a backup of everything before you start.
Good luck! -
What is the best practice to deploy the SharePoint site from test to production environment?
We are beginning to start a new SharePoint 2010 and 2013 development projects, soon developing new features, lists, workflows, customizations to the SharePoint site, customization to list forms and would like to put good practice (that will help in deployment)
in place before going ahead with development.
What is the best way to go about deploying my site from Development to Production?
I am using Visual Studio 2012 and also have Designer 2013...
I have already read that this can be done through powershell, also through visual studio and also via designer. But at this point I am confused as to which are best practices specifically for lists, configurations; workflows; site customizations; Visual studio
development features; customization to list forms etc. You can also provide me reference to links/ebook covering this topic.
Thanks in advance for any help.Hi Nachiket,
You can follow below approach where the environments has been built in similar fashion
http://thesharepointfarm.com/sharepoint-test-environments/
if you have less data then you can use http://spdeploymentwizard.codeplex.com/
http://social.technet.microsoft.com/Forums/sharepoint/en-US/b0bdb2ec-4005-441a-a233-7194e4fef7f7/best-way-to-replicate-production-sitecolletion-to-test-environment?forum=sharepointadminprevious
For custom solutions like workflows etc you can always build the WSP packages and deploy across the environments using powershell scripts.
Hope this helps.
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
Hi, can you answer me specifically with regards to the foll:-
lists
configurations
workflows
site customizations like changes to css/masterpage
Visual studio webparts
customization to list forms
Thanks. -
Transporting an object from testing client to development client
Hi,
This is Sekhar . My question is
If i transported an object from development client to testing client .After transporting object to testing client i got a bug so that ABAP developer should work on that and how could i modify that bugs in testing client .Is it possible to modify in testing client? Is their any reverse transportation from testing client to development client?
please give me reply for my question.
Thanks & Regards
Sekhar RaoHi Ankesh,
You said that
" If there is a bug then make appropriate changes in DEV and transport the object again.
Reverse transports are not needed and such paths are not created. "
I am asking that my object is in TES client and i need it in my DEV client again to make appropriate changes for bugs i got.then what i had to do.
please reply me
Thanks & Regards
Sekhar -
Problem in importing scenario objects from Development to Production in XI
Dear Gurus,
I have a certain probelm happening as follows:-
We have a 3 Sytem Landscape as follows :-
Client 400-Development ,
Client 500- Quality
Client 700 - Production
When he scenario (.tpz) files of directory and integration server are transported from 200 - 500 , (ie .tpz files are transferred from the export folder of directory and repository server to import folder of directory and repository server via FTP) the scenario is visible in the namespace in 500 .
The same when followed in 700 , after importing the objects from the import options under tools in repository as well as directory , the objects are not imported under the specified namespace in it's SWCV.
Please suggest what could be done !!!!
PS: We have deployed XI 3.5.Hi Ashish,
I hope you have done ftp from 500 to 700 instead of 400 to 700. If yes then I dont think you should run into any of these issues. Also when it is done are the objects available in import and export folders of client 700 which is your production. If yes then try to import them in production. Also make sure you dont have anything in your change list. If you have something under the change list then you may run into some issues. Also look at this blog for the folder loactions:
/people/sap.india5/blog/2005/11/09/xi-software-logistics-ii-overview
Regards,
---Satish -
Transporting object from development to production server
Hi Everyone,
Could you plz tell me how can i transport a object from development server to production serevr if that object is local in production server. And also could u tell me if the transfer structure is replaced if the names are different in both the server???Could you plz tell me how can i transport a object from development server to production serevr if that object is local in production server.
Case 1: Object is in Prod, but not in Dev. and you want to align the systems through transports.
You will have to send it to D (which could be done by changing transport routes & then following normal transport procedure) & then will have to bring it back with overwrite originals.
Case 2: Object is present both in Prod & Dev.
You can send the transports D->P with Overwrite originals (following the transport procedures).
And also could u tell me if the transfer structure is replaced if the names are different in both the server???
If technical names are different in both the servers, the transfer structure will not be overwritten. -
Transfer data from Test to Production Server
Dear All
I want to know how to transfer data from test server to production server.
Lets say we have done all the setup steps of GL, and we have also feeded chart of accounts, journal entries, recurring etc. at our test server. Now we want to shift our data from Test Server to Production Server.
What can be the procedure?
I shall be really thankful.
Best Regards
Muhammad Habib
http://mhabib.wordpress.comDear hsawwan
Thanks for your reply. Can you send me this document via email. My email id is: [email protected]
Secondly can you please tell me how to just transfer my Chart of Account.
I shall be really thankful to you.
Best Regards
Muhammad Habib -
Migrating Trading Partner from test to Production environment
Hi,
My Production environment has configuration for two trading partner.
I need to migrate one more trading partner from test environment to (the existing) production environment.
I see Agreement level export, TP level export, Config level export options in Oracle B2B.
Can you please suggests as to which is the fastest and most accurate way to migrate new trading partner configuration?
Regards,
Ravi ShahThere is nothing as preferred option. However you can keep few things in mind.
1. Agreement Export - Preferred option , if you would like to export only specific Trading Partner and Agreement details.
2. Repository Export - For full repository export.
3. Trading Partner Export - This option do not keep any TP in mind while taking the export, hence you may not information about Delivery channel and Agreement. This provides information about Trading partner profiles and Supported Document defition of the trading partner.
Let me know. -
Links from tests to production classes
Our source tree has two top-level branches: one for test and the other for production classes. The package (subdirectory) structure is identical in both branches. This is, I believe a fairly common arrangement. However, it creates a problem with Javadoc that I haven't been able to solve. I want to build documentation collections separately for the two branches, so that the test and production classes aren't commingled. If I do this, I get warnings about @link references not being found wherever the documentation of a test class links to the documentation of a production class, even though they are in the same package. I've tried various solutions: "-link"ing to the production documentation, including both branches of the source tree in the source path and naming the test classes (rather than the packages) on the command line, etc. Nothing gives me the results I want.
Given how common (I believe) this organization is--to the extent that it's supported by some IDEs--I'm surprised I can't get Javadoc to do what I want. Am I missing something, or is this really not possible?I've tried that. It doesn't work.I assume you have the sources for one package split across two source locations. Have just tried this under Windows with jdk 1.5.0_06 and 1.4.2_10 and they both seem to allow this.
Created this class file in src1\p1\Reg.java
package p1;
public class Reg {
* Does something
public void doit(){
System.println("done it");
}And created this class file in src2\p1\Reg2.java
package p1;
public class Reg2 extends Reg {
* The main
public static void main(String[] args){
new Reg2().doit();
}And then ran the command:
javadoc -sourcepath "./src1;./src2" p1I get one set of documentation that includes both classes with links between them, but no errors. -
Rman duplicate database from test to production different host
Dear All,
usually i do the rman duplicate (clone) database in different host using same backup location as the source database in target database.
now i am in situation to clone the database with different backup location
source database location:/u01/db/backup
target database location: /tmp_dbbkup
is it possible to create the duplicate database with the command
rman target sys@UAT1 auxiliary /
RMAN>CATALOG BACKUPPIECE '/tmp_dbbkup/UAT_2670198561_44_20110101;
RMAN>duplicate target database to DEV;
is it ok?
we dont have privilege/rights to create a folder/directory in production server.
what i have to do now?
thanks in advance.
my oracle version: 10.2.0.4.0
operating system: AIXtychos wrote:
Hi rajeysh,
what i have to do now?You could make a sym link on the dev server
So /u01/db/backup on the dev server points to /tmp_dbbkup
Regards,
Tychothank for your reply tychos,
$ ln -s /u01/db/backup/OUAT_2670198561_44_20110101 /oracle/db/backup/UAT_2670198561_44_20110101
$ ls -ltr
total 1475968
-rw-r----- 1 oracle dba 307654656 Jan 7 10:03 db_DEV_20110107_4em1gm3e_1_1_L0
-rw-r----- 1 oracle dba 448030720 Jan 7 10:03 db_DEV_20110107_4dm1gm3e_1_1_L0
lrwxrwxrwx 1 oracle dba 45 Jan 11 20:53 UAT_2670198561_44_20110101 -> /u01/db/backup/OUAT_2670198561_44_20110101
$ ln -s /u01/db/backup/AOUAT_2670198561_46_20110101 /oracle/db/backup/OUAT_2670198561_46_20110101
$ ln -s /u01/db/backup/OUAT_2670198561_47_20110101 /oracle/db/backup/OUAT_2670198561_47_20110101
$ ln -s /u01/db/backup/OUAT_2670198561_45_20110101 /oracle/db/backup/OUAT_2670198561_45_20110101
$
is it ok
will the duplicate gets the information from /oracle/db/backup
if i did anything wrong , please correct me? -
Migrating PS from test to production server
Hi,
I'm going on a evaluation test for PS. It's installed and configured on a temporary server (the test server) and working fine. The next step is to have this working on the "real" environment, it means in the production server.
What will happen with the documents I've already applied a policy? Can i use this documents with the new installation? Will the documents be managed with the new server?
Thanks, regards.Given this, I think I would be inclined to set up a virtual server or
DNS alias for the production server, like
adobepolicyserver.mycompany.com.
That way, you can freely move the policy server function around by
moving the software and changing the alias. If you simply use a name
assigned to the server for another purpose, you could hit the
situation where someone else decides that name has to change for
administrative reasons, or where e.g. there come to be two production
servers and someone decides Policy Server needs to move to the second
one to balance the load.
Aandi Inston
Maybe you are looking for
-
When I subscribed to Match this morning iTunes used the account I set up ages ago. When I set up iCloud on the iPad it pushed me to the MobileMe account but now the iPad doesn't recognize the iTunes Match subscription but it does exist on the AppleT
-
ITunes will not open or uninstall/ reinstall
Every time I try to open iTunes (version 7.3 I think) a message pops up that says "This action is only valid to products that are already installed" And when I try to unistall it/ reinstall it a thing pop's up saying "iTunes setup can not locate iTun
-
Can the G4 accommodate external drives in addition to the 2 ATA internals?
Hi all, I have a G4 dual 1GHz machine (Sales Order Number: M8667LL/A) with two 120 ATA internal drives. I am happy with them but I want to have more HD space. I read Apple's pdf file on G4's capacity and seems to indicate that this tower only will ac
-
Function Module or BAPI to get inventory turnover in abap
Hello, is there a possibility to get the information of inventory turnover of an material with help of a function module oder BAPI? Like the transaction MC44. But I need it in an ABAP-Report. A simple calculation is easy, but not an exact calculation
-
Mac pro 13 (2014) or Mac Air (2014) for basic Photoshop use
I am a college senior about to enter the advertising industry and want to get a Mac as it is the industry standard in the ad world and to brush up on my Photoshop skills. I am looking for a mac computer priced between $1,000-$1,500 with education dis