NetApp Monitoring Account

useradmin role add monitoring -a api-clock-get-clock,api-disk-list-info,api-snapshot-list-info,api-snapmirror-get-status,login-http-admin,api-volume-list-info,api-perf-object-get-instances,api-aggr-space-list-info,api-aggr-list-info,api-perf-object-get-instances-iter-start,api-perf-object-get-instances-iter-end,api-perf-object-get-instances-iter-next,api-snapshot-get-schedule

useradmin group add monitoring-group -r monitoring -c “Group for monitoring-api”

useradmin user add monitoring -g monitoring-group

source : http://wiki.krogloth.de/wiki/NetApp_7-Mode/User

RSYNC between 2 Servers

to copy of files from your synology(….0.1) to new synology(…0.2)
connect to new Synology(…0.22) with Putty (ssh) as root and run followed command line:

date >/root/SOUT.log; date >/root/ERROUT.log; rsync -av 1>>/root/SOUT.log 2>>/root/ERROUT.log 10.0.0.1:/volume1 /volume1

description:

date >/root/SOUT.log        will set the starttime of rsync proces
date >/root/ERROUT.log    will … Continue reading

RHEL 5.6 als Router

edit /etc/sysctl.conf

set “net.ipv4.ip_forward” from 0 to 1 to enable Routing on ipv4

reread conf with:

/sbin/sysctl -p

for static routing edit

/etc/sysconfig/network-scripts/route-eth0

or

/etc/sysconfig/network-scripts/route-eth1

dependent from reachable networks on this interface

example entry:   10.131.0.0/24 via 192.168.131.1

 

 

windows :

route add  ZielNetz MASK ZielNetMask ZielGateway IF 10

 

Continue reading