Oracle Cloud Infrastructure - General

Get Involved. Join the Conversation.

Comments

  • Jon-Eric Eliker

    Hi Sneharaj.

    You have encountered a commonly frustrating circumstance. That is, you must choose the "VCN and Internet" DNS option to properly provision your Database System but desire to use on-prem. DNS resolution for purposes like Active Directory. Fortunately, this has been partially addressed in a recent update to the Oracle Cloud Infrastructure service!  As of early November, you can now select to use "Custom DNS" for Subnets that contain database systems Before that, you could fool the system by having VCN and Internet only DNS during Database System provisioning then switch to Custom after. Now we can officially have this Custom setting. See here for details:

    Network Setup for DB Systems > Custom DNS Resolver

    Note there are some caveats related to this configuration mentioned in the documentation link above (for example this is only valid for non-RAC configurations).

    If you have not had opportunity to explore the two choices for DNS resolution (VCN/Internet or Custom) see here for an overview of each:

    DHCP Options > Overview

    A third option is to consider a "hybrid" approach by which you retain the automatic resolution of "oraclevcn.com" host names while introducing your own DNS servers to manage non-OCI name resolution.  It's a more complex configuration but offers great flexibility when implemented. In brief, this solution involves hosting a DNS "proxy" in OCI that forwards requests to the OCI internal DNS when appropriate and to your DNS servers (i.e. your Active Directory controller) when appropriate.  You need to take caution to avoid delays/lag in the DNS requests which is described in this blog post I shared on the subject:

    Prevent Latency in OCI-Hosted DNS Solutions (Mythics.com)

    Note there are three Oracle-hosted blogs referenced at the top of my blog post that cover the basics of configuring this Hybrid DNS model.

    I hope you find this input useful.

    Jon-Eric
    Mythics, Inc.

  • Li Jianxin

    Hi, sorry for the replying so late.

    In the recent two weeks I had been working on a SR with your colleague, but it ended up with asking me to post here.

    So I tried the  "online cloud support chat" and raising SRs, nothing helps. Could you please tell me how to fix this situation?

  • anatoliy smirnov

    Sorry, the text editor you mention - this is not in the PowerShell?

    The issue is that the screen output, in my case, is formatted in such a way that it is hard to read the entries, at the time when the process waits for me to select the grub entry, i am attaching the screen that should show what is happening, could you please have a look.

    I tried PowerShell and PowerShell ISE.

    I am thinking if this doesnt work for me i probably should switch to linux box and try ssh from there, i have dual boot on the laptop with Linux 6.9 i think

    Thanks again

     

  • anatoliy smirnov

    Correct, the boot process goes on

  • Dmitry Gromov

    Hi!

    Yes, I can now see performance metrics, thanks a lot for your help!!

     

  • Alex_D_Oracle

    If I understand it well: you aren't able to stop the grub menu from running the default entry?

    Usually you can stop the countdown by pressing up or down keyboard arrows.

  • Alex_D_Oracle

    Hello,

    This should be resolved now.

    Regards

  • Alex_D_Oracle

    There is a "Formatted" text style (in the list of styles available when clicking the "Normal" button on top of the text editor). Interestingly, it will do the opposite: won't attempt to format the text :D

    If that doesn't work, you can paste the screenshots...

    
     
    
  • Alex_D_Oracle

    Hello,

    Please check if a bucket with the same name doesn't already exist in another compartment ? Bucket names are unique in the region, regardless of compartments.

    Regards

  • Alex_D_Oracle

    Hello Alan

    I had a word from metrics team that this issue is resolved now.

    Can you check this in your tenancy please?

    Regards

  • anatoliy smirnov

    Hi, thanks for the quick response.

    Tried this a couple of times, i don't seem to be able to edit the boot entry cause what i am seeing is this:

     

    [  447.339665] reboot: Power down
    ←[2J←[01;01H←[=3h←[2J←[01;01H←[2J←[01;01H←[=3h←[2J←[01;01H←[2J←[01;01H←[=3h←[2J←[01;01H←[0m←[35m←[40m←[2J←[01;01H←[=3h←[
    2J←[01;01H←[0m←[37m←[40mSystem BootOrder not found.  Initializing defaults.
    Creating boot entry "Boot0001" with label "Oracle Linux" for file "\EFI\redhat\shimx64.efi"

    ←[0m←[30m←[40m←[2J←[01;01H←[0m←[37m←[40m←[21;07HUse the ^ and v keys to change the selection.
          Press 'e' to edit the selected item, or 'c' for a command prompt.   ←[04;80H ←[04;01H      Oracle Linux Server 7.7
     Rescue d50c95f453114d26aa9ae51d096c0e52 (4.14.35>
    ←[05←←←← ← ←[0m←[30m←[47m    Oracle Linux Server 7.7, with Unbreakable Enterprise Kernel 4.14.35-190>
    ←[06;01H←[0m←[37m←[40m←[05;79H←[06;01H      Oracle Linux Server (3.10.0-1062.4.1.el7.x86_64 with Linux) 7.7          ←[0
    6;79H←[07;01H      Oracle Linux Server (0-rescue-849ac1b86eb14df48e049d2634aeec7a with Linu>
    ←[08;01H←[07;79H←[08;01H                                                                               ←[08;79H←[09;01H
                                                                                  ←[09;79H←[10;01H
                                                         ←[10;79H←[11;01H
                                ←[11;79H←[12;01H
       ←[12;79H←[13;01H                                                                               ←[13;79H←[14;01H
                                                                             ←[14;79H←[15;01H
                                                    ←[15;79H←[16;01H
                           ←[16;79H←[17;01H                                                                               ←[
    17;79H←[18;01H                                                                               ←[18;79H←[19;01H
                                                                        ←[19;79H←[19;80H ←[05;79H←[23;01H   The selected ent
    ry will be started automatically in 5s.                     ←[05;79H←[23;01H   The selected entry will be started automa
    tically in 4s.                     ←[05;79H←[23;01H   The selected entry will be started automatically in 3s.
              ←[05;79H←[23;01H   The selected entry will be started automatically in 2s.                     ←[05;79H←[23;01
    H   The selected entry will be started automatically in 1s.                     ←[05;79H←[23;01H   The selected entry wi
    ll be started automatically in 0s.                     ←[05;79H←[0m←[30m←[40m←[2J←[01;01H←[0m←[37m←[40m←[0m←[30m←[40m←[2
    J←[01;01H←[0m←[37m←[40m[    1.906681] kvm: host does not support poll control
    [    1.911150] kvm: host upgrade recommended
    [    2.021506] Couldn't get size: 0x800000000000000e
    [    2.028103] MODSIGN: Couldn't get UEFI db list
    [    2.029864] Couldn't get size: 0x800000000000000e
    [    2.095665] Unable to open file: /etc/keys/x509_ima.der (-2)

    Welcome to ←[0;34mOracle Linux Server 7.7 dracut-033-564.0.5.el7 (Initramfs)←[0m!

    ....

     

     

    I am guessing there is a setting to format the screen output, correct fint , display etc... Do you know by chance what / where that setting is? Please let me know.

     

    Thanks!

  • Dmitry Gromov

    I sent you PM with the information you requested.

    Thanks again for your help!

  • Umesh Patel

    Yes, for any files you can use those. 

  • Zahra Alkaf

    Thank you Alex for your reply. 

    Running vncserver while logged in as opc results in the below:

    perl: warning: Setting locale failed.

    perl: warning: Please check that your locale settings:

        LANGUAGE = (unset),

        LC_ALL = (unset),

        LC_CTYPE = "UTF-8",

        LANG = "en_US.UTF-8"

        are supported and installed on your system.

    perl: warning: Falling back to the standard locale ("C").

     

    New 'instance-20191109-1231:9 (opc)' desktop is instance-20191109-1231:9

     

    Starting applications specified in /home/opc/.vnc/xstartup

    Log file is /home/opc/.vnc/instance-20191109-1231:9.log

     

    ==========================

    Here is the output of the log file (instance-20191109-1231:9.log):

    Xvnc TigerVNC 1.8.0 - built Jun  9 2019 09:21:12

    Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)

    See http://www.tigervnc.org for information on TigerVNC.

    Underlying X server release 12004000, The X.Org Foundation

     

     

    Fri Nov 15 14:48:27 2019

    vncext:      VNC extension running!

    vncext:      Listening for VNC connections on all interface(s), port 5909

    vncext:      created VNC server for screen 0

    /home/opc/.vnc/xstartup: line 5: 12814 Trace/breakpoint trap   (core dumped) /etc/X11/xinit/xinitrc

    perl: warning: Setting locale failed.

    perl: warning: Please check that your locale settings:

            LANGUAGE = (unset),

            LC_ALL = (unset),

            LC_CTYPE = "UTF-8",

            LANG = "en_US.UTF-8"

        are supported and installed on your system.

    perl: warning: Falling back to the standard locale ("C").

    Killing Xvnc process ID 12784

     

     

    =======================

     

    Trying to run a VNC session at x.x.x.x:5909 doesn't work

  • Zahra Alkaf

    Thank you Rene for your reply. Please find the information you requested below:

    1- Output of: yum group list "server with gui" 

    Installed Environment Groups:

       Server with GUI

    Done

     

    2- Output of vncerver@:1.service:

    [Unit]

    Description=Remote desktop service (VNC)

    After=syslog.target network.target

     

    [Service]

    Type=forking

     

    # Clean any existing files in /tmp/.X11-unix environment

    ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

    ExecStart=/usr/sbin/runuser -l opc -c "/usr/bin/vncserver %i"

    PIDFile=/home/opc/.vnc/%H%i.pid

    ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

     

    [Install]

    WantedBy=multi-user.target

     

    3- output of xstartup file:

    #!/bin/sh

     

    unset SESSION_MANAGER

    unset DBUS_SESSION_BUS_ADDRESS

    /etc/X11/xinit/xinitrc

    # Assume either Gnome or KDE will be started by default when installed

    # We want to kill the session automatically in this case when user logs out. In case you modify

    # /etc/X11/xinit/Xclients or ~/.Xclients yourself to achieve a different result, then you should

    # be responsible to modify below code to avoid that your session will be automatically killed

    if [ -e /usr/bin/gnome-session -o -e /usr/bin/startkde ]; then

        vncserver -kill $DISPLAY

    fi