Celerra Useful Cmd's
Celerra Useful Cmd's
Celerra Useful Cmd's
(Updated 4/25/2012) NAS Specific Commands: Nas_disk -list Lists the disk table Nas_checkup Runs a system health check. Nas_pool -size -all Lists available space on each defined storage pool Nas_replicate -info all | grep <fs> Info about each filesystems replication stat us, grep to view just one. Nas_replicate -list A list of all current replications Nas_server -list Lists all datamovers. 1=primary,4=standby,6=rdf (remote da ta facility) <watch> /nas/sbin/getreason Shows current status of each datamover. 5=up, 0=do wn or rebooting Nas_fs Creates, deletes, extends, modifies, and lists filesystems. Nas_config Control station configuration (requires root login) Nas_version View current nas revision Nas_ckpt_schedule Manage checkpoint schedule 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 .server_config server_x logsys Turn it off: .server_config server_x logsys .server_config server_x logsys
set severity NDMP=LOG_DBG2 set severity PAX=LOG_DBG2 set severity NDMP=LOG_ERR 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 Fs_dhsm Fs_group Manage Checkpoints Manage File Mover Manage filesystem groups
Complete List of nas_ Commands: This is just for reference, you can easily pull up this list from a Celerra by t yping 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 t yping 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 t yping fs_ and hitting the tab key. fs_ckpt fs_dedupe fs_dhsm fs_group fs_rdf fs_timefinde