Get DatastoreCluster and data store information

I wanted to know if it is possible using a Script or cmd PowerCLI for a list of all data warehouses and which datastore cluster they belong too.

No error, but it does not list the data stores that are not part of a datastorecluster.

If you want all data warehouses, you could do

Get-Datastore.

Select Name,@{N='DatastoreCluster'; E = {Get-DatastoreCluster - Datastore $_______ |} Select name - ExpandProperty}}

Tags: VMware

Similar Questions

  • Get the scsi for a data store information if the data store is known

    Hello

    I'm looking for a way to get the information of scsci for a data store if the name of the data store is known. In perl/powershell, this is not a big problem, but how to do this using the Orchestrator. It seems that some information is not available/accessible in vCO, as information volume.extent (object VcHostFileSystemVolume).

    For an example on how to do who, in powershell, see

    http://vwiki.co.UK/Datastore_to_LUN_Mapping_%28PowerCLI%29

    No idea on how to do the same with the Orchestrator.

    Concerning

    Thomas

    Hello

    Onyx would not help in this case. After thinking a bit, I found the solution. I looks like:

    for each {(var Mon in wfHostObject.configManager.storageSystem.storageDeviceInfo.multipathInfo.lun)

    System.Debug ("number of paths:" + lun.path.length);

    for each {(var path in lun.path)

    If (path.state == 'active') {}

    //

    Download the mountinfo

    //

    System.Debug ("mountinfo length:" + wfHostObject.configManager.storageSystem.fileSystemVolumeInfo.mountInfo.length);

    for each {(Mount var in wfHostObject.configManager.storageSystem.fileSystemVolumeInfo.mountInfo)

    If (mount.volume.hasOwnProperty ("extent")) {}

    for each {(measure of var in mount.volume.extent)

    var tmp = extent.diskName.split(/\./);

    var regExp = new RegExp(tmp[1],'gi');

    If (lun.id.match (regExp)) {}

    System.Debug ("mount.type:" + mount.volume.type);

    System.Debug ("mount.name:" + mount.volume.name);

    System.Debug ("extent.diskName:" + extent.diskName);

    }

    }

    }

    }

    }

    }

    }

  • Cluster data store information

    Hi - I was wondering if someone has a script that can detail the following information .in one table...

    Name of the cluster - & gt; Name of the store data - & gt; Total size - & gt; Free space - & gt; % used space

    I have 2 groups where the data store names are the same in each cluster. I would like a way to be able to see who have warehouses of data 15% or less of free space and the data store cluster that belongs to.

    If anyone can help with that would be great

    concerning

    Chris

    We cannot use the cmdlet WHer-Object here since we don't test in a pipe.

    But a simple if statement with the StartsWith method should do the trick.

    Something like this:

    $report = @()
    
    Get-Cluster $clusterName | Get-View | % {
         foreach($dsMoRef in $cluster.Datastore){
              $ds = Get-View -Id $dsMoRef
              if(-not $ds.Info.Name.StartsWith("LOCAL")){
                   $row = "" | Select Cluster, Datastore, Size, Free, UsedPercentage
                   $row.Cluster = $cluster.Name
                   $row.Datastore = $ds.Info.Name
                   $row.Size = $ds.Info.Vmfs.Capacity
                   $row.Free = $ds.Info.FreeSpace
                   $row.UsedPercentage = "{0:N2}" -f (($row.Size - $row.Free)/$row.Size * 100)
                   $report += $row
              }
         }
    }
    $report
    
  • How can I get voice and data to work with the ASA 5505?

    Here's the issue I'm having.   Can I get a Cisco 7940 to work behind one site to another configured ASA 5505 and I can also get data to work behind it.  However, when I try to create a separate Vlan for voice and data, it does not work.  Our voice VLANs on our remote sites are 172.30 and data are 172.31, when I put the inside interface with 172.31 data will work and when I on it 172.30 voice will work.  I upgraded to a security more license and tried vlan3 created as voice.  I have the data to the top and work but I can't get vlan3 to work.   Any help would be greatly appreciated.  Thank you

    Here is my current config:

    hostname TESTvpn
    activate the password xxxxx

    passwd xxxxx

    username admin password xxxxx privilege 15

    name Corp_LAN 10.0.0.0
    name 192.168.64.0 Corp_Voice
    name 172.31.155.0 TESTvpn

    object-group network SunVoyager
    host of the object-Network 64.70.8.160
    host of the object-Network 64.70.8.242

    the Corp_Networks object-group network
    network-object Corp_LAN 255.0.0.0
    object-network Corp_Voice 255.255.255.0

    interface vlan2
    nameif outside
    security-level 0
    IP address dhcp setroute
    No tap

    interface vlan1
    nameif inside
    security-level 100
    IP 172.31.155.1 255.255.255.0
    No tap

    interface vlan3
    nameif Corp_Voice
    security-level 100
    IP 172.30.155.1 255.255.255.0
    No tap

    output
    interface Ethernet0/0
    switchport access vlan 2
    No tap

    interface Ethernet0/7
    switchport access vlan 3
    No tap

    output

    dhcpd allow inside
    dhcpd address 172.31.155.10 - 172.31.155.30 inside
    dhcpd dns 10.10.10.7 10.10.10.44 interface inside
    dhcpd sun.ins area inside interface
    dhcpd allow inside

    enable Corp_Voice dhcpd
    dhcpd address 172.30.155.10 - 172.30.155.30 Corp_Voice
    dhcpd dns 10.10.10.7 10.10.10.44 interface Corp_Voice
    dhcpd interface of sun.ins of the Corp_Voice domain
    enable Corp_Voice dhcpd
    dhcpd option 150 ip 192.168.64.4 192.168.64.3

    Enable logging
    exploitation forest buffer-size 10000
    monitor debug logging
    logging buffered information
    asdm of logging of information

    outside_access_in list extended access allow all unreachable icmp
    outside_access_in list extended access permit icmp any any echo response
    outside_access_in list extended access permit icmp any one time exceed
    access extensive list ip 172.31.155.0 inside_access_in allow 255.255.255.0 any
    inside_access_in list extended access allow icmp 172.31.155.0 255.255.255.0 any
    Access extensive list ip 172.30.155.0 Corp_Voice_access_in allow 255.255.255.0 any
    Corp_Voice_access_in list extended access allow icmp 172.30.155.0 255.255.255.0 any

    VPN access list extended deny ip 172.31.155.0 255.255.255.0 object-group SunVoyager
    extended VPN ip 172.31.155.0 access list allow 255.255.255.0 any

    inside_access_in access to the interface inside group
    Access-group outside_access_in in interface outside
    Access-group Corp_Voice_access_in in the Corp_Voice interface

    Global 1 interface (outside)
    NAT (inside) 0-list of access VPN
    NAT (inside) 1 172.31.155.0 255.255.255.0

    Enable http server
    http 172.31.155.0 255.255.255.0 inside
    http 172.30.155.0 255.255.255.0 Corp_Voice
    http 192.168.64.0 255.255.255.0 Corp_Voice
    http 10.0.0.0 255.0.0.0 inside
    http 65.170.136.64 255.255.255.224 outside
    SSH 10.0.0.0 255.0.0.0 inside
    SSH 172.31.155.0 255.255.255.0 inside
    SSH 65.170.136.64 255.255.255.224 outside
    SSH timeout 20

    management-access inside

    dhcpd outside auto_config

    Crypto ipsec transform-set esp-3des esp-md5-hmac VPN
    crypto map outside_map 1 is the VPN address
    peer set card crypto outside_map 1 66.170.136.65
    card crypto outside_map 1 the value transform-set VPN
    outside_map interface card crypto outside
    crypto isakmp identity address
    crypto ISAKMP allow outside
    crypto ISAKMP policy 1
    preshared authentication
    3des encryption
    md5 hash
    Group 2
    lifetime 28800

    tunnel-group 66.170.136.65 type ipsec-l2l
    IPSec-attributes tunnel-group 66.170.136.65
    pre-shared-key xxxxx

    output
    int eth 0/1
    close
    No tap
    int eth 0/2
    close
    No tap
    int eth 0/3
    close
    No tap
    int eth 0/4
    close
    No tap
    int eth 0/5
    close
    No tap
    int eth 0/6
    close
    No tap
    int eth 0/7
    close
    No tap

    Peter,

    Note that access list names are case-sensitive, so you've actually done something different from what I proposed.

    Please do:

    no nat (Corp_Voice) 0-list of access vpn

    No list of vpn access extended permitted ip TESTvpn 255.255.255.0 everything
    IP 172.30.155.0 255.255.255.0 extended vpn access do not allow any list all

    extended VPN ip 172.30.155.0 access list allow 255.255.255.0 any

    NAT (Corp_Voice) 0-list of access VPN

    In the case where you did deliberately, for example to separate the 2 acl: note that acl VPN (upper case) is also used in the encryption card, where you cannot add a second LCD.

    So if you want to separate you, you will need 3 access lists:

    list of access data-vpn ip TESTvpn 255.255.255.0 allow one

    voice-vpn ip 172.30.155.0 access list allow 255.255.255.0 any

    access-list all - vpn ip TESTvpn 255.255.255.0 allow one

    access-list all - vpn ip 172.30.155.0 allow 255.255.255.0 any

    NAT (inside) 0-list of access vpn data

    NAT (Corp_Voice) - access list 0 voice-vpn

    outside_map 1 match address all vpn crypto card

    Don't know if this was also clearly to my previous message, I recommend you to replace the "all" (in each of the ACL lines) to something more specific (i.e. a remote network, or group of objects that contain the remote networks).

    HTH

    Herbert

  • Collecting data store information

    Hi all

    I need to produce a report of all data stores that will include the name of datstore, the capacitygb, the freespacegb and the NAA.  That's what I came with, but it works simply forever.   Any suggestions?

    $datastores = get-Datastore.
    Where-Object {$_.ExtensionData.Info.GetType ().} Name - eq "VmfsDatastoreInfo"}
    $report = @)


    {Foreach ($d in $datastores)

    $temp = new-Object - TypeName PSObject-property @ {}
    Name = $d.Name
    CapacityGB = $d.CapacityGB
    FreeSpaceGB = $d.FreeSpaceGB
    NAA = Get-Scsilun - Datastore $d | Select canonicalname
    }
    $report += $temp
    }

    $report | Export-Csv h:\Documents\AllScripts\test3.csv

    The cmdlet Get-ScsiLun can take a long time, it isn't the fastest cmdlet around.

    If you have only 1 LUN in a data store, you can do something like this to get the same result

    Get-Datastore | where {$_.Type -eq "VMFS"} |Select Name,CapacityGB,FreeSpaceGB,@{N="NAA";E={$_.ExtensionData.Info.Vmfs.Extent | Select -ExpandProperty DiskName}} |Export-Csv c:\report.csv -NoTypeInformation -UseCulture
    

    If there are more than 1 LUN by the data store, the script needs a little change.

    Get-Datastore | where {$_.Type -eq "VMFS"} |Select Name,CapacityGB,FreeSpaceGB,@{N="NAA";E={[string]::Join(',',($_.ExtensionData.Info.Vmfs.Extent | Select -ExpandProperty DiskName)}} |Export-Csv c:\report.csv -NoTypeInformation -UseCulture
    
  • Deleted virtual disk file and data store, just want to boot OS now.

    So I had a VM win7, and I added a virtual disk on a new data store.

    The new drive came out fine on windows as a new drive, and I was able to format etc.

    Now I basically unplugged all the system and booted Linux instead of ESX and ran all over the disk on which was my data store.

    Then I started in vmware and saw that the Windows VM was in a State of 'suspended' and if I try to take it back, he complains the missing disk file.

    "

    Reason: The system cannot find the specified file.
    Cannot open disk ' / vmfs/volumes/504e6c8a-b20d8bfd-1768-001e674dda97/win7/win7_1.vmdk' or one of the snapshot disks it depends on.
    VMware ESX can not find the virtual disk "/ vmfs/volumes/504e6c8a-b20d8bfd-1768-001e674dda97/win7/win7_1.vmdk". Check that the path is valid and try again.

    "

    But it does not successfully. I tried to change the settings to remove the ' disk hard 2 "of its devices, but which is disabled since I assume that the virtual machine is suspended."»

    I don't like on the virtual disk or any data on this subject, I have need to be in windows - I want to just start in

    Is it possible to get out of this State without having to remove the entire virtual machine and re - install windows?

    Thank you!

    > and started instead of ESX Linux and ran all over the disk on which was my data store.

    Sorry - that "ran the disk" mean exactly?

    to get rid of the suspended state - delete the VMS, as well as all the VMS file references in the vmx file

  • Snapshots and data store management

    Hey, I'm pretty new so bear with me.

    I inherited middle of about 50 guests (ESXi 5.0) and 900 VMs. I am looking for input as to how you manage all snapshots and space they use. I am using NetBackup.

    I had a VM down due to one of the three warehouses of data that it is filling. I have two warehouses of 2 TB. Data warehouses are completely implemented in this virtual Windows machine. So, there are only a few GB free after commissioning. The obvious problem is when a snapshot is taken for backups, fills store data and the virtual machine is paused. I see that I can force ESXi 5 invited to use the working directory for the virtual computer, but what happens if I want to redirect shots elsewhere?

    How will you manage all this question if you do not see it?

    Welcome to the VMware forums communities.

    You can use the following steps to change the location of the snapshot for a VM - kb.vmware.com/kb/2007563.

    An alternative to the deployment of a data store that is pretty well filled by a single virtual machine is to use a raw device mapping (RDM).  With a RDM virtual machine is assigned all of the LUNS, rather than using a VMDK and the data store.  This avoid the situation where you have data stores that are pretty well filled right up.

    You can create a RDM in physical or virtual mode.  In your case a virtual RDM would be probably the best which provides instant support.   A physical RDM has more direct access to the LUN, but the snapshots are not supported.  A physical RDM can have up to 64 TB of size, and a virtual RDM is limited to 2 TB.

  • Get the VcVirtualDisk data store

    Salvation;

    I have a small question.

    I have an object: VcVirtualDisk but I want to know what data store, this drive is on.

    Is there an easy way to do this?

    Kind regards

    Hi jonathan,.

    This should help you:

    var features = vm.config.hardware.device;

    for (var I in devices)

    {

    If (devices [i] instanceof VcVirtualDisk)

    {

    System.log ("disk key:" + devices [i] .key).

    System.log ("disk ControllerKey:" + devices [i] .controllerKey);

    System.log ("disk size:" + .capacityInKB of devices [i] + "KB");

    System.log ("disk size:" + (devices [i] .capacityInKB/1024/1024) + 'GB');

    System.log ("Backing:" + devices [i] .backing);

    System.log ("Backing - store data:" + devices [i].backing.datastore);

    System.log ("Backing - thinProvisioned:" + devices [i].backing.thinProvisioned);

    }

    }

  • Connect the ESX host and data store on another ESX host

    Hello

    assuming for this scenario:

    Host ESX 1: esx1

    Host ESX 2: esx2

    It is possible to mount esx2 datastore in esx1? (For example: via NFS). Of course, it is possible use a NAS/SAN intermediary, but I wonder if it is possible to achieve a direct mount.

    Thank you

    Eddie

    Well, to allow another host to share the local data store, the host must be able to act as an NFS server. The problem is, there is no service in one of the ESX version which able to serve that. So, as said what a.p., no, is not possible.

  • PowerCLI clusters and data store?

    Assumptions about what PowerCLI support datastore clusters?  It's a bit of pain right now to do large amounts of storage vMotions (we have a ton of migration to do).

    Whilts I can give no timeline as to when we will post I can confirm that we are looking at the store of data clusters for a future version.

    Luke has some features nice here do some functions of cluster data store already... http://www.lucd.info/2011/12/11/vSphere-5-top-10-storage-DRS/

  • How to get documents and data to the cloud on my Mac desktop?

    After the upgrade to Sierra all my data (documents and desktop) have been transferred to Icloud. I absolutely not want all my data on another server costs me more money. How do I lose all my data safely back on my Mac, without anything? I'm quite t... o... that the decisions of this importance are make with a single click (or without?). Preferably, I do not want to export every file (of the thousands...) by hand, but just change things back to where it was before.

    Thanks in advance!

    Documents are also in your folder on the drive on your Mac iCloud.

    Just disable iCloud drive in iCloud preferences.

    Then go icloud.com and connect, then you remove the files on disc to iCloud.

    8. how to disable iCloud drive?

    To disable iCloud Drive on your iOS device, go to settings > iCloud > iCloud driveand on your Mac, go to the Apple menu > System Preferences > iCloud. If you disable iCloud drive, so you you will manage your files locally, documents are not synchronized or updated your iOS iOS devices 8 or OS X Yosemite or iCloud.com.

    http://www.iphonehacks.com/2015/01/icloud-drive-Guide.html

  • 838 cannot get error of data store shared memory segment in Timesten

    Hi Chris,
    It is shalini. I sent u for the last two days reg this problem. You asked me on a few details. Here is the answer,

    1, u no matter what changed after the installation of timesten? -No. I don't change anything.
    2. What are the three values in physical memory? -Total - 2036 MB, cache - 1680 MB, free - 12 MB
    3, ttmesg.log and tterrors.log? -
    tterrors.log:

    Warn 12:48:58.83: 1016:3972 connection process failed to create reports

    ttmesg.log:

    12:48:58.77 Info: 1016: labour had #12.14, Hello: pid = 3972 type = load useful library = % 00% 00% 00% 00 protocolID = TimesTen 11.2.1.3.0.tt1121_32 ident = % 00% 00% 00% 00
    12:48:58.77 Info: 1016: labour: with request #12.14
    12:48:58.77 Info: 1016: labour obtained #12.15 of 3972, connect: name = c:\timesten\tt1121_32\data\my_ttdb\my_ttdb context = 266e900 user = InstallAdmin pass = dbdev = logdev = logdir = c:\timesten\tt1121_32\logs\my_ttdb grpname = access = % 00% 00% 00% 00 persist = % 00% 00% 00 00 flags=@%00%00%01 newpermsz = % 00% % 00% 00% 02 newtempsz = % 00% 00% 00% 02 newpermthresh = Z % 00% 00% 00 newtempthresh = Z % 00% 00 00 = 00% newlogbufsz % % 00% 00% 02 newsgasize = % 00% 00% 00% 02 newsgaaddr = 0% 0% 00% 00 00 = % autorefreshType % ff % ff % ff % ff logbufparallelism = % 00% 00% 00 00 = 00% logflushmethod % % 00% 00 00 = 00% logmarkerinterval % % 00% 00% 00 connections = 03% 00% 00% 00 control1 = % 00% 00% 00% 00 control2 = % 00% 00% 00 00 control3 = % 00% % 00% 00 00 = 06% 00% ckptrate % % 00 00 = 00% connflags % % 00% 00 00 newlogfilesz=%00%00@%01 skiprestorecheck = % 00% % 00% 00% 00 realuser = my_ttdb ckptfrequency = conn_name InstallAdmin = X % 02 00 00 ckptlogvolume = % 14% 00% % 00% 00 recoverythreads = 0% 3% 00% 00% 00 reqid = * plsql = % ff % ff % ff % ff receiverThreads = % 00% 00% 00% 00
    12:48:58.77 Info: 1016:3972 0266E900: connect to c:\timesten\tt1121_32\data\my_ttdb\my_ttdb a = 0 x 0 f = 0 x 1000040
    12:48:58.77 Info: 1016: permsize = 33554432 tempsize = 33554432
    12:48:58.77 Info: 1016: logbuffersize = 33554432 logfilesize = 20971520
    12:48:58.77 Info: 1016: permwarnthresh = tempwarnthresh logflushmethod = 90 = 90 0 connections = 3
    12:48:58.77 Info: 1016: ckptfrequency = 600 ckptlogvolume = 20 conn_name = my_ttdb
    12:48:58.77 Info: 1016: recoverythreads = 3 logbufparallelism = 0
    12:48:58.77 Info: 1016: plsql = 0 sgasize = 33554432 sgaaddr = 0x00000000
    12:48:58.77 Info: 1016: control1 = 0 = 0 = 0 control3 control2
    12:48:58.79 Info: 1016: ckptrate = 6 receiverThreads = 0
    12:48:58.79 Info: 1016:3972 0266E900: no such data bank
    12:48:58.79 Info: 1016: daDbConnect failed
    12:48:58.79 Info: 1016: return 1 833 "no such database!" arg1 = "c:\timesten\tt1121_32\data\my_ttdb\my_ttdb" arg1type s = ' arg2 = "arg2type = the of '
    12:48:58.79 Info: 1016: labour: with request #12.15
    12:48:58.79 Info: 1016: labour obtained #12.16 of 3972, create: name = c:\timesten\tt1121_32\data\my_ttdb\my_ttdb context = 266e900 user = pass = dbdev = logdev = logdir = grpname = c:\timesten\tt1121_32\logs\my_ttdb InstallAdmin persist = % 00% 00% 00% 00 = 00% access % 00% 00% 00 flags=@%00%00%01 permsize = % 00% 00% 00% 02 tempsize = % 00% 00% 00% 02 permthresh = Z % 00% 00% 00 tempthresh = Z % 00% 00 00 = 00% logbufsize % % 00% 02 logfilesize=%00%00@%01 shmsize = 8% f4% sgasize % C9% 00 = 06% 00% 00% 02 sgaaddr = 00% % 00% 00 00 autorefreshType = 01% 00% % 00 00 = 00% logbufparallelism % % 00% 00 00 = 00% logflushmethod % % 00% 00 00 = 00% logmarkerinterval % % 00% 00% 00 connections = 03% 00% 00 00 control1 = % 00% % 00% 00% 00 control2 = % 00% 00% 00% 00 control3 = % 00% 00% 00 00 = 06% 00% ckptrate % % 00 00 = 00% connflags % % 00% 00 00 = 00% inrestore % % 00% 00% 00 realuser = my_ttdb ckptfrequency = conn_name InstallAdmin = X % 02 00 00 ckptlogvolume = % 14 %0% 0% 00% = % 03 00 00 recoverythreads % 00% 00 reqid = * plsql = % 00% 00% 00% 00 = 00% receiverThreads % 00% 00% 00
    12:48:58.79 Info: 1016:3972 0266E900: create c:\timesten\tt1121_32\data\my_ttdb\my_ttdb p = 0 x 0 x 0 f a = 0 = 0 x 1000040
    12:48:58.79 Info: 1016: permsize = 33554432 tempsize = 33554432
    12:48:58.79 Info: 1016: logbuffersize = 33562624 = 20971520 logfilesize
    12:48:58.80 Info: 1016: shmsize = 113898552
    12:48:58.80 Info: 1016: plsql = 0 sgasize = 33554432 sgaaddr = 0x00000000
    12:48:58.80 Info: 1016: permwarnthresh = tempwarnthresh logflushmethod = 90 = 90 0 connections = 3
    12:48:58.80 Info: 1016: ckptfrequency = 600 ckptlogvolume = 20 conn_name = my_ttdb
    12:48:58.80 Info: 1016: recoverythreads = 3 logbufparallelism = 0
    12:48:58.80 Info: 1016: control1 = 0 = 0 = 0 control3 control2
    12:48:58.80 Info: 1016: ckptrate = 6, receiverThreads = 1
    12:48:58.80 Info: 1016: creation of structure of DBI, marking in the stream to create by 3972
    12:48:58.82 Info: 1016: daDbCreate: on the point of calling trashed =-1, createShmAndSem, shmSeq, panic =-1 = 1, c:\timesten\tt1121_32\data\my_ttdb\my_ttdb name
    12:48:58.82 Info: 1016: marking streaming to create by 3972
    12:48:58.82 Info: 1016: create.c:338: Mark streaming (right now 1 = create pid 3972 nwaiters 0 ds c:\timesten\tt1121_32\data\my_ttdb\my_ttdb) (a reason no. 1)
    12:48:58.82 Info: 1016: labour: with request #12.16
    12:48:58.83 Info: 1016: labour got #12.17 of 3972, complete creation: name = c:\timesten\tt1121_32\data\my_ttdb\my_ttdb context = 266e900 connid = % 00 08 00% % 00 success = N
    12:48:58.83 Info: 1016:3972 0266E900: CreateComplete N c:\timesten\tt1121_32\data\my_ttdb\my_ttdb
    Warn 12:48:58.83: 1016:3972 connection process failed to create reports
    12:48:58.83 Info: 1016: about to destroy SHM 560
    12:48:58.83 Info: 1016: labour: with request #12.17
    12:48:58.83 Info: 1016: labour 12: closed socket, call for recovery (last cmd was 17 years old)
    12:48:58.85 Info: 1016: from daRecovery to 3972
    12:48:58.85 Info: 1016: 3972 -: process is released
    12:48:58.85 Info: 1016: finished daRecovery for pid 3972.

    I think that 'Process reports failed to create connection' is the indicated error.

    4, DSN attributes? -

    earlier, I used my_ttdb which is the SYSTEM DSN, and I tried to create a user DSN, it still does not. I'll give you the my_ttdb dsn attributes.

    I can't join the screenshots in this post. Y at - it anyway to attach it. I shouldn't send the response by mail of my company, so just sent this message. You can answer to my mailbox identification.

    Chris or anyone can please reply to this post below.

    I have a table called Employee. I created a view called emp_view.

    Create view emp_view as
    Select / * + INDEX (used emp_no) * /.
    emp_name, emp_no
    the employee;

    We have another index on the Employee table called emp_name.

    I need to use the index emp_name emp_view as below.

    Select / * + INDEX (< of tables used > emp_name) * /.
    emp_no
    of emp_view
    where emp_name = 'SSS ';

    in the index, I tried / * + INDEX (emp_view. Employee emp_name) * /, but it always takes the index used to emp_view ie emp_no... Anyone can u please help me solve this problem.

    Published by: user12154813 on November 3, 2009 04:21

    In my opinion, a great place to start to learn and understand TimesTen is to make sure that when you install TimesTen, you install quick start-up equipment and then take the time to read and follow the examples. They have quickly you will fill in on several important concepts of TimesTen much better I can do in a post here in this forum. To try to answer some of your key questions:

    1. you can run Oracle DB, TimesTen on the same machine that the machine has sufficient resources. You try to run as well on a 32-bit windows with only 2 GB RAM machine probably isn't a very good idea. In general, TimesTen is installed in another machine to Oracle Db and communicates with it through SQL * Net. In general, TimesTen is deployedin application layer, usually on the mchine hosting the actual application.

    2 TimesTen is a comprehensive database full and is not in any way on Oracle DB. However, when you use the IMDB Cache of TimesTen feature you use the database in memory of high-performance data cached for faster access of Oracle Timesten.

    3 TimesTen is not "delivered" with Oracle DB and vice versa. They are separated from the products that are installed and configured separately. If you use TImesTen as a cache for Oracle DB, then you must install both (either in the same or different machines), and then configure the connectivity between the two. It's all covered in the quick start guides.

    4. If you are using SQL * Plus then you talk to DB Oracle (SQL * more don't work not today with TimesTen). Similarly, if you use ttIsql then you talk to TimesTen (ttIsql cannot connect directly to an Oracle DB).

    I hope that this helps to reduce confusion :-)

    Chris

  • get guests basic stats and data warehouses

    Hi all

    I am totally new to vcenter and power shell, so please, be gentle on my stupid questions. I'm desperate to compile a script to get the weekly statistics for host, County of vcpu and data store memory space and export it to a csv file. Numbers so very basic for each host computer and the data store. Here's what I have so far based on blogs of the LucD generous. It would be great if someone of you can help me realize what is wrong...

    It took a lot of time for me to understand what are the parameters I need and I'm sure that they are correct, but the syntax is killing me now. Basically, I realize there is something wrong with my variables since nothing is exported to the file you want, but I do not know how to define variables and their attributes. And the error was "impossible to replace the host variable because it is read-only or constant", while other properties such as "name", "mem", etc.

    SE connect-VIServer-server xxx.com - user password xxx-xxxx

    $allhosts = @)

    $hosts = get-VMHost

    $allds = @)

    $datastores = get-DataStore

    {foreach ($vmHost in $hosts)

    $host = "" | Select 'name', 'mem', 'vcpu '.

    $$host.name = $vmHost.Name

    $host.mem = get-Stat-entity ($vmHost) - start (Get-Date). AddDays(-1)-Finish (Get-Date) - MaxSamples 1 - Stat "mem.consumed.average" |  Select - ExpandProperty value

    $host.vcpu = get-VM-location ($vmHost). Where-Object {$_.} PowerState - eq "Receptor"} | Measure-object-property NumCpu-sum |  Select - ExpandProperty sum

    $allhosts += $host

    }

    $allhosts | Export-csv - NoTypeInformation C:\host.csv

    foreach ($dataStore to $datastores |) Where-Object {$_ .name - like "xxxx *"}) {}

    $dsName = $dataStore.Name

    $provspace = get-Stat-entity ($dataStore) - start (Get-Date-time Minute 9 - 0-0 second) - Finish (Get-Date-time-Minute 10 - second 0-0) - IntervalSecs 30000 - Instance "-disk.provisioned.latest stat. Select - ExpandProperty value

    $freespace = $datastores | Select-Object Name, FreeSpaceGB

    }

    $allds | Select DataStorename, provspace, freespace | Export-csv - NoTypeInformation C:\datastore.csv

    Thank you in advance!

    -LX

    Unfortunately, you chose a PowerShell reserved name for the name of the variable.

    The $host variable is not allowed.

    Choose another name and the script should be ok

  • 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

  • Script to make an inventory of data store

    Experts, I need help in creating a script for the data store information in my vcenter. Just the basic output, capacity, free space and space put into service.

    Thanks in advance.

    Redirect you the results to the Export-Csv cmdlet

    Get-Datastore | Select Name,
        @{N="CapacityGB";E={[Math]::Round($_.CapacityMB/1KB,2)}},
        @{N="FreeSpaceGB";E={[Math]::Round($_.FreeSpaceMB/1KB,2)}},
        @{N="ProvisionedGB";E={[Math]::Round(($_.CapacityMB - $_.FreeSpaceMB + $_.Extensiondata.Summary.Uncommitted/1MB)/1KB,2)}} |
    Export-Csv "C:\report.csv" -NoTypeInformation -UseCulture
    

