FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


Sidebar


Top     SiteMap

Manager Server

Target Server

$FHHOME/bin/xxx.sh | xxxx.exp













.

hardware:netapp:index.html



This is an old revision of the document!


Top#Hardware

NetApp (netapp.py)

$FHHOME/fabfile/netapp.py


Operation

$ fab  -l |grep netapp
$ echo xx.xx.xx.xx | fab  auth.pro  netapp.xxxx

Ref. Remote Shell Commands

$ echo xx.xx.xx.xx | fab auth.netapppro -s False -- xxxxxx


netapp.py

$FHHOME/fabfile/wincheck.py

import sys
from fabric.api import *
from fabric.contrib import files

FHHOME=os.environ["FHHOME"]

#================================================================================
# test
#================================================================================
#------------------------------------------------------------------
# netapp.test
#------------------------------------------------------------------
@task
def test():
    run("rows 0" , shell=False)
    run("system health subsystem show" , shell=False)







Top#Hardware



hardware/netapp/index.html.1517412829.txt.gz ยท Last modified: 2018/02/01 00:33 by kurihara