Report data store

Hello

I am filling an HTML table with the following, but for some reason, I don't get the name of DataStoreCluster and I'm not able to filter the LUNS that have a capacity of 1 TB or more and have less than 1 TB of free space.

$report = get-Datastore. Where-Object {$_.} Name - notMatch ("ESX |") Datastore1") - and ($_.) CapacityMB - ge "1000000")- and ($_.) (FreeSpaceMB-lt "1000000")} | %{

New-object PSObject-property @ {}

NOMCLUSTER = (Get-DatastoreCluster - Datastore $_ |) Select the name-ExpandProperty)

Name = $_.name

Capacity = ($_.) CapacityMB * 1 MB)

Put into service = ($_.) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace +.

$_. ExtensionData.Summary.Uncommitted)

Used = ($_.) CapacityMB * 1 MB-$_. FreeSpaceMB * 1 MB)

FreeSpace = ($_.) FreeSpaceMB * 1 MB)

PercFree = [math]: round (100 * $_.) FreeSpaceMB / $_. CapacityMB, 2)

}

}    | Tri-objet-property PercFree

$report | %{

WriteData $_. NOMCLUSTER $_. Name $_. Capacity $_. Provisioned $_. Used $_. FreeSpace $_. PercFree

}

}

Thank you

Don't know what writedata is supposed to. Which is a function that you wrote.

And there is a unbalanced parenthesis.

The following works for me

$report = get-Datastore.

Where-Object {$_.} Name - notMatch ("ESX |") Datastore1') - and

($_. CapacityMB - ge 1 TB/1 MB)- and

($_. FreeSpaceMB - lt 1 TB/1Mo)} | %{

New-object PSObject-property @ {}

NOMCLUSTER = (Get-DatastoreCluster - Datastore $_ |) Select the name-ExpandProperty)

Name = $_.name

Capacity = ($_.) CapacityMB * 1 MB)

Put into service = ($_.) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace +.

$_. ExtensionData.Summary.Uncommitted)

Used = ($_.) CapacityMB * 1 MB-$_. FreeSpaceMB * 1 MB)

FreeSpace = ($_.) FreeSpaceMB * 1 MB)

PercFree = [math]: round (100 * $_.) FreeSpaceMB / $_. CapacityMB, 2)

}

}    | Tri-objet-property PercFree

$report | %{

Write-Host $_. NOMCLUSTER $_. Name $_. Capacity $_. Provisioned $_. Used $_. FreeSpace $_. PercFree

}

Tags: VMware

