Wednesday, 16 December 2020

tar -cvzf

 

In this case the workaround is to not use pack/unpack.
- Just copy the folders and update the config files in case the paths are different at the other machine as follows:

# pack
$ cd /path/for/source/DOMAIN_HOME
$ tar cvzf myDomainCopyWorkaround.tar.gz --exclude 'servers/*' *

# unpack
$ cd /path/for/destination/DOMAIN_HOME
$ tar xvzf myDomainCopyWorkaround.tar.gz

# if the paths for BEA_HOME, JAVA_HOME and DOMAIN_HOME are different on the two machines, update them in the files having them hard coded
$ cd /path/for/destination/DOMAIN_HOME
$ grep -rl -e /path/for/source/BEA_HOME -e /path/for/source/JAVA_HOME -e /path/for/source/DOMAIN_HOME *

Saturday, 12 September 2020

OMC - Oracle Management Cloud - General Commands

From the agent install directory/u88/omcagent/cloudagent/agent_inst/bin

omcli status_entity agent "WebLogic_Domain_1599220001196.json" -verbose

 {
    "entities": [
        {
            "name": "EBS_PROD/Domain",
            "type": "omc_weblogic_domain"
        }
    ]
}
 

SQL Shared Area - BIND MISMATCH