Asset ID: |
1-71-2053794.1 |
Update Date: | 2017-10-18 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
2053794.1
:
FS System: How to Extract the Storage Configuration for a log bundle Using the scv Utility
Related Items |
- Oracle FS1-2 Flash Storage System
|
Related Categories |
- PLA-Support>Sun Systems>DISK>Flash Storage>SN-EStor: FSx
|
In this Document
Applies to:
Oracle FS1-2 Flash Storage System - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
Goal
Produce system storage configuration reports from the cod file of a log bundle.
Solution
The scv is a command line utility that can be used to create storage configuration output of the FS1 from a log bundle. The utility is included in the Windows and Linux versions of the fscli download.
NOTE: At this time the scv utility is only available for Linux and Windows platforms.
- If not already done, download the fscli utility. See KM Document 1991938.1 FS System: How to Obtain and Install the fscli Tool Software.
NOTE: the version of the scv.exe utility must be the same as the version of code in the log bundle.
- Gather a log bundle from the system. See KM Documents 2011075.1 FS System How to gather Oracle FS System: How to Identify and Send Log Bundles for Specific Dates and Times to Oracle Support and 1943289.1 FS System: how to Gather and Attach a Manual Log Bundle to an Existing MOS Service Request.
- Extract cod file from the log bundle:
- untar the log bundle to expose its contents:
C:\> tar xvf AK00XXXXXX-170919144637-170919203636-CM_EVT_ENCLOSURE_DRIVE_SCRUB_REPAIR_SKIPPED-e-02-02.tar
A1367D86C8846F12.chsh.xml.tar.gz
A1367D86C8846F12.events.xml.tar.gz
A1367D86C8846F12.cod.tar.gz
A1367D86C8846F12.rmap.crmap.tar.gz
A1367D86C8846F12.rmap.brmap.tar.gz
A1367D86C8846F12.bbm.tar.gz
A1367D86C8846F12.drivescrub.tar.gz
A1367D86C8846F12.tds.tar.gz
A1367D86C8846F12.manifest.xml.tar.gz
C:\>
- The cod file will be compress so use the appropriate utilities to extract the cod file (gunzip and tar in this example):
C:\> gunzip A1367D86C8846F12.cod.tar.gz
C:\> tar xvf A1367D86C8846F12.cod.tar
A1367D86C8846F12.cod
C:\>
- For ease of use, move the cod file to the same directory as the scv.exe utility.
- Run the scv.exe utility with the appropriate options to produce the desired file format and data:
Usage: scv -f codfilename[.cod] [options]
View: [ -V { EnclosureVolumes | SlatSummary | StorageDomainVolumes | SystemCapacity | VolumeSummary } ]
Output Filename: [ -p outputpath ]
Output Format: [ -o { csv | html | txt | xml } ]
View By: [ -t { dg_id | dg_index | name | suid | vlun_handle | wwn }]
View By Value: [ -v value ]
- To create a text file containing Sub LUN AutoTiering (SLAT) with allocation percentage details for Drive Enclosures and RAID Groups:
C:\> scv.exe -f A1367D86C8846F12.cod -V SlatSummary -p Autotier_summary.txt -o txt
Example:
==== Slat Summary ==== A1367D86C8846F12.cod ====
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
SUID: 0xa20f0d148dbee86e
Storage Class: PERF HDD (2)
Disk Protection: RAID5S (5)
Allocated Capacity: 2338.9GB (2511391948800 bytes)
Free Capacity: 19852.1GB (21316003430400 bytes)
Storage Domain ID: 0xa214000000000000
IsDecommissioning: 0
Slat Tier Index: 8
-----------Tier Enclosures---------------------
----Enclosure-----------------------------------------------------------------
WWN: 0x50800200016890ba
Comment:
Display Number: 2
Manufacturer:
Serial Number: 1335FM400T
Model Number: ORACLE DE2-24P
Version Number:
Firmware Revision:
----Drive Group-----------------------------------------------------------
LUN: 1
Drive Group Index: 3
RUI: 33ab740b-130d86a2-414b3030-31373438-39390000
Storage Class: PERF HDD (2)
Storage Domain: Storage Domain 1
Capacity: 6922782720 blocks (3544464752640 bytes)
Allocated Capacity: 1969255680 blocks (1008258908160 bytes) (28 percentage)
----Drive Group-----------------------------------------------------------
LUN: 0
Drive Group Index: 6
RUI: 55ab700b-130d86a2-414b3030-31373438-39390000
Storage Class: PERF HDD (2)
Storage Domain: Storage Domain 1
Capacity: 6922782720 blocks (3544464752640 bytes)
Allocated Capacity: 692643840 blocks (354633646080 bytes) (10 percentage)
- Create a text file containing a summary of the Volume information:
C:\> scv.exe -f A1367D86C8846F12.cod -V VolumeSummary -p Volume_report.txt -o txt
Example (abbreviated):
==== Volume Summary ==== A1367D86C8846F12.cod ====
Volume-----------------------------------------------------------------------------
Name: storage
SUID: 0xa104514d6a264f7b
Vlun Handle: 0xf
Type: SAN LUN
Is Clone: false
Storage Domain Name: Storage Domain 1
Volume Group Name: root
BS Cache Mode: Write Back (1)
Queuing Priority: Medium (2)
IO Bias: Mixed (3)
Access Bias: Mixed (3)
Slat: no
Storage Class: PERF HDD (2)
Disk Protection: RAID5S (5)
Num Stripe Children: 3
Growth Increment: 825753600
Allocated Capacity: 33.8GB (36333158400 bytes)
Maximum Capacity: 50.8GB (54499737600 bytes)
Addressable Capacity: 50.8GB (54499082240 bytes)
Physical Allocated Clone Cap.: 0.0GB (0 bytes)
Logical Maximum Clone Cap.: 0.0GB (0 bytes)
-----------Data Enclosures---------------------
----Enclosure-----------------------------------------------------------------
WWN: 0x50800200016890ba
Comment:
Display Number: 2
Manufacturer:
Serial Number: 1335FM400T
Model Number: ORACLE DE2-24P
Version Number:
Firmware Revision:
----Drive Group-----------------------------------------------------------
LUN: 1
Drive Group Index: 3
RUI: 33ab740b-130d86a2-414b3030-31373438-39390000
Storage Class: PERF HDD (2)
Storage Domain: Storage Domain 1
Capacity: 6922782720 blocks (3544464752640 bytes)
Allocated Capacity: 1969255680 blocks (1008258908160 bytes) (28 percentage)
----Enclosure-----------------------------------------------------------------
WWN: 0x5080020001689c81
Comment:
Display Number: 4
Manufacturer:
Serial Number: 1346NM400J
Model Number: ORACLE DE2-24P
Version Number:
Firmware Revision:
----Drive Group-----------------------------------------------------------
LUN: 1
Drive Group Index: 5
RUI: 3e14850b-130d86a2-414b3030-31373438-39390000
Storage Class: PERF HDD (2)
Storage Domain: Storage Domain 1
Capacity: 20999946240 blocks (10751972474880 bytes)
Allocated Capacity: 3964853760 blocks (2030005125120 bytes) (18 percentage)
This document relates to 'scv' for customer use. For internal configuration review from a logbundle, there is now an option via geomap_r6.pl that can generate a geomap.csv file. This eliminates the need to use the scv version for internal use. . Volume Summary (geomap.VolumeSummary.txt) and Slat Summary (geomap.SlatSummary.txt) are also created.
References
<NOTE:1997980.1> - FS System: How to Identify and Send Log Bundles for Specific Dates and Times to Oracle Support
Attachments
This solution has no attachment