Maybe you are looking for

  • Adapter part 3 will be work with Equium A100-147

    Hey,. the charger for my laptop has just totally broken, cannot be fixed.I just bought then produced "give power adapter for laptop with USB power Port.It says its compatible with Toshiba, but I was wondering if it worked with the satellite A100-147.

  • creating a table/average question

    I'm new to labview and I have problems to understand how to create a table. I use an Arduino Uno as my DAQ and when I take an anolog measure I've seen a lot of fuctuation to my measure. I know with arduino, you can perform with an average simple by u

  • F1 2011 gfwl isn't ALL update

    F1 2011 is not updated gfwl for me. Ive tried all kinds of patches, including the opening of ports, download manually, change ip, reboot, try again, basically been at it for 5 hours. This is not the reason for which I paid a lot for this game. I shou

  • Error device (RFCOMM Protocol TDI) any attempt to access invalid memory facility

    Whenever I start my PC Vista, an update message "Found New Hardware - device (RFCOMM Protocol TDI heading).  The only update, I did update my iPhone and have no other devices 'Bluetooth' I know. After trying to install the driver - an error message,

  • Video card (and others) upgrades for a HP Pavilion Elite HPE-510 t

    Hello... First of all, I just want to say that these forums have been an invaluable resource for me in my quest to upgrade my current PC. A lot of good answers and always at the top of the Google search results, you guys have been so super helpful. W