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
Tags: VMware
Similar Questions
-
Hello!
Sir, I have a few questions about generating word reports using (C language in labwindows) please.
1. How can I add a border to a page in word?
2. How do I add border lines and grid to a table generated in Word report (not "cvi control table"inserted from gui, I wonder about the table generated in Word report)?
3. How can I fill a table cell of report word with the data type other than 'character '.
And sir a question on the use of the timer in labwindows cvi please.
Sir, I'm trying to set a time minimum interval timer to 1millisecond (0.001 s), that I have set, timer cares about the interval set by me he only meets the minimum default time interval which is, I think as 10milliseconds (I'm using windows xp service Pack 3 version 2002).
Concerning
Imran
Pakistan
Have you read this statement ? It explains how to set the registry value:
If the REG_SZ useDefaultTimer does not already exist, you must create it under HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\CVI Run-Time Engine\cvirte. "" This can be done navigate to the appropriate folder, and then click Edit "New" string value. Then, click on means the name of the new value created, select Rename, and then specify useDefaultTimer as the name. Finally, double click on the name and specify the value True or False.
-
Clone a model in a specific folder on the data, with powercli store?
I'm deploying approximately 135 VM from an unique model using powercli from a CSV file.
Each line in the CSV file has a connection, course section instructor
For example...
Login Section instructor
123456 5555 Foo EE123
Here is the script
SE connect-VIServer-Server 10.0.0.60 - Credential (Get-Credential)$Users = import-Csv c:\CSV\Data.csv{foreach ($User in $Users)$Login = $User.Login$Course = $User.Course$Section = $User.Section$Instructor = $User.Instructor$ResPool = $User.Section + "" + $User.InstructorNew-VM - VMHost 10.0.0.10 - name $Login - ResourcePool "$ResPool" - model 'VM-model' - data store "datastore1".write "$Login Created" | Out-file "log.txt" - append}Disconnect-VIServer-Server 10.0.0.60 - confirm: $falseI'm doing the data store a little cleaner when I deploy these machines and put all the machines in a folder located in the data store, for example. datastore1\spring2013\EE123\ (in reality would have $Course instead of EE123)
Can someone help me with this.
Thanks in advanceYes, you can use the ResourcePool parameter on the New - VM cmdlet to do this.
But since you have resourcepools with the same name in the tree, you must be sure to only select the right pair.
You use the location setting to indicate which branch of the tree you want.
For example:
$rpRoot = get-ResourcePoo-name 'Sprint 2013"
$rpCourse = get-ResourcePoo-name 'Foo 5555"- location $rpRoot
$rpServers = get-ResourcePoo-name "servers" - location $rpCourse
$rpStudents = get-ResourcePoo-name 'students' - location $rpCourse
New-VM-name--ResourcePool $rpStudents
You can create this logic in a loop and use the name of a CSV file example
-
Question about the dates of the file download.
Why the dates of creation, 'last change' and especially 'last opening' all appear as a date a month when I just downloaded Mozilla for the first time on my Mac? Edit
It's information from the database that you downloaded
the file from. -
Hi guys,.
just a general question: when we do a 'big' data form, it leads to overall performance problems or crashes. My question is, which is to limit the size of data? Is it the fact that Essbase has pull up a lot of data at once? Is it the fact that web applications are limited in quality? I would just get the thoughts of people on this general issue.
Another General, somewhat vague question: IF I didn't make a huge data form, say just 10 departments, 400 accounts by cost on the lines and the period, some scenarios and years on the columns, it would help if I created a machine dedicated to planning web app? Increase RAM/CPU help?Take a peek on "My Oracle Support" there is an article "Hyperion Planning data form Design Considerations [ID 779502.1].
I think that should answer most of your questions.See you soon
John
http://John-Goodwin.blogspot.com/ -
I have two questions:
1.I tried these six instructions:
some mask format returned error, while others do not. someone knows why?select to_date(11*2,'hh24miss') from dual select to_date(11*2,'hh24ssmi') from dual --error select to_date(11*2,'mihh24ss') from dual select to_date(11*2,'misshh24') from dual --error select to_date(11*2,'sshh24mi') from dual select to_date(11*2,'ssmihh24') from dual --error
2. the default date format database storage Oracle via SQL Developer directly affected by the NLS parameter in tools-> Preferences-> database-> NLS?
because this statement:
return on 24 June 10 when I updated NLS me-jj-aaaa and return June 24, 2010 when NLS is set to dd-MON-rrrr.select to_date('24-jun-10') from dual
I use SQL Developer 2.1.1.64. Thank yousome mask format returned error, while others do not. someone knows why?
Online documentation will tell you...
http://www.Oracle.com/pls/db102/search?word=date&PartNo= -
questions about the awr report &; sqlt
Hi guys,.
DB version: 10.2.0.5
Need your advice.
For my AWR report, I put the 30-day retention period. From my understanding, the information in awr report are taken from several views of dba_hist *.
Points of view takes only those albums n intenstive SQL Statistics on resources?
I ask this because I have a doubt. Let's say that on 18/03/2014, I detected a long SQL with sql id xxx.
Using SQLT (such method), I can only see the historical performance of Plan (delta) for this particular SQLs 16/03, 17/03, 18/03.
In this case, we can say that the SQLs shot only 3 days for the last 30 days? Or it can also mean that the particular SQL was not classfified at the top of the page resource n intensive 18/02 to 15/03 SQLs (probably use a better plan - for example: plan a different value)?
Thank you
That is right.
Concerning
Jonathan Lews
-
question about the date as output parameter
Hello
I tried the following procedure to extract the out parameter as DD/MM/YYYY
The nls_date_format is: DD - MON - RRCREATE or replace PROCEDURE p1 (p IN NUMBER, x OUT date, y OUT date) IS BEGIN x := to_date(to_char(sysdate,'dd/mm/yyyy'),'dd/mm/yyyy') ; y:= to_date(to_char(sysdate+1,'dd/mm/yyyy'),'dd/mm/yyyy') ; END P1; declare foo date; bar date; begin p1(5,foo,bar); dbms_output.put_line(foo || ' ' || bar); end; And the output is 17-AUG-12 18-AUG-12 , instead of 17/08/2012 18/08/2012
How can I get the output as dd/mm/yyyy format parameter.
Thank you
Published by: Smile on August 17, 2012 08:31Because your data type is date, the default output is the NLS_DATE_FORMAT.
You can set NLS_DATE_FORMAT jj/mm/aaaa, but in reality, it would be better to do the following:
Declare your out parameters as varchar2
Convert date to be returned to your format of binding and value the more parameetrs to have this value -
Question about the Date and TO_CHAR fields
I ran into a date format today I need to replicate but I don't default with. I work with a based REST webservice that wants its dates and hours of formatting to ' 2009 - 09-29T 17: 00:00 - 04:00 '. When is 2009-09-29 17:00 et. Is there an easy way to reproduce this output in oracle, so I can feed him in the web service?You are looking for:
with my_tab as (select to_timestamp_tz('2009-09-29T17:00:00-04:00', 'yyyy-mm-dd"T"hh24:mi:ssTZH:TZM') col from dual) select to_char(col, 'yyyy-mm-dd"T"hh24:mi:ssTZH:TZM') ts_col from my_tab; TS_COL ------------------------- 2009-09-29T17:00:00-04:00
Published by: Boneist on October 6, 2009 16:59
Realized it's timestamp-> tank you were after, not the reverse. Fixed! -
Hi all
S guy in a form i m having a point is to say refdate, now I want to work like that
I can insert data to date in DDMMYY format and when I press tab or switch to another element my date should come the
format dd/mm/yyyy to the point refdate
Please help me...
Published by: Christine Konditamde on July 27, 2009 22:08Navdeep,
I wrote JJ/MM/RRRR not DD/MM/YYYY. If you use RRRR instead of YYYY, then the user can enter the 2 digits of the year, and it will automatically convert the 4 digits of the year.
Kind regards
Manu.
If this answer is useful or appropriate, please mark. Thank you.
-
Questions about the stores in iProcurement
All,
I have a few questions about the implementation of iProcurement stores-
1 oracle comes seeded with 2 stores "Backend" and "Exchange.Oracle.com. We do not have the use of these stores. I don't see an option to turn them off. Is it advisable to delete them? They occupy unnecessary space and are seen first. I read this on Metalink Note ID 429470.1 - "NOTE: while the value can be changed, it is highly recommended to not under any circumstances ever remove"Main store"page stores to manage content in iProcurement catalog administrator responsibility.» Do not know why.
2. we have a Punchout for Dell U.S. catalog store and a catalog of information for Dell International. Buyers of Dell are iProcurement to each punchout to place their orders from Dell for the USA (shopping cart returns to iProcurement) - or - just use the store Dell International to go to an external URL and place their orders here (who do not return to iProcurement). What we see is - when the user clicks on the icon Dell us, it is taken directly to the URL of the PunchOut of Dell, but when he clicks on the Dell International icon, he was first taken to the list of catalogs available to the store (only 1 available catalog) and the user must then click again on the link Dell International. Is there a way to configure the Dell International icon to behave the way behaves in the Punchout icon - i.e. directly take the user to the Dell page without a need to show the list of catalogs.Hey,.
To answer your Questions
1. you can always delete those either if you want to... The reason why the link Meta Notes say not only not to delete the main store is
i. because main store has all of the Local content in iProcurement (i.e. If you have any installation of items in the inventory you and them Module iProcurement Enabled (IE can be purchased at iProcurement) and any other article of local catalogues/categories Loaded using the BULK LOADING in iProcurement is also removed.)
II. you can always delete the information Exchange Oracle store if you do not use.
I would advise so do not remove the main store. Instead, you can change the sequence of the display of the stores you iProcurement Page.
Browsing ==> Internet shopping Catalog Admin (RESP) ==> eContent crib ==> content management ==> stores ==> press the update sequence and make sure that the sequence number for main is superior to any other store so that the hand store falls last in the House of iProcurement Page2.i don't think that there is no option to do this. but you can always open an SR with Oracle about it and ask this question\
hope that answers your Question.
Thank you
SANTU -
Hello
I am trying to create a folder directly on a data store and copy a vmx file. What I've read I need to use Get-file manager mode, but this seems to be only available on vCenter.
Is there anyway to interact with the data using PowerCLI store when it connects directly to a box of ESX?
Thanks for your help,
KeV
The shortcut notation
Get-View FileManager
is not available when connected to an ESX host.
But you can get the object as follows
Get-View (Get-View ServiceInstance).Content.FileManager
____________
Blog: LucD notes
Twitter: lucd22
-
Technical question from the data store
Hello everyone.
I have a question that you can maybe answer:
"Is it possible to have a WARNING message (check) before formatting a LUN (EMC)?"
Let me explain:
We currently have a datastore composed of 12 LUN (of 236 GB), and even if this isn't in the best practices of VMware, I made a mistake (und) when creating a new data store.
Indeed, I used a logic unit number which was attached directly to a virtual machine (in Raw Device) pour set up my new data store.
Would you have a solution that makes a data control (on the logic unit number) and which could see us the partition proposed pour extend the data store contains data!
Thanks in advance for your answer!
J. Gaspoz
Hi Julien
Nice to see you on communities
The vCenter will list all LUNS that are not already in the "Add storage" wizzard data warehouses, and by definition, a RDM en of is not formatted VMFS, since the lun belongs to the VM and it met with filesystem clean so son.
There is therefore no direct way to pour do what you're asking (UN ESX knows nothing about the data on a non-vmfs LUNs).
Personally, plug-in a simple way: the LUN ID. All the LUNs that will be used in RDMS are presented to my ESX with UN LUN ID between 50 and 70 (f.ex.). So I know whether or not a lun is RDM.
Otherwise maybe third-party products (rv maybe tools) can get out a report listing the VM using the RDM.
I hope that helps!
Best regards.
Stéphane Grimbuhler
Senior consultant virtualization & storage (VCP / VCAP-DCA)
VMware instructor (VCI)
My Blog: www.virtualgeek.ch
-
A few questions about the use of data and Cliq
I have the cliq, however I chose to not get 3G (so I bought full fare). So I have a few questions about the phone and the use of 3G / 2 G/Edge:
1 - is possible to disable completely the 2G / 3 G/Edge? I know you can switch between them, but are anyway just tell the phone to stop using them altogether since I'm not subbed to the service?
2. when the update takes place, I guess we'll have to reconnect motoblur and etc, but if I don't have 3 G will I have motoblur connection problems after the update? Or he keeps the latest wifi settings so that it would connect to wifi to connect. When I first got my phone it was not a problem b/c I had 3G for the first month.
I hope that makes sense, thanks!
To stop all the data, I would like to download an application called APNDroid. He cut them all down. When you log on to blur you have 3G or WIFI doe this without getting a timeout error. During the process of setting up your Blur account, you can press the menu button and set up your wifi to work, this will connect you to Blur and your phone will be connected to the blur. If I were you I would be rethinking to do a data plan since you are really losing out on most of your main features of phones. It's your choice, however.
-
I have a simple question about the meta-data.
Hello. It is a simple question about the meta-data. How can I get the video bitrate of a flv or mp4 (video playing via NetStream file) file
right now I have this:
Code var netClient:Object = new Object();
netClient.onMetaData = function(meta:Object)
{
for (var in meta props) {}
trace (props + ":" + meta [props]);
}
MovieClip (root) .durations = meta.duration;
trace (MovieClip (root) .durations);
};
NS.client = netClient;And my output is:
videocodecid: avc1
audiocodecid: m4as
aacaot: 2
Width: 960
AudioChannels: 2
videoframerate: 23.976
TrackInfo: [object Object], [object Object]
moovposition: 32
avcprofile: 77
audiosamplerate: 48000
avclevel: 31
seekpoints: [object Object], [object Object], [object Object], [object Object]
height: 540
Duration: 221.312As you can see, there is nothing of video bitrate.
I know that the video bitrate of my videos, but then I have to manually type each number of bitrate into my flash project, and it would be such a fuss when I have a lot of videos. Would be nice if flash can detect the video bitrate.
It's for my online portfolio.
Why you divide by 8? If you want to convert bytes into bits, multiply by 8.
Maybe you are looking for
-
TC and AE cable network works well, but some settings seem odd
I was stumped by this for some time. Despite the fact that everything works well, a setting on my TC seems inconsistent with what would be expected. Here is a summary of my network: 1 modem of the IAF was WIFI and DHCP active off the COAST, and it
-
I'm not able to update the update of security for the working version of the microsoft .NET 2.0 framework (KB928365). Already downloaded the update security, but during installation as ox66A error code system
-
Anyone know how I can solve this little problem? Start - computer - properties shows Windows Vista Business SP1 If I use the service of update, it is said that new updates are available = SP2. When I click on install, I get a successful installation
-
Cannot upgrade Vista Home Premium Vista Ultimate 64-bit
I have a computer with an OEM Vista Home Premium 64-bit version installed. I bought Vista Ultimate Upgrade 64-bit and when I try to upgrade instead of clean install I not give me the option to upgrade. Instead, I can install a clean install and lose
-
Hi all I have a question on the load balancing between several hosts of session. We have 6 Guest session, I created a managed with a specifik balancing application rule "Session desktop host advanced remotely. last Friday, he started a few problems,