02-24-2014 06:23 AM
VRadvisor is available to instsall for the following environment ? if yes kindly share the link
Redhat Linux = 6.2
SFHA = 6.0.2
Solved! Go to Solution.
02-25-2014 02:53 AM
"# vxstat -g dgname -i interval -c count volumes" will run continously until count is reached so even though each line is written after "i" interval, the ">" will mean all the output will go into the file, but if you ran the command again, then it would overwrite.
If you want to see what is being written then you can tail file in another session, or you can use
# vxstat -g dgname -i interval -c count volumes | tee filename
and this will out information, both to the screen and the filename.
Mike
02-24-2014 07:26 AM
The Vradvisor tool runs on Windows or Solairs, but it supports data collection on ANY platform, so you just need to collect vxstat information, so on your redhat systems you need to run:
# vxstat -g dgname -i interval -c count volumes > filename
and then copy "filename" to Windows/Solaris machine you have vradvisor installed on for the data to be analysed.
VRAdvisor is supported on the following operating systems:■ Solaris 10 and Solaris 11■ Windows XP■ Windows 2000 Professional, Windows 2000 Server, Windows 2000 AdvancedServer, Windows 2000 Datacenter ServerNote: If Windows 2000 is installed on your system, you must have Service Pack(SP) 4 installed on it.■ Windows Server 2003 (32-bit): Standard Edition, Web Edition, Enterprise Edition,Datacenter Edition
Collecting data using the data collection scriptTo collect sample data for analysis by VRAdvisor, you need not have VRAdvisorinstalled on the system. Use the data collection script to collect data for AIX, HP-UX,Linux, or Solaris systems.
To collect data using vxstat1 Set the locale to a supported locale. For example:# export LC_ALL=C
2 To collect the data in the format required for analysis, use the followingcommand with exactly the parameters shown:# vxstat -g dgname -i interval -c count volumes > filename
where:interval is the data collection interval in seconds.count is the number of samples to collect.volumes is a list of volume names separated by spaces.For example, use the following command to collect a sample of data every 120seconds and to collect 5040 samples. The volumes are the data volumeshr_dv01 and hr_dv02 in the disk group hrdg . The results are collected in thefile vra_in .# vxstat -g hrdg -i 120 -c 5040 hr_dv01 hr_dv02 > vra_inAfter the data collection completes, the file filename (for example, vra_in)contains the sample of data in the vxstat format, which can be used for analysisby VRAdvisor. You can proceed to analyze the collected data using VRAdvisor.
Mike
02-24-2014 11:29 AM
Thanks Mike for your kind words.
# vxstat -g dgname -i interval -c count volumes > filename
The greater than ">" sign will not replace the previous entry as it happens in typical linux command ? or will i be a >> sign ?
02-25-2014 02:30 AM
Yes. The redirect sign works the same on all OS's.
> filename will overwrite filename.
>> filename will append to filename.
About Vradvisor:
You will be able to find VRadvisor in the full/trial Storage Foundation download media.
02-25-2014 02:53 AM
"# vxstat -g dgname -i interval -c count volumes" will run continously until count is reached so even though each line is written after "i" interval, the ">" will mean all the output will go into the file, but if you ran the command again, then it would overwrite.
If you want to see what is being written then you can tail file in another session, or you can use
# vxstat -g dgname -i interval -c count volumes | tee filename
and this will out information, both to the screen and the filename.
Mike
02-25-2014 06:15 AM
Thanks Mike for clearification. Let me try.