Sitemap

Amicuk Programming Answers

Fresh install of Oracle VM Manager Template into Oracle VM Server

-0001-11-30   Views:8

Advertisement

Hi, I am trying to install the Oracle VM Manager template and then create an Oracle VM Manager client. I have already done a 'fresh install' of Oracle VM Server. I do not have another machine available to use to contain the 'Oracle VM Manager', there

Hi,
I am trying to install the Oracle VM Manager template and then
create an Oracle VM Manager client.
I have already done a 'fresh install' of Oracle VM Server.
I do not have another machine available to use to contain the
'Oracle VM Manager', therefore, I am attempting to install the
Oracle VM Manager template directly into an Oracle VM Manager Server and
run the client.
I am following the instructions of the Oracle VM Server Users Guide
in section 4.3.
When I extract the zip file contents into the
/OVS/seed_pool directory, I get the following files.
Deploy_Manager_Template.sh
OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
So far, so good.
Next, I used 'tar' to help me extract the directories of the .tgz file.
So far, so good.
Next, as instructed, I used 'python' and 'print randomMAC()' to create a new MAC address.
Inside the /OVS/seed_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM/vm.cfg file
I modified the vif MAC address. I replaced the
xx:xx:xx with the 'last three' that were generated by the python randomMAC
function from above.
vif = [ 'mac=00:16:3E:<my generated numbers>', ]
So far, so good?
In the Oracle VM Server Users Guide in section 4.3.,
The next step, expains that I should run
xm create mv.cfg
I did this. When I ran this I received back the error.
Using config file "./vm.cfg"
Error disk is not accessible.
When I peek inside my vm.cfg file.
I see file references starting with the following
file:/OVS/running_pool/ ...
Of, course my running_pool directory is empty.
(Again, this is a fresh install of Oracle VM Server).
My first question is the following.
Sometime in this process was I supposed to run
the the following executable?
./Deploy_Manager_Template.sh
If so, should I have done this early?
Was the modification of the vif (of adding the MAC address
into the vm.cfg file, something I 'should have not done'
or 'something that could be ignored' because the
'./Deploy_Manager_Template.sh' would have done this for me?
My second question is the following.
Would the following process be 'more correct?'
..1 Not modify the vm.cfg' file.
..2 run ./Deploy_Manager_Template.sh.
..3 In the /OVS/running_pool/ directory find my
vm.cfg file of interest, then modify the vif with a new MAC address.
..4 In /OVS/running_pool/Change my current location to my directory of interest
run xm create vm.cfg (to run my Oracle VM Manager)?
Any help or ideas whould be appreciated.
Thank you very much,
AIM

The replay answer
Advertisement
Hi,
This is the README file for Oracle VM Manager 2.2.0
Readme for Media Pack B57738-01
Print: Access key=P Close: Access key=C
Oracle VM Templates for Oracle VM Manager 2.2.0 Media Pack v1 for x86 (32 bit)
=====================================================================
Template Version 2.3
Oracle VM Manager Version 2.2.0
This document contains:
1. Prerequisites for Oracle VM Manager virtual machine (VM) deployment
2. Oracle VM Manager Template description
3. Creating an Oracle VM Manager Virtual Machine from
Oracle VM Manager Template
4. Deployment Interview
5. Known Issues
For more information on Oracle VM Manager, please refer to
the "Oracle VM Manager Installation Guide" and the "Oracle VM Manager
User's Guide" available at:
http://download.oracle.com/docs/cd/E15458_01/index.htm
1. Prerequisites
================
- A new install of Oracle VM Server 2.2 that has NOT been managed by another
Oracle VM Manager. Manager Template 2.2 is intended to be installed on Oracle
VM 2.2 server. If you have a new Oracle VM 2.1.5 server and want to deploy
Oracle VM Manager template, please use the Oracle VM 2.1.5 Manager template.
Note: root access to the server's dom0 is required.
- It's highly recommended that you upgrade the default agent (ovs-agent-2.3-19)
to ovs-agent-2.3-27 or later. You can get the latest Oracle VM 2.2 packages
from Oracle's Unbreakable Linux Network (http://linux.oracle.com).
Note: Alternate location to get Oracle VM agent 2.3-27 is
http://oss.oracle.com/oraclevm/server/2.2/RPMS/ovs-agent-2.3-27.noarch.rpm
- A working directory of the Oracle VM Server 2.2 has at least 4GB free space
for downloading and installing the template. The working directory can be any
directory on the Oracle VM server except /OVS/running_pool.
Note: The /root partition of the default Oracle VM server install may not have
enough space to temporarily host the template installation. Please use other
directory that has sufficient free space.
- At least 15GB of free space in the cluster root storage repository. For storage
and repository configuration, please refer to Oracle VM 2.2 Server User Guide:
http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/storage.htm
and
http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/repository.htm
- At least 2GB of free memory on the Oracle VM Server
- A static IP address for the Oracle VM Manager
- If enabling HA (high availability) for the Oracle VM Manager,
mount a clustered OCFS2 or NFS filesystem on /OVS. If ext3 or a
local OCFS2 filesystem is used, enabling HA will cause the high availability
prerequisite checking to fail. The Oracle VM Manager configuration
process will exit without completing the configuration.
- The Oracle VM Manager will register the first VM that it detects.
To have Oracle VM Manager be the first VM registered,
make sure there are no virtual machine images besides the Oracle VM Manager
virtual machine in the /OVS/running_pool directory on the Oracle VM Server.
- A desktop or other system with a VNC Viewer installed
The steps below assume that the Oracle VM Server used is not currently
or was not previously managed by another Oracle VM Manager. If this is not
the case, the instructions below will ask user clean up Oracle VM Agent DB
before running the Oracle VM Manager.
2. Oracle VM Manager Template Description
=========================================
The Oracle VM Manager Template is distributed as one archive file which
includes:
File Version
OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz 2.3
Deploy_Manager_Template.sh 2.3
The OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz archive contains two disk images,
a VM configuration file and a readme file:
- Oracle Enterprise Linux 5.3 x86 system disk image
- Oracle VM Manager 2.2 disk image
- vm.cfg
- README
The system image is a JeOS (Just enough OS) installation of Oracle
Enterprise Linux 5.3. It is a smaller footprint install that contains
the only packages needed by Oracle VM Manager.
Oracle VM Manager is configured to use Oracle Database 10g
Express Edition (included).
Deploy_Manager_Template.sh is used to check the prerequisite and
create virtual machine.
During the first boot of the Oracle VM Manager virtual machine,
the Oracle VM Manager configuration process will create server pool
and import the Oracle VM Manager virtual machine.
Two OS user accounts are created by default:
user: root password: ovsroot
user: oracle password: oracle
The user 'oracle' belongs to the 'oinstall' and 'dba' groups.
The default vnc console password is 'oracle'
3. Creating the Oracle VM Manager virtual machine
=================================================
1) Download the Oracle VM Manager Template (V19215-01.zip)
from http://edelivery.oracle.com/oraclevm
2) Login to the Oracle VM Server's dom0 as 'root'
Copy V19215-01.zip to your working directory with at least 4GB free space.
You can choose any directory on OVM Server except /OVS/running_pool.
This zip file contains the archive file OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
and a deploy script Deploy_Manager_Template.sh
3) As root, run
# unzip V19215-01.zip
4) As 'root', run the deployment script:
# chmod 755 Deploy_Manager_Template.sh
# ./Deploy_Manager_Template.sh
The deployment script Deploy_Manager_Template.sh will complete the following
tasks:
a) prerequisite checking
b) uncompress OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz file to directory
/OVS/running_pool. This directory will contain the files following files:
/OVS/running_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM
|- System.img (OS image file)
|- Manager.img (Manager image file)
|- vm.cfg (VM configuration file)
|- README (Readme file)
c) generate and assign new MAC address to the virtual machine
d) interview the user for VM and VM Manager configuration parameters
(next section 'Deployment interview' provides the list of questions)
e) create and boot the virtual machine from the Oracle VM Server
command line
f) display the access information for Oracle VM Manager and Oracle VM
Manager VM
4. Deployment Interview
=======================
The deployment script will prompt a user to enter
a) Agent password
The agent password is required for the prerequisites check.
b) Storage configuration
Storage Source: NFS address, OCFS2 partition path
The script will automatically detect your cluster root storage repository
if you have configured it. Or it prompts users to input their storage source
and the script tries to set it up as cluster root.
NOTE: how to manually create your own storage repository in OracleVM server 2.2.x
1) Register your storage source. Example:
/opt/ovs-agent-2.3/utils/repos.py -n myhost:/mynfslocation
/opt/ovs-agent-2.3/utils/repos.py -n /dev/sdb3
Note that the storage source should have at least 15GB free space.
If the storage source is successfully registered, note down the uuid genereated
by the command above, such as:
51d4c69b-e439-41ac-8b31-3cc485c993b0 => /dev/sdb3
2) Mount your storage repository.
If the agent version is 2.3-27 or higher, execute:
/opt/ovs-agent-2.3/utils/repos.py -i
otherwise, complete the following commands:
[1] mkdir -p /var/ovs/mount/$(echo <uuid> | sed s/-//g | tr '[:lower:]' \
'[:upper:]')"
where '<uuid>' is the uuid noted down in step 2)
[2] mount your storage source to the directory made in step [1].
3) If /OVS exists, delete or move /OVS
mv /OVS "/OVS.$(date '+%Y%m%d-%H%M%S').orig"
create a symbolic link from storage repository to /OVS
ln -nsf /var/ovs/mount/<UUID>/ /OVS
c) Network configuration
Static IP address
Netmask
Default Gateway IP address
DNS Server IP address
Hostname
d) Password for database accounts:
'SYS' and 'SYSTEM' (the same password the same password is used)
'OVS'
'oc4jadmin'
'admin'
e) Web Service configuration (supported in template in version 1.2)
Web Service password (at least 6 characters)
Enable HTTPS or not
f) SMTP server (outgoing mail server SMTP hostname)
E-mail Address for account 'admin'
g) Data for the manager services configuration:
Oracle VM Server Pool Name
Oracle VM Server login user name
Oracle VM Server login password
Note that Oracle VM Manager is critical for managing Oracle VM Server Pools.
Do not pause, suspend or shutdown this virtual machine! Configuring
HA is recommended for this virtual machine so that Oracle VM will
automatically restart the Oracle VM Manager virtual machine if there
is a server crash.
5. Known Issues
===============
1) You may see messages on a virtual machine's console similar to these
when the virtual machine is booting up:
Fatal: No PCI config space access function found
rtc: IRQ 8 is not free.
i8042.c: No controller found.
These messages can be ignored.
2) Mail server check fails.
Bug #7140 in bugzilla.oracle.com
Oracle VM Manager installer only checks the default SMTP port 25 for the
mail server. If the SMTP port is not 25, the check fails, and you will
see the following message:
Mail server '<mail server hostname>' check failed, want to re-enter it(Y|n)?
You can enter 'n' to skip the mail server checking. You will also see the
send mail checking fails with following message:
Failed to send mail to '<Admin e-mail address>'
want to re-enter the e-mail address(Y|n)?
You can enter 'n' to skip the send mail checking.
3) OEL VM console may display error messages similar to those below:
BUG: warning at drivers/xen/fbfront/xenfb.c:143/xenfb_update_screen() (Not
tainted)
Call Trace:
[<ffffffff803aa461>] xenfb_thread+0x135/0x2c5
[<ffffffff8024874b>] try_to_wake_up+0x365/0x376
[<ffffffff8029ba6e>] autoremove_wake_function+0x0/0x2e
[<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
[<ffffffff803aa32c>] xenfb_thread+0x0/0x2c5
[<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
[<ffffffff802339c8>] kthread+0xfe/0x132
[<ffffffff80260b24>] child_rip+0xa/0x12
[<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
[<ffffffff802338ca>] kthread+0x0/0x132
[<ffffffff80260b1a>] child_rip+0x0/0x12
This will not cause any problems.
4) If you accidentally power off Oracle VM Manager virtual machine through
Oracle Manager UI, and restart the virtual machine from OVM server command
line, although Oracle VM Manager virtual machine is running normally,
the virtual machine status in Manager UI will stay in 'Shutting Down'.
This is expected, as the virtual machine status sync will only happen when
the virtual machine status is "Error" or "Powered Off".
To re-sync the virtual machine status, please complete the following steps:
1. Log on the Manager UI;
2. Navigate to the 'Virtual Machines' tab;
3. Select Oracle VM Manager virtual machine, "OVM_EL5U3_X86_OVM_MANAGER_PVM";
4. Choose 'Reset' from 'More Actions' dropdown list;
5. Click 'Go' button, the status will become "Running" after a while.
5) (Bug 9191053) For OVS agent version 2.3-19, the following High
Availability scenario will not work.
"If a Virtual Machine Server fails, all running virtual machines are
restarted automatically on another available Virtual Machine Server."
For OVS agent 2.3-19, Oracle VM Manager virtual machine will not be
automatically restarted on any other available Virtual Machine Server,
but on the original Virtual Machine Server when it becomes available again.
To fix the issue, please upgrade OVS agent to 2.3-27 or the latest version.

Go to See the other 7 answers

Fresh Install of Oracle VM Server 2.1.1 x86_64

Category:DefaultRelease time:-0001-11-30Views:130

Hello experts, I tried to install OVM Server 2.1.1 but it does not see the hard disk (/dev/sda). I use the older version (2.1) and it detects the hard disk just fine and I finished the installation. So I thought I do an upgrade and put in the 2.1.1 C[More]

Fresh install of Oracle VM Manager Template into Oracle VM Server

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I am trying to install the Oracle VM Manager template and then create an Oracle VM Manager client. I have already done a 'fresh install' of Oracle VM Server. I do not have another machine available to use to contain the 'Oracle VM Manager', there[More]

Monitoring Services Installed on Oracle apllication Server using  ITCAM

Category:DefaultRelease time:-0001-11-30Views:130

can we Monitoring Services Installed on Oracle apllication Server using Tivoli ITCAM for J2EE.Hi All, Finlly got rid of the problem by incuding ' loaderRef="oracle.tasks.loader" ' in my taskdef tag. Earlier it was <taskdef resource="orac[More]

Photoshop 2014 (fresh install) cant open a video because: -. the dynamiclink media server is not avalable – any idea how to fix this on os x 10.5.8 ?

Category:DefaultRelease time:-0001-11-30Views:130

Photoshop 2014 (fresh install) cant open a video because: -. the dynamiclink media server is not avalable – any idea how to fix this on os x 10.5.8 ?i found the error! little snitch on os x blocks something (i dont know what exact) of adobe in the ba[More]

Fresh Install of Oraclve VM Manager?  Not enough disk space?

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I am very new at this. I have installed Oracle VM from the ISO and took all of the defaults. Next, I have mounted the Oracle VM Manager ISO and when I run sh ./runIntstaller.sh, it starts to work, but when I choose the option to install a XE data[More]

Silent install of Oracle WebLogic Server 11gR1 (10.3.6) + Coherence + OEPE

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm trying to deploy the Oracle WebLogic Server 11R1 (10.3.6) on multiple computers. So I created a silent.xml file to use in my silent installation. The xml file appears to have the correct syntax. But when I launch the command: oepe-wls-indigo-[More]

Re-install of Oracle HTTP Server in a configured environment

Category:DefaultRelease time:2015-10-11Views:130

OS: Oracle Enterprise Linux 5.5 64 bit Hyperion: v11.1.2.0 Web Server1: SharedServices, Calc, EAS, APS, Planning installed and configured. They are working from URL and clients. We ran into issues with Workspace configuration. If we have to re-instal[More]

Can I use flash drive in Windows that install on Oracle VM Server

Category:DefaultRelease time:2015-10-11Views:130

Dear everyone, I install Windows server 2003 on Oracle VM Server x86. I can use .iso file by copy iso file to /OVS/iso_pools and add resource. But I want to use flash drive on Windows server 2003 that installed on Oracle VM. I don't know how to do or[More]

Can we do a fresh install of TES 6.2.1 on a new server, but point to an database currently used by the older version (v5.3.x)

Category:DefaultRelease time:2015-10-11Views:130

The current database is 2.5 gb, but it is already on SQL Server 2008, and doesn't need to be upgraded. In reading the documentation, it looks like the installer can install a fresh copy, which I'm assuming creates the requisite tables in the database[More]

Installing the Oracle Application server 10 g release 3

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, I installed the basic installation of the oracle application server 10g release 3.After installation i was able to get the Aggrespy page listing the performance metric tables.The problem is that the page is not getting displayed in xml format[More]

Can Oracle HTTP Server 2.0 be installed with Oracle App Server 10.1.3.4.0?

Category:DefaultRelease time:2015-10-11Views:130

Or I guess a related question is what version of apache comes with the latest App Server Patch Set (10.1.3.4.0)? We are running OAS 10.1.3.3.x and we are having issues with URLs that end in a number but which have query parameters at the end. E.g. ht[More]

Hot
I tried all the things that I read on other threads isuggested as well and I still cannot get the volume buttons to work when I try to play music or podcasts. I read a post on another site where someone suggested the phone is "stuck" or confused [More]
hello, I need to insert pictures into excel. I have already printed the report generation toolkit for microsoft office and downloaded Picture_To_XL_(6i). But I have nothing to do the report : for in instance write jpeg file (excel).vi,read jpeg file [More]
Hi All, OAM application Dashboard request is ending with phase completed and status Error,below is the log file of the same. Application Object Library: Version : 11.5.0 Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved. FNDOAMCOL mod [More]
Slim authentification doesn't work for me. After entering the password, it goes back and prompts me for the username again. This happens for the right username/password combination, as well as for wrong passwords and/or users. I start slim in deamon [More]
I am try to export Outbox and Send status in windown 2012 Fax server. I don't need actual fax image. I only want Recipient number, Status.... etc showing in wfc.exe. It's showing in WFC.exe application but I just can't find a way export the list to a [More]
Due to business requirement, we are required to re-compile Oracle 11i Internet Expenses java classes. Fortunately all files are fine, except of one for "Expense Details" screen. Under directory */comn/java/oracle/apps/ap/oie/server/, there is a [More]
Hi gurus, I have installed OBIEE 11.1.1.6.0  and oracle 11g  on Linux machine,  and my client tools are installed on my local machine. So know i need to configure both, suppose i have created a rpd file on my local machine and i want to create analys [More]
After the first try, I updated Adobe to the latest version, but it still doesn't recognize the file type of Firefox 4.0Hello, Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clea [More]
When launching LR 4.3RC, the dialog box appears with no catalogs listed.  Clicking in the blank field where the names should be makes the one under the cursor appear.  Clicking each line will eventually populate the whole list.  Is this a known bug?  [More]
Since the latest OS X update my camera is no longer being detected.  I have a MacBook Pro, OS X Mavericks v10.9.2 that was updated on 1 March 2014. Any ideas.iSight camera failure after OS X 10.9 Mavericks updateRead other 2 answers [More]