FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


hardware:netapp:index.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
hardware:netapp:index.html [2018/02/22 23:31]
kurihara
hardware:netapp:index.html [2018/02/22 23:49] (current)
kurihara
Line 57: Line 57:
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def system_health_status_show():+def check_system_health():
     run("system health status show" , shell=False)     run("system health status show" , shell=False)
- 
-@task 
-def system_health_subsystem_show(): 
     run("system health subsystem show" , shell=False)     run("system health subsystem show" , shell=False)
- 
-@task 
-def system_health_config_show(): 
     run("system health config show" , shell=False)     run("system health config show" , shell=False)
- 
-@task 
-def storage_shelf_show_connectivity(): 
-    """storage shelf show -connectivity""" 
     run("storage shelf show -connectivity" , shell=False)     run("storage shelf show -connectivity" , shell=False)
 +    run("system cluster-switch show" , shell=False)
  
-@task 
-def storage_disk_show(): 
-    run("storage disk show" , shell=False) 
- 
-@task 
-def system_cluster_switch_show(): 
-    """system cluster-switch show""" 
-    run("system cluster-switch show" , shell=False) 
  
 #------------------------------------------------------------------ #------------------------------------------------------------------
Line 86: Line 69:
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def system_health_alert_show():+def check_alert():
     run("system health alert show" , shell=False)     run("system health alert show" , shell=False)
- 
-@task 
-def system_health_alert_show_instance(): 
     run("system health alert show -instance" , shell=False)     run("system health alert show -instance" , shell=False)
 +
  
 #------------------------------------------------------------------ #------------------------------------------------------------------
-# HA+Check HA
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def storage_failover_show():+def check_ha():
     run("storage failover show" , shell=False)     run("storage failover show" , shell=False)
- 
-@task 
-def cluster_ha_show(): 
     run("cluster ha show" , shell=False)     run("cluster ha show" , shell=False)
  
Line 112: Line 90:
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def storage_aggregate_show():+def check_disk():
     run("storage aggregate show" , shell=False)     run("storage aggregate show" , shell=False)
 +    run("storage disk show" , shell=False)
 +    run("volume show" , shell=False)
  
 @task @task
Line 119: Line 99:
     """disk_show_aggregate:aggr1  # disk show -aggregate aggr1"""     """disk_show_aggregate:aggr1  # disk show -aggregate aggr1"""
     run("disk show -aggregate %s" % aggr , shell=False)     run("disk show -aggregate %s" % aggr , shell=False)
- 
-#------------------------------------------------------------------ 
-# Volume 
-#------------------------------------------------------------------ 
-@task 
-def volume_show(): 
-    run("volume show" , shell=False) 
  
 #------------------------------------------------------------------ #------------------------------------------------------------------
Line 131: Line 104:
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def lun_show():+def check_lun():
     run("lun show" , shell=False)     run("lun show" , shell=False)
  
Line 138: Line 111:
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def vserver_export_policy_rule_show(): +def check_nfs():
-    """vserver export-policy rule show"""+
     run("vserver export-policy rule show" , shell=False)     run("vserver export-policy rule show" , shell=False)
- 
-@task 
-def volume_show_fields_policy(): 
-    """volume show -fields policy""" 
     run("volume show -fields policy" , shell=False)     run("volume show -fields policy" , shell=False)
  
Line 151: Line 119:
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def vserver_cifs_show():+def check_cifs():
     run("vserver cifs show" , shell=False)     run("vserver cifs show" , shell=False)
- 
-@task 
-def vserver_cifs_share_show(): 
     run("vserver cifs share show" , shell=False)     run("vserver cifs share show" , shell=False)
- 
- 
  
  
Line 172: Line 135:
  
 #------------------------------------------------------------------ #------------------------------------------------------------------
-Interface+Network
 #------------------------------------------------------------------ #------------------------------------------------------------------
 @task @task
-def network_port_ifgrp_show(): +def check_network():
-    """check interface group"""+
     run("network port ifgrp show" , shell=False)     run("network port ifgrp show" , shell=False)
- 
-@task 
-def network_port_vlan_show(): 
     run("network port vlan show" , shell=False)     run("network port vlan show" , shell=False)
- 
-@task 
-def network_interface_failover_groups_show(): 
-    """network interface failover-groups show""" 
     run("network interface failover-groups show" , shell=False)     run("network interface failover-groups show" , shell=False)
 +    run("network routing-groups route show" , shell=False)
  
 #------------------------------------------------------------------ #------------------------------------------------------------------
 # LIF(Logical Interface) # LIF(Logical Interface)
 #------------------------------------------------------------------ #------------------------------------------------------------------
-@task 
-def vserver_show(): 
-    run("vserver show" , shell=False) 
  
- 
-#------------------------------------------------------------------ 
-# Network 
-#------------------------------------------------------------------ 
-@task 
-def network_routing_groups_route_show(): 
-    """network routing-groups route show""" 
-    run("network routing-groups route show" , shell=False) 
  
 </sxh> </sxh>


hardware/netapp/index.html.txt · Last modified: 2018/02/22 23:49 by kurihara