Diff ORA houses on the same host
Hi guys its me againI question is possible to have two different versions on the same Linux host houses?
I installed Db 10.2.0.3 on a House and the second a 9.2.0.4. After several attempts I finally finished that but now I have this situation:
When I want to connect on 9i db with auth OS conn / as sysdba I have no problem, BUT when I want to connect on the 10g db version I have this error message:
[oracle@dbadmin 10.2.0] $ sqlplus/nolog
Message 133 not found; product = SQLPlus. installation = SP2
: Release 9.2.0.1.0 - Production on Thu Jan 28 12:54:37 2010
Copyright © 1982, 2002, Oracle Corporation. All rights reserved.
SP2-0306: invalid Option.
Just to say I always put host ORA and sid when other db. I guess this problem is because I'm trying to connect locally to the host with 9i client on the database 10 g but as I have said always export appropriate SID and the HOUSE for her.
Please help me sort this issue...
Thank you!
Yes, you can have installs all you want, but you will need to change ORACLE_HOME, ORACLE_SID, PATH, LD_LIBRARY_PATH to use a new home.
If the houses are saved in the oratab file you can use the utility "oraenv' to set the variables.
Tags: Database
Similar Questions
-
Sqlnet.ora instance configuration when instances share the same host
Hello
According have modernized some of our databases to 11.2 which was on different machines on the same host again we realized that one of them had node valid control setting with the list of nodes invited in sqlnet.ora.
Is it possible that we keep this configuration for the instance and keep others outside this configuration?
Kind regards
Altanak1980 wrote:
HelloAccording have modernized some of our databases to 11.2 which was on different machines on the same host again we realized that one of them had node valid control setting with the list of nodes invited in sqlnet.ora.
Is it possible that we keep this configuration for the instance and keep others outside this configuration?
Kind regards
AltanLaughing out loud
And the use of valid_node and invited_node is fairly lame to start. I always wondered why implemented oracle implementation in their layer of sqlnet at all, being the right place to do the filtering on the router ip.
So now you must be wondering why a single instance - and no others - used it in the first place. The solution to your dilemma will depend on the answer to this question. It could be that for a particular instance of filtering IP was valid. However, the decision to do so at the level of the layer of tns was wrong, and then pass that instance to a host with other bodies which have different requirements only aggravated the original error.
-
CAR-to-car cloning of EBS on the same host
I'm running a car-to-car cloning of EBS on the same host... trying to run the below command, I get the errors below
Perl adclone.pl component java=/db/app/oracle/product/11.2.0/db_2/jdk/jre = dbTier mode = stage=/db/app/oracle/product/11.2.0/db_2/appsutil/clone/ = dbctxtg=/db/app/oracle/product/11.2.0/db_2/appsutil/dev21_ifmisdbdev01.xml rmanstage = CUSTOM method / fra/STAGE/data/internship/rmantgtloc = + srcdbname FRA = dev2 pwd = apps showProgressode
Logfile located at /db/app/oracle/product/11.2.0/db_2/appsutil/log/dev21_ifmisdbdev01/ApplyDBTier_09121455.log
/ 50% complete type system database Source key ("single" or "car").
The system is identified as active CARS!
Restoring the head node of RAC database on the new system via RMAN target...
THIS PROCESS TAKES A LONG TIME TO COMPLETE AND DEPENDS ON THE SIZE OF THE SOURCE SYSTEM DB
Enter the first phase to RMAN restore
-50% finished
Not able to run the first phase to RMAN restore!
ERROR when executing apply...
-bash-4: $1 tail-f /db/app/oracle/product/11.2.0/db_2/appsutil/out/dev21_ifmisdbdev01/restore-rac1.log
ORA-19504: could not create the file "+ FRA/dev2/controlfile_dev2.ctl".
ORA-17502: ksfdcre:3 cannot create the +FRA/dev2/controlfile_dev2.ctl file
ORA-15001: diskgroup "FRA" does not exist or is not mounted
ORA-15055: unable to connect to the ASM instance
ORA-15055: unable to connect to the ASM instance
ORA-27300: OS dependent operating system: open failed with status: 13
ORA-27301: OS Error Message: permission denied
ORA-27302: an error occurred at: sskgmsmr_7
Complete recovery manager.
operating system permissions
-
Newspapers are not applied in the first physical availability of time on the same host
Hello
I have met many threads associated with this topic, but could not help meet me at good question, raising a fee.
I'm setting up physical DB ensures for the first time. It is in the same host. Although I worked a little on the day before but did not get a chance to create new. I used the cold backup RMAN to restore the backup of the primary database. The version of DB is 11.2.0.3(32bit) and I create on Windows 7. The problem is that newspapers are not applied side sleep although I can find no error in the alerts log. Previously file associated password error was coming, but I solved that one.
In the standby alert settings are similar to:
process = 150
memory_target = 500 M
memory_max_target = 700 M
control_files = 'D:\EDRIVE\STANDBY\STANDBY\CONTROL01. CTL.
control_files = 'D:\EDRIVE\STANDBY\STANDBY\CONTROL02. CTL.
db_file_name_convert = "D:\EDrive\PRIMARY\primary."
db_file_name_convert = "D:\EDrive\STANDBY\standby."
log_file_name_convert = "D:\EDrive\PRIMARY\primary."
log_file_name_convert = "D:\EDrive\STANDBY\standby."
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
Log_archive_dest_1 = 'LOCATION is D:\EDrive\STANDBY\Arc ".
LOG_ARCHIVE_DEST_2 = "SERVICE = VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = PRIMARY PRIMARY."
log_archive_dest_state_1 = 'ENABLE '.
LOG_ARCHIVE_DEST_STATE_2 = "DEFER".
fal_client = "STANDBY".
fal_server = "PRIMARY".
log_archive_config = "DG_CONFIG = (PRIMARY, standby)"
log_archive_format = '% t_%s_%r.arc '.
log_archive_max_processes = 30
db_recovery_file_dest_size = 4152M
standby_file_management = 'AUTO '.
undo_tablespace = 'UNDOTBS1.
SEC_CASE_SENSITIVE_LOGON = FALSE
Remote_login_passwordfile = "EXCLUSIVE."
AUDIT_TRAIL = 'DB '.
db_name = "primary".
db_unique_name = "STANDBY".
open_cursors = 300
-----
Side in primary school settings looks like when you start:
process = 150
memory_target = 712 M
control_files = 'D:\EDRIVE\PRIMARY\PRIMARY\CONTROL01. CTL.
control_files = 'D:\EDRIVE\PRIMARY\PRIMARY\CONTROL02. CTL.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
Log_archive_dest_1 = 'LOCATION is D:\EDrive\PRIMARY\Arc ".
LOG_ARCHIVE_DEST_2 = "SERVICE = PRIMARY NOAFFIRM ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = STANDBY"
log_archive_dest_state_1 = 'ENABLE '.
LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
fal_client = "PRIMARY".
fal_server = "STANDBY".
log_archive_config = "DG_CONFIG = (PRIMARY, standby)"
log_archive_format = '% t_%s_%r.arc '.
log_archive_max_processes = 30
db_recovery_file_dest = 'D:\app\fast_recovery_area. '
db_recovery_file_dest_size = 4152M
standby_file_management = 'AUTO '.
undo_tablespace = 'UNDOTBS1.
SEC_CASE_SENSITIVE_LOGON = FALSE
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = primaryXDB)" "
audit_file_dest = "D:\APP\ADMIN\PRIMARY\ADUMP".
AUDIT_TRAIL = 'DB '.
db_name = "primary".
open_cursors = 300
diagnostic_dest = "D:\APP".
For backup RMAN and duplicate below are the commands that I used.
While backup in montage mode
RMAN target = /.
run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
backup of database format "D:\EDrive\RMANBACKUP\primary\%U".
ARCHIVELOG backup all the format "D:\EDrive\RMANBACKUP\primary\%U".
backup current controlfile to watch format "D:\EDrive\RMANBACKUP\primary\standby.ctl".
}
Then the restoration
RMAN target sys/sys@PRIMARY auxiliary.
Duplicate the database target for Eve dorecover;
Also I added ensures Redolog 1 additional side sleep later because he did not show everything after mark select * from v$ standby_log;.
Now, it's showing a.
On the side of the day before, I heard THAT RMAN creates it.
Please see below:
Side eve
--------
SQL > alter database add standby logfile group 1 'D:\EDrive\STANDBY\standby\stb_redo01.log' size 100M;
alter database add standby logfile group 1 'D:\EDrive\STANDBY\standby\stb_redo01.log' size 100 M
*
ERROR on line 1:
ORA-01184: logfile group 1 already exists
SQL > alter database add standby logfile Group 2 'D:\EDrive\STANDBY\standby\stb_redo02.log' size 100M;
alter database add standby logfile size of 'D:\EDrive\STANDBY\standby\stb_redo02.log' of the 2,100 M group
*
ERROR on line 1:
ORA-01184: logfile group 2 already exists
SQL >
SQL >
SQL > alter database add standby logfile group 3 'D:\EDrive\STANDBY\standby\stb_redo03.log' size 100M;
Database altered.
Please guide me to understand the problem that's why set are not applied?
Thanks a ton for your help beforehand.
-Best regards,.
SahaTransport is not executed on primary, because you log_archive dest parameter is not correct.
Your problem here:log_archive_dest_2 string SERVICE=PRIMARY NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY
You must change it to:
alter system set log_archive_dest_2 ='SERVICE=STANDBY NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'; alter system set log_archive_dest_state_2=ENABLE; alter system switch logfile;
Change the setting and paste here the results, please.
select process from v$managed_standby where process like 'LNS%'; -- on primary select max(Sequence#) from v$archived_log; -- on both side
Concerning
Mahir -
VM on the same host and vSwitch talk internally?
VM on the same host, using the same vSwitch automatically talk to each other internally on the host when they need pass data without using the NETWORK interface card or is there something specific that needs to be configured to do?
Thank you
With the virtual machines on the same vSwitch network traffic will proceed on via virtual network cards so the interaction network will not differ from the VM to communicate to a physical host. Network traffic between virtual machines (assuming that they are on the same VLAN) will stay in the vSwitch and not go through the physical network on the host layer. Thus the inter-VM traffic can exceed the speed of the NIC port in the vSwitch.
vSphere includes VM Communication Interface (VMCI) that allows a host to communicate with the virtual machines without going through the network layer. You can also enable VMCI for VM VM communication.
http://pubs.VMware.com/VMCI-SDK/
http://KB.VMware.com/kb/1010806
Dave
VMware communities user moderator
Now available - vSphere Quick Start Guide
You have a system or a PCI with VMDirectPath? Submit your specifications to Officieux VMDirectPath HCL.
-
Internal network for clients on the same host?
Is it possible to set up an internal network so that if the VMS and B are on the same host and tried to access B (or vice versa), all network traffic will be handled internally by ESXi without the need to go upstream?
Hello
This is the behavior by default when two virtual machines are on the same portgroup and in the same VLAN.
Traffic will not leave the vSwitch in this case.
If you want the virtual machines only isolate the virtual machines from the outside network, you can create a new portgroup for them and do not add physical network cards to the portgroup.
This way, the virtual machines can communicate with each other.
Tim
-
MSSQL server VM cluster should be in the same host or different hosts with RDM
Could someone me on how to place the code SQL cluster s VM with RDMs in ESXi hosts for advice.
What is the best practice to place the SQL VM s in ESXi hosts.
Affinity or an anti-affinite...?
Appreciated your valuable answers.
Depends entirely on the use case.
- 2 MS SQL nodes on the same host to see the availability of the software
- 2 nodes on different hosts to see the availability of the equipment
I'd say MS Clusters on the same host (at the time of HA and vSMP FT) are redundant VMware features and represent an increase in management fees. The MS cluster on hosts provide something in addition to what VMware vSphere alone can provide!
-
PowerCLi script to check if 2 virtual machines are on the same host
Hello
I'm nubby on PowerCLI and I would like to help in the construction of a script.
The script should check if two virtual machines (named test1 and test2) are running on the same host in a vCenter and send a notification (email), if they do.
Something similar with affinity / anti-affinite DRS rules (but not through the DRS enabled on vCenter). My focus is on the affinity. In case this happens, I need vMotion one of them on an another ESXi host(manually or automated).
What I have done until now is the following:
Get - VM | Select Name, @{N = 'Cluster'; {E = {Get-Cluster - VM $_}}, '
@{N = "ESX host"; {E = {Get-VMHost - VM $_}}, '
@{N = 'vCenter'; E={$_. "(ExtensionData.CLient.ServiceUrl.Split('/') [2]}}, '"
@{N = "Datastore"; {E = {Get-Datastore - VM $_}} | `
Export-Csv - NoTypeInformation C:\Scripts\file.csv
That becomes all the VMS and export a CSV file information:
Name Cluster ESX host vCenter Data store test2 cluster_test ESXi_test1 vCenter_test1:443 datastore1 Test1 cluster_test ESXi_test1 vCenter_test1:443 datastore1 For1.local cluster_test ESXi_test1 vCenter_test1:443 datastore1 VM1.local cluster_test2 ESXi_test2 vCenter_test1:443 datastore1 VM2.local cluster_test3 ESXi_test3 vCenter_test1:443 datastore1 VM31.local cluster_test3 ESXi_test3 vCenter_test1:443 datastore1 Thank you.
Try like this.
$tgtVM = "test1", "test2".
Get-VM-name $tgtVM | Group-object - property VMHost | %{
if($_.) County - gt 1) {}
$vm = $_. Group | Get-Random
$esx = $vm. VMHost
$tgtEsx = get-Cluster - $vm VM | Get-VMHost | where {$_.} Name - not $esx. Name} | Get-Random
Move-VM - $vm - Destination $tgtEsx VM - confirm: $false
}
}
-
vsga and vdga on the same host
Hello
Is it possible to have different pool created on the same host and have some VM (pools) that use VSGA and other virtual machines (pool) that are using VDGA on the same host?
Yes it works very well! (Assuming you have at least 2 GPU:s or Board with more then a GPU as a K1 or K2)
Linjo
-
VShield service Manager installation and vShield app to the same host ESXi
Hello, I'm planning on vCloud Director assessment in a laboratory with only a single ESXi host. When I try to install the app vShield service I get the following warning: do not install on a host or a cluster where the VC or the vShield Manager resides. This can cause network problems. The following IP address must be a unique IP address assigned to this unit of App vShield. Please do not use an IP address that is assigned to another machine, including the VC, vShield Manager or any ESX host. Using an incorrect IP address you will need to uninstall and reinstall App vShield on this host. My question is: is it is absolutely impossible to install vShield manager on the same host ESXi as the vShield Manager resides? Or is it just a bad practice? What are the ramifications of installing?
It is a general practice to separate management and resources. What you see is just a warning. When there are very fewer resources available you can do. Make sure that you exclude from the required VM by referring to this post
http://www.yellow-bricks.com/2012/03/17/excluding-your-vCenter-server-from-VShield-app-protection/
-
Pairing of two VMS (always on the same host)
I was wondering if you can marry two virtual machines together so that in the event of a host failure, they will stay together on the same host.You can create a rule to DRS for this (keep the virtual machines together). HA and DRS can complement eachother and in the event of a host failure, DRS will stay two VM together. For this purpose on the modification of your cluster settings part. See a screenshot here:
-
Hi all
I have a question to which I did not respond.
I have an ESXi 5 on Proliant DL380 G7 server host. I want to install vCenter Server and Manager Update on one of the Server 2008 R2 VM on the same host. I know it's possible, but my question is how Update manager will provide updates to the same ESXi host it will run on? The update is applied every time host must spend in maintenance mode and power off the virtual computer running on this subject which means he'll kill VM where vCenter Server and Update Manager is running and the update will fail right?
Is that possible at all or the VCS and UM such as a virtual computer operating point is updated to other guests if you have them or vMotion as VM to another host when you want to update the VCS and UM host is running?
Thanks in advance.
It will not work. You will need at least two hosts. This way you can vMotion the vCenter VM to another host. From there, you can use VUM. Otherwise, you will need to patch the host as a stand-alone host.
See below for patching a standalone host
-
Method for patching only host ESXi4.1 and VC is on the same host
Hello people,
I'm patching one of the ESXi, 4.1.0 348481 and Vcenter Server 4.1 Update1 (VM) is sitting on the same host ESXi. Please let me know how I can this patch
a single host as the Vcenter also will restart. I'm looking to patch manually rather than Update Manager. How patch manually the ESXi host as there is no rounds in ESXi and what serves the Cli. If his VCLI then what is the command for the application of patches and download link. I'm looking to get the procedure. Any help on this
will be well appreciated.
Thank you
vmguy
If you have another host, you can vMotion your VM vCenter to it, then use AUVS to patch. If a stand-alone host, then you will need to turn off vCenter and all the guests and try the method below
-
Can migrate a virtual computer to another virtual hosted by the same host computer?
Deal all,
I have two questions and I need your help.
(1) I wonder if a virtual machine can be migrated to another virtual machine that are hosted by the same host ESXi 5.0? (The host has a local hard drive). If possible, how?
(2) if I have two stand-alone ESXi hosts (host A and B), each host has DAS (local storage) respectively. If the VLC Player is running on a virtual hosted by host A computer and playing a video stream from the Internet, (it is not at all access local storage). This virtual machine can be migrated to host B? (Suppose vCenter is installed)
Any response will be appreciated.
Cheng
You can clone this VM VM A i.e (require vCenter or vmkfstools allows you to clone the drive ONLY) and name VM B. do you want on original VM. Something happened to A VM, VM B you Savior.
vStorage the device (here). It will use your local or DAS.
-
Why ERP login does not work in the same host?
Hello
I installed 5 OEL and Oracle ERP 12.0.4. Everything went smoothly, all services are up & running and capable of connection/working from a remote computer on the network using microsoft xp. Why don't ERP login page does not work in the same host (linux server) using Mozilla Firefox? I missed extra configuration?
ConcerningHello
You go head with the downloaded version. It will work Fine.
Thank you
Yakub.Published by: 900856 on November 27, 2012 12:58 AM
Maybe you are looking for
-
Satellite Pro L20 running Vista has the formidable problem code 12
I try to get my L20 to use all cards PCMCIA with Vista, but I get the dreaded 12 code problem.Y at - it a patch for this problem? I know some Toshiba must have a Vista BIOS works correctly, but there doesn't seem to be one for the L20. P.S. cards wil
-
Hello I have the iphone 6 in warranty period... .working perfectly, but I want to exchange it with the iphone 6 s. Please suggest.
-
Defender pro 5-in-1 is unable to run, because the real-time protection is disabled
I installed Defender pro 5 in 1, it won't work. He said: real-time protection is disabled. don't know how to turn it on
-
MouseEvents or TouchEvents?
Hey,. I just wanted to ask if you have used MouseEvents or TouchEvents. I used MouseEvents for my application I need a single touch point, Multitouch will be added later. He worked in the Simulator, I hope this works on the real device, but as far as
-
SorryI bought 2 surface of the Japan pro, then I moved to the Mongolia.My problem is that I can't use my gift card! Help me Sorry for my bad English