Moving the data store files

Hello

It's on 11.2.2.4.1

If I move my data store files (ds0, ds1, etc.) to a new location, is there a way to get TimesTen use from the new location?

I tried moving them and update the sys.odbc.ini but get * 10003: unexpected database file exist for new data store * which I suppose is because the TT daemon keeps a record of location of data of the DSN file, as seen in ttStatus.

I have to go through a route of backup/restore (http://docs.oracle.com/cd/E18283_01/timesten.112/e13063/upgrade.htm) to move data files a data store?

Thank you.

Yes, if you want to re - locate the control point files or transaction logs you must proceed as follows:

1 stop all activities demand etc. on the data store.

2. make a full backup using ttBackup.

3. remove the data of the memory store.

4. destroy the datastore usign ttDestroy.

5. change the Datastore or LogDir attributes in sys.odbc.ini to point to the new locations.

6. restore the backup data store using ttRestore

7. you can now start and use the data store.

It is the change of safely / supported only the location of the files in the data store.

Chris

Tags: Database

Similar Questions

  • Find a VM (from the data store, file, the pool and etc..) ID name

    Hello:

    I wonder if there is a way to find the virtual computer (of esx, the data store, file, the pool and etc..) ID name of vSphere CLI power.

    The goal is to find the virtual if name machine ID if known (and the same for esx datastore, record pool and etc..).

    Thank you

    Olegarr

    Hello

    According to my understanding, we can get the managed object ID of the virtual machines,

    $serv = connect-VIServer-Server

    Write-Output $vm. ID

    The same with others, like first Get-VMHost, store in a variable and then the variable. ID gives you the code.

    I hope this helps.

  • Shrink the hard drive (data in the data store file)

    Hello, I created a virtual machine with a 50 GB HD on ESXi 4.0.

    After installing all the software, I noticed that I am currently using only 5 GB of space and I need to support this thesis often I want to shrink the partition to 15 GB.

    The OS is Linux with LVM and it's great that I can move/shrink/expand with not too many questions, but how do I shrink a file of data existing in vmware?

    Get full even a migration between the old file and another smaller.

    A tip on how to get started with it?

    Thanks and greetings

    bellocarico

    The command of the is not available on ESXi.

    Maybe you can copy a static version of a Linux system, but I have not tried.

    André

  • ESX4 host sees 3.5 data stores, but sees no clients in the data store

    This is my first post and I'm having a little trouble finding my way in discussion forums to find answers, please bear with me.

    The problem is I had

    a system of ESX 3.5 - U2 with a data store external vmfs with VMs 5 or more. I have

    installed ESX4 on 2 new servers and offers external storage (FC SAN) of the

    ESX4 host, detached from the host of 3.5. Guests can see the vmfs LUNS, and I can't

    Browse data warehouses and see virtual machines. 4.0 hosts see data warehouses, but

    No 4.0 host sees one of the virtual machines. Any ideas?

    I guess that you can browse and see the vm on the data store files. Therefore, you must select the .vmx file, right click and "add to the inventory.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • 0 blocks free PTR - cannot create new files on the data store

    We have been experiencing problems trying to power on virtual machines. When attempting to power on virtual machines, we see the error "cannot extend the pagefile from 0 KB to 2097152 KB".

    We checked the .vswp file are created in the folder of the Virtual Machine on the data store. Connection to the ESXi host, we have seen the following in vmkernel.log error message:

    (2016 01-16 T 21: 19:40.556Z cpu1:4971732) WARNING: Res3: 6984: "freenas-6-ds": [rt 3] No. Space - has not found enough resources after the second pass! (requis_:_1,_trouvé_:_0) 2016-01 - 16 T 21: 19:40.556Z cpu1:4971732) Res3: 6985: "freenas-6-ds": [rt 3] resources t 0, e 0, PN 16, BM 0, b 0, RCs u 0, i 0, 4031 nf, pe 0, 0 2016-01-16 T 21 oe: 19:40.556Z cpu1:4971732) WARNING: SwapExtend: 683: impossible to extend the pagefile from 0 KB to 2097152 KB.

    This was surprising given that we have about 14 TB of space available on the data store:

    [root@clueless:~] df h

    Size of filesystem used available use % mounted on

    VMFS-5 20.0 T 5.4 T 14.6 T/vmfs/volumes/freenas-six-ds 27%

    However, when we use "dd" to write a 20 GB file, we would get "no space left on device:

    [root@clueless:/vmfs/volumes/55a00d31-3dc0f02c-9803-025056000040/deleteme] dd if = / dev/urandom of = deleteme bs = 1024 count = 2024000

    DD: writing "deleteme": no space is available on the device

    263734 + 0 records in

    out 263733 + 0 reviews

    [root@clueless:/vmfs/volumes/55a00d31-3dc0f02c-9803-025056000040/deleteme] ls - lh deleteme

    -rw - r - r - 1 root root 19 Jan 255,1 M 01:02 deleteme

    We checked that we have free inodes:

    The ramdisk name system include in reserved Coredumps used Maximum reserved free use pic free maximum allocated Inodes used Inodes Inodes Mount Point

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    root of true true 32768 KiB 32768 KiB KiB KiB 99% 99% 9472 4096 3575 176 176.

    true true etc 28672 KiB 28672 KiB 284 KiB 320 KiB 99% 99% 4096 1024 516/etc

    Choose true true 0 KiB KiB 0 KiB KiB 0 100% 0% 8 1024 8192 32768 / opt

    var true true 5120 KiB 49152 484 516 99% 90% 8192 384 379 KiB KiB KiB / var

    tmp false false 2048 KiB 262144 KiB 20 KiB 360 KiB 99% 99% 8 256 8192/tmp

    false false hostdstats KiB 310272 KiB 3076 KiB 3076 KiB 99 0% 0% 8192 32 5/var/lib/vmware/hostd/stats


    We believe that our cause is due to have 0 free blocks of PTR:

    [root@clueless:/vmfs/volumes/55a00d31-3dc0f02c-9803-025056000040] vmkfstools Pei - v 10/vmfs/volumes/freenas-six-ds.

    System file VMFS-5, 61 extending on 1 partition.

    File system label (if applicable): freenas-six-ds

    Mode: public TTY only

    Capacity 21989964120064 (blocks of files 20971264 * 1048576), 16008529051648 (15266923 blocks) prevail, max supported size of the 69201586814976 file

    Volume creation time: Fri Jul 10 18:21:37 2015

    Files (max / free): 130000/119680

    Blocks of PTR (max / free): 64512/0

    Void / blocks (max / free): 32000/28323

    The secondary blocks of Ptr (max / free): 256/256

    Drop blocks (approve/used/approve %): 0/5704341/0

    Blocks of PTR (approve/used/approve %): 64512/0/0

    Void / blocks (approve/used/approve %): 3677/0/0

    Size of volume metadata: 911048704

    UUID: 55a00d31-3dc0f02c-9803-025056000040

    Logical unit: 55a00d30-985bb532-BOI.30-025056000040

    Partitions split (on 'lvm'):

    NAA.6589cfc0000006f3a584e7c8e67a8ddd:1

    Instant native is Capable: YES

    OBJLIB-LIB: ObjLib cleaned.

    WORKER: asyncOps = 0 maxActiveOps = 0 maxPending = 0 maxCompleted = 0

    When we turn off a virtual machine, it will release 1 block of PTR and we would be able to on another VM / create the 20 GB file using "dd". Once we reached 0 free blocks of PTR, we are unable to create new files.

    Can anyone give any suggestions on how we may be able to clear the blocks PTR? We have already tried to restart all services of management on all ESXi hosts connected.

    FreeNAS is not running on a virtual machine.

    We solved the problem by finding a lot PTR blocks have been used by many of our models of virtual machine. Remove the disk models solved the problem.

  • Find files on the data store that have been removed from inventory, but not deleted from the disk

    I have ESXi 4.1 and with vSphere Client to manage virtual machines.

    Some of my users continue to use the 'remove from inventory"rather than the option" remove disc "in vSphere when they want to delete the virtual machine.

    This leaves the computer virtual on the data store but not used. I have since removed this privilege among the offending users but I need to do a bit of cleaning.

    I have a lot of files on the data store where users have done this in recent years. Probably about 150 records but only 80 VM listed in the inventory.

    Is there a way I can output, a report showing the data of each machine store directory in inventory so that I can remove anything not on this list? ID rather not to manually check the parameters of all 80 VM in the inventory.

    Out ideal would be something like:

    MyVmNameHere 1, \MyVmDirectoryHere1\ [DataStore1]

    MyVmNameHere2, \MyVmDirectoryHere2\ [DataStore1]

    A great tool to discover all this and much more is RVTools

    André

  • Unable to download the file to the data store

    Hello

    Can someone help me on this, I'm trying to download a file to the local data store on the esxi host, but its failure

    used as below

    $ds = get-data center 'test ' | Get-file "CISCO UCS B200 M3 | Get-VMHost | Get-Datastore "datastore."

    $destination = "\".

    $source = "D:\All Cisco\ENICandFNIC readers for UCSver2.2.C\updated drivers" - this folder

    New-PSDrive-location $ds - name VimDatastore - PSProvider ds-root $destination

    Set-Location ds:------.

    Copy-DatastoreItem-point $source - Destination $destination

    What error messages you get? When I run your script, only an empty folder is performed on the data store. When you add "-recurse" it also copies child items (files and directories)

    $ds = Get-Datacenter "test" |Get-Folder "CISCO UCS B200 M3"|Get-VMHost |Get-Datastore "datastore*"
    
    $destination = "\"
    
    $source = 'D:\Test ' # -- this folder
    
    New-PSDrive -Location $ds -Name ds -PSProvider VimDatastore -Root $destination
    
    Set-Location ds:\ New-PSDrive -Location $ds -Name ds -PSProvider VimDatastore -Root $destination
    
    Copy-DatastoreItem -Item $source -Destination $destination -Recurse
    

    But it's only 1 data store, if I understand your example, you are trying to copy to different data stores. This could easily be done like this:

    $DS = Get-Datacenter "test" |Get-Folder "CISCO UCS B200 M3"|Get-VMHost |Get-Datastore "datastore*" | select name,DatastoreBrowserPath
    
    $source = 'D:\Test ' # -- this folder
    
     foreach ($datastore in $ds){
    
    Copy-DatastoreItem -Item $source -Destination  $datastore.DatastoreBrowserPath -Recurse
    
    }
    
  • Error e/s download large vmdk file to the data store

    Hi, I am looking to download a large file (400 GB) vmdk to our SAN by using the method of the vsphere client browser store data but get IO error when it gets to about 270 GB. Is there a limit to how big a file can be? any other recommended method?

    Thank you

    Rob

    What is the version of VMFS (VMFS3 or VMFS5) of the data store? In the case of VMFS3 there are limitations on file size depending on the block size of the data store (for example, 1 MB block size-> ~ 256 GB).

    André

  • VMX file larger than the maximum size supported by the data store

    Hi all

    I seem to be getting a strange error trying to a virtual machine that is located on a snapshot VMFS5, to the data store format.

    The virtual machine (VMDK and VMX file) is installed on a thin provisioned 2 TB datastore which has the value VMFS5 formatting.  It is a data store new with no other VM on it.  I had problems in the past with the datastore block sizes (1 MB, 2 MB, 4 MB, 8 MB on VMFS3), however, I thought that VMFS5 got rid of the question, since it's all blocks of 1 MB and all files in the virtual computer are on the same data store.

    The error I get indicates that the VMX file is too large for the data store (used Im saying "unspecified file), however, if I do the independent 2 TB disk snapshots through the fine.  The virtual machine has two virtual disks, a 50 VMDK of GB and a thin 2 TB VMDK (200 GB used).  I tried fast vMotioning the VMDK and VMX to other data formatted VMFS5 stores and still get the same error.

    I'd appreciate any help and ideas.

    Thank you

    Travis

    Although the block size limit is party, maximum 2 TB file size less 512octets still exists. Since a Flash disk can grow waist put in service the basic disk more overhead for the metadata, the maximum size of virtual disk - to be able to create snapshots - is 2032 GB.

    See "calculation time system required by the snapshot files" at http://kb.vmware.com/kb/1012384

    André

  • Combining the VM with files in the data store

    I apologize for the very basic question.

    I have a few ESXi servers and I need to associate each VM with the related directory inside the data store and each direxctory within the data with the associated directory store.

    With the command:

    SE connect-VIServer-Server 192.168.1.1 - user root - < password >

    I connect with the server.

    With the command

    Get - vm

    I get a list of all VM with the State and the amount of memory, the number of vCPU

    • How can I get path for each computer listed virtual, to the related .vmx file?
    • How to browse the data store, the list of the .vmx file and for each .vmx file, get the name of the associated virtual machine?
    • What manual download to find the emanations of the arguments of the command get-vm and qualifying?

    Concerning

    Marius

    The Get - VM by default displays a selection of properties.

    You can ask all the properties

    Get - VM | Select *.

    or some specific

    Get - VM | Select name, Description

    You can even access the real object of the SDK VirtualMachine

    Get - VM | Select Name,@{N="VMX; E={$_. Extensiondata.Config.Files.VmPathName}}

    PowerCLI comes with a data store provider.

    It is documented in the vSphere PowerCLI Admin Guide, which is installed with PowerCLI.

    With the provider, you can list the files .vmx on data warehouses.

    To find the name of the corresponding client, you will need to retrieve the DisplayName of the .vmx file field.

  • Error: snapshot file &lt; uspecified filename &gt; is greater than th emaximum size supported by the data store

    I get the following error.

    File & lt; uspecified filename & gt; is superior to th emaximum supported by the data store

    My vm is 1024 GB, my block size is 4 MB and I 5.05 TB of free space.  The navigation data store, I see that there is a snapshot file incomplete 2gigs in size. I made snapshots to create in a different location from http://kb.vmware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1002929 but still the same problem. Thanks for any help

    The virtual disk is too large to create a snapshot on a 4MB block size data store. The maximum size of VMDK is 1,016 Go.

    See "calculation time system required by the snapshot files" in http://kb.vmware.com/kb/1012384

    André

  • Block size is too small - reformat the data store or create files VMDk 2?

    Hello

    I'm new to VMware and so far I absolutely love everything about her!  Well, I was not too happy when I realized that I can't create more than 256 GB a drive without reformatting the VMFS datastore.   Apparently, I accepted the block size of 1 MB by default during the installation...   I now need to configure a file server with about 500 GB of storage.  The data store with a larger block size (4 MB would be fine for me) reformatting is easy enough?  I am currently working on the first host ESXi 4.1 and will move to set up 2 more hosts in the coming weeks.  I read somewhere on the forum that ESXi 4.0 doesn't let you change the block size by default of 1 MB - is this true or relevant to 4.1?

    Currently, I have only 2 small VMs on that host, and these can be easily saved and put offline for a few hours, if necessary.  When starting the server, I created a single RAID array that holds ESXi and all virtual machines - does that mean that I have to reinstall ESXi in order to increase the size of the block?

    An alternative that I can get to is to simply create 2 255 GB VMDK each and load distribution of storage in the guest operating system (Win 2008).   Performance wise, is a disc more great and better (or worse) than the two smaller disks?

    On a related note, what should I choose for the "Independent" option when you add a new virtual disk?  Default is disabled (not independent).

    Your thoughts, focus and expertise are welcome and will be greatly appreciated!

    Thanks in advance,

    Dothan

    Dothan,

    You should power (after the virtual machine backup) remove the current data store and create a new one with the new block size. I did not have this on ESXi 4.1 again, however, he worked on ESXi 4.0.

    The maximum size of VMDK. If you want ot be able to take pictures, make sure you subtract twice the size of block in GB of the documented maximum size.

    Block size 1 MB--> 254 GB (= 256 GB, 2 GB)

    Block size of 2 MB--> 508 GB (= 512 GB - 4 GB)

    Size of block 4 MB--> GB 1 016 (= 1 024 GB - 8 GB)

    Block size of 8 MB--> GB 2 032 (= 2 048 GB to 16 GB)

    André

    EDIT: Just the KB for the maximum sizes. http://KB.VMware.com/kb/1012384

  • Copy of VM in the data store to the ext4 Linux file system

    Hi all, I need to "backup" VM by copying its folder in the data store to

    a Linux system with the ext4 file system. Is it safe? I mean will benefit from the VM

    corrupted? I remember reading in the forum about ESXi4 vmfs is a

    Special file system that may have the particularity, others do not have.

    Thus, the copy of the files to another file system vmfs can corrupt the

    files?

    What do you think? Thank you.

    Hello

    No, it won't corrupt VM or VMDK files simply by copying the folder. However, in the guest operating system (e.g. NTFS) file system may be affected. Suggest you take a snapshot or use some backup software.

    If you can afford it, powering the theVM. This will ensure the consistency of applications within the guest OS.

  • Cannot download the files of the virtual machine for the data store

    Hello

    I get an error message "connection to the server timed out" while I'm trying to download the files from the virtual computer from the data store.

    Although the ESX and my laptop are on the same network, I get this error message.

    Please let me know if I need to take care of something.

    Thank you.

    I think that hard & .vsmp be used & locked is why you are unable to download it. Try to download the file, whereas the VMs system is turned off

    vcbMC - 1.0.6 Beta

    Lite vcbMC - 1.0.7

    http://www.no-x.org

  • The snapshot files exist on the data store, but not in the Snapshot Manager

    I searched for a question of space on one of our virtual machines throughout the morning.  I finally found that the virtual machine has two snapshot files (total of 120 GB) on the data store.

    http://communities.vmware.com/servlet/JiveServlet/downloadImage/9724/screenshot.1.jpg

    The problem is that these pictures are not in the snapshot

    Manager. How can I get rid of these files from snapshots, recover the 120 GB drive

    space and keep everything in tact?

    Thank you all.

    -Dave Claussen

    [email protected]

    Try to create the new snapshot, and then remove all the...

    vcbMC - 1.0.6 Beta

    Lite vcbMC - 1.0.7

    http://www.no-x.org

Maybe you are looking for

  • Cast spontaneously iPhone 6 Plus

    my iPhone only more 6 purchased October 2014, preserved at all times in a case of bag padded and never deleted, spontaneously started to melt yesterday. I called AppleCare, but they are not able to receive pictures that describe clearly what the prob

  • Manager add-on said Java needs update, but the last Version already installed

    I have Java version SE7 U51 10.51.2.13 installed and works very well. Today, I 'upgraded' to 28.0 FF. Now Manager modules says Java is out of date, but when I go to the Java website, this is the latest version available. I downloaded the 32-bit and 6

  • HP-PAVILION: THE WARRANTY COVERS OS PRE-INSTALLED

    Hello My new system cam with Windows pre-installed 10. There was therefore no installation disc with the package. I have no backup of the OS. So if anyhing happens on my drive hard while the system is under warranty, they only replace the hard drive

  • Windows7 will not upgraded correctly

    I have a Sony laptop, purchased on 11/07/09 and the # model vgn-nw150j.  I sent for my copy of Windows 7, so I could upgrade from Vista premium.  Unable to get my optical drive to answer so I called Sony support service.  They also cannot get to rers

  • Question about unique to the VCS cluster driver

    I'm just configuration conductor for the first time according to the guide found here: http://www.Cisco.com/c/dam/en/us/TD/docs/Telepresence/infrastructure/con... Because I need to connect to a VCS cluster with two counterparts, each counterpart must