Monthly Archives: September 2012

clustermode simsetup

http://www.wooditwork.com/2012/01/04/installing-maximising-the-netapp-ontap-8-1-simulator/

Posted in netapp | Leave a comment

clustermode remove vserver

unmount all datavols: vol unmount -vserver vs1 vol1 … stop the vserver: vserver stop vs1 offline all datavols and the rootvol: vol offline -vserver vs1 vol1 vol offline -vserver vs1 rootvol vol delete -vserver vs1 vol1 vol delete -vserver vs1 … Continue reading

Posted in netapp | Leave a comment

clustermode add vserver manually

-all specified fields are mandatory- 1. create vserver vserver create vsnew -rootvolume vsnew_root -aggr n01_agg1 -ns-switch file -rootvolume-security-style unix 2. add datavolume vol create -vserver vsnew -volume vol1 -aggr n01_aggr1 -size 500m 3. create a new exportpolicy for this vserver … Continue reading

Posted in netapp | Leave a comment

solaris 11 nfs share

Create an NFS or SMB share of a ZFS file system by using the zfs set share command. For example: # zfs create rpool/fs1 # zfs set share=name=fs1,path=/rpool/fs1,prot=nfs rpool/fs1 name=fs1,path=/rpool/fs1,prot=nfs Publish the NFS or SMB share by setting the sharenfs … Continue reading

Posted in solaris | Leave a comment

clustermode bootloader

interrupt bootsequence; enter bootloader lsdev list devices; disk0: BIOS drive A: disk1: BIOS drive B: disk1s1: FAT-16 disk1s2: FFS bad disklabel disk1s3a: FFS disk1s4a: FFS disk1s4b: FFS disk2: BIOS drive D: printenv print variables AUTOBOOT=true (output skipped) NETAPP_BACKUP_KERNEL_URL=x86_64/freebsd/image2/kernel NETAPP_PRIMARY_KERNEL_URL=x86_64/freebsd/image1/kernel (output … Continue reading

Posted in netapp | Leave a comment

clustermode cifs homedirectories

1. cifs home-directory search-path add -vserver vs2 -path /vs2vol1 cifs home-directory search-path show Vserver Position Path ———– ——– —————– vs2 1 /vs2vol1 2. Create a home directory share. cifs share create -vserver vs2 -share-name “~%w” -path “%w” -share-properties oplocks,browsable,changenotify,homedirectory cifs … Continue reading

Posted in netapp | Leave a comment

clustermode renaming a volume

vol rename -vserver vs2 -volume vol3-newname vs2vol2  

Posted in netapp | Leave a comment

clustermode cifs share

cifs share create –vserver vs2 -share-name rootdir -path / cifs share create –vserver vs2 -share-name vol1 -path /vs2vol1 cifs share show -vserver vs2 Remember that you share directories, not volume names, in the namespace. Notice that the shares admin$ and … Continue reading

Posted in netapp | Leave a comment

clustermode default namemapping where explicit fails

cifs options modify -vserver vs2 -default-unix-user pcuser cifs options show -vserver vs2 Move to diagnostic administrative mode. set diag Warning: These diagnostic commands are for use by NetApp personnel only. Do you want to continue? {y|n}: y Verify the results … Continue reading

Posted in netapp | Leave a comment

clustermode explicit name mapping between unix and windows

Configure explicit name mapping between UNIX and Windows. vserver name-mapping create –vserver vs2 -direction win-unix -position 1 –pattern netapp\\administrator -replacement root vserver name-mapping create –vserver vs2 -direction unix-win -position 1 –pattern root -replacement netapp\\administrator vserver name-mapping show Vserver Direction Position … Continue reading

Posted in netapp | Leave a comment

clustermode create unix user/group for local resolving

vserver services unix-user create -vserver vs2 \ -user pcuser -id 65534 -primary-gid 65534 vserver services unix-user create -vserver vs2 \ -user root -id 0 –primary-gid 1 vserver services unix-user create -vserver vs2 \ -user administrator -id 10 -primary-gid 0 vserver … Continue reading

Posted in netapp | Leave a comment

clustermode ntp server

ntp server create -node netappu-01 -server 192.168.211.254 (system services ntp server create) system services ntp config modify -enabled true

Posted in netapp | Leave a comment

clustermode license

JWFJEXMWZWYQSD Cluster-mode Licenses Serial Number: 1-80-000008 Service License Code Node Count Base JWFJEXMWZWYQSD 2 CIFS FAXQGXMWZWYQSD 2 SnapRestore RUUFHXMWZWYQSD 2 NFS PJQJIXMWZWYQSD 2 SnapMirror_DP BEOYIXMWZWYQSD 2 FlexClone DPSUHXMWZWYQSD 2 iSCSI NYLNJXMWZWYQSD 2 FCP LNHRKXMWZWYQSD 2

Posted in netapp | Leave a comment

solaris run service as different user

svccfg -s aap setprop start/user = astring: peter svccfg -s aap setprop start/group = astring: :default svccfg -s aap setprop start/working_directory = astring: :default svccfg -s aap setprop start/resource_pool = astring: :default svccfg -s aap setprop start/supp_groups = astring: :default … Continue reading

Posted in solaris | Leave a comment

solaris 11 exercise zfs (5) restore rootpool from remote system

ok boot cdrom -s # mount -F nfs remote-system:/rpool/snaps /mnt # zpool create -f -o  \ failmode=continue -R /a -m legacy -o cachefile=/etc/zfs/zpool.cache rpool c1t0d0s0 # cat /mnt/rpool.0311 | zfs receive -Fdu rpool # zpool set bootfs=rpool/ROOT/osolBE rpool # installboot -F … Continue reading

Posted in solaris | Leave a comment

solaris package groups

# pkg info -r *group* Display the contents of these package groups: # pkg contents -o fmri -r -t depend pkg-grouping Determine which package group is currently installed on your system: # pkg list group/system/\*

Posted in solaris | Leave a comment

solaris pkg install -> create new be and install software

pkg install –be-name <newbename> <packagename>

Posted in solaris | Leave a comment

licenses

  License Key Purpose a_sis MTVVGAF De-Dupe nearstore_option ELNRLTG cifs DZDACHD CIFS protocol cluster JQIGWWF Clustering of simulators cluster_remote N/A “Metrocluster” (cluster remote) does not work in the simulator dafs N/A Not a shipping product disk_sanitization PZKEAZL Disk sanitization http … Continue reading

Posted in netapp | Leave a comment

netapp Busy Lun

Description Basic instructions for deleting snapshots in the ‘(busy,LUN)’ state are provided in Deleting busy snapshot copies. However, these instructions sometimes fail because a more recent snapshot holds the blocks of the LUN, preventing the busy snapshot from being deleted. … Continue reading

Posted in netapp | Leave a comment

netapp autosize parameters

Volume size < 20GB trigger point is 85%   Volume size 20-100GB trigger point 90%   Volume size 100-500GB trigger point 92%   Volume size 500GB -1TB trigger point 95%   Volume size > 1TB trigger point 98%   If … Continue reading

Posted in netapp | Leave a comment