NetApp SMO: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
m (Text replacement - "[[Kategorie:" to "[[Category:") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Category:NetApp|SMO]] | ||
=Installation des SnapManager for Oracle unter Solaris= | =Installation des SnapManager for Oracle unter Solaris= | ||
==HostUtilities== | ==HostUtilities== | ||
<pre> | <pre> | ||
# cd /tmp | |||
# gtar xzf ~/smo/netapp_solaris_host_utilities_5_1_sparc.tar.gz | |||
# pkgadd -d NTAPSANTool.pkg | # pkgadd -d NTAPSANTool.pkg | ||
# /opt/NTAP/SANToolkit/bin/mpxio_set -e | </pre> | ||
Und um Himmelswillen nicht: | |||
# /opt/NTAP/SANToolkit/bin/mpxio_set -e --no-never-do-this | |||
Dann klapp ALUA nicht! | |||
<pre> | |||
# /opt/NTAP/SANToolkit/bin/basic_config -ssd_set | # /opt/NTAP/SANToolkit/bin/basic_config -ssd_set | ||
# touch /reconfigure | # touch /reconfigure | ||
Line 17: | Line 25: | ||
==SnapDrive== | ==SnapDrive== | ||
<pre> | <pre> | ||
# cd /tmp | |||
# gtar xzf ~/smo/NTAPsnapdrive_sun_sparc_5.0P1.tar.Z | |||
# pkgadd -d NTAPsnapdrive_sun_sparc_5.0/NTAPsnapdrive.pkg | # pkgadd -d NTAPsnapdrive_sun_sparc_5.0/NTAPsnapdrive.pkg | ||
</pre> | |||
Jetzt noch die /opt/NTAPsnapdrive/snapdrive.conf anpassen. | |||
Und für Solaris mit MPxIO und UFS sieht die /opt/NTAPsnapdrive/snapdrive.conf dann so aus: | Und für Solaris mit MPxIO und UFS sieht die /opt/NTAPsnapdrive/snapdrive.conf dann so aus: | ||
<pre> | <pre> | ||
Line 130: | Line 140: | ||
#volmove-cutover-retry=3 #Number of retries during volume migration | #volmove-cutover-retry=3 #Number of retries during volume migration | ||
#volmove-cutover-retry-sleep=3 #Number of seconds between retries during volume migration cutover phase | #volmove-cutover-retry-sleep=3 #Number of seconds between retries during volume migration cutover phase | ||
</pre> | </pre> | ||
Nun erst den snapdrived starten: | |||
<pre> | |||
# /usr/sbin/snapdrived start | |||
</pre> | |||
Verbindung mit dem Filer herstellen von SnapDrive: | |||
<pre> | <pre> | ||
# getent hosts fas01 >> /etc/hosts | # getent hosts fas01 >> /etc/hosts | ||
# /opt/NTAPsnapdrive/bin/snapdrive config set root fas01 | # /opt/NTAPsnapdrive/bin/snapdrive config set root fas01 | ||
# /opt/NTAPsnapdrive/bin/snapdrive snap list -filer fas01 | # /opt/NTAPsnapdrive/bin/snapdrive snap list -filer fas01 | ||
</pre> | |||
Check: | |||
<pre> | |||
# /opt/NTAPsnapdrive/bin/snapdrive config list | |||
</pre> | </pre> | ||
Latest revision as of 00:11, 26 November 2021
Installation des SnapManager for Oracle unter Solaris
HostUtilities
# cd /tmp # gtar xzf ~/smo/netapp_solaris_host_utilities_5_1_sparc.tar.gz # pkgadd -d NTAPSANTool.pkg
Und um Himmelswillen nicht:
# /opt/NTAP/SANToolkit/bin/mpxio_set -e --no-never-do-this
Dann klapp ALUA nicht!
# /opt/NTAP/SANToolkit/bin/basic_config -ssd_set # touch /reconfigure # init 6
Test mit:
# /opt/NTAP/SANToolkit/bin/sanlun fcp show adapter # /opt/NTAP/SANToolkit/bin/sanlun lun show all
SnapDrive
# cd /tmp # gtar xzf ~/smo/NTAPsnapdrive_sun_sparc_5.0P1.tar.Z # pkgadd -d NTAPsnapdrive_sun_sparc_5.0/NTAPsnapdrive.pkg
Jetzt noch die /opt/NTAPsnapdrive/snapdrive.conf anpassen. Und für Solaris mit MPxIO und UFS sieht die /opt/NTAPsnapdrive/snapdrive.conf dann so aus:
# Snapdrive Configuration # file: /opt/NTAPsnapdrive/snapdrive.conf # Version 5.0 (Change 1612424 Built 'Sun Feb 26 03 11 54 PST 2012') # # Default values are shown by lines which are commented-out in this file. # If there is no un-commented-out line in this file relating to a particular value, then # the default value represented in the commented-out line is what SnapDrive will use. # # To change a value: # # -- copy the line that is commented out to another line # -- Leave the commented-out line # -- Modify the new line to remove the '#' and to set the new value. # -- Save the file and exit # -- Also remember to restart the snapdrive daemon by issuing 'snapdrived restart' # # #PATH="/sbin:/usr/sbin:/bin:/usr/lib/vxvm/bin:/usr/bin:/opt/VRTS/bin:/etc/vx/bin" #toolset search path all-access-if-rbac-unspecified="on" #Allows access to all filer operations if the RBAC permissions file is missing in filer volume #audit-log-file="/var/log/sd-audit.log" #Audit Log File Path #audit-log-max-size=20480 #Maximum size (in bytes) of audit log file #audit-log-save=2 #Number of historical audit log file to save #autosupport-enabled="on" #Enable autosupport (requires autosupport-filer be set) #available-lun-reserve=8 #Number of LUNs for which to reserve host resources #check-export-permission-nfs-clone="on" #Checks if the host has nfs export permissions for resource being connected #client-trace-log-file="/var/log/sd-client-trace.log" #client trace log file (Probably never used or useful) #cluster-operation-timeout-secs=600 #Cluster Operation timeout in seconds (Useful only on SFRAC Environments). Increase this value if you frequent failures in SFRAC environments #contact-http-dfm-port=8088 #HTTP server port to contact to access the DFM (Change this only if you have modified DFM Server settings) #contact-http-port=80 #HTTP port to contact to access the filer (This should not be changed most of the time) #contact-http-port-sdu-daemon=4094 #HTTP port on which sdu daemon will bind #contact-https-port-sdu-daemon=4095 #HTTPS port on which sdu daemon will bind #contact-ssl-dfm-port=8488 #SSL server port to contact to access the DFM #contact-ssl-port=443 #SSL port to contact to access the filer #contact-viadmin-port=8043 #HTTP/HTTPS port to contact to access the virtual interface admin #daemon-trace-log-file="/var/log/sd-daemon-trace.log" #daemon trace log file #datamotion-cutover-wait=120 #Wait time in seconds during data motion #default-noprompt="off" #A default value for -noprompt option in the command line default-transport="fcp" #Transport type to use for storage provisioning, when a decision is needed #device-retries=3 #Number of retries on Ontap filer LUN device inquiry (This is no longer useful or used) #device-retry-sleep-secs=1 #Number of seconds between Ontap filer LUN device inquiry retries (This is no longer useful or used) #dfm-api-timeout=180 #Timeout in seconds for calling DFM API #dfm-rbac-retries=12 #Number of access retries until DFM Refreshes (Increase this value if DFM is unable to discover newly created Volumes) #dfm-rbac-retry-sleep-secs=15 #Number of seconds between DFM rbac access retries(Increase this value if DFM is unable to discover the Volume) #do-lunclone="on" #Lunclone for Dataset mount_backup if readonly qtree is detected #enable-alua="on" #Enable ALUA for the igroup #enable-fcp-cache="on" #Enable FCP Cache in Assistants #enable-implicit-host-preparation="on" #Enable implicit host preparation for LUN creation #enable-parallel-operations="on" #Enable support for parallel operations #enable-split-clone="off" #Enable split clone volume or lun during connnect/disconnect #filer-restore-retries=1440 #Number of retries while doing lun restore #filer-restore-retry-sleep-secs=15 #Number of secs between retries while restoring lun #filesystem-freeze-timeout-secs=300 #File system freeze timeout in seconds #flexclone-writereserve-enabled="off" #Enable space reservations during FlexClone creation fstype="ufs" #File system to use when more than one file system is available #lun-onlining-in-progress-retries=40 #Number of retries when lun onlining in progress after VBSR #lun-onlining-in-progress-sleep-secs=3 #Number of secs between retries when lun onlining in progress after VBSR #mgmt-retries=2 #Number of retries on ManageONTAP control channel #mgmt-retry-sleep-long-secs=90 #Number of seconds between retries on ManageONTAP control channel (failover error) #mgmt-retry-sleep-secs=2 #Number of seconds between retries on ManageONTAP control channel #migrate-file="/opt/NTAPsnapdrive/.migfile" #Location of Migrate File #multipathing-type="DMP" #Multipathing software to use when more than one multipathing solution is available. multipathing-type="mpxio" #Multipathing software to use when more than one multipathing solution is available. #password-file="/opt/NTAPsnapdrive/.pwfile" #location of password file #portset-file="/opt/NTAPsnapdrive/.portset" #location of portset configuration file #prefix-clone-name="" #Prefix string for naming FlexClone #prefix-filer-lun="" #Prefix for all filer LUN names internally generated by storage create #prepare-lun-count=16 #Number of LUNs for which to request host preparation #rbac-cache="off" #Use RBAC cache when all DFM servers are down. Active only when rbac-method is dfm. #rbac-method="native" #Role Based Access Control(RBAC) methods #recovery-log-file="/var/log/sd-recovery.log" #recovery log file #recovery-log-save=20 #Number of old copies of recovery log file to save #san-clone-method="lunclone" #Clone methods for snap connect #sdu-daemon-certificate-path="/opt/NTAPsnapdrive/snapdrive.pem" #location of https server certificate #sdu-password-file="/opt/NTAPsnapdrive/.sdupw" #location of SDU Daemon and DFM password file #secure-communication-among-cluster-nodes="off" #Enable Secure Communication (Useful only on SFRAC environments) #sfsr-polling-frequency=10 #Sleep for the given amount of seconds before attempting SFSR #snapconnect-nfs-removedirectories="off" #NFS snap connect cleaup unwanted dirs; #snapcreate-cg-timeout="relaxed" #Timeout type used in snapshot creation with Consitency Groups. #snapcreate-check-nonpersistent-nfs="on" #Check that entries exist in persistent filesystem file for specified nfs fs. #snapcreate-consistency-retries=3 #Number of retries on best-effort snapshot consistency check failure #snapcreate-consistency-retry-sleep=1 #Number of seconds between best-effort snapshot consistency retries #snapcreate-must-make-snapinfo-on-qtree="off" #snap create must be able to create snapinfo on qtree #snapdelete-delete-rollback-with-snap="off" #Delete all rollback snapshots related to specified snapshot #snapmirror-dest-snap-support-enabled="on" #Enables snap restore and snap connect commands to deal with snapshots which were moved to another filer volume (e.g. via SnapMirror) #snaprestore-delete-rollback-after-restore="on" #Delete rollback snapshot after a successfull restore #snaprestore-make-rollback="on" #Create snap rollback before restore #snaprestore-must-make-rollback="on" #Do not continue 'snap restore' if rollback creation fails #snaprestore-snapmirror-check="on" #Enable snapmirror destination volume check in snap restore #space-reservations-enabled="on" #Enable space reservations when creating new luns #space-reservations-volume-enabled="snapshot" #Enable space reservation over volume. #split-clone-async="on" #Lunclone for Dataset mount_backup if readonly qtree is detected #trace-enabled="on" #Enable trace #trace-level=7 #Trace levels: 1=FatalError; 2=AdminError; 3=CommandError; 4=warning, 5=info, 6=verbose, 7=full #trace-log-file="/var/log/sd-trace.log" #trace log file #trace-log-max-size=10485760 #Maximum size of trace log file in bytes; 0 means one trace log file per command #trace-log-save=100 #Number of old copies of trace log file to save #use-efi-label="off" #Enables use of EFI labels on Solaris which is required for lun size > 1 TB #use-https-to-dfm="on" #Communication with DFM done via HTTPS instead of HTTP use-https-to-filer="on" #Communication with filer done via HTTPS instead of HTTP #use-https-to-sdu-daemon="off" #Communication with daemon done via HTTPS instead of HTTP #use-https-to-viadmin="on" #Specifies if HTTPS must be used to communicate with SMVI Product #vif-password-file="/opt/NTAPsnapdrive/.vifpw" #location of Virtual Interface Server password file #virtualization-operation-timeout-secs=600 #Virtualization Operation timeout in seconds #vmtype="vxvm" #Volume manager to use when more than one volume manager is available vmtype="svm" #Volume manager to use when more than one volume manager is available #vol-restore="off" #Method of restoring a volume #volmove-cutover-retry=3 #Number of retries during volume migration #volmove-cutover-retry-sleep=3 #Number of seconds between retries during volume migration cutover phase
Nun erst den snapdrived starten:
# /usr/sbin/snapdrived start
Verbindung mit dem Filer herstellen von SnapDrive:
# getent hosts fas01 >> /etc/hosts # /opt/NTAPsnapdrive/bin/snapdrive config set root fas01 # /opt/NTAPsnapdrive/bin/snapdrive snap list -filer fas01
Check:
# /opt/NTAPsnapdrive/bin/snapdrive config list
SnapManager for Oracle
# sh ./netapp.smo.sunos-sparc64-3.2.bin # smogui
Ab durch den Wizard...