So below are the steps we followed for upgrading our existing ODSEE set-up to the latest 11.1.1.7.0 .
1. Find out the patch for the version you wanna upgrade to (in this case Patch: 29893742)
2. Take complete backups of the dsee7 folders.(preferably using tar -cvf or tar -cvzf test.tar.gz).
3. keep the ODSEE installation owner credentials ready with you .
4. Patch the server which hosts the Directory Server Control Center before you patch any other servers. (often the admin server)
Once the basics are done, and you've already downloaded the patch file from Oracle site :
5. check the odsee instances informations with the below command :
$ install-path/bin/dsadm info instance-name
6. check the current version of the ODSEE :
$ install-path/bin/dsadm -V
7.Be sure the Directory Server and Directory Proxy Server instances you are patching are started before running the dsccsetup prepare-patch command.
You can use ps -ef | grep slapd command for it
Run the following command :
# install-path/bin/dsccsetup prepare-patch
what this does is, it attempts to stop all the instances at one go by running the below command for each, if it fails for any reason, it warns you and you've to manually stop the instances with :
# install-path/bin/dsadm stop instance-path
8. Next steps would be to completely unzip the patch-set binaries to the current installation :
# unzip -q p29893742_111170_.zip
# gunzip -c dsee.11.1.1.7.190716..full.zip.tar.gz | tar -xf -
# unzip -q sun-dsee7.zip -d install-path
# cd install-path/dsee7
This step effectively overwrites the existing installation, by this I mean it only overwrites the existing binaries that oracle provided for the ODSEE, and existing in the patch AND in the install-path both , should be overwritten.
No subfolder , or instance-homes you may have created under dsee7 folder, won't be affected.
9. Run the follwoing command to complete the patching:
# install-path/bin/dsccsetup complete-patch
Notice if it outputs upgrading the instances , if not run the following commands separatetly :
To patch all Directory Server instances that were not patched , run the following command:
# install-path/bin/dsadm upgrade -i install-path
To patch all Directory Proxy Server instances that were not patched , run the following command:
# install-path/bin/dsadm upgrade -i install-path
10. If you are patching the server that hosts Directory Service Control Center , redeploy the Directory Service Control Center (DSCC) WAR file, install-path/dsee7/var/dscc7.war to /root/weblogic-deploy-base/dscc(check the path from wlst console under deployment for dscc, it may not be same for your environment ).
Recreate the war file by running the following command :
# install-path/bin/dsccsetup war-file-delete
# install-path/bin/dsccsetup war-file-create
To Deploy the DSCC WAR File With Oracle WebLogic Server
10.a - Browse the WebLogic console using http://localhost:7001/console.
10.b - Navigate to base_domain/Deployments in the Domain Structure panel.
10.c - Click Lock and Edit.
10.d - Click Install.
10.e - Click Upload your file(s).
10.f - In Deployment Archive, select install-path/var/dscc7.war and click Next.
10.g - Select dscc7.war and click Next.
10.h - Select Install this deployment as an application and click Next.
10.i - Provide a Name for the deployment, accept the default Optional Settings and click Finish.
10.j - Click Activate Changes in the top left corner. The dscc7 deployment must be in the active state.
Use http://hostname:port/dscc7 to connect to DSCC.
The default port number for Oracle WebLogic Server is 7001.
IF the dscc app is not on 'Active' stage after step 10.j above, and on 'prepared' stage, do the following :
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/03-DeployApps/deployapps.htm
Select the check box to the left of the application in the Deployments table. Then use the Start drop-down list to select Servicing all requests.
Click Yes to continue.
A message is displayed indicating a start request was sent. Momentarily you will see the State of the application become "Active."
at last, check the versions again by running :
$ install-path/bin/dsadm -V
dsadm : 11.1.1.7.190716 B2019.0627.0913 ZIP
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
[slapd 64-bit]
Oracle Corporation.
Sun-Directory-Server/11.1.1.7.190716 B2019.0627.0913 64-bit
ns-slapd : 11.1.1.7.190716 B2019.0627.0913 ZIP
Slapd Library : 11.1.1.7.190716 B2019.0627.0913
Front-End Library : 11.1.1.7.190716 B2019.0627.0913
As Always, thanks for reading !
1. Find out the patch for the version you wanna upgrade to (in this case Patch: 29893742)
2. Take complete backups of the dsee7 folders.(preferably using tar -cvf or tar -cvzf test.tar.gz).
3. keep the ODSEE installation owner credentials ready with you .
4. Patch the server which hosts the Directory Server Control Center before you patch any other servers. (often the admin server)
Once the basics are done, and you've already downloaded the patch file from Oracle site :
5. check the odsee instances informations with the below command :
$ install-path/bin/dsadm info instance-name
6. check the current version of the ODSEE :
$ install-path/bin/dsadm -V
7.Be sure the Directory Server and Directory Proxy Server instances you are patching are started before running the dsccsetup prepare-patch command.
You can use ps -ef | grep slapd command for it
Run the following command :
# install-path/bin/dsccsetup prepare-patch
what this does is, it attempts to stop all the instances at one go by running the below command for each, if it fails for any reason, it warns you and you've to manually stop the instances with :
# install-path/bin/dsadm stop instance-path
8. Next steps would be to completely unzip the patch-set binaries to the current installation :
# unzip -q p29893742_111170_
# gunzip -c dsee.11.1.1.7.190716.
# unzip -q sun-dsee7.zip -d install-path
# cd install-path/dsee7
This step effectively overwrites the existing installation, by this I mean it only overwrites the existing binaries that oracle provided for the ODSEE, and existing in the patch AND in the install-path both , should be overwritten.
No subfolder , or instance-homes you may have created under dsee7 folder, won't be affected.
9. Run the follwoing command to complete the patching:
# install-path/bin/dsccsetup complete-patch
Notice if it outputs upgrading the instances , if not run the following commands separatetly :
To patch all Directory Server instances that were not patched , run the following command:
# install-path/bin/dsadm upgrade -i install-path
To patch all Directory Proxy Server instances that were not patched , run the following command:
# install-path/bin/dsadm upgrade -i install-path
10. If you are patching the server that hosts Directory Service Control Center , redeploy the Directory Service Control Center (DSCC) WAR file, install-path/dsee7/var/dscc7.war to /root/weblogic-deploy-base/dscc(check the path from wlst console under deployment for dscc, it may not be same for your environment ).
Recreate the war file by running the following command :
# install-path/bin/dsccsetup war-file-delete
# install-path/bin/dsccsetup war-file-create
To Deploy the DSCC WAR File With Oracle WebLogic Server
10.a - Browse the WebLogic console using http://localhost:7001/console.
10.b - Navigate to base_domain/Deployments in the Domain Structure panel.
10.c - Click Lock and Edit.
10.d - Click Install.
10.e - Click Upload your file(s).
10.f - In Deployment Archive, select install-path/var/dscc7.war and click Next.
10.g - Select dscc7.war and click Next.
10.h - Select Install this deployment as an application and click Next.
10.i - Provide a Name for the deployment, accept the default Optional Settings and click Finish.
10.j - Click Activate Changes in the top left corner. The dscc7 deployment must be in the active state.
Use http://hostname:port/dscc7 to connect to DSCC.
The default port number for Oracle WebLogic Server is 7001.
IF the dscc app is not on 'Active' stage after step 10.j above, and on 'prepared' stage, do the following :
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/03-DeployApps/deployapps.htm
Select the check box to the left of the application in the Deployments table. Then use the Start drop-down list to select Servicing all requests.
Click Yes to continue.
A message is displayed indicating a start request was sent. Momentarily you will see the State of the application become "Active."
at last, check the versions again by running :
$ install-path/bin/dsadm -V
dsadm : 11.1.1.7.190716 B2019.0627.0913 ZIP
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
[slapd 64-bit]
Oracle Corporation.
Sun-Directory-Server/11.1.1.7.190716 B2019.0627.0913 64-bit
ns-slapd : 11.1.1.7.190716 B2019.0627.0913 ZIP
Slapd Library : 11.1.1.7.190716 B2019.0627.0913
Front-End Library : 11.1.1.7.190716 B2019.0627.0913
As Always, thanks for reading !