11 Replies Latest reply: Jul 10, 2012 5:07 AM by Catch-22 RSS

    OL Version

    BVV
      Hi,

      I am total newbie in Oracle Linux. Circumstances made me handle a few OL servers running VMs quite urgently and with no preparation so please be mercyful on me.

      I have a question: how can I check the version I am currently running?

      In quite near future I will have to install a VM running MS Windows Server there. Where can I find any guide how to do it? I tried googling but nothing useful came up.

      Thank you in advance for your help and best regards,

      BVV
        • 1. Re: OL Version
          Catch-22
          I suggest to try the command "lsb_version -d".

          For more information, http://www.oracle.com/us/technologies/027626.pdf should be useful.
          • 2. Re: OL Version
            Avi Miller-Oracle
            BVV wrote:
            I am total newbie in Oracle Linux. Circumstances made me handle a few OL servers running VMs quite urgently and with no preparation so please be mercyful on me.
            Are you really running VMs on Oracle Linux? Or is it perhaps Oracle VM? There is a difference.
            I have a question: how can I check the version I am currently running?
            # cat /etc/oracle-release
            In quite near future I will have to install a VM running MS Windows Server there. Where can I find any guide how to do it? I tried googling but nothing useful came up.
            Again, that depends on how you're running these VMs and what version of Oracle Linux you're using. If you're using Oracle Linux 5, I'd be recommending using something else. :) If it's actually Oracle VM, there is plenty of documentation on creating new VMs on the Oracle website.
            • 3. Re: OL Version
              BVV
              Thank you guys!

              Again, if I run the commands you provided will there be any information about if I am using Oracle Linux or VM?

              Thank you.

              BVV
              • 4. Re: OL Version
                Avi Miller-Oracle
                BVV wrote:
                Again, if I run the commands you provided will there be any information about if I am using Oracle Linux or VM?
                The output of my command on an Oracle Linux server:
                [amiller@ol1 ~]$ cat /etc/oracle-release 
                Oracle Linux Server release 6.2
                The output of the same command on an Oracle VM Server:
                [root@ovs1 ~]# cat /etc/oracle-release 
                Oracle VM Server release 5.7
                However, if you are running Oracle VM Server, you should have an Oracle VM Manager somewhere, which is the web-based management tool.
                • 5. Re: OL Version
                  BVV
                  Hi Guys,

                  unfortunatelly those commands did not work :-(

                  I got:
                  "command not found" for lsb_version -d

                  and:
                  "cat: /etc/oracle-release: No such file or directory" for cat /etc/oracle-release

                  I found some documentation that indicates the box is running on Oracle VM 2.2.2 and VMs are Linux 5. I hope I can trust it :-)

                  BVV
                  • 6. Re: OL Version
                    Catch-22
                    The command should be:

                    <pre>
                    lsb_release -d
                    </pre>

                    You can also try:

                    <pre>
                    cat /etc/*release
                    </pre>
                    • 7. Re: OL Version
                      BVV
                      Yep, that has worked. I found out documentation did not lie :-)

                      Thank you guys :-)

                      BVV

                      P.S. How can I check the resources? RAM, disk, processors?
                      • 8. Re: OL Version
                        Catch-22
                        you can try:

                        <pre>
                        cat /proc/meminfo
                        cat /proc/cpuinfo
                        df -h
                        </pre>

                        If you need more info I suggest you start a new thread.
                        • 9. Re: OL Version
                          BVV
                          I definitely will.

                          Thank you very much!!!!!!

                          Best regards,

                          BVV
                          • 10. Re: OL Version
                            Avi Miller-Oracle
                            Dude wrote:
                            <pre>
                            cat /proc/meminfo
                            cat /proc/cpuinfo
                            </pre>
                            These two commands will NOT work on an Oracle VM server, as they'll only show you the memory and CPU information for the management domain, not the entire box. On an Oracle VM Server, you want to run:
                            # xm info
                            However, if this is Oracle VM, you really do need to find out where the Oracle VM Manager web-based management console is installed and use that instead.
                            • 11. Re: OL Version
                              Catch-22
                              Yes, that's absolutely right. Thanks for the info!