Dietrich Schroff

Subscribe to Dietrich Schroff feed
Dietrich Schroffhttps://plus.google.com/101232877473830670008noreply@blogger.comBlogger420125
Updated: 6 hours 40 min ago

Ubuntu: Upgrade from 17.10 to 18.04

Mon, 2018-04-30 02:13

Last week ubuntu release 18.10 and i upgraded my notebook to the latest version.
I was running 17.10 with wayland:

$ lsb_release  -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 17.10
Release:    17.10
Codename:    artful

# do-release-upgrade -d
Neue Veröffentlichungen von Ubuntu werden gesucht
Holen:1 Signatur der Aktualisierungsanwendung [819 B]                                                                                                                                                                                  
Holen:2 Aktualisierungsanwendung [1.257 kB]                                                                                                                                                                                            
Es wurden 1.258 kB in 0 s geholt (0 B/s)                                                                                                                                                                                               
»bionic.tar.gz« wird gegenüber »bionic.tar.gz.gpg« legitimiert
»bionic.tar.gz« wird entpackt

Zwischenspeicher wird gelesen

Paketverwaltung wird überprüft
Paketlisten werden gelesen … Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen. … Fertig
OK http://de.archive.ubuntu.com/ubuntu artful InRelease                                                                                                                                                                                
OK http://archive.canonical.com/ubuntu xenial InRelease                                                                                                                                                                                
OK http://security.ubuntu.com/ubuntu artful-security InRelease                                                                                                                                                                         
Ign http://ppa.launchpad.net/librepilot/release/ubuntu artful InRelease                                                                                                                                                                
OK http://de.archive.ubuntu.com/ubuntu artful-updates InRelease                                                                                                                                                                        
OK https://download.docker.com/linux/ubuntu artful InRelease                                                                                                                                                                           
OK http://de.archive.ubuntu.com/ubuntu artful-backports InRelease                                                                                                                                                                      
Fehl http://ppa.launchpad.net/librepilot/release/ubuntu artful Release                                                                                                                                                                 
  404  Not Found                                                                                                                                                                                                                       
Es wurden 0 B in 0 s geholt (0 B/s)                                                                                                                                                                                                    
Paketlisten werden gelesen … Fertig           
Abhängigkeitsbaum wird aufgebaut.              
Statusinformationen werden eingelesen. … Fertig

Informationen zu Paketquellen werden aktualisiert

Paketquellen von Drittanbietern deaktiviert

Einige Paketquellen von Drittanbietern wurden deaktiviert. Sie können
diese nach der Systemaktualisierung mit dem Programm
»Software-Paketquellen« oder mit »Synaptic« wieder aktivieren.

Um fortzufahren, drücken Sie [ENTER]



 
Holen:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [65,4 kB]                                                                                                                                                          
Holen:2 http://de.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]                                                                                                                                                                  
Holen:3 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease [65,4 kB]                                                                                                                                                         
Holen:4 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease [65,5 kB]                                                                                                                                                       
Holen:5 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1.019 kB]                                                                                                                                                      
Holen:6 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1.007 kB]                                                                                                                                                       
Holen:7 http://de.archive.ubuntu.com/ubuntu bionic/main Translation-de [454 kB]                                                                                                                                                        
Holen:8 http://de.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]                                                                                                                                                        
Holen:9 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]                                                                                                                                                 
Holen:10 http://de.archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]                                                                                                                                                   
Holen:11 http://de.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9.184 B]                                                                                                                                                
Holen:12 http://de.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9.156 B]                                                                                                                                                 
Holen:13 http://de.archive.ubuntu.com/ubuntu bionic/restricted Translation-de [2.268 B]                                                                                                                                                
Holen:14 http://de.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3.584 B]                                                                                                                                                
Holen:15 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8.570 kB]                                                                                                                                                 
Holen:16 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8.531 kB]                                                                                                                                                  
Holen:17 http://de.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4.941 kB]                                                                                                                                                 
Holen:18 http://de.archive.ubuntu.com/ubuntu bionic/universe Translation-de [2.272 kB]                                                                                                                                                 
Holen:19 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [3.287 kB]                                                                                                                                          
Holen:20 http://de.archive.ubuntu.com/ubuntu bionic/universe DEP-11 64x64 Icons [8.420 kB]                                                                                                                                             
Holen:21 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]                                                                                                                                                 
Holen:22 http://de.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]                                                                                                                                                  
Holen:23 http://de.archive.ubuntu.com/ubuntu bionic/multiverse Translation-de [84,5 kB]                                                                                                                                                
Holen:24 http://de.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]                                                                                                                                                 
Holen:25 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 DEP-11 Metadata [49,7 kB]                                                                                                                                         
Holen:26 http://de.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 64x64 Icons [225 kB]                                                                                                                                             
Es wurden 41,0 MB in 6 s geholt (5.414 kB/s)                                                                                                                                                                                           

