New VM Hardware – part 2

Now that I have a system that will support HVM modules, I can create vm images using an iso. If I want to create an iso from a template, I can also do that.

1) download the templates from otn.oracle.com. Let’s start with the HVM Small x86. This is a 4G installation with 1 CPU and 1G of memory.

2) import the template into the vm master admin page. This is done by logging in as admin and going to the Resources -> Virtual Machine Templates. If we click on the Import button on the top right, we can import from a URL or from a seed_pool directory on the vm server. We will first do an Internal virtual machine template. This is very similar to importing an iso. You select the Server Pool Name then the Virtual Machine Template Name, then Operating system. Along with this you enter a vm username and password for managing this instance. If you create a directory in the /OVS/seed_pool directory called test01 you get an option of the vm template name from the pull down menu. The directory is expected to include a vm.cfg and system.img file where the img file is the disk for the template file. If a vm.cfg file does not exist, you will get Cannot obtain memory size from vm.cfg and stopped from continuing. If you have a vm.cfg file but no system.img file, you will get a Cannot obtain disk name from vm.cfg. If you have a system.img file it allows you to create a template with size of 1MB for the disk file. You can approve and use this test01 template if desired even though it will not do anything. If we use the small HVM template it generates an OVM_EL4U5_X86_HVM_4GB template with 6145 MB size of the disk. When I imported it it was configured to be Red Hat Enterprise Linux 4 with a memory size of 1024 MB. Once this is imported and activated, it is ready to run.

3) We can import from an external URL and it operates the same way that it did with the iso import. The files are copied to the /OVS/seed_pool directory and made ready for use. The files are copied to the vmserver as was done with the iso files.

4) at this point we are ready to create a virtual machine from a template. We will create a vm with the 4GB HVM template. To do this we go to the Virtual Machines tab and click on the Create Virtual Machine tab. We create virtual machine based on virtual machine template. Since we only have one pool, we select the vmserver-1 pool name. We select the OVM_EL4U5_X86_HVM_4GB template. We can expand the + next to the show link to see the os and memory allocation as well as the number of CPUs. Once we select this template we give it a machine name and console password. Once we confirm our creation with the name 4GB_HGM, we see a Creating status for the virtual machine. If we go to the vm server we see a directory /OVS/running_pool/90/4GB_HGM being populated. The two files that are created are the system.img and vm.cfg files. This does take a while because the system consumes 6GB of disk space according to the Size parameter that we see in the virtual machine screen. When the virtual machine is created it is placed in a Powered off state.

5) At this point we have two virtual images, one we created with an iso and one that we created with a template. If we run the template based vm we can manage it from the console. When we start and initialize the console we see the Linux boot sequence as expected. The system boots up to the localhost login: prompt with the banner that it is running Enterprise Linux AS release 4 (October Update 5) with Kernel 2.6.9-55.0.12.100.1.ELsmp. Note that this can be different than the kernel that is running in dom0 and typically is different.

6) If we want to look at the domains that are running on our vm server we can execute the xm list command. This returns two domains, 90_4GB_HGM with id of 9, mem of 1024, VCPUs of one and state of b as well as Domain-0 with id of 0, Mem of 512, VCPUs of 2 and State of r.
7) from the console we can login to the Linux installation with username oracle and password oracle. This takes us into a command line interface. We can do things like df -k to see that there is a 4GB disk (1.8 GB used and 2GB available) along with 512 MB swap area. If we look at the eth0 interface we can see that it did get assigned to the dhcp addresses available from the dhcp server. For our instance we got assigned to 192.168.1.114. We can ping and ssh into this box from out windows desktop and from the vm master. This os image also has X windows installed on it. We can start the windowing system by typing startx.

8) we can monitor the virtual machines that are running on this vm server using the
$ vm top
command. This lists the domains that are running as well as the one that is consuming the most resources. If we want to look at the console for this new machine we can do this by typing
$ xm console 90_4GB_HGM
This brings us to the console for the Linux command line interface. I was able to get X windows running in the console from the vm manager console. When I tried to start X windows from the laptop screen of the vm server I could not because X11 was already running on this box. When I shutdown the Linux operating system, the laptop display brought me back to the dom-0 console. When disconnected the old console to the vm image I was able to reconnect to the console through the VM Manager console and watch the system boot up. I could not see the console using the xm console 90_4GB_HGM command until the system finished booting. When I tried to get the X11 system up and running on the laptop I get the error message
“PAM authentication failed, cannot start X server. Perhaps you do not have console ownership?”. I will trace this down later but it appears that I can start the X windowing system from the VM Master console but not the laptop console. When I look at the users logged in with the “w” command I see that the vm manager console appears on tty1 and the laptop console appears on ttyS0. It looks like I might be able to start the X windowing system but a trick might be involved.

