{"id":2693,"date":"2018-07-16T22:23:10","date_gmt":"2018-07-16T20:23:10","guid":{"rendered":"https:\/\/www.oradba.ch\/?p=2693"},"modified":"2018-07-16T23:46:51","modified_gmt":"2018-07-16T21:46:51","slug":"oudbase-environment-scripts-for-oracle-unified-directory-part-1","status":"publish","type":"post","link":"https:\/\/www.oradba.ch\/wordpress\/2018\/07\/oudbase-environment-scripts-for-oracle-unified-directory-part-1\/","title":{"rendered":"OUDbase environment scripts for Oracle Unified Directory Part 1"},"content":{"rendered":"<p>Almost two years ago I started writing environment scripts for my Oracle Unified Directory installations. At the beginning there were only 2-3 scripts, from which at some point a small project on <a href=\"https:\/\/url.oradba.ch\/oudbase\" target=\"_blank\" rel=\"noopener\">GitHub<\/a> emerged. A lot has changed since my blog post <a href=\"https:\/\/www.oradba.ch\/wordpress\/2016\/11\/environment-scripts-for-oud\/\">Environment Scripts for OUD<\/a>. The current version of OUDbase (v1.5.5) has a number of useful functions that make working with OUD on the command line much easier. This is one reason it is time to write about OUDbase once again. Or better to start a small blog series.<\/p>\n<h2>Features at a Glance<\/h2>\n<p>At the end of the day, it&#8217;s just a script that sets a series of aliases and environment variables. But this script does exactly what it should, it simplifies the work of the administrator. Initially it has been developed for Oracle Unified Directory (OUD), but to a certain degree other Oracle directory server and tools like Oracle Unified Directory Services Manager (OUDSM), Oracle Directory Server Enterprise Edition (ODSEE) and Oracle Internet Directory (OID) are supported as well.<\/p>\n<ul>\n<li>Support of various Oracle directory servers and tools<\/li>\n<li>Support for Oracle directory servers on Docker<\/li>\n<li>Small foot print and minimal requirements<\/li>\n<li>Simple and quick installation<\/li>\n<li>Auto-configure for common environments and Oracle homes<\/li>\n<li>Provide a kind of OFA environment for Oracle directory servers<\/li>\n<li>Flexible environment handling eg. easy switching between different environments<\/li>\n<li>Alias definitions<\/li>\n<li>Platform-independent<\/li>\n<li>More flexible and powerful than&#8230; wait, there is not <em>oraenv<\/em> for Oracle directory servers \ud83d\ude42<\/li>\n<li>Customization of environment variables and aliases globally or per instance<\/li>\n<li>Miscellaneous templates for cron.d, logrotate.d, systemd service and instance creation<\/li>\n<\/ul>\n<p>In particular OUDbase provides the following scripts:<\/p>\n<ul>\n<li><em>oudtab<\/em> as a central configuration file for instance names, ports and directory types<\/li>\n<li><em>oudenv.sh<\/em> script to source and set the environment<\/li>\n<li><em>oud_backup.sh<\/em> script to backup specific or all Oracle Unified Directory instances<\/li>\n<li><em>oud_export.sh<\/em> script to export specific or all Oracle Unified Directory instances<\/li>\n<li><em>oud_status.sh<\/em> script to check the status of an Oracle Unified Directory instance including replication status<\/li>\n<li><em>oud12c_eus<\/em> template and scripts to create an Oracle Unified Directory server with Enterprise User Security integration<\/li>\n<li><em>oud12c_eus_ad_proxy<\/em> template and scripts to create an Oracle Unified Directory proxy server with Enterprise User Security and MS Active Directory integration<\/li>\n<li><em>generic<\/em> template and scripts as base for customisation<\/li>\n<\/ul>\n<h2>Requirements<\/h2>\n<p>OUDbase is modest. You just need a <strong>bash<\/strong> shell to run it and <strong>tar<\/strong>\/<strong>gzip<\/strong> to install it. This is also one of the reasons why it perfectly fits on OUD Docker images. Although you do not run several directory servers in one Docker container, it is convenient to work on the command line. A little further up I mentioned that OUDBase is platform-independent. At least one operating system, which does not support bash out of the box. Guess which one? Yes, exactly Microsoft Windows. Basically, OUDbase should also run on MS Windows if bash is installed there. However, this has not yet been tested.<\/p>\n<h2>Installation<\/h2>\n<p>Before you can start the installation of OUDbase, you have to download the latest version from the GitHub repository <a href=\"https:\/\/github.com\/oehrlis\/oudbase\/releases\">oehrlis\/oudbase<\/a>. OUDbase is available as TAR file or as shell installation script. The shell script itself is regular Bash script with additional payload. This means that the TAR file is appended directly at the end of the script. Since the embedded TAR is base64 encoded, the installation script can be sent by mail without any problems. If you are interested in how to do this I recommend the How-To <a href=\"https:\/\/www.linuxjournal.com\/content\/add-binary-payload-your-shell-scripts\" target=\"_blank\" rel=\"noopener\">Add a Binary Payload to your Shell Scripts<\/a> written by Mitch Frazier \/ Linux Journal.<\/p>\n<p>The script does relay on the directory structure <a href=\"https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/18\/ladbi\/optimal-flexible-architecture.html\" target=\"_blank\" rel=\"noopener\">optimal flexible architecture<\/a> (OFA) introduced by Oracle a couple of years ago. Starting from an ORACLE_BASE path, the installation script evaluates the required parameters based on OFA. If you do use a different structure you can give the necessary directory path via parameters. The following code block does show the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">oudbase_install.sh<\/code> usage.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\noracle@oudad:\/u00\/app\/oracle\/ [oud_ad] .\/oudbase_install.sh -h\nStart of oudbase_install.sh (Version v1.5.5) with -h\nprocessing commandline parameter\nUsage, oudbase_install.sh [-hav] [-b ]\n[-i ] [-B ]\n[-m ] [-f ] [-j ]\n\n-h Usage (this message)\n-v enable verbose mode\n-a append to profile eg. .bash_profile or .profile\n-b ORACLE_BASE Directory. Mandatory argument. This\ndirectory is use as OUD_BASE directory\n-o OUD_BASE Directory. (default $ORACLE_BASE).\n-d OUD_DATA Directory. (default \/u01 if available otherwise $ORACLE_BASE).\nThis directory has to be specified to distinct persistant data from software\neg. in a docker containers\n-A Base directory for OUD admin (default $OUD_DATA\/admin)\n-B Base directory for OUD backups (default $OUD_DATA\/backup)\n-i Base directory for OUD instances (default $OUD_DATA\/instances)\n-m Oracle home directory for OUD binaries (default $ORACLE_BASE\/products)\n-f Oracle Fusion Middleware home directory. (default $ORACLE_BASE\/products)\n-j JAVA_HOME directory. (default search for java in $ORACLE_BASE\/products)\n\nLogfile : \/u01\/log\/oudbase_install.log\n<\/pre>\n<p>The following table does provide an overview of installation path, environment variables, parameters and there default values.<\/p>\n<table>\n<tbody>\n<tr>\n<th style=\"padding: 2px; white-space: nowrap;\">Parameter<\/th>\n<th style=\"padding: 2px;\">ENV Variable<\/th>\n<th style=\"padding: 2px;\">Default Value<\/th>\n<th style=\"padding: 2px;\">Description<\/th>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-v<\/td>\n<td style=\"padding: 2px;\">n\/a<\/td>\n<td style=\"padding: 2px;\">n\/a<\/td>\n<td style=\"padding: 2px;\">Enable verbose mode<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-a<\/td>\n<td style=\"padding: 2px;\">n\/a<\/td>\n<td style=\"padding: 2px;\">n\/a<\/td>\n<td style=\"padding: 2px;\">Append to profile eg. .bash_profile or .profile<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-b<\/td>\n<td style=\"padding: 2px;\">$ORACLE_BASE<\/td>\n<td style=\"padding: 2px;\">\/u00\/app\/oracle<\/td>\n<td style=\"padding: 2px;\">Mandatory argument. This directory is use as ORACLE_BASE from which all other directories are evaluated.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-b<\/td>\n<td style=\"padding: 2px;\">$ORACLE_BASE<\/td>\n<td style=\"padding: 2px;\">\/u00\/app\/oracle<\/td>\n<td style=\"padding: 2px;\">Mandatory argument. This directory is use as ORACLE_BASE from which all other directories are evaluated.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-o<\/td>\n<td style=\"padding: 2px;\">$OUD_BASE<\/td>\n<td style=\"padding: 2px;\">$ORACLE_BASE<\/td>\n<td style=\"padding: 2px;\">OUDbase base directory where the scripts, config etc. will be installed. Usually this is the same directory as used for ORACLE_BASE. Due to some legacy requirement this can be separate directory.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-d<\/td>\n<td style=\"padding: 2px;\">$OUD_DATA<\/td>\n<td style=\"padding: 2px;\">\/u01 or $ORACLE_BASE<\/td>\n<td style=\"padding: 2px;\">Directory to store the persistant data eg. the OUD instance homes, backup and admin directories etc. It defaults \/u01 if available otherwise $ORACLE_BASE. This directory has to be specified to distinct persistant data from software eg. in a docker containers.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-A<\/td>\n<td style=\"padding: 2px;\">$OUD_ADMIN_BASE<\/td>\n<td style=\"padding: 2px;\">$OUD_DATA\/admin<\/td>\n<td style=\"padding: 2px;\">Base directory for an instance specific admin directory, similar to the admin directory of Oracle databases.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-B<\/td>\n<td style=\"padding: 2px;\">$OUD_BACKUP_BASE<\/td>\n<td style=\"padding: 2px;\">$OUD_DATA\/backup<\/td>\n<td style=\"padding: 2px;\">Base directory for an instance specific directory to store backup&#8217;s and LDIF exports.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-i<\/td>\n<td style=\"padding: 2px;\">$OUD_INSTANCE_BASE<\/td>\n<td style=\"padding: 2px;\">$OUD_DATA\/instances<\/td>\n<td style=\"padding: 2px;\">Base directory for the OUD instance homes.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-m<\/td>\n<td style=\"padding: 2px;\">$ORACLE_HOME<\/td>\n<td style=\"padding: 2px;\">$ORACLE_BASE\/products<\/td>\n<td style=\"padding: 2px;\">Oracle home directory for binaries. The installation script does search below this path for the corresponding binaries.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-f<\/td>\n<td style=\"padding: 2px;\">$ORACLE_FMW_HOME<\/td>\n<td style=\"padding: 2px;\">$ORACLE_BASE\/products<\/td>\n<td style=\"padding: 2px;\">Oracle Fusion Middleware home directory when separating the OUD and OUDSM binaries. The installation script does search below this path for the corresponding binaries.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 2px; white-space: nowrap;\">-j<\/td>\n<td style=\"padding: 2px;\">$JAVA_HOME<\/td>\n<td style=\"padding: 2px;\">$ORACLE_BASE\/products<\/td>\n<td style=\"padding: 2px;\">Location of the java home. The installation script does search below this path for the corresponding java binaries.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The installation script will guess the required parameter based on OFA. All parameter specified at the command line will be stored for future use in <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">oudenv_core.conf<\/code>. If something went wrong during installation, you always have the option of adjusting them manually.<\/p>\n<p>Let&#8217;s create an installation as an example. We will use <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\/u00\/app\/oracle<\/code> as ORACLE_BASE, <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\/u01<\/code> as OUD_DATA and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\/u00\/app\/oracle\/product\/fmw12.2.1.3.0<\/code> as ORACLE_HOME. Below you find the command and an excerpt of the output. Ok actually everything except the output of the TAR command.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\noracle@oudad:\/tmp\/ [oud_ad] .\/oudbase_install.sh -v -b \/u00\/app\/oracle -d \/u01 -m \/u00\/app\/oracle\/product\/fmw12.2.1.3.0\n2018-07-16_20:45:46 START: Start of oudbase_install.sh (Version v1.5.5) with -v -b \/u00\/app\/oracle -d \/u01 -m \/u00\/app\/oracle\/product\/fmw12.2.1.3.0\n2018-07-16_20:45:46 INFO : processing commandline parameter\n2018-07-16_20:45:46 INFO : Define default values\n2018-07-16_20:45:46 INFO : Using the following variable for installation\n2018-07-16_20:45:46 INFO : ORACLE_BASE = \/u00\/app\/oracle\n2018-07-16_20:45:46 INFO : OUD_BASE = \/u00\/app\/oracle\/local\/oudbase\n2018-07-16_20:45:46 INFO : LOG_BASE = \/u01\/log\n2018-07-16_20:45:46 INFO : ETC_CORE = \/u00\/app\/oracle\/local\/oudbase\/etc\n2018-07-16_20:45:46 INFO : ETC_BASE = \/u01\/etc\n2018-07-16_20:45:46 INFO : OUD_DATA = \/u01\n2018-07-16_20:45:46 INFO : OUD_INSTANCE_BASE = \/u01\/instances\n2018-07-16_20:45:46 INFO : OUD_ADMIN_BASE = \/u01\/admin\n2018-07-16_20:45:46 INFO : OUD_BACKUP_BASE = \/u01\/backup\n2018-07-16_20:45:46 INFO : ORACLE_PRODUCT =\n2018-07-16_20:45:46 INFO : ORACLE_HOME = \/u00\/app\/oracle\/product\/fmw12.2.1.3.0\n2018-07-16_20:45:46 INFO : ORACLE_FMW_HOME = \/u00\/app\/oracle\/product\/fmw12.2.1.3.0\n2018-07-16_20:45:46 INFO : JAVA_HOME = \/usr\/java\/jdk1.8.0_172\n2018-07-16_20:45:46 INFO : SCRIPT_FQN = \/tmp\/oudbase_install.sh\n2018-07-16_20:45:46 INFO : Installing OUD Environment\n2018-07-16_20:45:46 INFO : Create required directories in ORACLE_BASE=\/u00\/app\/oracle\n2018-07-16_20:45:46 INFO : Create Directory \/u01\/log\n2018-07-16_20:45:46 INFO : Create Directory \/u01\/etc\n2018-07-16_20:45:46 INFO : Create Directory \/u00\/app\/oracle\/local\n2018-07-16_20:45:46 INFO : Create Directory \/u01\/admin\n2018-07-16_20:45:46 INFO : Create Directory \/u01\/backup\n2018-07-16_20:45:46 INFO : Create Directory \/u01\/instances\n2018-07-16_20:45:46 INFO : Create Directory \/u00\/app\/oracle\/local\/oudbase\n2018-07-16_20:45:46 INFO : Backup existing config files\n2018-07-16_20:45:47 INFO : Backup oudtab to oudtab.save\n2018-07-16_20:45:47 INFO : Backup oud.&lt;em&gt;DEFAULT&lt;\/em&gt;.conf to oud.&lt;em&gt;DEFAULT&lt;\/em&gt;.conf.save\n2018-07-16_20:45:47 INFO : Start processing the payload\n2018-07-16_20:45:47 INFO : Payload is available as of line 470.\n2018-07-16_20:45:47 INFO : Extracting payload into \/u00\/app\/oracle\/local\n2018-07-16_20:45:47 INFO : Payload is set to base64. Using base64 decode before untar.\n...\n2018-07-16_20:45:47 INFO : Store customization in core config file \/u00\/app\/oracle\/local\/oudbase\/etc\/oudenv_core.conf\n2018-07-16_20:45:47 INFO : save customization for OUD_DATA (\/u01)\n2018-07-16_20:45:47 INFO : save customization for ORACLE_BASE (\/u00\/app\/oracle)\n2018-07-16_20:45:47 INFO : save customization for ORACLE_HOME (\/u00\/app\/oracle\/product\/fmw12.2.1.3.0)\n2018-07-16_20:45:47 INFO : Please manual adjust your .bash_profile to load \/ source your OUD Environment\n2018-07-16_20:45:47 INFO : using the following code\n#Check OUD_BASE and load if necessary\nif [ &quot;${OUD_BASE}&quot; = &quot;&quot; ]; then\nif [ -f &quot;${HOME}\/.OUD_BASE&quot; ]; then\n. &quot;${HOME}\/.OUD_BASE&quot;\nelse\necho &quot;ERROR: Could not load ${HOME}\/.OUD_BASE&quot;\nfi\nfi\n\n#define an oudenv alias\nalias oud=&#039;. ${OUD_BASE}\/bin\/oudenv.sh&#039;\n\n#source oud environment\n. \/u00\/app\/oracle\/local\/oudbase\/bin\/oudenv.sh\n2018-07-16_20:45:47 INFO : update your .OUD_BASE file \/home\/oracle\/.OUD_BASE\n2018-07-16_20:45:47 END : of oudbase_install.sh\n<\/pre>\n<p>As you can see from the output above, you just have to source <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">.OUD_BASE<\/code> and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">${OUD_BASE}\/bin\/oudenv.sh<\/code> to start using OUDbase. The installation script either provides an example of what you need to add to your <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">.bash_profile<\/code> or adjusts it directly by specifying the parameter <strong>-a<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n#Check OUD_BASE and load if necessary\nif [ &quot;${OUD_BASE}&quot; = &quot;&quot; ]; then\nif [ -f &quot;${HOME}\/.OUD_BASE&quot; ]; then\n. &quot;${HOME}\/.OUD_BASE&quot;\nelse\necho &quot;ERROR: Could not load ${HOME}\/.OUD_BASE&quot;\nfi\nfi\n\n#define an oudenv alias\nalias oud=&#039;. ${OUD_BASE}\/bin\/oudenv.sh&#039;\n\n#source oud environment\n. \/u00\/app\/oracle\/local\/oudbase\/bin\/oudenv.sh\n<\/pre>\n<p>The next time you login, you&#8217;ll see the status of you OUD instance. If you do not have an OUDTAB file, OUDbase will create one for you based on existing OUD instances, Oracle homes etc.<br \/>\n<img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2722\" src=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/Screen-Shot-2018-07-16-at-23.43.18.png?resize=537%2C170&#038;ssl=1\" alt=\"\" width=\"537\" height=\"170\" srcset=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/Screen-Shot-2018-07-16-at-23.43.18.png?resize=300%2C95&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/Screen-Shot-2018-07-16-at-23.43.18.png?resize=768%2C244&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/Screen-Shot-2018-07-16-at-23.43.18.png?resize=1024%2C326&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/Screen-Shot-2018-07-16-at-23.43.18.png?resize=624%2C199&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/Screen-Shot-2018-07-16-at-23.43.18.png?w=1128&amp;ssl=1 1128w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/p>\n<p>If you haven&#8217;t yet installed any Oracle software or created an OUD instance OUDbase can not guess your environment. Therefore you have to manually create an OUDTAB file.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\nWARN : oudtab (\/u00\/app\/oracle\/local\/oudbase\/etc\/oudtab) does not exist or is empty. Create a new one.\nWARN : No OUD Instance yet available or defined.\n<\/pre>\n<h2>Conclusion<\/h2>\n<p>The first blog post of the serie on the OUDbase environment scripts should give you first impression. The installation is straight forward and simple. In the next blog post I&#8217;ll show how you can configure and customize OUDbase. Beside a couple of use cases, I&#8217;ll provide a deeper insight into environment variables, aliases and scripts. So stay tuned. If you can not wait get the latest version of OUDbase from GitHub and start using it. By the way, my Docker build scripts are configured to use OUDbase.<\/p>\n<h2>References<\/h2>\n<p>Below you find a few references related to the topics discussed in this post:<\/p>\n<ul>\n<li>OUDbase on GitHub <a href=\"https:\/\/url.oradba.ch\/oudbase\" target=\"_blank\" rel=\"noopener\">(oehrlis\/oudbase)<\/a><\/li>\n<li>First blog post on OUDbase <a href=\"https:\/\/www.oradba.ch\/wordpress\/2016\/11\/environment-scripts-for-oud\/\">Environment Scripts for OUD<\/a><\/li>\n<li>Oracle documentation on <a href=\"https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/18\/ladbi\/optimal-flexible-architecture.html\" target=\"_blank\" rel=\"noopener\">optimal flexible architecture<\/a><\/li>\n<li>Linux Journal <em><a href=\"https:\/\/www.linuxjournal.com\/content\/add-binary-payload-your-shell-scripts\" target=\"_blank\" rel=\"noopener\">Add binary payload your shell scripts<\/a><\/em><\/li>\n<li>My genuine Docker build scripts for Oracle Unified Directory on GitHub <a href=\"https:\/\/github.com\/oehrlis\/docker\" target=\"_blank\" rel=\"noopener\">(oehrlis\/docker)<\/a><\/li>\n<li>Oracle Docker build scripts for Oracle Unified Directory on GitHub <a href=\"https:\/\/github.com\/oracle\/docker-images\/tree\/master\/OracleUnifiedDirectory\" target=\"_blank\" rel=\"noopener\">(oracle\/docker-images)<\/a> yep from me too \ud83d\ude42<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Almost two years ago I started writing environment scripts for my Oracle Unified Directory installations. At the beginning there were only 2-3 scripts, from which at some point a small project on GitHub emerged. A lot has changed since my blog post Environment Scripts for OUD. The current version of OUDbase (v1.5.5) has a number [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"OUDbase environment scripts for Oracle Unified Directory Part 1","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[142,178,74],"tags":[160,130,18],"class_list":["post-2693","post","type-post","status-publish","format-standard","hentry","category-oud","category-oudbase","category-unix","tag-scripts","tag-trivadis","tag-trivadiscontent"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1aErb-Hr","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2674,"url":"https:\/\/www.oradba.ch\/wordpress\/2018\/07\/doag-2018-sig-security-oracle-unified-directory-on-docker\/","url_meta":{"origin":2693,"position":0},"title":"DOAG 2018 SIG Security &#8211; Oracle Unified Directory on Docker","author":"Stefan","date":"4. July 2018","format":false,"excerpt":"A couple of days ago I did had the opportunity to give a presentation on Oracle Unified Directory on Docker at the DOAG SIG Security day in Stuttgart. It was a great opportunity to discuss how OUD engineering can be simplified using Docker. As proof how easy this can be,\u2026","rel":"","context":"In &quot;DOAG&quot;","block_context":{"text":"DOAG","link":"https:\/\/www.oradba.ch\/wordpress\/category\/doag\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/IMG_1575-300x225.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2431,"url":"https:\/\/www.oradba.ch\/wordpress\/2017\/11\/install-oracle-unified-directory-12c-the-smart-way\/","url_meta":{"origin":2693,"position":1},"title":"Install Oracle Unified Directory 12c the smart way","author":"Stefan","date":"23. November 2017","format":false,"excerpt":"Installing Oracle Unified Directory has always been easy. The installation guide for OUD 11c as well OUD 12 is simple and straight forward. Additionally Oracle does provide a couple of MOS notes for different deployment scenarios. Nevertheless there is always room for improvement :-) During my work on OUD to\u2026","rel":"","context":"In &quot;Howto&quot;","block_context":{"text":"Howto","link":"https:\/\/www.oradba.ch\/wordpress\/category\/howto\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3065,"url":"https:\/\/www.oradba.ch\/wordpress\/2019\/05\/soug-day-2019-oracle-database-in-docker\/","url_meta":{"origin":2693,"position":2},"title":"SOUG Day 2019 &#8211; Oracle Database in Docker","author":"Stefan","date":"22. May 2019","format":false,"excerpt":"Today I did have the opportunity to give a presentation on Oracle Database in Docker at the SOUG day in Olten. It was a great opportunity to discuss how Oracle database engineering can be simplified using Docker. Besides the demo the following topics were discussed: Docker images, container and volumes\u2026","rel":"","context":"In &quot;18c&quot;","block_context":{"text":"18c","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/18c\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/D7KVdlnXsAAg0aX-300x225.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2609,"url":"https:\/\/www.oradba.ch\/wordpress\/2018\/05\/oracle-unified-directory-systemd-unit-file\/","url_meta":{"origin":2693,"position":3},"title":"Oracle Unified Directory systemd unit file","author":"Stefan","date":"16. May 2018","format":false,"excerpt":"About a year ago I explained in the blog post Start OUD Servers on Boot using systemd how to start Oracle Unified Directory automatically on system startup. In the meantime a lot has changed, so has my unit file. The simple unit file actually worked quite well. Until the time\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.oradba.ch\/wordpress\/category\/linux-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2456,"url":"https:\/\/www.oradba.ch\/wordpress\/2017\/12\/oracle-unified-directory-on-docker\/","url_meta":{"origin":2693,"position":4},"title":"Oracle Unified Directory on Docker","author":"Stefan","date":"13. December 2017","format":false,"excerpt":"A bit a while ago I've started to use Docker for miscellaneous purposes. Not really an early adopter, but I still hope I caught the train just in time. :-) In one of my customer project, I did have to set up a couple of OUD instance to develop and\u2026","rel":"","context":"In &quot;Docker&quot;","block_context":{"text":"Docker","link":"https:\/\/www.oradba.ch\/wordpress\/category\/docker\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/OUD_Moby-300x209.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2205,"url":"https:\/\/www.oradba.ch\/wordpress\/2016\/11\/environment-scripts-for-oud\/","url_meta":{"origin":2693,"position":5},"title":"Environment Scripts for OUD","author":"Stefan","date":"18. November 2016","format":false,"excerpt":"At Trivadis we do have the TVD-BasEnv\u2122 to standardizes and simplifies the handling of environments for Oracle database and application server landscapes. This inspired me to create something similar for Oracle Unified Directory environments. Although current versions of TVD-BasEnv\u2122 already support OUD and OID environment. I've had the situation, where\u2026","rel":"","context":"In &quot;Oracle Unified Directory&quot;","block_context":{"text":"Oracle Unified Directory","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oud\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/comments?post=2693"}],"version-history":[{"count":17,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2693\/revisions"}],"predecessor-version":[{"id":2724,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2693\/revisions\/2724"}],"wp:attachment":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/media?parent=2693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/categories?post=2693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/tags?post=2693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}