reference to cloned VI
I'm trying to get the reference to cloned VI.
I have a program that has multiple reentrant calls VI with clone prealocated for each instance. I would like to reset the default values of all the clones that's why I need reference to call the method that reset the values. I see that VI clone has different numbers, for example edge.vi:1 (clone), edge.vi:2 (clone), but can not find the way to get a reference to them.
Original VI reference does not VI cloned
Thank you
Petar
Dear kaschiyski,
In my opinion the best way to do that is to store the references at their opening. For example, you can put the references in a matrix or a queue, and then use the method that you want to use.
You can also use the cnvention name described in this threa: http://forums.ni.com/ni/board/message?board.id=170&message.id=263156&requireLogin=False
If you have any question how do that please do not hesitate to ask!
Kind regards
Marton
Tags: NI Software
Similar Questions
-
Oracle Application Server 10g cloning - Urgent
Hi all
I received a new assignment, which involves Oracle 10g application server, I am new to oracle application server and hoping that someone will specify please my doubts.
I clone a production machine (Solaris 10), which has oracle 10 g, this machine was Oracle database 10g before and just the application server has been installed on this subject, I need to clone a test environment for this machine, I have two following doubts
(1) is it possible to install just Oracle Application server 10 g on a computer that already contains the database oracle 10 g, in the affirmative, whereas on the database that is installed when you install the Oracle 10 g application server.
(2) how to clone the machine of production above, the oracle 10 g database can we clone first, and then the application oracle 10 g cloned on the new server machine?
A response with impatienceuser12077492 wrote:
I clone a production machine (Solaris 10), which has oracle 10 g, this machine was Oracle database 10g before and just the application server has been installed on this subject, I need to clone a test environment for this machine, I have two following doubts(1) is it possible to install just Oracle Application server 10 g on a computer that already contains the database oracle 10 g, in the affirmative, whereas on the database that is installed when you install the Oracle 10 g application server.
(2) how to clone the machine of production above, the oracle 10 g database can we clone first, and then the application oracle 10 g cloned on the new server machine?
(1) Yes, it is possible. The DB that comes with the OAS, as DB infrastructure for it (I assume that you install a full OAS with infrastructure and environments times) does not affect the DB that you already have on your system... of course... as long as install you them in their separate homes.
(2) I always say, the term cloning is used a bit loosely, in the sense of general communication making copies. In the context of the OAS, cloning works for middletiers only. You can't clone an infrastructure.
To make an alternate/redundant environment for the OAS, you can proceed as follows:
(- a) is using the same infra on computer 1 and install another high and register with the same infra.
(b) or to install another infra on machine 2, and also an environments registered with it.Here for the first option (a), cloning can be used because you can (* only *) clone an intermediate layer. There are advantages and disadvantages of this facility, including that you share the SSO and OID, and therefore the users and the groups of bases, etc. on these two environments - something you can or don't want to. But then, there are also a few outputs so as to avoid or minimize their effects too. Please see the following reference for cloning and research on Metalink to minimize the effects, once you get more familiar with the process.
The Oracle® Application Server Administration Guide
10g Release 2 (10.1.2)
B13995-08
[Cloning 10 Application staging server Instances | http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/cloning.htm#BCGBDIDF]For (b), you will need to step a server as defined in the present reference.
[11 staged from a Test to a Production environment | http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/prodtest.htm]There are a few notes on Metalink related questions about benefits or procedures for cloning and staging of an environment too.
There are other ways for export/transport your applications to another instance through DB. Please also read about them.hope that helps!
AMN -
After the backup hard drive cloning ARD launch
OS: 10.11.6 (issue which happened on 10.11.5; update today to see if this helped)
Recently, I reformatted my hard drive to correct some wacky partitioning I played with and cloned my rear disc of a direct clone of CCC. Also, I recreated my restoration, installation of Boot Camp and installed Windows partition.
Then, I went to launch the Office remotely and received the following error:
As a logical person, I uninstalled the application by following the steps here, reinstalled and restarted... to get the same error.
At this point, I have Google would be a bit and found mention of a permissions issue which was that other people having the same problem. I checked my diary and here, I got the same errors:
The strict solution seems to be to delete this folder and recreate it. First of all, I did this by connecting to the recovery partition and deleting the folder 'C' via the Terminal I didn't so not disable controls system integrity. This resulting no change on a restart, even after do it again, uninstalling Remote Desktop, and then reinstall.
Then I disabled the system integrity (csrutil disable) in recovery and started to remove it when it is started. I ran across the same as hoops above because it does not work all the time.
I even went away so crazy just now as to delete the folder of higher level instead of just the subfolder 'C '. That no longer works. I changed the permissions on the folder to 777. No change. Changed the owner to my user account because he invites him for an administrator account. No change.
I went to the ARD support page and tried to present a real ticket, but it turns out that the ARD is not in the list of software that you can file a ticket on.
I'm out of ideas. No luck, can anyone provide some guidance?
Hi, I have exactly the same problem the first time, I don't have the link with a CCC clone, but this morning (after a clean install because of this problem), I cloned my boot on a new SSD drive and this issue comes up with the clone. I reboot the original disc and ARD works on original, CCC is causing the problem, I made several clones with previous systems without problems, so it's probably a mixture of Capitan/CCC/ARD pure problem.
I left a message of support to the CCC with a reference to your thread.
hope for solution too... for the first time in my life of Apple that a problem needs a new facility...
-
Reference Dell E6420 randomly not SSD detection at startup
Specifications of the computer:
Dell Latitude E6420, Intel Core i5 2520 M, 2 x 4 GB = 8 GB of RAM, Nvidia NVS 4200 M, 250GB HDD, Win 7 Pro 64, Bios A23
The value of operation SATA AHCI and not quick start. I have 3 of these computers. They are all out of warranty.
I replaced the original 7mm Hitachi 250 GB for the Intel 535 240 GB SSD HARD drive.
I used Acronis True Image 2016 to clone the hard disk SSD. Cloning process is very much like on any other computer.
The problem is that each cold 4 or 5 boots the computer cannot find the SSD drive. Restarting the computer solves the problem of that time. I have to find a solution. I want to sell them with a SSD and not with a HARD drive.
I tried the things:
Update the Bios of the A14 to A23.
Put a spacer of 2mm on the SSD and of course the resettlement of the SSD.
Exchange for another Intel 535 120 and 240 GB.
Clean install of windows I knew was a waste of time because it does not affect the BIOS does not detect not things.
Googling the problem for hours.
Call dell?
Use another brand of SSD? He probobly won't make any difference to look at other threads.
Use a HARD drive? Last resort. I can't stand slow hard disks regularly.
Reference Dell E6420 seems to work with a Samsung 850 Evo 250 GB instead of the Intel 535 very well. Tested over a period of 3 months with no problems. Threw 535 readers intel in the desktop instead.
-
Windows 7 is not genuine after cloning of SSD
I cloned my 1 TB HARD drive came with my PC to a Samsung 840 Pro using Samsung Data Migration tool. And after taking the old HDD and try to boot from the SSD I Diagnostic (1.9.0027.0) report:
-----------------------------------------
Validation of Windows data-->Validation code: 0
Code of Validation caching online: 0x0
Windows product key: *-* - CBG4J - 8C6R2-TCVBD
Windows Product Key hash: 6PX60gjAL/BLWe2bhoeSejdXJaw =
Windows product ID: 00426-OEM-8992662-00008
Windows product ID type: 2
Windows license Type: OEM SLP
The Windows OS version: 6.1.7601.2.00010100.1.0.001
ID: {3D6079F3-A4F2-4AAC-99D6-E5B6AD3DCC9E} (1)
Admin: Yes
TestCab: 0x0
LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Product name: Windows 7 Ultimate
Architecture: 0 x 00000009
Build lab: 7601.win7sp1_gdr.140303 - 2144
TTS error:
Validation of diagnosis:
Resolution state: n/aGiven Vista WgaER-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002Windows XP Notifications data-->
Cached result: n/a, hr = 0 x 80070002
File: No.
Version: N/a, hr = 0 x 80070002
WgaTray.exe signed by: n/a, hr = 0 x 80070002
WgaLogon.dll signed by: n/a, hr = 0 x 80070002OGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002
OGAExec.exe signed by: n/a, hr = 0 x 80070002
OGAAddin.dll signed by: n/a, hr = 0 x 80070002OGA data-->
Office status: 109 n/a
OGA Version: N/a, 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3Data browser-->
Proxy settings: N/A
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
Default browser: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Download signed ActiveX controls: fast
Download unsigned ActiveX controls: disabled
Run ActiveX controls and plug-ins: allowed
Initialize and script ActiveX controls not marked as safe: disabled
Allow the Internet Explorer Webbrowser control scripts: disabled
Active scripting: allowed
Recognized ActiveX controls safe for scripting: allowedAnalysis of file data-->
Other data-->
Office details:{3D6079F3-A4F2-4AAC-99D6-E5B6AD3DCC9E} 1.9.0027.0 6.1.7601.2.00010100.1.0.001 x 64 *-*-*-*-TCVBD 00426-OEM-8992662-00008 2 S-1-5-21-2417806140-1854876574-2579421069 Alienware Aurora-R4 Alienware A11 20131126000000.000000 + 00064633307018400F2 0409 0409 Time(GMT-05:00) Standard is 0 3 ALWARE ALIENWRE 109 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7601.17514Name: Windows 7 Ultimate edition
Description: operating system Windows - Windows (r) 7, channel OEM_SLP
Activation ID: 7cfd4696-69a9-4af7-af36-ff3d12b6b6c8
ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 00426-00178-926-600008-02-1033-7601.0000-1772013
Installation ID: 021480321300098315571706752961095221014433680093730583
Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
Partial product key: TCVBD
License status: licensed
Remaining Windows rearm count: 2
Trust time: 15/06/2014-21:04:40Windows Activation Technologies-->
HrOffline: 0x00000000
HrOnline: 0x00000000
Beyond: 0 x 0000000000000000
Event timestamp: 4:21:2014 20:23
ActiveX: Registered, Version: 7.1.7600.16395
The admin service: recorded, Version: 7.1.7600.16395
Output beyond bitmask:--> HWID data
Current HWID of Hash: LAAAAAEAAAABAAEAAQACAAAAAQABAAEAHKIkWzhqLkmAO1QrrJeKb4JxNCE =Activation 1.0 data OEM-->
N/AActivation 2.0 data OEM-->
BIOS valid for OA 2.0: Yes
Windows marker version: 0 x 20001
OEMID and OEMTableID consistent: Yes
BIOS information:
ACPI Table name OEMID value OEMTableID value
APIC ALIENWRE ALWARE
FACP ALWARE ALIENWRE
HPET ALIENWRE ALWARE
MCFG ALWARE OEMMCFG.
FPDT ALWARE ALIENWRE
SLIC ALIENWRE ALWARE
SSDT INTEL CpuPm
ADELINE ALIENWRE ALWARE
EINJ FRIEND EINJ
ERST SWALLOW FRIEND ERST
HEST FRIEND HEST
FRIEND BERT BERTget a blue screen saying my copy of Windows is not genuine, how can I fix?
Hello Stefan,
Thank you for your response.
I suggest you try to use the suggestions provided in this Microsoft article knowledge based and check if it helps.
Reference:
Windows 7 displays "Windows is not genuine" with a 0x80070005 error code
http://support.Microsoft.com/kb/2008385Note: Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
http://Windows.Microsoft.com/en-us/Windows/back-up-registryI hope this information helps.
Thank you
-
The substitution of parameters of the device when the cloning of virtual machines?
Hello
I'm trying to find out how I can substitute the disk space for a HARD drive or the network for an adapter in the cloning of virtual machines.
I thought it should be in the VirtualMachineCloneSpec, but it doesn't seem to be an option for him. I forgot something?Thanks in advance.
So it turns out that the code was perfectly fine, the problem is that in my lab I have always tried setting disk space on something weaker than what it was before that does not work.
Thought, after verification of the documentation for Set-disc hard, as I wanted reconstruct this cmdlet to see what he's doing: Set - hard - drive vSphere PowerCLI cmdlets reference
Thanks again for your help
-
I just found this: work on a larger series of images, shot on a white background.
It is a mobile facility so sometimes the backdrop covers the whole frame.
So after I do my settings to my select I use the spot removal tool to clone in some parts of the background if necessary...
So far so good. But Lightroom then auto adjusts the brightness and contrast of...
No idea what's going on... Restart LR and the computer did not any changes.
I'm on a Mac 10.10.3
Pointers?
Best,
D.
The beach of the adjusted values of highlights, shadows, whites, blacks, clarity (at least) all depend on image content so your cloning on a dark area left replaces the range of values of the image and changes as well as cursors.
The difference is very accentuated between the cloned image and uncloned if clarity is equal to 0 and black to-100 with all the remains the same that the DNG downloaded, where all parameters are identical between the two images and the background being cloned to white is the only difference in the parameters and settings, so the Visual difference is how LR applied 5 toning of the sliders.
The problem is that unwanted background on the left is darker than the subject so it's existence or not determines what means 'black '. It cloning of 'Black' changes that she will fix the details of the subject and affects how the highlights, shadows, white, black and clarity sliders work.
I think that toning using tone instead of these 5 sliders below curve contrast will not have this problem and I think that cropping away rather than cloning in the background, then using the 5 sliders will not the problem.
The essential is that cloning apparently happens before you tone up in the pipeline of the image and how these 5 sliders work is designed so that you will see this difference and is not a bug.
--
For the reference of someone else reading this, here's the default settings has been made in the two DNG as downloaded before changing Black =-100 and clarity = 0 for the side-by-side, supra.
-
Hi all
EBS 11i
OEL 5
I just finished the ebs 11i cloning, but I got error when I started the appstier.
The db layer was ok.
It's my mistake at the start of level apps: https://app.box.com/s/lrap2uo4joala8hdzu8v
/U01/applprod/oaprodora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Failed to initialize threads: cannot find class java/lang/Thread
Could not create Java virtual machine
/U01/applprod/oaprodora/8.0.6/jre1183o/lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Failed to initialize threads: cannot find class java/lang/Thread
Could not create Java virtual machine
Thank you very much
zxy
Yes, please.
Thank you
Hussein
-
Oh, I of course put the whole issue in the reference line.
I'll repeat it here.
I want to Exchange my hard drive of my iMac for one SSD. The existing hard drive will be cloned on the SSD. I have CS 3 Design Standard installed. What I have to deactivate/reactivate CS3 or will keep the data license/activation?
Thanks, Thomas
Transfer facilities of Adobe does not normally operate. You must reinstall using installation files. At a minimum you must disable, but you may find that you need to uninstall and reinstall.
-
So we struggled massively with the eternal problem of the creation to have several editors working on the same project using cloned disks. To say the sharing of sequences is a nightmare is placing in slightly. We are on a feature-length documentary and our projects are massive, so we are importers of each and other sequences pray to God whenever it works without duplicating the main elements. The previous workaround solution to this if I wanted to, say, import a B training sequence on one of a sequence of drive, would be dupe of the project folder of the drive B, open it on a drive with drive B disconnected, reconnect all media in the project to their counterparts in the a drive, save the project, open a disc project and import the sequence desired my B drive project to chip away at. So many headaches that was, at least he tended to work.
Now, I've duped the player project B, and to my surprise he relinked automatically to everything on a disk without even asking. Great, good! It now seems to ignore the top-level name difference (beyond the names of Player A and B, the structure of the drive is exactly the same) and is able to connect automatically without asking from the main directory to the top. Except when you import sequences of this project automatically reconnected, he dupes now all single item in the sequence. I was pulling my hair out trying to find a way around it, as it is effectively grind our project together to stop right now. At the automatic reconnection, a feature that has been added with an unexpected consequence? Did anyone else encounter this problem and have you found a way around it?
For all he has foibles, I really think first is a great platform, but presents a caveat of insisting that the elements in a sequence reference key items in the project Panel, rather than just directly referencing the clips on the drive is prohibitive to the point of madness.
Problem solved through Creative Cow - it's as simple that importation via browser media and not through the command import. Because they are apparently the same process, not sure why we work and not the other, but I'll take it!
-
Cloning into a subfolder of the data store
I have a powershell script that creates daily snapshots and clones on Sunday. I would like to have clones stored in a subfolder on a NFS share. I can't figure out how to set the data store in a subfolder like "NFS_NAS_SHARED\CLONES". The following code fails indicating "'NFS_NAS_SHARED\CLONES' is not found, using the specified filters." Is it possible to have the destination clone as a subfolder of a data store?
Start-Transcript-Path "C:\VMWare_Scripts\LOGS\SnapshotsTranscript.log".
#Get the VMware PowerCLI
Add-pssnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue# Import the backup information
#File layout: MasterVM (vmname), BackupDS (DS to store clone), BackupFolder#$backupinfo = import-Csv C:\VMWare_Scripts\Snapshot_backups.csv
$backupinfo = import-Csv C:\VMWare_Scripts\Snapshot_backups_TESTING.csvDate format #Set to name
$datetime = get-Date-Format "YYYYMMDD-hh: mm".
$date = get-Date-Format "YYYYMMDD".#Connect to vCenter
SE connect-VIServer "localhost".
#Get the day of the week
switch ((get-date).dayofweek.toString ())
{
Sunday {$dow = "SUN"; break}
Monday {$dow = 'MY'; break}
Tuesday {$dow = "KILL"; break}
Wednesday {$dow = "WED"; break}
Thursday {$dow = "THU"; break}
Friday {$dow = "FRI"; break}
}
{foreach ($customer to $backupinfo)$vm is get - VM $customer. MasterVM
$days = $customer. DaysToKeep
Write-Host $vm. Name
#Write - Host $days
#Delete snaps more $days
Get - VM $vm | Get-Snapshot | Where {$_.} Created - lt ((Get-Date).) AddDays(-$days))} | Remove-Snapshot - confirm: $false
If ($dow - eq 'MY') {}
#Create a clone
#Create a new snapshot for cloning
$cloneSnap = $vm | New-Snapshot - name "clone_snap" - suspend: $true
# Get the managed object display
$vmView = $vm | Get-View# Get the managed folder object reference
$cloneFolder = $vmView.parent
# Construction specification clone
$cloneSpec = new-object Vmware.Vim.VirtualMachineCloneSpec
$cloneSpec.Snapshot = $vmView.Snapshot.CurrentSnapshot
$cloneSpec.Location = new-object Vmware.Vim.VirtualMachineRelocateSpec
#set the destination clone
$backupDestination = $customer. BackupDS + $customer. BackupFolder
$cloneSpec.Location.Datastore = (get-Datastore-name $backupDestination |) Get - View). MoRef
$cloneSpec.Location.Transform = [Vmware.Vim.VirtualMachineRelocateTransformation]: sparse$cloneName = "$vm - $datetime".
# Create clone
$vmView.CloneVM ($cloneFolder, $cloneName, $cloneSpec)# Write newly created VM to stdout as confirmation
Get - VM $cloneName# Remove snapshot created for clone
Get-Snapshot - VM (Get - VM $customer. MasterVM) - name $cloneSnap | Remove-Snapshot - confirm: $False
}
else {}
#Take a snapshot
New-Snapshot - name $datetime - description "scripted Snap: Snapshots.ps1" - vm $vm - suspend: $true
}}
VCenter #Disconnect
Disconnect-VIServer-confirm: $falseStop-Transcript
I'm afraid that the CloneVM_Task method you cannot specify subfolders on a data store.
He wants a data store and use the displayname property of the virtual machine to create a folder on this data store.
If you clone a computer virtual called XYZ to the store of data DS1, the clone will be located in the "[DS1] XYZ" folder.
If you want to move the clone to a different folder, you can use the cmdlet Copy-DatastoreItem thereafter.
-
Error recovering hot cloning backup - 10 g
Hello
I use oracle 10g (10.2.0.1) with linux4
I'm cloning a database with hot backup
but I get an error when I run the
RECOVER THE DATABASE BACKUP USING BACKUP CONTROLFILE UNTIL CANCEL.
See my procedure:
start of the db
ALTER database begin backup
take backup of the file redologs, data files and archiving of newspapers as well, spfile and pfile.
ALTER database backup controlfile to trace.
alter database end backup;
-so far the hot backup is done.
now, I copied the backup files to the new directory clone db structure. The structure just like any other db directory structure.
Now, I created a new pfile from the existing database.
start-up of the new db clone with the new pfile in phase nomount
Now, I created the new control file.
the control file is created successfully
copy the backup control file to the udump directory in the new comic book of clone.
Now, I want to apply new clone db archives.
When I start the
RECOVER THE DATABASE BACKUP USING BACKUP CONTROLFILE UNTIL CANCEL.
I get a message saying that there is an inconsistency in the wire sequence
Tried both possibilities such as specifying the redo logs and the location of the newspapers archives from the back to the top and the new clone system, but I can't solve it.
can someone help me what to do
Thanks in advance.Reference:-http://oracleinstance.blogspot.in/2009/05/backup.html
-
How to make quick clone cloning?
Is there a video tutorial or concise document for reference with screenshots step by step please.How to make quick clone cloning?
Is there a video tutorial or concise document for reference with screenshots step by step please.We'll find all the Docs quick clone (Clone quick resources for version 11i and 12 [799735.1 ID]).
Thank you
Hussein -
CloneVM_Task fails on the resource pool when cloning tempalte
I'm trying to use the CloneVM_Task to clone a template, but it keeps failing because no resource pool. We have a cluster with no pool DRS/HA or resources configuration, we use the cluster for the VCA mode.
I have a reference to the host server, but I don't know what is needed for the pool of resources, given that we have not one.
While
cloning a virtual machine from a template, the resource pool is a required parameter.
It specifies the resource pool that this virtual machine should be attached.
Incase you do not have a resourcePool hierarchy, you must specify the root
resourcePool 'Resources' as a resourcePool. It's the resourcePool
managed your ComputeResource object. A ComputeResource always has a root
ResourcePool associated with him.
-
cloning/copying an old r11 environment to another server (Windows)
Hi all
We are runing 11.0.3 (multi-level) under windows.
DB, simultaneous Manager, the report server on a server
Forms Apache Server, WEB, on another node.
We are facing some curruption of disc and a few hardware problems. So I need to clone my system to the other server.
Can someone help me to clone R11 to another server on the windows machine.
concerning
MusaddaqHere's 11.0.3 cloning process
=====================Helios, he seeks 11.0.3 version cloning, correct me if I'm wrong any of the steps, I use the same procedure for one of our 11.0.3 instance EBS.
I am pasting the note here, then you can try to clone:
There is an internal memo to make a clone on the 11.0.x, release but it is not supported. Please make sure that you have a good backup.
==============================================================================================================================================================
===================
Note 91985.1 Step by step on cloning the ORACLE_HOME (including DB) and APPL_TOP:
=================================================================================
Cloning an instance of Oracle Application version 11 on a separate UNIX Machine
==============================================================================Goal
---------Provide a method of cloning an Oracle Applications version 11 APPL_TOP,.
an ORACLE_HOME 8.0.X and database files included.Scope of Application &
-------------------It takes a high level of experience with Applications for this document.
Related documents
-----------------Oracle Applications version 11 for UNIX manual of Installation (part No. A57983-02)
Assumptions
-----------You have already installed Oracle Applications version 11 and a 8.0.X
ORACLE_HOME/database and all works fine.If you clone the APPL_TOP and ORACLE_HOME of quite another
UNIX box, you must make sure that the target operating system is the
same and is patched up to the same level as the source area, you are
cloning of.Measures for Clone
--------------1. on the target area, create a user and the user who owns the APPL_TOP who
has the ORACLE_HOME files and database files (will be applmgr and)
Oracle, respectively for the purposes of this document). Create an environment
file for each of these users by specifying environment variables
referenced in the Oracle version 11 for the Installation of UNIX Applications
Manual.Example of variables for the oracle user:
LD_LIBRARY_PATH
ORACLE_HOME
ORACLE_SID
TWO_TASK (if applicable)
PATH
TERM
JRE_DIRExample of variables for user applmgr:
APPL_TOP
LD_LIBRARY_PATH
NLS_DATE_FORMAT
NLS_LANG
NLS_NUMERIC_CHARACTERS
ORACLE_HOME
PATH
ORACLE_SID
TWO_TASK (if applicable)
TERMNote: Many of the following steps are since the white paper of the bridges D.
'Copy of a database'. A copy of this is located at the end of this document.2 plug the sources such as the oracle user machine and the newspaper is
svrmgrl or SQL * more as SYSDBA and SYSOPER DBA role he conceded.
Run the following command:SQL > ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
The trace will be found at the the USER_DUMP_DEST value which is
defined in the init.ora file. (An example of this trace file is located
d. bridges of paper at the end of this article.)3. make a list of all data files and redo log files:
SQL > SELECT file_name FROM dba_data_files;
SQL > SELECT Member FROM v$ logfile;4. stop your database cleanly. Run each to do the following:
SQL > shutdown normal;
SQL > shutdown immediate;
SQL > shutdown transactional;5 A this point, anything that creates a process of operating system must
be lowered neatly on the Source area. Examples are: Forms Server
Process, process of Web server, concurrent managers and the database listener.6. make zip files of all APPL_TOP, ORACLE_HOME files and database files
files (datafiles and redo logs) on the Source area.7 FTP files zipped above the target area. Also ftp on the trace file
that was created in step 2 above, you will be using it again in step 8.8. unzip all the files in the new $APPL_TOP, $ORACLE_HOME locations.
You are now finished with the source area. Every process can safely be made
Save this box. The rest of the book refers to the target area.9. changing the
init .ora file on the target area (usually located in the)
Directory$ ORACLE_HOME/dbs) to reflect the structure of your new directory.
(D. bridges paper below gives examples of what should generally be)
changed in the environment).10 change the track of file that you created in step 2 to take account of your new directory
structure.11 start server manager (svrmgrl) and run the trace of the file against your
database.Example: svrmgrl (internal connect)
Svrmgrl > @tracefile.trc12 edit listener.ora and tnsnames.ora files to reflect your new
environment. These files must be in the $ORACLE_HOME/network/admin
Directory.13 put in place the process of listening and trying to connect to SQL * more to test
connectivity to the database. Make sure the applmgr and oracle
environment of the users can connect to SQL * more.14 create a link to the technology stack in the ORACLE_HOME. Example of elements to
be related:CD $ORACLE_HOME/procbuilder/lib; f ins_procbuilderv8.mk install
CD $ORACLE_HOME/browser20/lib; f ins_browser20v8.mk install
CD $ORACLE_HOME/forms45/lib; f ins_forms45wv88.mk install
CD $ORACLE_HOME/rdbms/lib; f ins_rdbms.mk install15. There are several configuration files that need to be changed so that
the Web server in order to work on the new box. The recommended method for
change the host name in the configuration files is to uninstall, then
Reinstall the Web server using the oracle Installer.16. Enter the area of the target as the applmgr and run adadmin. Choose from the
Option "reissue Applications programs. If you have changed the directory
structure for your APPL_TOP on the target from the Source area, you
will also have to choose recreate your environment file.This is a good place to open a SQL * Plus the term and log in as the APPS
user. Once you connect to SQL * more run the following query as a system of
Search for invalid objects in the database:SQL > select owner, object_type, object_name in dba_objects
When status = 'INVALID';If all objects are returned that belong to the user apps need to recompile the
APPS schema in adadmin.17 follow chapter 4 of the manual version 11 install and configure the
webserver.18 start concurrent managers. The name of the node in the-> simultaneous
Manager-> administer form should take the new machine dynamically
target name of the area.If the competitor-> Manager-> form to administer the node name is
No poster, at the prompt, type UNIX:uname - a (this will return the machine think his name)
The UNIX administrator at this stage you will need to reconfigure
the target area to register the correct node for this box.19. you must now change the profile options that could have been
affected by cloning. Examples: RRA:URL, WEB_AGENT, and
HELP_SYSTEM_BASE_URL.20 start your forms and Server Web server process after sourcing (running)
your new file of environment under the directory $APPL_TOP.21 change the static html page or set up your dynamic cartridge and
to connect to your applications on the target area.Copy of a database
==================
By Dave BridgesMove a database from one location to another is conceptually very simple.
However, you must be extremely careful or the migration fails. There are
two basic ways - a logical and a physical examination - to move a database.The logical method is to create a new empty database in the new location
(target database), perform a complete export of the original database (source
(database), and then import the source database in the target database.
This article assumes that you have decided not to use this approach. For more information
on export and import, please see the Oracle Server Utilities
Guide for your particular server.The physical approach involves the cloning of the source database. This method is
very similar to a backup of the database offline. The steps are:1 back up the source database control file in a trace file.
2. a list of all your data and redo log files.
3. perform a "clean" source database shutdown.
4. copy all the files of database redo log files, file init.ora and trace file
(from step 1) the location of the source to the target location.
5. change the file init.ora target and the trace file.
6. start the target instance.
7. re-create the control file, retrieve and open the database.Each of these steps is explained in the following instructions.
Note: The following instructions assume (1) you already have the server
installed in the location of the target, (2) all parameters are already set
environmental target and (3) If you use NT, you must
already created and started the services necessary for the target
database.1 back up the source database control file in a trace file. To connect to
the source via open or SQL database * more using an account that has the
SYSDBA and SYSOPER DBA role he conceded. Run the following command:SQL > ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
This will create a text file that we will use later. This file will be
written in the subdirectory named by the value of the USER_DUMP_DEST
parameter.2. a list of all data files and redo log files. It is absolutely
essential to know about the names and locations of all the files of data and redo
the log files. To do this, run the following queries:SQL > SELECT file_name FROM dba_data_files;
SQL > SELECT Member FROM v$ logfile;
The first query will give the path and name for each of your
data files. The second query will give the same information to redo all the
the log files. Be sure to save this information for future reference.3. perform a "clean" source database shutdown. A clean shutdown is
are necessary to ensure that all data files and control files
synchronized with the latest transactions. What follows
commands give you a clean shutdown:normal stop;
stop immediately;
Shutdown transactional;Note: The shutdown transactional is not available in Oracle7.
4. copy all the files of database redo logs trace and the init.ora file
target file to the location of the source to the location. With the help of the
information collected in step 2, copy all the data source and redo log files
files to the target location. Also copy the file init.ora and the
trace file generated in step 1 to the location target.5. change the target init.ora file, and the trace file. Using a text editor
revise the init.ora file to reflect the new values for the target
database. It will be change the paths indicated in the settings
as CONTROL_FILES USER_DUMP_DEST, BACKGROUND_DUMP_DEST and all
another parameter that specifies a path/file location (see annex 1
below). Similarly, we must change the trace file. This file contains
the CREATE CONTROLFILE command we will use in step 7. You
will have to change the paths for all data files and redo log files
to reflect their new location (see attachment 2 below).6. start the target instance. Once the init.ora file is changed, you can
Start the instance. However, since we do not have control files.
You must use the following command:startup nomount;
7. re-create the control file. Once the instance is started, you can create
your control files. If you saved your file of track under mytrace.trc, you can
now create the command files by running this file as follows:@mytrace.trc
This script will create the control files, perform a database recovery
to resynchronize the control file with the rest of the database, and
Open the database.Now, your target database must be open and consistent. There may always be
some remaining tasks you need to perform, such as the creation of a password for the new file
database or create/update a listener on the node target. These tasks are
beyond the scope of this discussion.Attachment 1. Example of init.ora file
-----------------------------------Here is an example of the init.ora file.
Are entries that need to be changed to reflect the location of the target file
identified by a '<-- edit="" this'="">-->init.ora
AQ_TM_PROCESSES = 1
background_dump_dest = G:\orant\rdbms80\trace<-- edit="">-->
compatible = 8.0.5.0.0
control_files = ("G:\orant\database\ctl1home.ora",<-- edit="">-->
"G:\orant\database\ctl2home.ora")<-- edit="">-->
db_block_buffers = 200
DB_BLOCK_SIZE = 2048
db_file_multiblock_read_count = 8
DB_FILES = 1020
db_name = home
dml_locks = 100
log_buffer = 8192
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
max_dump_file_size = 10240
process = 50
Remote_login_passwordfile = exclusive lock
SEQUENCE_CACHE_ENTRIES = 10
sequence_cache_hash_buckets = 10
shared_pool_size = 6500000
sort_area_size = 65536
user_dump_dest = G:\orant\rdbms80\trace<-- edit="">-->Attachment 2. Example of trace file
--------------------------------Here is a sample of the output of the command alter database backup
controlfile to trace.Are entries that need to be changed to reflect the location of the target file
identified by a '<-- edit="" this'="" entry.="" edit="" this'="">-->Clone.TRC
1999.10.08.10.49.07.171
# The following commands will create a new control file and use
# to open the database.
# Data used by the Recovery Manager will be lost. Additional logs may
# be required for the media recovery of offline data files. Use this
# only if the current version of all newspapers online is available.
STARTUP NOMOUNT
CREATE NORESETLOGS NOARCHIVELOG CONTROLFILE REUSE DATABASE "HOME".
MAXLOGFILES 32
MAXLOGMEMBERS 2
MAXDATAFILES 30
MAXINSTANCES 1
MAXLOGHISTORY 112
LOGFILE
GROUP 1 ' G:\ORANT\DATABASE\LOGHOME1. ORA' SIZE 1 M.<-- edit="">-->
GROUP 2 ' G:\ORANT\DATABASE\LOGHOME2. ORA' SIZE 1 M<-- edit="">-->
DATA FILE
' G:\ORANT\DATABASE\HOMESYS. DBF',.<-- edit="">-->
' G:\ORANT\DATABASE\HOMERBS. DBF',.<-- edit="">-->
' G:\ORANT\DATABASE\HOMEUSER. DBF',.<-- edit="">-->
' G:\ORANT\DATABASE\HOMETEMP. DBF',.<-- edit="">-->
' G:\ORANT\DATABASE\HOMEINDX. DBF'<-- edit="">-->
;
# Recovery is required if any of the data files are restored backups.
# or if the last stop was not normal or immediate.
RECOVER THE DATABASE
# Database can now be opened normally.
ALTER DATABASE OPEN;
================================= ================================================================================
================================================================If you need assistance with the cloning of your instance, you will need to contact Oracle Con
relativeme.Edited by: 3Amigos December 13, 2010 01:39
Maybe you are looking for
-
Videos and You Tube download results of broken and look at a slsow
Interrupted and download jerky You Tube and other video sources
-
Hola todo! Hello I am student of 17 year, learning Spanish, but it's not easy to learn as I thought. Speaking in particular. I'm looking for native English who can help you. All I want to talk to you guys and put into practice my Spanish skills. ! Gr
-
Used to synchronize wireless xbox 360 controller for windows
When I try to sync my controller wireless receiver for windows, the guide button light moving in a circle for a bit and the light on the receiver flashes, then guide button on the controller just flashes while the receiver is solid. I am running win
-
HP Probook 4530 s Touchpad dragging
Just set up this laptop. I don't know how to drag the trash somewhere else on the screen. Sought answers but found nothing useful.
-
How can I do a [print SCREEN] with Windows Vista Home Premium? I tried the Print Screen key, the Alr Prt Scn and Cntl Prnt Scn. Nothing works. Does anyone know how to do this?