FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hardware:netapp:index.html [2018/02/20 01:41] kurihara |
hardware:netapp:index.html [2018/02/22 01:28] kurihara |
||
---|---|---|---|
Line 14: | Line 14: | ||
</ | </ | ||
+ | /* | ||
==== Fabric Remote Shell Commands ==== | ==== Fabric Remote Shell Commands ==== | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ echo xx.xx.xx.xx | fab auth.netapppro --set shell=False --no-pty | $ echo xx.xx.xx.xx | fab auth.netapppro --set shell=False --no-pty | ||
</ | </ | ||
+ | */ | ||
+ | |||
\\ | \\ | ||
Line 25: | Line 28: | ||
<sxh python toolbar: | <sxh python toolbar: | ||
- | import sys | + | import sys, os |
from fabric.api import * | from fabric.api import * | ||
from fabric.contrib import files | from fabric.contrib import files | ||
Line 38: | Line 41: | ||
@task | @task | ||
def cluster_show(): | def cluster_show(): | ||
- | """ | + | """ |
run(" | run(" | ||
Line 56: | Line 59: | ||
def system_health_config_show(): | def system_health_config_show(): | ||
run(" | run(" | ||
- | |||
@task | @task | ||
Line 94: | Line 96: | ||
run(" | run(" | ||
+ | |||
+ | # | ||
+ | # Storage | ||
+ | # | ||
+ | # | ||
+ | # Disk | ||
+ | # | ||
+ | @task | ||
+ | def storage_aggregate_show(): | ||
+ | run(" | ||
+ | |||
+ | @task | ||
+ | def disk_show_aggregate(aggr): | ||
+ | """ | ||
+ | run(" | ||
+ | |||
+ | # | ||
+ | # Volume | ||
+ | # | ||
+ | @task | ||
+ | def volume_show(): | ||
+ | run(" | ||
+ | |||
+ | # | ||
+ | # LUN | ||
+ | # | ||
+ | @task | ||
+ | def lun_show(): | ||
+ | run(" | ||
+ | |||
+ | # | ||
+ | # NFS | ||
+ | # | ||
+ | @task | ||
+ | def vserver_export_policy_rule_show(): | ||
+ | """ | ||
+ | run(" | ||
+ | |||
+ | @task | ||
+ | def volume_show_fields_policy(): | ||
+ | """ | ||
+ | run(" | ||
+ | |||
+ | # | ||
+ | # CIFS | ||
+ | # | ||
+ | @task | ||
+ | def vserver_cifs_show(): | ||
+ | run(" | ||
+ | |||
+ | @task | ||
+ | def vserver_cifs_share_show(): | ||
+ | run(" | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # Network | ||
+ | # | ||
+ | # | ||
+ | # SVM(Server Virtual Machine) | ||
+ | # | ||
+ | @task | ||
+ | def vserver_show(): | ||
+ | run(" | ||
+ | |||
+ | # | ||
+ | # Interface | ||
+ | # | ||
+ | @task | ||
+ | def network_port_ifgrp_show(): | ||
+ | """ | ||
+ | run(" | ||
+ | |||
+ | @task | ||
+ | def network_port_vlan_show(): | ||
+ | run(" | ||
+ | |||
+ | @task | ||
+ | def network_interface_failover_groups_show(): | ||
+ | """ | ||
+ | run(" | ||
+ | |||
+ | # | ||
+ | # LIF(Logical Interface) | ||
+ | # | ||
+ | @task | ||
+ | def vserver_show(): | ||
+ | run(" | ||
+ | |||
+ | |||
+ | # | ||
+ | # Network | ||
+ | # | ||
+ | @task | ||
+ | def network_routing_groups_route_show(): | ||
+ | """ | ||
+ | run(" | ||
</ | </ |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.