Sie sind auf Seite 1von 5

Undocumented Celerra / VNX File commands | The SAN Guy

Page 1 of 5

Undocumented Celerra / VNX File commands


The .server_config command is undocumented from EMC, I assume they dont 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. Ive 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 havent 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 cant seem to adjust the font, so Ive attempted to
add spaces to align it.
Ctlr: IO-pending Max-IO IO-total Idle(ms) Busy(ms) Busy(%)
0:

53

44925729

122348758

19159954 13%

http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/

1/6/2014

Undocumented Celerra / VNX File commands | The SAN Guy

Page 2 of 5

1:

1 1 141508682

0%

2:

1 1 141508682

0%

3:

1 1 141508682

0%

4:

1 1 141508682

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 cant seem to adjust the font, so Ive 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:

http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/

1/6/2014

Undocumented Celerra / VNX File commands | The SAN Guy

Page 3 of 5

To Check NDMP Status:


.server_config server_x -v printstats vbb show
CIFS Stats:
This will output a CIFS report, including all servers, DCs, IPs, 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

http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/

1/6/2014

Undocumented Celerra / VNX File commands | The SAN Guy

Page 4 of 5

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=020 Ix=0 Type=02 Attr=00

1327006571: SMB: 6:

SID=S-1-5-15-d1d612b1-87382668-9ba5ebc0

1327006571: SMB: 6:

DC=-

1327006571: SMB: 6:

Status Flags=00 DCStatus=0547,1355

1327006571: SMB: 6: Trusted domain: <Domain_Name>


1327006571: SMB: 6:

Flags=022 Ix=0 Type=01 Attr=01000000

1327006571: SMB: 6:

SID=S-1-5-15-76854ac0-4c527104-321d5138

http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/

1/6/2014

Undocumented Celerra / VNX File commands | The SAN Guy

1327006571: SMB: 6:

DC=\\<Windows_DC_Servername>

1327006571: SMB: 6:

Status Flags=00 DCStatus=00,0

Page 5 of 5

1327006571: SMB: 6: Trusted domain:<domain_name>.net [<domain_name>]


1327006571: SMB: 6:

Flags=020 Ix=0 Type=02 Attr=00

1327006571: SMB: 6:

SID=S-1-5-15-88d60754-f3ed4f9d-b3f2cbc4

1327006571: SMB: 6:

DC=-

1327006571: SMB: 6:

Status Flags=00 DCStatus=0547,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=00 Nego=00000000000,L=0 Chal=00000000000,L=0,W2kFlags=00
refCount=2 newElectedDC=00000000000 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

http://emcsan.wordpress.com/2012/01/11/undocumented-celerra-commands/

1/6/2014