Is there a way to get symcli output from DOS with out truncating..
Storage Groups (430)
{
-----------------------------------------------
P FAST SG Max SG
FAST r Usage Demand
SG Name Policy i Log (GB) Log (GB)
------------ ------------- - -------- --------
SG_ms212rda* SSD_FC1 2 0 200
SG_ms212rda* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ms212rdc* SSD_FC1 2 0 200
SG_ps212idm* SSD_FC1 2 0 64
SG_ps212idm* SSD_FC1 2 14 435
SG_ps212pas* SSD_FC1 2 9 17
SG_ps212pas* SSD_FC1 2 51 251
SG_ps212pas* SSD_FC1 2 0 1
SG_ps212pas* SSD_FC1 2 1 64
SG_ps212pas* SSD_FC1 2 1 64
SG_ps212pas* SSD_FC1 2 0 64
Look at the ouput, storage group names are completely truncated..
Plz suggest a way to get untruncated output in dos
its working as designed due to number of character limitation. One workaround is to use -v with your output. Could you please write the entire command which gives you this output? we may tweak commands with scripts.
e.g:
C:\Users\srohilla.ICI>
C:\Users\srohilla.ICI>symaccess list -type storage -sid 09 -v | findstr /C:_SG
Storage Group Name : Bronze_SG
Storage Group Name : FRA-B2GCUS01_SG
Storage Group Name : fra-pc-b23101_SG
Storage Group Name : fra-pc-b23102_SG
Storage Group Name : fra-pc-b23103_SG
Storage Group Name : fra-pc-b23104_SG
Storage Group Name : fra-pc-b23105_SG
Storage Group Name : fra-pc-b23106_SG
Storage Group Name : fra-pc-b23107_SG
Storage Group Name : fra-pc-b23108_SG
Storage Group Name : Gold_SG
Storage Group Name : Silver_SG
Storage Group Name : VBLOCK_AMP_CLUSTER_SG
The output is for
symfast -sid xx list -tech EFD -demand -vp -v
Koppuru,
You should be able to see the full names if you use the XML output... just add the "-output xml_e" flag to the command.
You can then try to either read the XML manually, parse it programmatically, or import it into Exel.
Thanks,
- Sean
Is there a way to get this output directly to csv file..Though the output in xml file is coming exactly but it is not user friendly output..
Below is the output of xml file
</Symm_Info>
- <Tech_Demand>
<technology>EFD</technology>
<logical_tier_enabled_total>6604</logical_tier_enabled_total>
<logical_tier_free_total>69</logical_tier_free_total>
<logical_tier_used_total>6535</logical_tier_used_total>
<logical_fast_sg_usage_total>6533</logical_fast_sg_usage_total>
<logical_fast_available_total>6538</logical_fast_available_total>
<logical_max_sg_demand_total>79042</logical_max_sg_demand_total>
<logical_tech_excess>-72504</logical_tech_excess>
<tech_no_of_vp_tiers>1</tech_no_of_vp_tiers>
- <VP_Tier>
<tier_name>VP_R53_EFD</tier_name>
<tier_attribute>TIER_ASSOC_FP</tier_attribute>
<tier_protection>RAID-5(3+1)</tier_protection>
<logical_tier_enabled>6604</logical_tier_enabled>
<logical_tier_free>69</logical_tier_free>
<logical_tier_used>6535</logical_tier_used>
<logical_tier_sg_usage>6533</logical_tier_sg_usage>
<logical_tier_fast_avail>6538</logical_tier_fast_avail>
Unfortunately No, however, you can open the XML with MS excel or openoffice and save the output as other formats--> CSV.
Do not open the XML with a text editor or a browser.
Hope it helps
Mohammed Salem @yankoora
is there a way to get untruncated output in dos itself ?
Nope, Just add -v at the end of the command as koppuru mentioned above.
use
H:\>set SYMCLI_FULL_NAME=1
H:\>symsg list
..
Flags Number Child
Storage Group Name FMSL Devices SGs
-------------------------------------------
s_VMWARE01 .XP. 87 3
s_VMWARE_GOLD XXC. 87 0
s_VMWARE_PLATINUM .XC. 0 0
s_VMWARE_SILVER .XC. 0 0
verylooooooongnameeeeeee .... 0 0
This will give you full names output for SG, IG, MV, DG, CG etc. Much better than grepping the -v or xml outputs
Thanks bhalilov for the reply....
Even after setting SYMCLI_FULL_NAME=1 we are not able to get full name of the storage group for the below command..
symfast -sid xx list -tech EFD -demand -vp