Paketverwaltung wird überprüft
Paketlisten werden gelesen … Fertig           
Abhängigkeitsbaum wird aufgebaut.              
Statusinformationen werden eingelesen. … Fertig

Änderungen werden berechnet

Änderungen werden berechnet

Möchten Sie die Systemaktualisierung starten?


67 Pakete werden nicht mehr von Canonical unterstützt. Sie können
allerdings immer noch Hilfe von der Gemeinschaft erhalten.

22 Pakete werden entfernt. 222 neue Pakete werden installiert. 2255
Pakete werden aktualisiert.

Insgesamt müssen 1.663 M heruntergeladen werden. Das Herunterladen
wird bei Ihrer Netzwerkverbindung etwa 5 Minuten dauern.

Das Installieren der Systemaktualisierung kann mehrere Stunden
dauern. Sobald das Herunterladen abgeschlossen wurde, kann der
Vorgang nicht abgebrochen werden.

 Fortsetzen [j/N]  Details [d]

[snip]
 Processing triggers for shim-signed (1.34.9+13-0ubuntu2) ...
Processing triggers for libvlc-bin:amd64 (3.0.1-3build1) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.11-2) ...

Es wird nach veralteten Programmen gesucht
Paketlisten werden gelesen … Fertig           
Abhängigkeitsbaum wird aufgebaut.              
Statusinformationen werden eingelesen. … Fertig
Statusinformationen werden eingelesen. … Fertig

Veraltete Pakete entfernen?


195 Pakete werden entfernt.

Das Entfernen der Pakete kann mehrere Stunden dauern.

 Fortsetzen [j/N]  Details [d]d
Fortsetzen [j/N]  Details [d]d
Fortsetzen [j/N]  Details [d]n

Die Systemaktualisierung ist abgeschlossen.

Neustart erforderlich

Um die Systemaktualisierung abzuschließen, ist ein Neustart
erforderlich.
Wenn Sie »j« wählen, wird das System neu gestartet.

Fortsetzen [j/N] j

And after the reboot the default is X11 again:
schroff@zerberus:~$ loginctl 

   SESSION        UID USER             SEAT             TTY            

         2       1000 schroff          seat0            tty2           

        c1        126 gdm              seat0            tty1           



2 sessions listed.

schroff@zerberus:~$ loginctl  show-session 2 -p Type

Type=x11
It looks like there is one error left:


But i think i will ignore this error:
check-new-release-gtk: TypeError: Gtk.init_check() takes exactly 0 arguments (1 given)
And finally the check for the new release:
$ lsb_release -a

No LSB modules are available.

Distributor ID:    Ubuntu

Description:    Ubuntu 18.04 LTS

Release:    18.04

Codename:    bionic

Oracle SOA Suite 12c: complete startup procedure including database and application server

