Focal Point
[CLOSED] MREExtract & CMLOAD Java PAth Help

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/270102194

July 19, 2010, 01:43 PM
Arif
[CLOSED] MREExtract & CMLOAD Java PAth Help
I am migrating/moving users & groups and roles from my older IBI srver t new server. I am going to use MREEXTRACT.BAT and MCLOAD.BAT. I was wondering what is JAVAPATH for the server? Where do I find this configuration?

 
SET JDBC_DRIVER_JARS=

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.10
Windows
HTML
July 19, 2010, 10:05 PM
Arif
Has anybody ever used MRextract utility for user, group, and role migration? I am looking at adming guide but I am losing where its telling me it creates .txt files but its not explaining how these text files get populated and what do I need to do with these text files? I am at this point thinking about useing output form Rcaster SQL DB and populate my Rcaster tables in new server. Any comments?


WebFOCUS 7.6.10
Windows
HTML
July 20, 2010, 09:41 AM
CLH
MRExtract is used to copy all your user information, it creates several text files that contain information about the user, role, groups and domains. (we run it all the time as we then report off the files created)

CMLOAD is a companion to CMEXTRAC and is used for report code.

If you want to migrate Rcaster information then you need to use the Report caster change management utility.

I have used all so let me know what you are trying to do and I'll see if can provide you more information.

As for the java path it is the path to where the drivers are for your repository. We use oracle so it is where the ojdbc14.jar file is.


Webfocus 8.0.7 on Windows
July 20, 2010, 09:58 AM
Arif
quote:
We use oracle so it is where the ojdbc14.jar file is.

Thank you for your help in advance. I have new production server installed. I want to move all the users, groups, and roles from my old server to new server. I am using SQL server and i have following MREXTRACT file:
set JDBC_DRIVER_JARS= D:\MSJDBCDriver\sqljdbc4.jar 

echo -----------------------------------------------
echo  Managed Reporting Repository Extract Utility
echo  WebFOCUS Release 7
echo -----------------------------------------------

set ROOT=..\webapps\webfocus76
set IBI=%ROOT%\WEB-INF\lib\ibi_resolver_1_1.jar;%ROOT%\WEB-INF\lib\ibi_xalan_2_7_0.jar;%ROOT%\WEB-INF\lib\ibi_xalan_2_7_0_serializer.jar;%ROOT%\WEB-INF\lib\ibi_xerces_2_7_1.jar;%ROOT%\WEB-INF\lib\ibi_xml_apis_1_3.jar
set UAS=%ROOT%\WEB-INF\lib\uas.jar
set IBIEXTRACT=IBIExtractRepos.jar

set CLASSPATH=%IBI%;%UAS%;%IBIEXTRACT%;"%JDBC_DRIVER_JARS%"
 echo Extracting MR User Data...
java -cp %CLASSPATH% ibi.util.IBIExtractRepos %ROOT%\WEB-INF -users > .\IBIMRUSR.TXT

echo Extracting MR Role Data...
java -cp %CLASSPATH% ibi.util.IBIExtractRepos %ROOT%\WEB-INF -roles > .\IBIMRROL.TXT


echo Extracting MR Group Data...
java -cp %CLASSPATH% ibi.util.IBIExtractRepos %ROOT%\WEB-INF -groups > .\IBIMRGRP.TXT

rem echo Extracting MR Domain Data...
rem java -cp %CLASSPATH% ibi.util.IBIExtractRepos %ROOT%\WEB-INF -domains > .\IBIMRDOM.TXT

rem echo Extracting MR Domain Content Data...
rem java -cp %CLASSPATH% ibi.util.IBIExtractRepos %ROOT%\WEB-INF -domaincontent > .\IBIMRDMC.TXT

echo Finished. 

pause
 


I dont need domina and content information because I was able to get domain information running MREchange management and move it to my new server. What do you recomend. How can I accomplish moving users, grousp, and roles to new server?



Regards,
Arif


WebFOCUS 7.6.10
Windows
HTML
July 21, 2010, 10:29 AM
dlogan
If they're the same release level, I would simply copy the database if using MR External authentication/authorization, or the basedir if using internal.

Thanks,
Doug Logan


WF 71.x, 76.x, 7701, 8.0 Beta OS: Linux, Win2k3, Win2k, Win2k8, WinXP