undocumented celerra vnx file cmds
TRANSCRIPT
![Page 1: Undocumented Celerra VNX File Cmds](https://reader031.vdocuments.site/reader031/viewer/2022012406/55cf992c550346d0339c0005/html5/thumbnails/1.jpg)
Undocumented Celerra / VNX File commands
The .server_config command is undocumented from EMC, I assume they don’t want customers messing with it. Use these
commands at your own risk.
Below is a list of some of those undocumented commands, most are meant for viewing performance stats. I’ve had EMC
support use the fcp command during a support call in the past. When using the command for fcp stats, I believe you need
to run the ‘reset’ command first as it enables the collection of statistics.
There are likely other parameters that can be used with .server_config but I haven’t discovered them yet.
TCP Stats:
To view TCP info:
.server_config server_x -v “printstats tcpstat”
.server_config server_x -v “printstats tcpstat full”
.server_config server_x -v “printstats tcpstat reset”
Sample Output (truncated):
TCP stats :
connections initiated 8698
connections accepted 1039308
connections established 1047987
connections dropped 524
embryonic connections dropped 3629
conn. closed (includes drops) 1051582
segs where we tried to get rtt 8759756
times we succeeded 11650825
delayed acks sent 537525
conn. dropped in rxmt timeout 0
retransmit timeouts 823
SCSI Stats:
To view SCSI IO info:
.server_config server_x -v “printstats scsi”
.server_config server_x -v “printstats scsi reset”
Sample Output:
This output needs to be in a fixed width font to view properly. I can’t seem to adjust the font, so I’ve attempted to
add spaces to align it.
Ctlr: IO-pending Max-IO IO-total Idle(ms) Busy(ms) Busy(%)
0: 0 53 44925729 122348758 19159954 13%
Page 1 of 5Undocumented Celerra / VNX File commands | The SAN Guy
1/6/2014http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/
![Page 2: Undocumented Celerra VNX File Cmds](https://reader031.vdocuments.site/reader031/viewer/2022012406/55cf992c550346d0339c0005/html5/thumbnails/2.jpg)
1: 0 1 1 141508682 0 0%
2: 0 1 1 141508682 0 0%
3: 0 1 1 141508682 0 0%
4: 0 1 1 141508682 0 0%
File Stats:
.server_config server_x -v “printstats filewrite”
.server_config server_x -v “printstats filewrite full”
.server_config server_x -v “printstats filewrite reset”
Sample output (Full Output):
13108 writes of 1 blocks in 52105250 usec, ave 3975 usec
26 writes of 2 blocks in 256359 usec, ave 9859 usec
6 writes of 3 blocks in 18954 usec, ave 3159 usec
2 writes of 4 blocks in 2800 usec, ave 1400 usec
4 writes of 13 blocks in 6284 usec, ave 1571 usec
4 writes of 18 blocks in 7839 usec, ave 1959 usec
total 13310 blocks in 52397489 usec, ave 3936 usec
FCP Stats:
To view FCP stats, useful for checking SP balance:
.server_config server_x -v “printstats fcp”
.server_config server_x -v “printstats fcp full”
.server_config server_x -v “printstats fcp reset”
Sample Output (Truncated):
This output needs to be in a fixed width font to view properly. I can’t seem to adjust the font, so I’ve attempted to
add spaces to align it.
Total I/O Cmds: +0%——25%——-50%——-75%—–100%+ Total 0
FCP HBA 0 | | 0% 0
FCP HBA 1 | | 0% 0
FCP HBA 2 | | 0% 0
FCP HBA 3 | | 0% 0
# Read Cmds: +0%——25%——-50%——-75%—–100%+ Total 0
FCP HBA 0 | | 0% 0
FCP HBA 1 | | 0% 0
FCP HBA 2 | | 0% 0
FCP HBA 3 | XXXXXXXXXXX | 25% 0
NDMP Stats:
Page 2 of 5Undocumented Celerra / VNX File commands | The SAN Guy
1/6/2014http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/
![Page 3: Undocumented Celerra VNX File Cmds](https://reader031.vdocuments.site/reader031/viewer/2022012406/55cf992c550346d0339c0005/html5/thumbnails/3.jpg)
To Check NDMP Status:
.server_config server_x -v “printstats vbb show”
CIFS Stats:
This will output a CIFS report, including all servers, DC’s, IP’s, interfaces, Mac addresses, and more.
.server_config server_x -v “cifs”
Sample Output:
1327007227: SMB: 6: 256 Cifs threads started
1327007227: SMB: 6: Security mode = NT
1327007227: SMB: 6: Max protocol = SMB2
1327007227: SMB: 6: I18N mode = UNICODE
1327007227: SMB: 6: Home Directory Shares DISABLED
1327007227: SMB: 6: Usermapper auto broadcast enabled
1327007227: SMB: 6:
1327007227: SMB: 6: Usermapper[0] = [127.0.0.1] state:active (auto discovered)
1327007227: SMB: 6:
1327007227: SMB: 6: Default WINS servers = 172.168.1.5
1327007227: SMB: 6: Enabled interfaces: (All interfaces are enabled)
1327007227: SMB: 6:
1327007227: SMB: 6: Disabled interfaces: (No interface disabled)
1327007227: SMB: 6:
1327007227: SMB: 6: Unused Interface(s):
1327007227: SMB: 6: if=172-168-1-84 l=172.168.1.84 b=172.168.1.255 mac=0:60:48:1c:46:96
1327007227: SMB: 6: if=172-168-1-82 l=172.168.1.82 b=172.168.1.255 mac=0:60:48:1c:10:5d
1327007227: SMB: 6: if=172-168-1-81 l=172.168.1.81 b=172.168.1.255 mac=0:60:48:1c:46:97
1327007227: SMB: 6:
1327007227: SMB: 6:
1327007227: SMB: 6: DOMAIN DOMAIN_NAME FQDN=DOMAIN_NAME.net SITE=STL-Colo RC=24
1327007227: SMB: 6: SID=S-1-5-15-7c531fd3-6b6745cb-ff77ddb-ffffffff
1327007227: SMB: 6: DC=DCAD01(172.168.1.5) ref=2 time=0 ms
1327007227: SMB: 6: DC=DCAD02(172.168.29.8) ref=2 time=0 ms
1327007227: SMB: 6: DC=DCAD03(172.168.30.8) ref=2 time=0 ms
1327007227: SMB: 6: DC=DCAD04(172.168.28.15) ref=2 time=0 ms
1327007227: SMB: 6: >DC=SERVERDCAD01(172.168.1.122) ref=334 time=1 ms (Closest Site)
1327007227: SMB: 6: >DC=SERVERDCAD02(172.168.1.121) ref=273 time=1 ms (Closest Site)
1327007227: SMB: 6:
1327007227: SMB: 6: CIFS Server SERVERFILESEMC[DOMAIN_NAME] RC=603
1327007227: UFS: 7: inc ino blk cache count: nInoAllocs 361: inoBlk 0x0219f2a308
Page 3 of 5Undocumented Celerra / VNX File commands | The SAN Guy
1/6/2014http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/
![Page 4: Undocumented Celerra VNX File Cmds](https://reader031.vdocuments.site/reader031/viewer/2022012406/55cf992c550346d0339c0005/html5/thumbnails/4.jpg)
1327007227: SMB: 6: Full computer name=SERVERFILESEMC.DOMAIN_NAME.net realm=DOMAIN_NAME.NET
1327007227: SMB: 6: Comment=’EMC-SNAS:T6.0.41.3′
1327007227: SMB: 6: if=172-168-1-161 l=172.168.1.161 b=172.168.1.255 mac=0:60:48:1c:46:9c
1327007227: SMB: 6: FQDN=SERVERFILESEMC.DOMAIN_NAME.net (Updated to DNS)
1327007227: SMB: 6: Password change interval: 0 minutes
1327007227: SMB: 6: Last password change: Fri Jan 7 19:25:30 2011 GMT
1327007227: SMB: 6: Password versions: 2, 2
1327007227: SMB: 6:
1327007227: SMB: 6: CIFS Server SERVERBKUPEMC[DOMAIN_NAME] RC=2 (local users supported)
1327007227: SMB: 6: Full computer name=SERVERbkupEMC.DOMAIN_NAME.net realm=DOMAIN_NAME.NET
1327007227: SMB: 6: Comment=’EMC-SNAS:T6.0.41.3′
1327007227: SMB: 6: if=172-168-1-90 l=172.168.1.90 b=172.168.1.255 mac=0:60:48:1c:10:54
1327007227: SMB: 6: FQDN=SERVERbkupEMC.DOMAIN_NAME.net (Updated to DNS)
1327007227: SMB: 6: Password change interval: 0 minutes
1327007227: SMB: 6: Last password change: Thu Sep 30 16:23:50 2010 GMT
1327007227: SMB: 6: Password versions: 2
1327007227: SMB: 6:
Domain Controller Commands:
These commands are useful for troubleshooting a windows domain controller connection issue on the control station. Use
these commands along with checking the normal server log (server_log server_2) to troubleshoot that type of problem.
To view the current domain controllers visible on the data mover:
.server_config server_2 -v “pdc dump”
Sample Output (Truncated):
1327006571: SMB: 6: Dump DC for dom=’<domain_name>’ OrdNum=0
1327006571: SMB: 6: Domain=<domain_name> Next trusted domains update in 476 seconds1327006571: SMB: 6:
oldestDC:DomCnt=1,179531 Time=Sat Oct 15 15:32:14 2011
1327006571: SMB: 6: Trusted domain info from DC=’<Windows_DC_Servername>’ (423 seconds ago)
1327006571: SMB: 6: Trusted domain:<domain_name>.net [<Domain_Name>]
GUID:00000000-0000-0000-0000-000000000000
1327006571: SMB: 6: Flags=0×20 Ix=0 Type=0×2 Attr=0×0
1327006571: SMB: 6: SID=S-1-5-15-d1d612b1-87382668-9ba5ebc0
1327006571: SMB: 6: DC=’-’
1327006571: SMB: 6: Status Flags=0×0 DCStatus=0×547,1355
1327006571: SMB: 6: Trusted domain: <Domain_Name>
1327006571: SMB: 6: Flags=0×22 Ix=0 Type=0×1 Attr=0×1000000
1327006571: SMB: 6: SID=S-1-5-15-76854ac0-4c527104-321d5138
Page 4 of 5Undocumented Celerra / VNX File commands | The SAN Guy
1/6/2014http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/
![Page 5: Undocumented Celerra VNX File Cmds](https://reader031.vdocuments.site/reader031/viewer/2022012406/55cf992c550346d0339c0005/html5/thumbnails/5.jpg)
1327006571: SMB: 6: DC=’\\<Windows_DC_Servername>’
1327006571: SMB: 6: Status Flags=0×0 DCStatus=0×0,0
1327006571: SMB: 6: Trusted domain:<domain_name>.net [<domain_name>]
1327006571: SMB: 6: Flags=0×20 Ix=0 Type=0×2 Attr=0×0
1327006571: SMB: 6: SID=S-1-5-15-88d60754-f3ed4f9d-b3f2cbc4
1327006571: SMB: 6: DC=’-’
1327006571: SMB: 6: Status Flags=0×0 DCStatus=0×547,1355
DC=DC0x0067a82c18 <Windows_DC_Servername>[<domain_name>](10.3.0.5) ref=2 time(getdc187)=0 ms
LastUpdt=Thu Jan 19 20:45:14 2012
Pid=1000 Tid=0000 Uid=0000
Cnx=UNSUCCESSFUL,DC state Unknown
logon=Unknown 0 SecureChannel(s):
Capa=0×0 Nego=0×0000000000,L=0 Chal=0×0000000000,L=0,W2kFlags=0×0
refCount=2 newElectedDC=0×0000000000 forceInvalid=0
Discovered from: WINS
To enable or disable a domain controller on the data mover:
.server_config server_2 -v “pdc enable=<ip_address>” Enable a domain controller
.server_config server_2 -v “pdc disable=<ip_address>” Disable a domain controller
Page 5 of 5Undocumented Celerra / VNX File commands | The SAN Guy
1/6/2014http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/