Monthly Archives: March 2013

OVS networking

OVS networking

Posted in Virtualization | Leave a comment

ipv6 cheat sheet

cheat sheet

Posted in ipv6 | Leave a comment

ipv6 Address Types

Address Types

Posted in ipv6 | Leave a comment

linux ipv6 router

ipv6 router tunnel 6 through 4

Posted in ipv6 | Leave a comment

ntp

ntp

Posted in linux | Leave a comment

linux samba and AD

1. check kerberos, ldap, ads and winbind support. # cat /etc/hosts (output skipped) 192.168.1.215 kpsuse1.netapp.local kpsuse1 192.168.1.216 kpsuse2.netapp.local kpsuse2 192.168.1.120 dc.netapp.local dc # cd /usr/sbin # smbd -b | grep LDAP HAVE_LDAP_H HAVE_LDAP HAVE_LDAP_DOMAIN2HOSTLIST … root@windbag:/usr/sbin# smbd -b | grep … Continue reading

Posted in linux | Leave a comment

linux mysql

http://www.if-not-true-then-false.com/2010/install-mysql-on-fedora-centos-red-hat-rhel/

Posted in linux | Leave a comment

linux usb boot

Linux Create A Bootable USB Pen by NIXCRAFT on MARCH 11, 2010 · 15 COMMENTS· last updated at MARCH 11, 2010 How do I create a bootable USB pen drive to start my CentOS / Fedora Linux? How do I … Continue reading

Posted in linux | Leave a comment

netapp 7-mode lun failover

This procedure describes a method to activate your iscsi lun in from a snapmirror destination if the source fails or is taken offline. 1. you have an iscsi lun mapped to a host; the lun resides in svolume on sfiler. … Continue reading

Posted in Uncategorized | Leave a comment

7-mode migrate

Customer wants to migrate production environment to new hardware. 1. At the production location we are going to use a temporary system to snapmirror the data to, and we will create a common snapshot for later use. 2 Physically move … Continue reading

Posted in netapp | Leave a comment

netapp autologin.sh script

#!/bin/bash #setup autologin ERRLOG=’autologin.errorlog’ function key { hostname=`hostname` #determine mode echo -n “clustermode? (y/n) : ” read mode if [ $mode == “y” ] then echo “clustermode” echo -n “username : ” read user #get the current index to determine … Continue reading

Posted in linux, netapp, scripts | Leave a comment

script vault.sh

#!/bin/bash clear BIN=/bin LOG=/root/scripts/vault.log #functions function filer { echo checking $FILER if $BIN/ping -c 2 -q $FILER > /dev/null 2>&1 then : else $FILER unreachable – exiting exit fi } function check { echo “FUNCTION CHECK” length=`ssh kp7m1 options snapvault.access|awk … Continue reading

Posted in netapp, scripts | Leave a comment

netapp simulator syncmirror

aggr create aggr_mirror -m -f -d v4.20 v4.21 v4.22 v4.28 -d v4.24 v4.25 v4.26 v4.27

Posted in Uncategorized | Leave a comment

netapp flashpools volume settings

f>aggr create aggr1 -T SAS -t raid_dp -B 64 16@560 f>aggr options aggr1 hybrid_enabled on f>aggr add aggr1 -T SSD 6@100 f>priv set advanced f*>priority hybrid-cache set vol1 read-cache=meta f*>priority hybrid-cache set vol1 read-cache=random-read f*>priority hybrid-cache set vol1 read-cache=random-read-write f*>priority … Continue reading

Posted in netapp | Leave a comment

netapp datacollector 7-mode

1. filer> options httpd.admin.enable on filer> options httpd.admin.access host=windowshost 2. download datacollector (windows) run datacollector and download the data

Posted in netapp | Leave a comment

netapp 7-mode autologin script (for linux)

#!/bin/bash #setup autologin function key { hostname=`hostname` ip=`cat /etc/hosts|grep $hostname | cut -f1 -d” “` echo “setting up autologin to $name for $ip” echo “provide root-password for $name” ssh $name exportfs -i -o rw,root=$ip,nosuid /vol/vol0 echo “share done” cd /net/$name/vol/vol0/etc/ … Continue reading

Posted in netapp | Leave a comment

netapp 7-mode lun restore

Restoring lun from snapvault. 1. In windows, open ‘computer -> manage -> disk management’ and select the volume. 2. Choose ‘delete partition’. 3. On primary filer (the one that holds the lun that needs a restore) 1 unmap the lun … Continue reading

Posted in netapp | Leave a comment