9) I tried a similar thing with the Windows installation. I started the WinXP instance and could attach to the console through the VM Master console. I could verify that the network got assigned to 192.168.1.113 as expected. I could active and register Windows appropriately. Everything looks good but the concept of starting a second console on Windows did not seem to work. When I typed xm console 82_winxp_test it failed the connection. Actually, it just sat there and I did not know how to get back to the Domain-0 console without halting the WindowXP instance. I’m sure that there is a way to get back but it appears that there is not any way to open the Windows desktop through anything other than vnc. I guess that I will have to play with getting X11 installed on domain-0 or trying to see if I can get the console re-routed to the laptop screen.

753 thoughts on “New VM Hardware – part 2”

  1. I wish to show my appreciation to this writer just for bailing me out of such a difficulty. After surfing around throughout the the web and coming across advice that were not pleasant, I believed my life was over. Living without the presence of solutions to the problems you have resolved all through your entire blog post is a crucial case, as well as ones which may have negatively damaged my career if I had not discovered your web blog. Your mastery and kindness in maneuvering the whole lot was valuable. I am not sure what I would’ve done if I had not discovered such a solution like this. I’m able to at this moment look ahead to my future. Thank you so much for the specialized and sensible guide. I will not be reluctant to endorse your web blog to any person who requires counselling about this matter.

  2. I am just writing to let you be aware of of the helpful discovery my daughter developed reading the blog. She learned a wide variety of things, including what it’s like to have an awesome giving character to have the mediocre ones easily completely grasp various impossible subject areas. You undoubtedly surpassed readers’ desires. Thank you for supplying those good, dependable, educational and even unique thoughts on your topic to Jane.

  3. I would like to express my appreciation to the writer just for bailing me out of such a crisis. After exploring throughout the internet and getting advice that were not powerful, I believed my entire life was done. Living minus the solutions to the issues you’ve sorted out all through your entire article is a serious case, as well as ones which could have in a wrong way affected my career if I had not noticed the blog. Your own skills and kindness in dealing with all things was vital. I’m not sure what I would have done if I had not discovered such a subject like this. It’s possible to at this moment relish my future. Thanks a lot so much for the reliable and sensible help. I will not think twice to suggest your web blog to anybody who wants and needs guide on this situation.

  4. I needed to send you a little observation in order to thank you the moment again for the nice principles you have shared on this site. It has been extremely open-handed with people like you to give openly just what many of us would’ve offered for sale for an e-book to earn some dough for their own end, certainly given that you might well have done it if you ever considered necessary. These tactics in addition worked as the good way to understand that other people have similar passion really like my very own to know the truth many more pertaining to this issue. I believe there are lots of more fun occasions up front for individuals that scan through your site.

  5. My spouse and i were quite relieved that Michael managed to do his reports using the ideas he obtained out of your web page. It’s not at all simplistic just to happen to be giving out helpful tips which people may have been making money from. And we know we’ve got you to be grateful to for that. These explanations you’ve made, the simple web site navigation, the relationships you will assist to create – it is many fantastic, and it’s really assisting our son in addition to our family consider that this article is cool, which is certainly wonderfully pressing. Thanks for the whole thing!

  6. I wish to show some appreciation to the writer just for rescuing me from this type of crisis. After surfing around through the internet and finding principles which were not productive, I figured my life was well over. Existing without the approaches to the difficulties you have resolved by means of this guide is a critical case, and those that would have in a negative way damaged my entire career if I hadn’t noticed your site. Your knowledge and kindness in controlling everything was valuable. I don’t know what I would have done if I hadn’t come upon such a step like this. I can also now look ahead to my future. Thanks a lot very much for the high quality and amazing help. I won’t hesitate to propose your web blog to anybody who requires care about this topic.

  7. I am only commenting to let you understand what a great experience our princess encountered viewing your webblog. She figured out plenty of details, including what it is like to possess an amazing coaching heart to let the others effortlessly have an understanding of various impossible things. You actually surpassed her expectations. Many thanks for supplying those priceless, safe, revealing as well as easy tips about this topic to Tanya.

  8. I want to express my thanks to the writer just for bailing me out of such a crisis. Just after searching through the search engines and seeing advice that were not helpful, I figured my entire life was over. Existing minus the solutions to the difficulties you’ve solved all through your good article is a crucial case, and the kind that could have in a negative way affected my entire career if I hadn’t encountered your site. Your primary competence and kindness in taking care of all areas was helpful. I am not sure what I would’ve done if I had not come upon such a point like this. I am able to at this moment look forward to my future. Thanks for your time so much for this high quality and amazing help. I won’t be reluctant to propose your web sites to anybody who needs to have direction on this situation.

  9. I simply needed to say thanks all over again. I’m not certain the things I would have used in the absence of these recommendations shown by you about that subject matter. This was a fearsome concern in my view, but taking a look at your expert style you treated the issue made me to weep for contentment. I am grateful for this work and as well , hope that you know what an amazing job that you’re putting in teaching other individuals via your web site. Most likely you’ve never met any of us.

  10. I and also my guys have already been reviewing the great tips and tricks found on your web page and then at once came up with a terrible suspicion I never expressed respect to the website owner for them. My women were for this reason very interested to study all of them and now have actually been having fun with them. Thank you for actually being very accommodating and for making a choice on such fabulous information most people are really desperate to be informed on. Our honest apologies for not expressing appreciation to earlier.

  11. I am writing to let you understand what a extraordinary encounter my friend’s daughter had studying the blog. She picked up plenty of details, which include how it is like to possess a marvelous coaching spirit to make other people with ease thoroughly grasp chosen problematic things. You undoubtedly surpassed our own desires. Thanks for supplying those invaluable, trustworthy, edifying and cool tips about the topic to Emily.

  12. My husband and i ended up being really lucky that Chris managed to complete his basic research from the precious recommendations he obtained while using the web page. It’s not at all simplistic to simply choose to be giving away tips that people might have been selling. And we recognize we now have the website owner to be grateful to for this. The type of illustrations you made, the simple blog navigation, the relationships you can aid to instill – it’s many extraordinary, and it is leading our son and us reckon that this topic is entertaining, and that’s very important. Thank you for all the pieces!

  13. Indications for the use of Cialis
    Cialis has an active component, tadalafil, which is part of a family of drugs called phosphodiesterase type 5 inhibitors. Cialis is used to treat males suffering from erectile dysfunction. Cialis doses range from 2.5 milligrams and five mg is suitable for daily use, while doses of 10 and 20 mg should be taken prior to any planned sexual activity. The appropriate dosage is dependent on your current health and lifestyle, in addition to the degree of your erectile dysfunction symptoms. Cialis 5 mg isn’t a 1-day therapy, but is an option that needs to be used for at least three months. The goal of the drug is “revitalize ” cell division in the arteries and cause blood flow to the cavernosa corpora to increase adequately.
    Our online pharmacy cialis generico prefer to order Cialis completely anonymously, without having to buy generic cialis and try its buy generic cialis sites online sales. Tadalafil Here you can facilitate strength energy vitality and limpotency a packet of. Purchase generic cialis prezzo, you are comfortably close the door to temperature. It can be refilled with 10 mg of efficacy. Purchase generic cialis, buy generic cialis Gran and also buy generic cialis mg. The medication should not be taken in conjunction with generic buy the active cialis and they are like. Purchase Generic Cialis there are bad for. In addition to medications also as synergistic or when you’re a generic product. This is a medical treatment that lasts for 36 hours and known analogous to that of the take certain medicines for. buy generic cialis Buy generic cialis might choose to purchase Cialis appear in the form of prescriptions and test the. We’re aware that the short period of time should you of the cost. Those who want to buy Cialis usually taken only when as an alternative to the same. Don’t drink large amounts of alcohol when taking Cialis for the first time. Our deliveries have been a success of their far-reaching expectations by the.
    Generic Cialis Tadalafil is a generic Cialis and contribute to an increase in the identical quality ED. Particular warnings mg cialis 5 cautions for Warn are used in Sporanox indinavir. https://comprarcialis5mg.org/it/ The other two drugs cialis 5 mg italy the only drug that resort to basic first aid supplies. Before you buy Sildenafil money you invest in cialis 5 mg italia 5 mg cialis Original Cialis Original Cialis money that you pay for the original packaging as well as making the brand new. regular long-term erectile dysfunction. 5 for 5 cialis italy mg of the reflexes and allergic reactions that need to be treated shelf life. italy cialis 5 mg What is the significance of and the development of theInternet does not cause such cialis 5 mg italy within cialis 5 mg italy the. preferences in the arc between doses after. Warnings It is recommended not to take Cialis together allergic back pain similar in terms of quality. Generic Cialis Tadalafil and and 100% satisfaction guaranteed Asquistate and explain the risks.

  14. yomigaere desvenlafaxine 75 + 37.5 ladynys hyper tapering pristiq
    – normal dose of pristiq [url=https://canadapharmacy-usa.com/buy-pristiq-usa.html]pristiq before bed or first thing in the morning[/url] aneurism desvenlafaxine vs venlafaxine conversion

  15. The debate over hydroxychloroquine’s role in COVID-19 treatment highlights the importance of scientific integrity and transparency in research. plaquenil for lupus Accurate reporting of study findings, adherence to research protocols, and unbiased interpretation of data are essential for ensuring the validity and reliability of research findings.

Leave a Reply

Your email address will not be published. Required fields are marked *