Similar Questions

  • Use the error report data store capacity

    Hello world

    When I try to get the report for a capacity of data store, I got an error like home but he had no explanation for the error.

    Does anyone know why I get this error? I've updated vCOps from 5.0.3 to 5.6. Maybe it has to do something with that.

    Thank you in advance.

    Thanks for the replies;

    I mean by object parent exactly your situation - this is the under(inside?) folder.

    If you can, try to move a data store on the file and reports should work for it.

    in any case, it is a known problem that will be fixed in the next version of update.

  • Trend of the report data store capacity

    I am trying to create a table that will mimic what is the report of countenance of canned data store.  I don't know what settings to select.  I know its used space, the total space, hours to full and weekly rates of growth.  I tried using the averages of the period, or period min or max period, I tried current average, current min and max current.  No combination seems to spit on the same results the report canned.  the reason why I need to do this is that my manager doesn't want a 90-page report when we can adapt it on as pages 8 and 9 using a table.  I tried to export the report using excel, but the format it uses is not good and it makes them bounce like 4000 lines.  Please help with the design of report.

    While calculating dynamic, focused on the function of these settings exclude the possibility to reproduce this report as a table using drag / drop, it is certainly possible to build this tabular report using WCF.

    Kind regards

    Brian Wheeldon

  • Report data store - last Duplicate line

    This report works fine except for two things that I need help.

    1. the last line is always reproduced in the out-file

    2. I can't get it to format separated by commas

    Any help would be appreciated, because I'm stuck on these two issues.

    $ds = @)

    Get-Cluster | Get-VMHost | % {

    $myHost = $_

    $myHost | Get-DataStore. % {

    $out = "" | Select-Object host, DSName, FreespaceGB, CapacityGB, PrecentFree

    $out. Host = $myHost.Name

    $out. DSName = $_. Name

    $out. FreespaceGB = $($_.) FreespaceMB / 1024) m:System.NET.SocketAddress.ToString ("F02")

    $out. CapacityGB = $($_.) CapacityMB / 1024) m:System.NET.SocketAddress.ToString ("F02")

    $out. PrecentFree = (($out.)) FreespaceGB) / ($out.) (CapacityGB) * 100) m:System.NET.SocketAddress.ToString ("F02")

    $ds += $out

    }

    }

    $ds | Tri-objet host, DSName | FT - Autosize. Out-file DataStore_Report.csv

    TY,

    E4F

    Hi E4F,.

    Announcement 1. I don't know why the last line is always duplicated in the output file in your case. This does not happen in my environment and I do not see a problem in the logic of your script.

    AD 2. You can use the Export-CSV cmdlet to write your script output to a. CSV file. In this case you should not use the Format-Table cmdlet more. The Export-CSV cmdlet replaces the combination of Format-Table and out-file.

    I also changed the line that starts with $out. PercentFree =... You tried to take the divider of two strings. That might work in a culture that uses the comma as decimal point. In my culture (Netherlands), we use the comma as a decimal point, and this line did not work. So I changed it to use the original values.

    $ds = @()
    Get-Cluster | Get-VMHost | ForEach-Object {
      $myHost = $_
      $myHost | Get-DataStore | ForEach-Object {
        $out = "" | Select-Object Host, DSName, FreespaceGB, CapacityGB, PercentFree
        $out.Host = $myHost.Name
        $out.DSName = $_.Name
        $out.FreespaceGB = $($_.FreespaceMB / 1024).tostring("F02")
        $out.CapacityGB = $($_.CapacityMB / 1024).tostring("F02")
        $out.PercentFree = (100 * $_.FreespaceMB / $_.CapacityMB).tostring("F02")
        $ds += $out
      }
    }
    $ds | Sort-Object Host, DSName | Export-CSV -NoTypeInformation -UseCulture -Path DataStore_Report.csv
    

    Best regards, Robert

  • Machine virtual IOPS / s report, how to display the name of the data store?

    Hi guys

    I am new to the Foglight community, this is a great tool, and I learn a lot.

    Currently I am trying to create a simple table that will show me metric of my VMware environment: Virtual Machine name, Datastore IOPS and data store.

    However I can't find how to include data store name in the table, because it is not a measure of the Virtual Machine. I think I need to expand the scope of my table to include VMware Datastore, but I don't know how to do this.

    -Mark

    Check the options available it seems that it can be done with WCF (the frame behind the Foglight dashboards).  We recommend generally customers who plan to build views WCF take adequate training or our PSO people engaged in it.

    In any case I can help show a quick example of how it's done.

    Please try this on a local/test server.

    Go to Configuration > definition >

    Make sure that you are in my definition, and click the icon to add a view. then choose from the tables and trees - oriented line table

    Give a name to the view, go public and make a portlet/reportlet and apply

    Switch to the configuration tab and click the change for the lines and choose a query

    Under query, expand the VMware and scroll down

    Until you can select the query for virtual machines

    And press the set button.

    Your view should look like this

    Now you must select the columns.

    Each column has a value you can edit and there is a button + to add additional columns.

    Lets start with the name of the virtual machine - click on the button to change to your default column and choose the context.

    Click on the drop down menu to enter key and choose the current line (virtual vmware machine)

    Click on the drop down menu to access path and scroll down until you can select the name and then click on set.

    You have created a table that lists the names of all virtual machines.

    You can click on save. and then click test, choose a time and click the result. A new window will open a show the list you of virtual machines.
    From here you can continue to add additional columns, each time choosing the key entry in the current line and the path to the metric/string to display.

    For example, the name of the data store.
    I change the module

    Click the configuration tab and click the icon to add a column

    For the column value, that I chose defined context once again, the key input is the current row and for the path, I expand the node for the data store

    And scroll until I see the Proprietename

    If you save and test you will see the result

    Keep adding columns and the data you want, notice that you have arrows that allow you to control the order of the columns.

    Note that you can click Show advanced configuration properties

    This will give you the opportunity to see the properties of the extra table, such as header - giving you the opportunity to give a more meaningful name (name of the data store, the name of the virtual machine, etc.) to the column header.

    You can now go you drag and drop the table edge/report and under my eyes, you will see your new view

    Drop it in the main view

    I hope this has given you the starting point to build this table.

    As I said, I strongly recommend going through our WCF training if you plan build more custom views or hire software Dell PSO Organisation to help build you views that correspond to your need.

    Best regards

    Golan

  • Report on the use of data store based on cluster (not data center)

    Hello

    I want to create separate HTML reports for each cluster I have in my virtual Center. I've created a script, but it doesn't seem to work. This script creates outputs separated from HTML based on clusters, but all the files have the same data, i.e. all data that are available in the Vcenter stores. How can I separate them with regard to the cluster in which they are assigned to the place?

    ===========================================================

    # Functions for math operations.

    usedspace {} function

    Param ($datastore)

    [math]: round (($datastore.)) CapacityMB - $datastore. (FreeSpaceMB) / 1024,2)

    }

    function dscapacity {}

    Param ($datastore)

    [math]: Round ($datastore. CapacityMB/1024,2)

    }

    freespace {} function

    Param ($datastore)

    [math]: Round ($datastore. FreeSpaceMB/1024,2)

    }

    function {percentage

    Param ($datastore)

    [math]: Round ((($datastore.)) FreeSpaceMB/1024) /($datastore.) CapacityMB/1024) * 100) / 1.2)

    }

    #Connect to Vcenter

    to connect-viserver-Server < myservername >

    # CSS stylesheet

    $a = '< style >.

    $a = $a + "BODY {background-color: Gainsboro ;}}.

    $a = $a + "TABLE {border-width: 1px;}. border-style: solid; border-color: black; border-collapse: collapse ;} »

    $a = $a + "TH {border-width: 1px;}. padding: 5px; border-style: solid; border-color: black; "{background-color: Blue}".

    $a = $a + "TD {border-width: 1px;}. padding: 5px; border-style: solid; border-color: black; "{background-color: PaleTurquoise}.

    $a = $a + ' * {do-family: Verdana, Arial, Helvetica, without serif;} '. font size: small ;} »

    $a = $a + ' < / style >.

    # get a list of clusters

    $clusters = get-cluster

    # Create HTML report for each cluster

    foreach ($cluster in $clusters)

    {

    $datastores = get-Datastore. where {$_.name - notcontains 'local'} | Sort the name

    $Report = @)

    {ForEach ($datastore to $datastores)

    $row = "" | Select-object Datastore, Datacenter, CapacityGB, UsedGB, FreeSpaceGB, PercentFree

    $row. Data store is $datastore. Name

    $row. Datacenter = $datastore. Data Center

    $row. CapacityGB = dscapacity $datastore

    $row. UsedGB = usedspace $datastore

    $row. FreeSpaceGB = freespace $datastore

    $row. PercentFree = % $datastore

    $Report += $row

    }

    $Report | Tri-objet-property PercentFree | ConvertTo-Html-head $a | Set-Content "D:\VMware\Scripts\Reports\Storage\$cluster.html".

    }

    ===============================================================

    To recover the cluster data warehouses, you must change the line:

    $datastores = get-Datastore. where {$_.name - notcontains 'local'} | Sort the name

    in:

    $datastores = $cluster | Get-Datastore. where {$_.name - notcontains 'local'} | Sort the name

  • Data store report with NFS export pathname specification

    Hi all I created a report with the SCSI LUN ID and NFS export path specification data store.

    But I have no idea of the NFS export the path of a query data store. Can you help me in the following script?

    $report = @)

    $VMHost = get-VMHost-location

    $cluster foreach ($cluster Get-cluster) {}

    (Get-Datastore - VMHost $VMHost | where {$_.}) Type - eq "VMFS"}) | %{

    $info = "" | Select Center data, Cluster, name, capacity, put in service, available, DSType, State, Monday, NFSPath

    $info. Datacenter = $_. Data Center

    $info. Cluster = $cluster. Name

    $info. Name = $_. Name

    $info. Capacity = [math]: Round($_.capacityMB/1024,2)

    $info. Put into service = [math]: Round (($_.)) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)

    $info. Available = [math]: round ($info. Capacity - $info. Put into service, 2)

    $info. DSType = $_. Type

    $info. State = $_. State

    $info. Monday = Get-ScsiLun - Datastore $_

    $info. NFSPath = "n/a".

    $report += $info

    }

    (Get-Datastore - VMHost $VMHost | where {$_.}) Type - eq 'NFS'}) | %{

    $info = "" | Select Center data, Cluster, name, capacity, put in service, available, DSType, State, Monday, NFSPath

    $info. Datacenter = $_. Data Center

    $info. Cluster = $cluster. Name

    $info. Name = $_. Name

    $info. Capacity = [math]: Round($_.capacityMB/1024,2)

    $info. Put into service = [math]: Round (($_.)) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)

    $info. Available = [math]: round ($info. Capacity - $info. Put into service, 2)

    $info. DSType = $_. Type

    $info. State = $_. State

    $info. Monday = "n/a".

    $info. NFSPath = "I don't know".

    $report += $info

    }

    Thank you.

    You can use the attributes RemoteHost and RemotePath of the data store to get the path in any format you want.

    e.g. $info. NFSPath = "$($_.)". RemoteHost) :/ $($_.) RemotePath).

  • Questions about the data reporting PowerCLI store

    Hello

    I have a problem with a script that I use and I'm looking for an idea on the problem.

    I have a script that gathers pretty much all the information on the virtual machine in my cluster. (Disk size, free disc, data store).

    Most of the time, it works very well. But there is something that bothers me little. It doesn't report the data store that each VM is linked to. It works for most, but on a select few, it's not.

    I wonder if there is something in my script which is the first cause, or if it is a question of VSphere.

    My script and the output is attached.

    Thanks in advance for the help.

    -Aaron

    I was able to get the warehouses of missing data as well.

    That's when the VMDK are stored on more than 1 data store for a specific virtual machine.

    In this case, the line

        $myDS = Get-Datastore | Where { $_.Id -eq $VM.Datastore}
    

    nothing will store in $myDS because $VM. Data store is an array of MoRefs.

    In fact you try to map the partitions in the guest OS with data warehouses that host the VMDK files.

    There is no easy solution for that I fear (there are number of threads in this community who are trying to do the same thing).

    I fear that there is no real solution for this problem

  • report using data store VMs

    I found the following script that runs through each VM in my vCenter and report in the database by using the virtual machine is. I try to add additional information to the State.  I would like to add the host name were lies the path to VMDK virtual machine and the virtual machine.

    $vcserver = "vcenter01".
    to connect-VIServer $vcserver

    $report = @)
    Get - VM | `
    {ForEach-Object
    $VM = $_
    $VM | Get-hard drive | `
    {ForEach-Object
    $HardDisk = $_
    $row = "" | Select the data store, hard disk, VM, CapacityGB
    $row. Data store = $HardDisk.Filename.Split("]") [0]. TrimStart("[")
    $row. VM = $VM. Name
    $row. Hard drive = $HardDisk.Name
    $row. CapacityGB = ('{0:f1}' f ($HardDisk.CapacityKB / 1 MB))
    $report += $row
    }
    }
    $report | Export-Csv "C:\Scripts\VMwareExport\vcenter01-datastore.csv" - noTypeInformation


    Disconnect-VIServer-confirm: $false

    I found this script that indicates the host name and works with my vCenter connection, but I can't recover the data store news.

    $vcserver = "center01".
    to connect-VIServer $vcserver

    $report = @)
    Get - VM | %{
    $vm = $_ | Get-View
    $row = "" | SELECT name, host
    $row. Name = $_. Name
    $row. Host = $_. Host
    $report += $row
    }

    $report | Export-Csv "C:\Scripts\VMwareExport\vcenter01-hosts.csv" - noTypeInformation

    disconnect-viserver-confirm: $false

    I also found this script that reports the path of virtual machines on the data store, but it only seems to work when it connects directly to the host, do not when connecting to the vCenter.

    $vcserver = "vhost01".
    to connect-VIServer $vcserver

    $report = @)
    Get - VM | Get-View | % {
    $current = get-view $_. Parent
    $path = $_. Name
    {}
    $parent = $current
    if($parent.) Name - only "vm") {$path = $parent. {Name + "\" + $path}
    $current is get-view $current. Parent
    } While ($current. Parent - no $null)
    foreach ($ds (Get-view $ _.)) Data store)) {}
    $row = "" | Select the name, the data store, path
    $row. Data store is $ds. Summary.Name
    $row. Name = $_. Name
    $row. Path = $path
    $report += $row
    }
    }
    $report | Export-Csv "C:\Scripts\VMwareExport\vhost01-datastore.csv" - noTypeInformation

    disconnect-viserver-confirm: $false

    If someone could combine these scripts that would be awesome!

    I combined the three scripts and add the host name and the path on the data store for the first script:

    $vcserver="vcenter01"
    connect-VIServer $vcserver
    
    $report = @()
    Get-VM | `
      ForEach-Object {
        $VM = $_
        $VM | Get-HardDisk | `
          ForEach-Object {
            $HardDisk = $_
            $row = "" | Select Datastore, VM, VMHost, HardDisk, CapacityGB, Path
                        $row.Datastore = $HardDisk.Filename.Split("]")[0].TrimStart("[")
                        $row.VM = $VM.Name
                        $row.VMHost = $VM.VMHost.Name
                        $row.HardDisk = $HardDisk.Name
                        $row.CapacityGB = ("{0:f1}" -f ($HardDisk.CapacityKB/1MB))
                        $row.Path = $HardDisk.FileName
                        $report += $row
          }
      }
    $report | Export-Csv "C:\Scripts\VMwareExport\vcenter01-datastore.csv" -noTypeInformation
    
    Disconnect-VIServer -Confirm:$false
    

    Best regards, Robert

  • Issue of reports of data store

    Looking for a fairly simple report... I've seen reports that do what I want, but I don't have the knowledge to assemble them.

    You are looking for the following information:

    Name of data store - free space (in GB if possible) - number of virtual machines on the data store

    I found this to get the number of virtual machines on the data store:

    Get-Datastore. Sort-Object Name. Get-View | Format-Table @{Label = "Data store name"; {Expression = {$_.Info.Name}}, @{Label = 'Number of virtual machines'; Expression = {$_.} UM length}}

    That works, but I need to add a column free space.

    FreeSpace is stored in the. Property of Info.FreeSpace.

    Just add another column as

    @{Label = "FreeSpaceGB"; Expression={$_.info.FreeSpace/1gb}}

    To put it all together:

    Get-Datastore

     

     

    | Sort-Object Name | Get-View | Format-Table @{Label = "Data store name"; {Expression = {$_.Info.Name}}, @{Label = 'Number of virtual machines'; Expression = {$_.} UM length}}, @{Label = "FreeSpaceGB"; Expression={$_.info.FreeSpace/1gb}}

    See you soon,.

    Arnim

  • Help with report VM (name MemoryMB NumCPU, data store, total size of the disk)

    I currently have a script (listed below) to the CR of query for each virtual computer and their allocated disks. The problem with the script is that when he meets a VM with disks on several data only stores the first data store is listed in the report. However, the total size of the disk is correct.

    Any ideas to fix this?

    $datastoreExp = @{N = "Datastore"; E = {($_ | get-datastore | select-object-1 premier).} Name}}

    $diskSizeExp = @{N = "Total disk"; E = {($_ | get-harddisk | mesure-objet-propriété CapacityKB-somme).} Sum}}

    Get - vm | Select the name MemoryMB NUmCPU, $datastoreExp, $diskSizeExp | Sort - property datastore, "Total disc | Export-Csv C:\Scripts\Reports\chargeback.csv

    I thought that was what you wanted, judging by your examples.

    In any case, no problem, the following should do the trick.

    
    $dsRegEx = [regex]"\[(\w+)\]"
    $report = @()
    get-vm | % {
         $vm = $_
        $vm.HardDisks | %{
              $row = "" | Select Name,MemoryMB,NUmCPU, Datastore, "Total Disk (Gb)"
              $row.Name = $vm.Name
              $row.MemoryMb = $vm.MemoryMb
              $row.NumCpu = $vm.NumCpu
              $row.Datastore = $dsRegEx.Match($_.Filename).Groups[1].Value
              $row.{Total Disk (Gb)} = "{0:N}" -f ($_.CapacityKB / 1Mb)
              $report += $row
         }
    }
    $report | sort -property Name, datastore,"Total Disk" |Export-Csv "C:\chargeback.csv" -noTypeInformation
    

    Since there are sometimes problems with the display of the hooks I have attached the script.

  • VDP: Cannot access the data store

    Hello!

    I have a problem.

    Every day I see error for one of my servers in "reports":

    2016-07 - 05T 06: 00:47.971 + error 06:00-[7F2F3FA5E700] [Originator@6876 = transport sub]

    Cannot use hotadd mode to access the FileSrv1/FileSrv1_1.vmdk [Cisco2-datastore]: can't get using this method.

    (Mounting VM using vm-3198 transport hotadd failed: cannot access the data store for one of the drives of the Machine virtual FileSrv1..)

    At the same time, I havn't this error for the other servers.

    "FileSrv1" has not has installed "VMWare tools". After the instalation "VMWare tools" on this server, the problem is resolved.

  • Do we know how the data store is filled

    We do not know how the data store is filled, ran put space, is there a tool or a way to get the report how the data store is filled.

    1. go to the data store--> select storage views--> then apply different filters to see DS space utlization by VMs, instant.

    2. enable ssh esxi host and log in with the username/password of root and orders below

    #cd vmfs/volumes /.

    #du-sh *.

    This will list all the files/dir on this data store and its size in GB.

    3. or you can use DS to take a quick look at what.

    Thank you

    Hentzien

  • Completed by TimesTen Server data store connection

    Hello

    I have a problem with an application to connect to a database, TimesTen, but the connection is being terminated by the server and I can't work the reason (error seems internal)

    In summary, the application reads the blocks of data of a schema performs a treatment and then writes the output to a separate schema. When the read operation is simple (a table only reading), it runs without error. When the read operation becomes more complex (reading subdashboards using an IN clause, the JDBC connection reported that the connection is broken that the server came out unexpectedly. )

    The tterrors.log file contains the following error information:

    16:40:35.11 Warn: 26246: 11.2.2.4.1.opadev TimesTen Daemon release began.

    16:53:17.79 Err: SRV: 26345: EventID = 5 | Socket recv() failed.  (104) error: Connection reset by peer. File: /ade/vespa_20121029_kaiser-tt_29086/timesten/VisiChannel/oc/src/vostcpip.cpp; Online: 668

    16:53:17.79 Err: SRV: 26331: EventID = 5 | Socket recv() failed.  (104) error: Connection reset by peer. File: /ade/vespa_20121029_kaiser-tt_29086/timesten/VisiChannel/oc/src/vostcpip.cpp; Online: 668

    16:53:17.79 Err: SRV: 26345: EventID = 68 | Unable to read the request from the client. Closing connection without response.

    16:53:17.79 Err: SRV: 26331: EventID = 68 | Unable to read the request from the client. Closing connection without response.

    16:53:20.37 Err: SRV: 26410: EventID = 3 | Send() Socket failed.  (104) error: Connection reset by peer. File: /ade/vespa_20121029_kaiser-tt_29086/timesten/VisiChannel/oc/src/vostcpip.cpp; Online: 762

    16:57:31.39 Err: 26246: 26483/0x82ca90: failed assertion: sbPtIsCharConst (maxExp) [genTree.c:/main/155:genOrderInList (): 4555] PID 26483 (ttcserver) 1 CONN (javaw) 2014-02-05 16:57:31.396

    16:57:31.39 Err: 26246: 26483/0x82ca90: assert SQL = "SELECT HOUSEHOLD_MEMBER_ID, HOUSEHOLD_ID, AGE OF UK_DATA_HOUSEHOLD_MEMBER WHERE HOUSEHOLD_ID IN ('3 ', '2', '10', '1', '7', '6', '5', ' 4', ' 9 ', ' 8') '"

    16:57:31.39 Err: 26246: 26483/0x82ca90: database marked invalid [genTree.c:/main/155:genOrderInList (): 4555] PID 26483 (ttcserver) 1 CONN (javaw) context 0x82ca90

    16:57:31.71 Err: 26246: 26250/0x7fe3b00009e0: IndexGC could not start a transaction

    16:57:31.71 Warn: 26246: 26250/0xec53a0: / var/TimesTen/opadev/opadev_db forced disconnect

    16:57:31.71 Warn: 26246: 26250/0x7fe3b00009e0: / var/TimesTen/opadev/opadev_db forced disconnect

    16:57:31.71 Warn: 26246: 26250 -: an old instance is disconnected

    16:57:31.71 Err: 26250: subd: IndexGC thread is stopped with error

    Warn 16:57:31.71: 26246:26483 you leave all connected to the data store ' / var/TimesTen/opadev/opadev_db "shm 1509982213 count = 1

    16:57:33.58 Err: 26246: TT14000: TimesTen daemon internal error: could not connect to port subdaemon 9327 [stopManaging - err 799 (error Protocol trying to talk to the demon to port 9327)]

    16:57:33.58 Err: 26246: TT14012: demon subdaemon TimesTen failed: error 791 unmanaging, disabling

    16:57:33.58 Warn: 26246: 26250 -: process of subdaemon is released

    Warn 16:57:33.58: 26246:26250 you leave all connected to the data store ' / var/TimesTen/opadev/opadev_db "shm 1509982213 count = 9

    16:57:33.58 Warn: 26246: daRecovery: subdaemon 26250, management of data store, failed: invalid (failcode = 202)

    To me, this looks like an internal error in TimesTen.

    Any ideas what's going on (short-term memory maybe)?

    How this increase as a SR or searching through the existing SR and TimesTen bug reports?

    Thank you

    Ben

    Hi Ben,

    Yes, the TimesTen server is blocked because of an internal assertion failure. My suggestion would be to first try upgrading to the latest version of 11.2.2.6.x because it has many corrections of bugs compared to 11.2.2.4.1 which is pretty old now. If this does not resolve the problem, then you need to open an SR via My Oracle Support. You will need your CSI to do so and it should cover TiemsTen (i.e. you must have TimesTen covered as part of your Oracle support contract).

    Chris

  • Get-hard drives - storage drives data store migrate between data warehouses

    Hi all


    Our current storage configuration with specially designed split-role of the bases of data storages (OS, LOG SQL, SQL DATA, APP, Exchange roles, etc.)  I do a storage store on my VMware Infrastructure and hoped to target only the disks of virtual machines that are on any data store and migrate them to another.  Rather new to PowerCli if you're wondering why the bellows of the command does not work and the reports that the file is locked.


    Get-hard drive - data store 'Datastore01 ' | Moving-hard drive - data store Datastore02

    If the machine virtual itself is made aware of the command?  Would I have to enumarte the virtual machines on the first data store and then target discs that everyone has and redirect it to the hard disk Move command?

    Thanks in advance

    Yes, you are banging in the sequence of commands trying to move a file on the data store without referencing the virtual machine. According to the State of the virtual machine (lit or not) of different things happen

    • VM power off - the disc is moved and the virtual machine is broken (the vmx file will always point to the original location for the HD that is no longer there)
    • Virtual MACHINE power - the disk is locked, so it cannot be moved (the error you have seen)

    Another thing to keep in mind is that the configuration of the VM is also on a data store, so if you want to move the entire virtual machine you can just move the hard drives

    If all the virtual machines on a data store have all their HDs on this data store then you can do something like

    Get - VM - data store 'Datastore01 ' | Move-VM - data store "Datastore02".

    To access the VM configuration, but also his records. If you have virtual machines where the disks into a single virtual machine, then you will have a little more work to do to sort the records that must be moved

    Get - VM - data store 'Datastore01 ' | Get-hard drive | Where-Object {$_.} FileName.Contains ("[Datastore01]")} | Moving-hard drive - data store "Datastore02".

    This is all virtual machines with a component (hard drive or configuration) on Datastore1, and then for each VM is all hard disks that are on Datastore01 and the Datastore02

Maybe you are looking for

  • What is happening with this new layout of the forum?

    Apple-wake up!  What happened to the layout of the traditional forum?  Is it broken?  People come to a forum looking for information and seek answers through the previous posts.  The new provision allows only one person to see more than a few hours o

  • Lost Windows license key

    I have an old Compaq 610 Notebook PCand the hard drive failed, unfortunately.  Can I replace the hard drive, but the Windows licesnse key sticker is so worn that I can read is no longer the characters.  How can I retrieve my license key?

  • Adding a formula to 3.6 numbers

    Hello. I have a very simple (I think) formula, I want to add to a cel of numbers, but I can't seem to do things. I want H1 to show the sum of C1 + D1, but only if B1 is '1 '. I've tried everything I can think of, but he always says that my formula is

  • Norton Security Scan continue to settle

    On my wife's computer (Vista Home Premium), I discovered today, Norton Security Scan . Neither my wife nor I have knowingly downloaded or installed this. We use any Norton (Symantec). I've uninstalled it. When I restarted, after a few minutes, he him

  • How iterate/identify the screens of the application stack

    Hi all 1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.752 opportunity BB JDE 4.7 3. the request is: In my application I have screens showns one based on the click number, how can I display no matter which screen every time I requi