Sun, 2018-04-29 15:24
After the first reboot i had to work hard to get the complete system up again. So here a list of all commands:


  1. database
    export ORACLE_HOME=/home/oracle/app/oracle/product/12.2.0/dbhome_1
    export PATH=$PATH:$ORACLE_HOME/bin
    export ORACLE_SID=orcl

    $ sqlplus / as sysdba

    SQL*Plus: Release 12.2.0.1.0 Production on Fri Feb 16 20:53:02 2018

    Copyright (c) 1982, 2016, Oracle.  All rights reserved.

    Connected to an idle instance.

    SQL> startup
    ORACLE instance started.

    Total System Global Area 1560281088 bytes
    Fixed Size            8793160 bytes
    Variable Size         1006633912 bytes
    Database Buffers      536870912 bytes
    Redo Buffers            7983104 bytes
    Datenbank mounted.
    Datenbank geoffnet.
    SQL> alter pluggable database soasuite12c open;

    Integrierbare Datenbank geandert.
  2. listener
    $ lsnrctl start

    LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 16-FEB-2018 21:09:17

    Copyright (c) 1991, 2016, Oracle.  All rights reserved.

    Starting /home/oracle/app/oracle/product/12.2.0/dbhome_1/bin/tnslsnr: please wait...

    TNSLSNR for Linux: Version 12.2.0.1.0 - Production
    System parameter file is /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /home/oracle/app/oracle/diag/tnslsnr/mywww/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
    Start Date                16-FEB-2018 21:09:17
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/mywww/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    The listener supports no services
    The command completed successfully

    Wait some seconds and then:$ lsnrctl status

    LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 16-FEB-2018 21:09:35

    Copyright (c) 1991, 2016, Oracle.  All rights reserved.

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
    Start Date                16-FEB-2018 21:09:17
    Uptime                    0 days 0 hr. 0 min. 18 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/mywww/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=mywww)(PORT=5500))(Security=(my_wallet_directory=/home/oracle/app/oracle/product/12.2.0/dbhome_1/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "5a81d0aff5393ed2e055000000000001" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "5af731f7368117fbe055000000000001" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclpdb" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "soasuite12c" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully

    and a check with sqlplus:
    $  sqlplus bpeladmin@soasuite12c

    SQL*Plus: Release 12.2.0.1.0 Production on Fri Feb 16 21:09:40 2018

    Copyright (c) 1982, 2016, Oracle.  All rights reserved.

    Enter password:
    Letzte erfolgreiche Anmeldezeit: So Jan 21 2018 21:05:53 +01:00

    Verbunden mit:
    Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
  3. application server
    export PATH=/home/data/opt/jdk1.8.0_131/bin:$PATH
    export JAVA_HOME=/home/data/opt/jkd1.8.0_131

    $cd Oracle/Middleware/Oracle_Home/user_projects/domains/_domain/bin/
    $ nohup ./startNodeManager.sh &

    start the AdminServer
    $nohup ./startWeblogic.sh &

    and wait for:

    <16 .02.2018="" 21:20="" mez="" uhr="">
    <16 .02.2018="" 21:17="" mez="" uhr="">
    via tail -f nohup.outstart the soa_server

    ./startManagedWebLogic.sh soa_server1 t3://localhost:7001

    and enter user and password when prompted

       
And then check via http://192.168.178.49:7001/console:




All installation steps can be found here:

 i had to run the

    Oracle VM Server: How to add ISO images to your repository

    Sun, 2018-04-22 09:57
    After  setting up
    you have to upload some ISO images to your repository, so that your virtual machines can boot with these ISO images.

    So inside Oracle VM Manager go to the "Repositories" tab and use the "import iso icon" (the blue arrow):

    The only way to import ISO images is to give a URL to Oracle VM Manager:


    And after pushing the ok button you can monitor the download inside the job summary tab:



    Inside the repository tab you will find the ISO image after a successful download:

    This ISO image can now be used inside the configuration of your VMs. (Take a look here)


    Oracle VM Server: my first vm: Error: HVM guest support is unavailable

    Sat, 2018-04-21 09:47
    All my tests with Oracle VM Server are running inside Oracle Virtualbox. If you want to do some tests yourself with this setup, you can easily get this error message after powering on your VM:

    Server error: Command: ['xm', 'create', '/OVS/Repositories/0004fb0000030000dad74d9c43176d2e/VirtualMachines/0004fb00000600005e79798ecb1a63cf/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
    stdout: Using config file "/OVS/Repositories/0004fb0000030000dad74d9c43176d2e/VirtualMachines/0004fb00000600005e79798ecb1a63cf/vm.cfg".To get your system running, you have to change this for your Oracle VM Server node on VirtualBox:


    After that you get:

    Server error: Command: ['xm', 'create', '/OVS/Repositories/0004fb0000030000dad74d9c43176d2e/VirtualMachines/0004fb0000060000b5dca8dccb8b74f6/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
    stdout: Using config file "/OVS/Repositories/0004fb0000030000dad74d9c43176d2e/VirtualMachines/0004fb0000060000b5dca8dccb8b74f6/vm.cfg".But this is due to specifying no boot media at your VM. Therefore you have to add an ISO image to your Oracle VM Server repository.

    Docker: How to build you own container with your own application

    Tue, 2018-04-17 12:17
    atThere are many tutorials out there, how to create a docker container with a apache webserver inside or a nginx.
    But you can hardly find a manual how to build your own docker container without pulling everything from a foreign repository.
    Why should you not pull everything from foreign repositories?

    You should read this article or this:
    But since each phase of the development pipeline is built at a different time, …
    …you can’t be sure that the same version of each dependency in the development version also got into your production version.
    That is a good point.

    As considered in this article you can put some more constraints into your docker file: 
    FROM ubuntu:14.04. or even
    FROM ubuntu:0bf3461984f2fb18d237995e81faa657aff260a52a795367e6725f0617f7a56cAnd that is the point where i tell you: Create a process to build your own docker containers from scratch and distribute them with your own repository or copy them to all your docker nodes (s. here)

    So here the steps to create your own container from a local directory (here ncweb):

    # ls -l ncweb/
    total 12
    -rw-r--r--    1 root     root            90 Nov 26 10:06 Dockerfile
    -rw-r--r--    1 root     root           255 Nov 26 11:29 index.html
    -rw-r--r--    1 root     root             0 Nov 26 11:29 logfile
    -rwxr--r--    1 root     root           176 Nov 26 11:29 ncweb.sh 
    The Dockerfile contains the following:

    # ls -l ncweb/
    alpine:~# cat ncweb/Dockerfile
    FROM alpine
    WORKDIR /tmp
    RUN mkdir ncweb
    ADD .  /tmp
    ENTRYPOINT [ "/tmp/ncweb.sh" ]
    Into this directory you have to put everything you need, e.g. a complete JDK or your binaries or ...

    And then change into this directory and build your container:

    ncweb# docker build -t ncweb:0.2 .
    The distribution to other docker nodes can be done like this:

    # docker save ncweb:0.3 | ssh 192.168.178.47 docker load 
    For more details read this posting.


    Related posts:



    Oracle SOA Suite 12c: Invoking a BPEL process via Enterprise Manager (EM)

    Sun, 2018-04-15 09:05
    After you logged in via http://yourhost:7001/em navigate to "soa-infra":
     Then choose "Deployed Composites":
     There you have to click on your composite (here: "Project1"):
     Choose "Test":
     Go to the bottom of the page and expand the payload:
     There you have  fill in your test string:
     
     And after a click on "Test Web Service"
    The response is shown incl. the response time.

    To list the audit trails goto "Home-> Flow instances

    And choose "search" on the right side:


    Oracle VM Server x86: Creation of a virtual machine

    Thu, 2018-04-12 14:47
    After all these steps
    it is possible to create a VM:

     Click the third icon:












    And here is the summary:
    One thing still missing: I did not put an ISO image into the repository, so this VM has no media to start from. The Import of an ISO image i will post in a week.

    Ubuntu: unmet dependencies gparted (libparted-fs-resize0 (>= 3.1))

    Sat, 2018-04-07 09:34
    After a new ubuntu installation i got the following error:
    root@pc:/etc/apt/sources.list.d# apt install   gparted
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.   
    Statusinformationen werden eingelesen.... Fertig
    Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
    Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
    Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
    nicht erstellt wurden oder Incoming noch nicht verlassen haben.
    Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
    Die folgenden Pakete haben unerfüllte Abhängigkeiten:
     gparted : Hängt ab von: libparted-fs-resize0 (>= 3.1) soll aber nicht installiert werden
    E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.or
    The following packages have unmet dependencies:
     gparted :
    Depends: libglibmm-2.4-1c2a (>= 2.42.0) but 2.39.93-0ubuntu1 is to be installed
     Depends: libparted-fs-resize0 (>= 3.1) but it is not installable
     Depends: libparted2 (>= 3.1) but it is not installable
     Depends: libstdc++6 (>= 4.9) but 4.8.2-19ubuntu1 is to be installed
    E: Unable to correct problems, you have held broken packages.


    I tried some solutions like
    apt cleanor removing many repositories out of /etc/apt/sources.list and /etc/apt/sources.d but the error still remained.

    After some tries i found the solution via these commands:

    The installation of libparted-fs-resize0 does not work with the following error:
    root@pc:/etc/apt# apt install libparted-fs-resize0
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.     
    Statusinformationen werden eingelesen.... Fertig
    Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
    Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
    Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
    nicht erstellt wurden oder Incoming noch nicht verlassen haben.
    Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
    Die folgenden Pakete haben unerfüllte Abhängigkeiten:
     libparted-fs-resize0 : Hängt ab von: libparted2 (= 3.2-15) aber 3.2-15ubuntu0.1 soll installiert werden
    E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.So i checked this package:

    root@pc:/etc/apt# apt-cache policy libparted2
    libparted2:
      Installiert:           3.2-15ubuntu0.1
      Installationskandidat: 3.2-15ubuntu0.1
      Versionstabelle:
     *** 3.2-15ubuntu0.1 100
            100 /var/lib/dpkg/status
         3.2-15 500
            500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
    Hmmm. 2 Versions inside my versions-table. So i removed the local status file:
    root@pc:/etc/apt# cd /var/lib/dpkg/
    root@pc:/var/lib/dpkg# mv status status.180227
    root@pc:/var/lib/dpkg# touch statusAnd after that the problem was gone:
    root@pc:/var/lib/dpkg# apt update
    root@pc:/var/lib/dpkg# apt install gparted
    Here we go:


    Oracle VM Server: supported guest systems

    Tue, 2018-04-03 04:36
    After the installation of


    and

    the next step is to install a guest. But which operating systems are supported on Oracle VM Server?
    Let's look into the official Oracle documentation:
    The list of supported operating systems can be found here.


    Table 5.1 HVM-Supported Linux Guest Operating Systems
    Guest Operating System
    HVM 32-bit
    HVM 64-bit
    Oracle Linux Release 7.x
    N/A
    Yes
    Oracle Linux Release 6.x
    Yes
    Yes
    Oracle Linux Release 5.x
    Yes
    Yes
    Oracle Linux Release 4.x
    Yes
    Yes
    Red Hat Enterprise Linux 7.x
    N/A
    Yes
    Red Hat Enterprise Linux 6.x
    Yes
    Yes
    Red Hat Enterprise Linux 5.x
    Yes
    Yes
    Red Hat Enterprise Linux 4.x
    Yes
    Yes
    CentOS 7.x
    N/A
    Yes
    CentOS 6.x
    Yes
    Yes
    CentOS 5.x
    Yes
    Yes
    CentOS 4.x
    Yes
    Yes
    SUSE Linux Enterprise Server 11.x
    No
    Yes
    SUSE Linux Enterprise Server 12 SP2 or later
    No
    Yes

    Table 5.2 PVHVM-Supported Linux Guest Operating Systems
    Guest Operating System
    PVHVM 32-bit
    PVHVM 64-bit
    Oracle Linux Release 7.x
    N/A
    Yes
    Oracle Linux Release 6.x
    Yes
    Yes
    Oracle Linux Release 5.x
    Yes
    Yes
    Oracle Linux Release 4.x
    Yes
    Yes
    Red Hat Enterprise Linux 7.x
    N/A
    Yes
    Red Hat Enterprise Linux 6.x
    Yes
    Yes
    Red Hat Enterprise Linux 5.x
    Yes
    Yes
    Red Hat Enterprise Linux 4.x
    Yes
    Yes
    CentOS 7.x
    N/A
    Yes
    CentOS 6.x
    Yes
    Yes
    CentOS 5.x
    Yes
    Yes
    CentOS 4.x
    Yes
    Yes
    SUSE Linux Enterprise Server 11.x
    No
    Yes
    SUSE Linux Enterprise Server 12 SP2 or later
    No
    Yes

    Table 5.4 CPU Paravirtualized Supported Guest Operating Systems
    Guest Operating System
    Paravirtualized 32-bit
    Paravirtualized 64-bit
    Oracle Linux Release 7.x
    No
    No
    Oracle Linux Release 6.x
    Yes
    Yes
    Oracle Linux Release 5.x
    Yes
    Yes
    Oracle Linux Release 4.x
    Yes
    Yes
    Red Hat Enterprise Linux 7.x
    No
    No
    Red Hat Enterprise Linux 6.x
    Yes
    Yes
    Red Hat Enterprise Linux 5.x
    Yes
    Yes
    Red Hat Enterprise Linux 4.x
    Yes
    Yes
    CentOS 7.x
    No
    No
    CentOS 6.x
    Yes
    Yes
    CentOS 5.x
    Yes
    Yes
    CentOS 4.x
    Yes
    Yes
    SUSE Linux Enterprise Server 11.x
    No
    Yes
    SUSE Linux Enterprise Server 12 SP2 or later
    No
    No

    Table 5.5 Microsoft Windows Supported Guest Operating Systems
    Guest Operating Systems
    64-bit
    32-bit
    HVM
    HVM with Oracle VM Paravirtual Drivers for Microsoft Windows
    Microsoft Windows Server 2016
    Yes
    N/A
    Supported
    Supported
    Microsoft Windows Server 2012 R2
    Yes
    N/A
    Supported
    Supported
    Microsoft Windows Server 2012
    Yes
    N/A
    Supported
    Supported
    Microsoft Windows Server 2008 R2 SP1
    Yes
    N/A
    Supported
    Supported
    Microsoft Windows Server 2008 SP2
    Yes
    Yes
    Supported
    Supported
    Microsoft Windows Server 2003 R2 SP2
    Yes
    Yes
    Supported
    Supported
    Microsoft Windows 10
    Yes
    Yes
    Supported
    Supported
    Microsoft Windows 8.1
    Yes
    Yes
    Supported
    Supported
    Microsoft Windows 8
    Yes
    Yes
    Supported
    Supported
    Microsoft Windows 7 SP1
    Yes
    Yes
    Supported
    Supported
    Microsoft Windows Vista SP2
    Yes
    Yes
    Supported
    Supported

    These tables are valid for version 3.4 - that means you have to check the support matrix for each version seperatly.

    Oracle 12c SOA Suite: Administration via Enterprise Manager

    Sat, 2018-03-31 14:20
    After

    i want to present some screenshots of the web console of the SOA Suite:
    http://localhost:7001/emBut first the servers have to be started:
    cd /home/oracle/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin
    nohup ./startNodeManager.sh &
    nohup ./startWeblogic.sh &Now the login is available:

     But there the soa_server1 is still down:


     So let's start this one:
    nohup ./startManagedWebLogic.sh soa_server1 http://192.168.178.49:7001
    The icon left to "base_domain" (beneath the oracle logo at the top) is the menu:



    If you navigate to "soa-infra(soa_server1) you get this frame:






      Oracle SOA Suite 12c: Tokens - To avoid substituting values: define global token variables

      Sat, 2018-03-24 09:15
      Inside the Enterprise Manager (URL: http://yourhost:7001/em) you can configure SOA Suite profiles:

      Choose "Token Configurations"

       ???

      To list the tokens click on "Modify Configuration file":

       To add a token click on the green plus:

       Do not forget to save your changes:


       
      To use the bulk append you have to create a file like this one:




          2000
          weblogic Choose your file "text.xml":
       and click on "Append":


      Java 10 released: java with some enhancements for running inside docker

      Thu, 2018-03-22 16:03
      After the release of Java 9 in october 2017 with its new features
      Oracle released Java 10:
       A short summary of the new feature can be found
      at https://blogs.oracle.com/java-platform-group/introducing-java-se-10
      or you can take a look a the release notes:
      http://www.oracle.com/technetwork/java/javase/10-relnote-issues-4108729.html#NewFeature

      My favourites are:
      • JEP 307 Parallel Full GC for G1  Improves G1 worst-case latencies by making the full GC parallel. The G1 garbage collector is designed to avoid full collections, but when the concurrent collections can't reclaim memory fast enough a fall back full GC will occur. The old implementation of the full GC for G1 used a single threaded mark-sweep-compact algorithm. With JEP 307 the full GC has been parallelized and now use the same amount of parallel worker threads as the young and mixed collections.
      and the docker enhancements:
      • JDK-8146115 Improve docker container detection and resource configuration usage
      The JVM has been modified to be aware that it is running in a Docker container and will extract container specific configuration information instead of querying the operating system. The information being extracted is the number of CPUs and total memory that have been allocated to the container. The total number of CPUs available to the Java process is calculated from any specified cpu sets, cpu shares or cpu quotas. This support is only available on Linux-based platforms. This new support is enabled by default and can be disabled in the command line with the JVM option:
      -XX:-UseContainerSupport
      In addition, this change adds a JVM option that provides the ability to specify the number of CPUs that the JVM will use:
      -XX:ActiveProcessorCount=count
      This count overrides any other automatic CPU detection logic in the JVM.
      • JDK-8186248 Allow more flexibility in selecting Heap % of available RAM
      Three new JVM options have been added to allow Docker container users to gain more fine grained control over the amount of system memory that will be used for the Java Heap:
      -XX:InitialRAMPercentage
      -XX:MaxRAMPercentage
      -XX:MinRAMPercentage
      These options replace the deprecated Fraction forms (-XX:InitialRAMFraction, -XX:MaxRAMFraction, and -XX:MinRAMFraction).
      • JDK-8179498 attach in Linux should be relative to /proc/pid/root and namespace aware
      This bug fix corrects the attach mechanism when trying to attach from a host process to a Java process that is running in a Docker container.

      Oracle VM Server x86: Discovering a server/node + setting up a repository, server pool and networking

      Thu, 2018-03-22 15:32
      Let's put the things together:
      The Oracle VM Manager has to discover the node. Inside the web GUI (https://yourhost:7002/ovm/console)  clickt on the right icon:

      Then give your password and the ip(s):

      And then you can see the node details (if the connections does not fail):

      The next step is to create a repository. To achieve this, you have to add a additional hdd on the oracle VM server/node, without mounting this on the server/node.
      Then disover the local storage:
      After "rescan phyiscal disks" it is possible to create a repository:







      Still something missing: a server pool:



       Attention: Uncheck the "Clustered Server Pool" option:





      And last but not least: networking...

      Check, that your network is available for "Virtual Machine"

       Next posting i will show the creation of a virtual machine...

      AVM: Powerline Repeater / Fritz Repeater

      Sat, 2018-03-17 15:16
      Last weekend my Powerline Adpater 546E broke. I tried some restarts but after 1-5 minutes the WLAN went down and the adapter got really hot.

      Perhaps the missing mesh functionality was due to a hardware problem which caused this total failure.

      Never mind. I ordered a Fritz Box Repeater 1160 and followed the instructions from AVM:
      Note: If your repeater is already connected to your FritzBox and you perform the firmware update >6.90, then you have to do the integration via WPS once again (enable WPS on your FritzBox, then press WPS button on the repeater).

      After that everything was like expected:

      Docker-CE on Ubuntu 17.10 (Artful Aardvark) (2)

      Sat, 2018-03-10 03:42
      Three months ago i installed docker on my ubuntu 17.10. At those days there was no straight forward howto on docher.com.

      Now the installation is listed on docker.com:


      The installation manual can be found here.

      root@zerberus:~# apt-get install apt-transport-https ca-certificates curl   software-properties-common
      root@zerberus:~# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
        OK
      root@zerberus:~# apt-key fingerprint 0EBFCD88  pub   rsa4096 2017-02-22 [SCEA]
            9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
        uid        [ unbekannt ] Docker Release (CE deb)
      sub   rsa4096 2017-02-22 [S]
      root@zerberus:~# add-apt-repository \
      >    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
      >    $(lsb_release -cs) \
      >    stable"
      root@zerberus:~# apt update

      root@zerberus:~# apt install docker-ceAnd then a check:
      root@zerberus:~# docker versionClient:
       Version:    17.12.0-ce
       API version:    1.35
       Go version:    go1.9.2
       Git commit:    c97c6d6
       Built:    Wed Dec 27 20:11:14 2017
       OS/Arch:    linux/amd64

      Server:
       Engine:
        Version:    17.12.0-ce
        API version:    1.35 (minimum version 1.12)
        Go version:    go1.9.2
        Git commit:    c97c6d6
        Built:    Wed Dec 27 20:09:47 2017
        OS/Arch:    linux/amd64
        Experimental:    false

      Oracle VM x86: Installing Oracle VM Manager (getting the installation media)

      Thu, 2018-03-08 15:12
      If you search for "oracle vm manager" on Oracle Edelivery you will get the following:
       Hmmm...
      Downloading "Oracle VM Manager with Oracle Linux 2.2.0.0.0" will lead to two files with *.img. These files are no cd/dvd images. But you can find a solution here:

      mount -t auto -o loop,offset=$((63*512)) System.img /mnt/System
      But this leads to some files with oc4j containers. 

      So DO NOT search for "Oracle VM Manager". Use as search string only "VM Manager" and here we go:

      Use the "Oracle VM Manager 3.4.4" at the bottom of the page...
      (The installation can be found in this posting)

      Oracle VM x86: Installing Oracle VM Manager

      Thu, 2018-03-08 13:21
      First check the hardware requirements:


      After downloading the right image (please do not laugh, this is really a problem), inside a Oracle Linux the following steps have to be done:

      mount /dev/cdrom /mnt
      mount: /dev/sr0 is write-protected, mounting read-onlyand
      # ls /mnt/
      components       oracle-validated.params  OvmSDK_3.4.4.1709.zip  sample.yml
      createOracle.sh  ovmm-installer.bsx       runInstaller.sh        TRANS.TBLFirst try:
      [root@localhost ~]# /mnt/createOracle.sh
      Missing required package, Oracle VM Manager requires 'iptables-services' to be installed, you can use 'yum install iptables-services' to install it.Ok:
      [root@localhost ~]# yum install iptables-servicesAnd here we go:
      # /mnt/createOracle.sh
      Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
      Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
      Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
      Adding group 'oinstall' with gid '54321' ...
      Adding group 'dba'
      Adding user 'oracle' with user id '54321', initial login group 'dba', supplementary group 'oinstall' and  home directory '/home/oracle' ...
      Changing ownership of '/home/oracle' to oracle:dba
      Creating user 'oracle' succeeded ...
      For security reasons, no default password was set for user 'oracle'. If you wish to login as the 'oracle' user, you will need to set a password for this account.
      Verifying user 'oracle' OS prerequisites for Oracle VM Manager ...
      oracle    soft    nofile        8192
      oracle    hard    nofile        65536
      oracle    soft    nproc        2048
      oracle    hard    nproc        16384
      oracle    soft    stack        10240
      oracle    hard    stack        32768
      oracle    soft    core        unlimited
      oracle    hard    core        unlimited
      Setting  user 'oracle' OS limits for Oracle VM Manager ...
      Altered file /etc/security/limits.conf
      Original file backed up at /etc/security/limits.conf.orabackup
      Verifying & setting of user limits succeeded ...
      Creating mountpoint '/u01' ...
      Modifying iptables for OVM
      Adding rules to enable access to:
           7002  : Oracle VM Manager https
             123 : NTP
           10000 : Oracle VM Manager CLI Tool
      Redirecting to /bin/systemctl status iptables.service
      Redirecting to /bin/systemctl status iptables.service
      Redirecting to /bin/systemctl restart iptables.service
      iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
      Redirecting to /bin/systemctl restart iptables.service
      Rules added.Before starting the "runInstaller.sh" i had to install the following packages:
      yum install zip unzip net-tools perl-Data-DumperBut then:
      [root@localhost ~]# /mnt/runInstaller.sh

      Oracle VM Manager Release 3.4.4 Installer

      Oracle VM Manager Installer log file:
      /var/log/ovmm/ovm-manager-3-install-2018-02-22-163152.log

      Please select an installation type:
         1: Install
         2: Upgrade
         3: Uninstall
         4: Help

         Select Number (1-4): 1

      Verifying installation prerequisites ...





      And ready for login:


      Oracle database 18c: Installation via RPM

      Sat, 2018-03-03 13:21
      After the release of 18c i did a short dive into the "guide to new features" announced on oracle.com:

       And take a look, what can be found in "Database Overall -> Install, config, and patch":


      RPM-based Database Installation
      RPM-based Database Installation (RDI) enables an RPM-based installation of the Oracle Database software. Using the rpm-ivh command, an RPM-based database installation performs the preinstallation validations, extracts the packaged software, reassigns the ownership of the extracted software to the preconfigured user and groups, maintains the Oracle inventory, and executes all the root operations required to complete the Oracle Database software installation.
      RPM-based Database Installation enables you to leverage an RPM framework to easily deploy Oracle Database.
      A kind of rpm installation was introduced for the installation of grid infrastructure in 12.2 (oracle documentation): Image based installation
      So no worries, you have to start the runInstaller.sh after rpm -i. But let's see, how you have to specify the Oracle_Home in this rpm-process.

      Oracle VM x86: Installation walkthrough / step by step for a node/server

      Wed, 2018-02-28 13:11
      Last week i tried to setup Oracle VM. For all who are interested, here a short walkthrough.
      First the VirtualBox Setup: The VM which should contain the Oracle VM server:








      Let's boot:























      Next reboot:


       And here we go:



      Ubuntu Kernel: Adding a new menuentry as default before menuentry 'Ubuntu' (grub)

      Sun, 2018-02-25 15:27
      After the problem with s2disk/hibernate on my Ubuntu 17.10 i wanted to change the grub boot menu:
      I wanted to add my new default kernel at the beginning  - before the 'Ubuntu' menuentry.





      Adding the menuentry inside /boot/grub/grub.cfg does not work, because after the first kernel update the command update-grub will overwrite all changes.

      Easiest way:
      Go to /etc/grub.d/ and move

      mv 40_custom 09_customInside 09_custom add your new menuentry (just copy the one you want from /boot/grub/grub.cfg):
      root@zerberus:/etc/grub.d# cat 09_custom
      #!/bin/sh
      exec tail -n +3 $0
      # This file provides an easy way to add custom menu entries.  Simply type the
      # menu entries you want to add after this comment.  Be careful not to change
      # the 'exec tail' line above.
              menuentry 'Ubuntu, mit Linux 4.13.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-17-generic-advanced-40d34826-4f8a-aefc' {
                      recordfail
                      load_video
                      gfxmode $linux_gfx_mode
                      insmod gzio
                      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                      insmod part_gpt
                      insmod ext2
                      set root='hd0,gpt5'
                      if [ x$feature_platform_search_hint = xy ]; then
                        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  40d34826-4f8a-aefc-d422f755d339
                      else
                        search --no-floppy --fs-uuid --set=root 40d34826-4f8a-aefc                fi
                      echo    'Linux 4.13.0-17-generic wird geladen …'
                      linux   /boot/vmlinuz-4.13.0-17-generic root=UUID=40d34826-4f8a-aefc ro  noplymouth resume=UUID=709f3f5a-5e73-b42d-b93915cea971
                      echo    'Initiale Ramdisk wird geladen …'
                      initrd  /boot/initrd.img-4.13.0-17-generic
              }
       And then run update-grub once again and you are done....




      Pages