1)
useradmin role add readonly1 -a api-aggr-list-*,api-cifs-share-list-iter-end,api-cifs-share-list-iter-next,api-cifs-share-list-iter-start,api-disk-list-*,api-fcp-adapter-list-info,api-file-read-file,api-fcp-service-status,api-ipspace-list-info,api-iscsi-service-status,api-license-list-info,api-lun-list-info,api-nfs-exportfs-list-rules,api-nfs-status,api-options-get,api-perf-object-counter-list-*,api-perf-object-get*,api-perf-object-instance-list-*,api-perf-object-list-*,api-quota-get-entry,api-quota-report-iter-end,api-quota-report-iter-next,api-quota-report-iter-start,api-snapshot-delta-info,api-snapshot-get-schedule,api-snapshot-list-*,api-snapshot-reserve-list-*,api-snapshot-autodelete-list-*,api-snmp-get,api-snmp-get-next,api-system-get-version,api-vfiler-get-*,api-vfiler-list-*,api-volume-get-language,api-volume-get-root-name,api-volume-list-*,api-useradmin-role-list,api-useradmin-group-list,api-useradmin-user-list,api-useradmin-domainuser-list,login-http-admin,api-system-cli,cli-cifs,api-system-available-replication-transfers,api-cifs-list-config,cli-vol,security-priv-advanced,api-lun-config-check-cfmode-info,cli-registry,api-aggr-check-spare-low,api-cifs-homedir-paths-get,api-cifs-top-iter-*,api-cifs-session-list-iter-*,api-cifs-share-list-iter-*,api-cifs-status,api-disk-sanown-list-info,api-file-get-file-info,api-file-list-directory-iter-*,api-igroup-list-info,api-iscsi-initiator-auth-list-info,api-iscsi-initiator-get-default-auth,api-iscsi-interface-list-info,api-iscsi-node-get-name,api-iscsi-portal-list-info,api-iscsi-target-alias-get-alias,api-iscsi-tpgroup-list-info,api-lun-get-comment,api-lun-initiator-list-map-info,api-lun-map-list-info,api-nfs-exportfs-list-rules-2
2)
useradmin role add readonly2 -a api-options-get,api-options-list-info,api-options-set,api-qtree-list-iter-*,api-registry-get,api-registry-list-info,api-snapmirror-get-status,api-snapmirror-list-connections,api-snapmirror-list-schedule,api-snapshot-autodelete-list-info,api-snapshot-list-info,api-snmp-get,api-snmp-status,api-system-cli,api-system-get-*,api-useradmin-group-list,api-useradmin-role-list,api-useradmin-user-list,api-volume-autosize-get,api-volume-get-language,api-volume-get-root-name,api-volume-list-info,api-volume-options-list-info,cli-cifs,cli-date,cli-ifconfig,cli-priv,cli-stty,cli-timezone,cli-uptime,login-http-admin,security-priv-advanced,api-cf-status,api-net-config-get*,cli-options,cli-vfiler,api-storage-disk-get*,api-clock-get*,api-diagnosis-config-get*,api-diagnosis-alert-get*
3)
useradmin group add readonlygroup -c "Read Only Group" -r readonly1,readonly2
Other Data Ontap Versions APIs List
https://kb.netapp.com/support/s/article/ka31A000000120KQAQ/how-to-create-a-read-only-user-to-monitor-a-storage-system-in-oncommand-system-manager-oncommand-unified-manager-and-performance-advisor?language=en_US
https://www.youtube.com/watch?v=GfNBzxx6C9o
Read more...
Showing posts with label NetApp. Show all posts
Showing posts with label NetApp. Show all posts
Monday, February 13, 2017
Thursday, October 8, 2015
NetApp NTP Server Configuration
filer0*> options time
timed.enable on (same value in local+partner recommended)
timed.log on (same value in local+partner recommended)
timed.max_skew 5m (same value in local+partner recommended)
timed.min_skew 0 (same value in local+partner recommended)
timed.proto rtc (same value in local+partner recommended)
timed.sched 1h (same value in local+partner recommended)
timed.servers 10.1.100.11 (same value in local+partner recommended)
timed.window 0s (same value in local+partner recommended)
Read more...
timed.enable on (same value in local+partner recommended)
timed.log on (same value in local+partner recommended)
timed.max_skew 5m (same value in local+partner recommended)
timed.min_skew 0 (same value in local+partner recommended)
timed.proto rtc (same value in local+partner recommended)
timed.sched 1h (same value in local+partner recommended)
timed.servers 10.1.100.11 (same value in local+partner recommended)
timed.window 0s (same value in local+partner recommended)
Read more...
Sunday, February 15, 2015
RPC Error while trying to connect NetApp Filer through MMC or while trying to edit Local Users and Groups on MMC
Add name and IP address of your filers to your host file.
Read more...
Read more...
Tuesday, January 13, 2015
Extend / Resize Snapmirror Volume
FAS20xx in source , to a FAS20xx in Destination
1) Break the mirror on FAS20xx in destination
2) Resize the volume of FAS20xx in source
3) Resize the FAS20xx in destination backup Volume with same size of volume FAS20xx in source primary volume
(You can keep the destination much higher in space.)
5) Initialize the snapmirror on FAS20xx in destination
If you get Volume has a fixed filesystem size (fs_size_fixed) error while you are trying to resize volume. You should turn fixed file system option off.
1)Execute df -h on console to see all volumes.
2) vol options volume fs_size_fixed off
Read more...
1) Break the mirror on FAS20xx in destination
2) Resize the volume of FAS20xx in source
3) Resize the FAS20xx in destination backup Volume with same size of volume FAS20xx in source primary volume
(You can keep the destination much higher in space.)
5) Initialize the snapmirror on FAS20xx in destination
If you get Volume has a fixed filesystem size (fs_size_fixed) error while you are trying to resize volume. You should turn fixed file system option off.
1)Execute df -h on console to see all volumes.
2) vol options volume fs_size_fixed off
Read more...
Monday, April 7, 2014
SnapVault Flex Clone Read/writeable clone
When creating a flex clone with Qtree SnapMirror (QSM)
(SnapVault destination volume) based on a snapshot newer than the base snapshot
for the QSM/SnapVault relationship;the qtree will be cloned in RO mode.
Below is an example of what was encountered:
filer1*> snapvault status /vol/HSQLdst/data
Snapvault secondary is ON.
Source
Destination
State Lag
Status
filer2:/vol/HSQL/data
filer1:/vol/HSQLdst/data Snapvaulted
00:23:23 Idle
filer1*> snap list HSQLdst
Volume HSQLdst
working...
%/used %/total
date name
---------- ---------- ------------
--------
0% ( 0%) 0% ( 0%) Sep 12
07:31 newer_than_snapvault_base_snapshot
0% ( 0%) 0% ( 0%) Sep 12
07:06 filer1(0050420116)_HSQLdst-base.264 (busy,snapvault)
0% ( 0%) 0% ( 0%) Sep 12
07:05 sv_hourly.0
0% ( 0%) 0% ( 0%) Sep 12
06:05 sv_hourly.1
1% ( 0%) 0% ( 0%) Sep 12
05:05 sv_hourly.2
1% ( 0%) 0% ( 0%) Sep 12
04:05 sv_hourly.3
filer1*> vol clone create HSQLdst_c -b HSQLdst
newer_thansnapvault_base_snapshot
filer1*> snap list HSQLdst_c
Volume HSQLdst_c
working...
%/used
%/total date name
---------- ---------- ------------
--------
0% ( 0%) 0% ( 0%) Sep 12 07:31
newer_than__snapvault_base_snapshot
0% ( 0%) 0% ( 0%) Sep 12
07:06 filer1(0050420116)_HSQLdst-base.264 (busy,snapvault)
the cloned qtree is created with the snapvaulted flag
causing the lun within it to be R/O.
filer1*> qtree status HSQLdst_c
Volume Tree Style
Oplocks Status
-------- -------- ----- -------- ---------
HSQLdst_c
ntfs enabled normal
HSQLdst_c data ntfs
enabled snapvaulted
filer1*> lun show /vol/HSQLdst_c/data/data.lun
/vol/HSQLdst_c/data/data.lun 4.0g
(4301821440) (r/o, online)
When using snapshot older than the base snapshot for the
clone:
filer1*> vol clone create HSQLdst_c2 -b HSQLdst
sv_hourly.0
filer1*> qtree status HSQLdst_c2
Volume
Tree Style Oplocks Status
--------
-------- ----- -------- ---------
HSQLdst_c2
ntfs
enabled normal
HSQLdst_c2
data
ntfs enabled normal
filer1*> lun show /vol/HSQLdst_c2/data/data.lun
/vol/HSQLdst_c2/data/data.lun 4.0g
(4301821440) (r/w, offline)
Cause
This is by design. The clone operation inherits the
SnapVault/QSM base snapshot as busy, therefore,making the SnapVault property
clone as RO for the specified qtrees.
Solution
To resolve this issue, use the older snapshot as the base
snapshot for the clone. In this way the clone will not inherit the base
snapshot for that relationship. Then the clone will be created as Read/Write
(RW).
Source= Netapp Supoort
Read more...
Tuesday, November 26, 2013
cannot connect to source filer (Error: 13102)
Main cause of this error is that the missing parameters in Filers Hosts files.
Add name and IP address to hosts files. \\filernameorip\etc\hosts
Example;
10.33.100.100 flmsan01 flmsan01-e0a
10.33.100.101 flmsan01 flmsan01-e0b
Read more...
Add name and IP address to hosts files. \\filernameorip\etc\hosts
Example;
10.33.100.100 flmsan01 flmsan01-e0a
10.33.100.101 flmsan01 flmsan01-e0b
Read more...
Monday, September 10, 2012
Enabling CIFS Auditing on NetApp
Connect NetApp by using SSH or Telnet as a root and execute the command below on each controller;
options cifs.audit.enable on
options cifs.audit.liveview.enable on
(When Live View is enabled, an Access Logging Facility (ALF) daemon runs once a minute, flushing audit events from memory to the internal log file
/etc/log/cifsaudit.alf on disk. The ALF daemon also attempts to save and convert
ALF records to EVT records that can be viewed by Event Viewer. It does so
either once every minute, or when the .alf file becomes 75 percent full)
Read more...
options cifs.audit.enable on
options cifs.audit.liveview.enable on
(When Live View is enabled, an Access Logging Facility (ALF) daemon runs once a minute, flushing audit events from memory to the internal log file
/etc/log/cifsaudit.alf on disk. The ALF daemon also attempts to save and convert
ALF records to EVT records that can be viewed by Event Viewer. It does so
either once every minute, or when the .alf file becomes 75 percent full)
Read more...
Friday, November 13, 2009
NetApp Perfstat tool Usage
Perfstat is a NetApp tool that you can monitor and reveal your NetApp Storage devices . You can download it from NetApp web site.
Usage of perfstat is;
perfstat -f IPAddressofNetAPP -t 10 -i 12 > perfstat.out
10 : Get statistics for every 10 minutes;
12 : Number of sample
perfstat.out : Name of the file that log will be saved into.
Read more...
Usage of perfstat is;
perfstat -f IPAddressofNetAPP -t 10 -i 12 > perfstat.out
10 : Get statistics for every 10 minutes;
12 : Number of sample
perfstat.out : Name of the file that log will be saved into.
Read more...
Wednesday, March 18, 2009
Subscribe to:
Posts (Atom)