By Joe Piggee
*Please note that EMC advises using the GUI, or opening a SR prior to using CLI. These commands have been gather from multiple sites and is pretty straight forward
Server specific commands:
server_cpu server_<x> -r now Reboots a datamover
server_ping <IP> ping any IP from the control station
server_ifconfig server_2 –all View all configured interfaces
server_route server_2 {-list,flush,add,delete} Routing table commands
server_mount Mount a filesystem
server_export Export a filesystem
server_stats Provides realtime stats for a datamover, many different options.
server_sysconfig Modifies hardware config of the data movers.
server_devconfig Configures devices on the data movers.
server_sysstat Shows current Memory, CPU, and thread utilization
server_log server_2 Shows current log
vi /nas/jserver/logs/system_log Java System log
vi /var/log/messages System Messages
server_ifconfig server_2 <interface_name> up Bring up a specific interface
server_ifconfig server_2 <interface_name> down Take a specific interface down
server_date Sets system time and NTP server settings
server_file FTP equivalent command
server_dns Configure DNS
server_cifssupport Support services for CIFS users
To view HBA Statistics:
.server_config server_2 -v “printstats fcp reset” Toggles the service on/off
.server_config server_2 -v “printstats fcp full” View the stats table (must wait a while for some stats to collect before viewing)
To Join/Unjoin a CIFS Server from the domain:
server_cifs server_2 -Join compname=SERVERNAME,domain=DOMAIN.COM,admin=ADMINID
server_cifs server_2 -Unjoin compname=SERVERNAME,domain=DOMAIN.COM,admin=ADMINID
To view the current domain controllers visible on the data mover:
.server_config server_2 -v “pdc dump”
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
To stop and start the CIFS service:
server_setup server_2 -P cifs -o stop Stop CIFS Service
server_setup server_2 -P cifs -o start Start CIFS Service
To stop, start or check the status of the iSCSI service:
server_iscsi server_2 -service -start Start iSCSI service
server_iscsi server_2 -service -stop Stop iSCSI service
server_iscsi server_2 -service -status Check the status of the iSCSI service
To enable/disable NDMP Logging:
Turn it on:
.server_config server_x “logsys set severity NDMP=LOG_DBG2″
.server_config server_x “logsys set severity PAX=LOG_DBG2″
Turn it off:
.server_config server_x “logsys set severity NDMP=LOG_ERR”
.server_config server_x “logsys set severity PAX=LOG_ERR”
For gathering performance statistics:
server_netstat server_x -i Interface statistics
server_sysconfig server_x -v Lists virtual devices
server_sysconfig server_x -v -i vdevice_name Informational stats on the virtual device
server_netstat server_x -s -a tcp Retransmissions
server_nfsstat server_x NFS SRTs
server_nfsstat server_x -zero Reset NFS stats
Filesystem specific commands:
fs_ckpt Manage Checkpoints
fs_dhsm Manage File Mover
fs_group Manage filesystem groups
Complete List of “nas_” Commands:
This is just for reference, you can easily pull up this list from a Celerra by typing nas_ and hitting the tab key.
nas_acl
nas_ckpt_schedule
nas_dbtable
nas_emailuser
nas_inventory
nas_pool
nas_slice
nas_task
nas_automountmap
nas_cmd
nas_devicegroup
nas_event
nas_license
nas_quotas
nas_stats
nas_version nas_cel
nas_copy
nas_disk
nas_fs
nas_logviewer
nas_replicate
nas_storage
nas_volume
nas_checkup
nas_cs
nas_diskmark
nas_fsck
nas_message
nas_server
nas_symm
nas_xml
Complete list of “server_” Commands:
This is just for reference, you can easily pull up this list from a Celerra by typing server_ and hitting the tab key.
server_archive
server_cifssupport
server_file
server_log
server_name
server_ping6
server_sysconfig
server_vtlu
server_arp
server_cpu
server_ftp
server_mgr
server_netstat
server_rip
server_sysstat
server_cdms
server_date
server_http
server_mount
server_nfs
server_route
server_tftp
server_cepp
server_dbms
server_ifconfig
server_mountpoint
server_nfsstat
server_security
server_umount
server_certificate
server_devconfig
server_ip
server_mpfs
server_nis
server_setup
server_uptime
server_checkup
server_df
server_iscsi
server_mpfsstat
server_param
server_snmpd
server_usermapper
server_cifs
server_dns
server_kerberos
server_mt
server_pax
server_standby
server_version
server_cifsstat
server_export
server_ldap
server_muxconfig
server_ping
server_stats
server_viruschk
Complete list of “fs_” Commands:
This is just for reference, you can easily pull up this list from a Celerra by typing fs_ and hitting the tab key.
fs_ckpt
fs_dedupe
fs_dhsm
fs_group
fs_rdf
fs_timefinder
*reference sites: http://emcsan.wordpress.com/2011/06/03/useful-celerra-commands/
No comments:
Post a Comment