NetAppDocs / netapp-solutions

https://docs.netapp.com/us-en/netapp-solutions/
20 stars 19 forks source link

Minor Issues on ONTAP commands. #458

Open netapp-pedrof opened 1 year ago

netapp-pedrof commented 1 year ago

Page URL

https://docs.netapp.com/us-en/netapp-solutions/databases/sql-aws-ec2.html

Page title

TR-4923: SQL Server on AWS EC2 using Amazon FSx for NetApp ONTAP

Summary

Dear Team,

Some ONTAP commands are missing some parameters. Volume Creation command has two points, it starts with vol which I think for a more consistent approach should be volume, and also in the end again the aggregate which is not needed and will raise an error. Below is the correct command: volume create -vserver svm001 -volume vol_awssqlprod01_data -aggregate aggr1 -size 800GB -state online -tiering-policy snapshot-only -percent-snapshot-space 0 -autosize-mode grow -snapshot-policy none -security-style ntfs

The volume snapshot autodelete, it misses the -enabled true, otherwise, it wont work because the default is false. Below the correct command: volume snapshot autodelete modify -vserver svm001 -volume vol_awssqlprod01_data -delete-order oldest_first -enabled true

Lun Create and Lun Map command are missing the -vserver svm001 . The documentation assumes that only one svm exists.... Here are the commands: lun create -path /vol/vol_awssqlprod01_data/lun_awssqlprod01_data -vserver svm001 -size 700GB -ostype windows_2008 -space-reserve enabled -space-allocation enabled lun create -path /vol/vol_awssqlprod01_log/lun_awssqlprod01_log -vserver svm001 -size 100GB -ostype windows_2008 -space-reserve enabled -space-allocation enabled

and

lun map -path /vol/vol_awssqlprod01_data/lun_awssqlprod01_data -igroup igrp_awssqlprod01 -vserver svm001 lun map -path /vol/vol_awssqlprod01_log/lun_awssqlprod01_log -igroup igrp_awssqlprod01 -vserver svm001

Kind Regards PF

Public issues must not contain sensitive information

netapp-pedrof commented 11 months ago

Hi Team,

In addiction to those i have one more change:

volume modify -vserver svm001 -volume vol_awssqlprod01_data -space-mgmt-try-first vol_grow to volume modify -vserver svm001 -volume vol_awssqlprod01_data -space-mgmt-try-first volume_grow

thanks