Pages

Monday, March 21, 2016

How to get Folder Structure including File details from WCC server using RIDC

How to get Folder Structure including File details from WCC server using RIDC 


purpose : To get a folder strucutre from FF enabled WCC server

Output will show Folder details with Parent Folder and contentID belongs to each folder 


RIDC java class :  https://github.com/sterin501/FolderStructure
  1. Edit the config.properties file
  2. Run the code like java FldStructure FLD_ROOT

IdcService used : FLD_BROWSE

Example : output
java FldStructure FLD_ROOT --> Shows Parent and child folder && <--> Shows the contents



FLD_ROOT-->C9394B7D72DB6648F6DE0ACB220E6258<---> C9394B7D72DB6648F6DE0ACB220E6258-->DB9C18541DDA74BEBFBEE5F008D2FB03<--->PS7003005,PS7003001,PS7003010,PS7003011,PS7003009,PS7003007,PS7003003,PS7003002,PS7003008, FLD_ROOT-->BE91ED870AA7F1DECC857E3FCEDA0C5D<---> BE91ED870AA7F1DECC857E3FCEDA0C5D-->B4730B5CDCD9217F9D7EC85DDD464303<---> FLD_ROOT-->FLD_ENTERPRISE_LIBRARY<---> FLD_ENTERPRISE_LIBRARY-->BDF314BBFB0735189BA579633B8F52F1<---> BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D<---> FLD_ENTERPRISE_LIBRARY-->06767B69F8092A70DFA370E65C8D5991<--->PS7008822, FLD_ENTERPRISE_LIBRARY-->24F3ADC920D186FA683D16837133F225<---> 24F3ADC920D186FA683D16837133F225-->61AADBD3C3341654311E113EFCC1055F<---> FLD_ENTERPRISE_LIBRARY-->E9D9BF42F08586C8FEA763DFC45E9492<--->PS7008222, E9D9BF42F08586C8FEA763DFC45E9492-->79B3EBBC303C17D1F66EC0CA9D7F331B<---> ........................................ .......................................
Total Folders Under FLD_ROOT : 29 Total Contents Under FLD_ROOT : 59 Folder Mapping FLD_ROOT-->C9394B7D72DB6648F6DE0ACB220E6258-->DB9C18541DDA74BEBFBEE5F008D2FB03 FLD_ROOT-->BE91ED870AA7F1DECC857E3FCEDA0C5D-->B4730B5CDCD9217F9D7EC85DDD464303 FLD_ROOT-->FLD_ENTERPRISE_LIBRARY-->BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D FLD_ROOT-->FLD_ENTERPRISE_LIBRARY-->06767B69F8092A70DFA370E65C8D5991
:Second
java FldStructure BDF314BBFB0735189BA579633B8F52F1 --> Shows Parent and child folder && <--> Shows the contents BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D<---> ...................... Total Folders Under BDF314BBFB0735189BA579633B8F52F1 : 1 Total Contents Under BDF314BBFB0735189BA579633B8F52F1 : 1 Folder Mapping BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D

Tuesday, March 8, 2016

How to convert single managed server to WCC cluster on the same physical machine ?

How to convert single managed server to WCC cluster on the same physical machine ?





How to create Vertical  cluster for WCC server ?

Can we run different nodes of same cluster of WCC in same physical machine ?



By defaultVertical  clustering is not possible for WCC cluster . Intradoc port will be read from config.cfg of cluster and it is same for all the nodes . Because of this two different nodes are not possible to run on same machine .

With the help of customization intradoc port can be assigned based on the same name . So with out any shared file system and different machine , WCC can be scaled up . This steps is almost equal to create new Managed server as UCM_server2 in the same domain and in the same physical machine


P.S : This method  is NOT supported by Oracle


Steps :

1.Install Custome component (filter) to change the intradoc port during statrt up

2. Add new cluster in weblogic and add new server

3. Restart the servers





Detailed steps ( Here converting single node to WCC cluster )

1. Install Custome component (filter) to change the intradoc port during statrt up



2. Restart the UCM_server1

3. Access the admin server of the domain

4. Add new cluster as UCM_Cluster ( use default options)












                 



















 5. Create new server as UCM_server2



















































6. Add the UCM_server2 to UCM_cluster






































7. Point the CSDS data source to cluster


































8. Change targets of below applications from UCM_server to UCM_Cluster



1. Oracle Universal Content Management - Content Server

2. Oracle UCM Web Services
3. Oracle UCM Native Web Services
4. DMS applications
5. Oracle UCM help
6.wsil-ws



9. Restart the admin server



10.Set the new intradocport for UCM_server2 in config.cfg as
UCM_Server2IntradocServerPort



11. start the UCM_server2 like
./startManagedWebLogic.sh UCM_server2 t3://adminserver:port



12. Verify the intradoc port UCM_Server2


Either by

a. netstat -anp | grep <port>
or
b. Configuration info page



13. Start the UCM_server1



Make sure that only one server is restarted at a time . If customer want disable indexer in one node then further customazation is required like step 1