Author Archives: admin

snapvault – snapmirror 7mode and lun restore

snapvault qtree mirror snapvault and restore qtree systems gr7m1 (prod) gr7m2 (backup) kp7m1 (mir of backup) #create volumes gr7m1> vol create datavol aggr1 800m gr7m2> vol create datavol aggr1 1g kp7m1> vol create datavol aggr1 1g #grant access to secondaries … Continue reading

Posted in netapp | Leave a comment

7-mode snapvault example

1. on destination kp7m2 kp7m2> snapvault start -S gr7m1:/vol/lunvol/l3q kp7m2:/vol/lunvol/l3q 2. on source gr7m1 gr7m1> snapvault snap sched lunvol lqhr 2@0-22 3. on destination kp7m2 kp7m2> snapvault snap sched -x lunvol 1qhr 4@0-22 for every new qtree create a new … Continue reading

Posted in netapp | Leave a comment

7-mode snapmirror new source

Moving volume SnapMirror sources You can move a volume SnapMirror source volume to another source volume. Before you begin Ensure that the Data ONTAP release on the destination system is from a release family that is the same, or later … Continue reading

Posted in netapp | Leave a comment

oracle install on centos6

FRIDAY, JANUARY 6, 2012 http://eduardo-lago.blogspot.nl/2012/01/how-to-install-oracle-11g-database.html How to install Oracle 11g Database Server on CentOS 6.2 UPDATED!: Now with Oracle 11g R2. Install steps were fixed according to R2. Reference added to Creating a new Oracle 11g R2 Database on CentOS … Continue reading

Posted in oracle | Leave a comment

clustermode date and time

define ntp-server: ntp server create -node cl1-01 -server 192.168.1.16 show ntp-server: system services ntp> ntp server show (system services ntp server show) Node Server Version —— —————————— —————————————- cl1-01 192.168.1.164 3 cl1-02 192.168.1.164 3 2 entries were displayed. enable / … Continue reading

Posted in netapp | Leave a comment

clustermode iscsi and linux

On linux: yum install iscsi-initiator-utils cat /etc/iscsi/initiatorname.iscsi InitiatorName=iqn.1994-05.com.redhat:a13e796d29d7 On cluster: create a vserver vserver setup Step 1. Create a Vserver. Enter the Vserver name: vs2 Choose the Vserver data protocols to be configured {nfs, cifs, fcp, iscsi}: iscsi Choose the … Continue reading

Posted in netapp | Leave a comment

clustermode explore & health

A collection of commands to run from script on linux to give overview of cluster-configuration. Automatic login http://uadmin.nl/init/?p=674 on cluster (192.168.1.100) is desired. more /root/scripts/explore clear >/tmp/explore echo “========NETWORK INTERFACES==========”>>/tmp/explore ssh admin@192.168.1.100 net int show >>/tmp/explore echo “========VSERVERS==========”>>/tmp/explore ssh admin@192.168.1.100 … Continue reading

Posted in netapp | Leave a comment

clustermode snapmirror loadshare (1) create and delete

1. create volume 2. create 2 loadshare mirrors 3. create 1minute schedule 4. create snapmirror relations and initialize 5. delete a loadshare volume 1. vol create -volume vs1vol1 -vserver vs1 -aggr aggr1 -size 100m 2 vol create -volume vs1vol1ls1 -vserver … Continue reading

Posted in netapp | Leave a comment

clustermode unjoin simulator

If you want to unjoin a node from a 2 node vsim-cluster, you will have to give epsilon to the surviving node before you stop the other node, since there are no shared disks. If the other node is gone … Continue reading

Posted in netapp | Leave a comment

clustermode mroot destroyed

HA-PAIR. Logged into the systemshell and completely emptied mroot on both nodes. rebooted. During boot, an mroot.tgz is extracted from /tmp and the new mroot is regenerated. You will have to set a new root password (bootmenu) and diag password … Continue reading

Posted in netapp | Leave a comment

clustermode etc backup

1 HA-PAIR. On node 1: set advanced unlock diag user ( security login unlock -username diag ) set password ( security login password -username diag ) system node systemshell -node nodename (enter diag as username and the new password). Now … Continue reading

Posted in netapp | Leave a comment

clustermode rootvol backup

selectfix::> set diag Warning: These diagnostic commands are for use by NetApp personnel only. Do you want to continue? {y|n}: y selectfix::*> system configuration backup settings show -instance Backup Destination URL: – Username for Destination: – Schedule 1: 8hour Number … Continue reading

Posted in netapp | Leave a comment

clustermode volume deduplication and compression

volume efficiency on -vserver vs-nfs -volume nfsvol volume efficiency start -vserver vs-nfs -volume nfsvol volume efficiency policy show volume efficiency modify -vserver vs-nfs -volume nfsvol1 -policy effpol1 volume efficiency modify -vserver vs-nfs -volume nfsvol1 -compression true

Posted in Uncategorized | Leave a comment

clustermode vol clone

vol clone create -vserver vs-nfs -flexclone nfsvol_clone -parent-volume nfsvol1 vol clone split start -vserver vs-nfs -flexclone nfsvol_clone vol clone split show -vserver vs-nfs -flexclone nfsvol_clone  

Posted in Uncategorized | Leave a comment

clustermode qtree quota

1. vol create -vserver vs-nfs -volume nfsvol3 -aggregate aggrn1 300m 2. vol mount -vserver vs-nfs -volume nfsvol3 -junction-path /nfsvol3 3. export-policy create -vserver vs-nfs -policyname nfspol 4. export-policy rule create -vserver vs-nfs -policyname nfspol -clientmatch -rorule any -rwrule any -superuser … Continue reading

Posted in netapp | Leave a comment

clustermode iscsi

first run vserver setup (in which you create a vserver vs-iscsi an ip-address a volume (vol1) and allow iscsi prot) 1. iscsi create -vserver vs-iscsi -target-alias iscsi-tgt -status-admin up (create target and brings it up) 2. lun igroup create -vserver … Continue reading

Posted in netapp | Leave a comment

clustermode change private addresses

change clus1 on both nodes… then change clus2 on both nodes. net int modify -vserver cl1-02 -lif clus1 -home-node cl1-02 -home-port e0a -address 169.253.210.151 -netmask 255.255.0.0

Posted in netapp | Leave a comment

clustermode enable ha

storage failover show Takeover Node Partner Possible State ————– ————– ——– ————————————- cl1-01 – – Service is not licensed or configured yet. cl1-02 – – Service is not licensed or configured yet. 2 entries were displayed. cluster ha modify -configured … Continue reading

Posted in netapp | Leave a comment

clustermode tr-xxxx documents

tr4050 – two-node clusters ???? tr3978 – 32 ti 64 bit inplace tr3832 – flash cache tr4070 – FLash pools tr4037 – infinite volumes

Posted in netapp | Leave a comment

7-mode snapvault

preperations Source filer – filer1 filer1> license add pdxmqmi filer1> options snapvault.enable on filer1> options snapvault.access host=filer2 Destination filer – filer2 filer2> license add pdxmqmi filer2> options snapvault.enable on filer2> options snapvault.access host=filer1 disable snap schedule on destination volume filer2> … Continue reading

Posted in netapp | Leave a comment

netapp 7-mode autologin

filer> license add bqoeazl A nfs site license has been installed. nfs enabled filer> exportfs -io rw=10.10.0.50/24,root=10.10.0.50/24,nosuid /vol/vol0 linux# id uid=0(root) gid=0(root) groups=0(root) linux# mkdir /filer linux# mount 10.10.0.100:/vol/vol0 /filer linux# mount | grep 10.10.0.100 10.10.0.100:/vol/vol0 on /filer type nfs … Continue reading

Posted in netapp | Leave a comment

linux device info (smartctl)

smartctl -a /dev/sda smartctl 5.42 2011-10-20 r3458 [i686-linux-2.6.32-279.9.1.el6.i686] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST31000524AS Serial Number: 5VPA3V38 LU WWN Device Id: 5 000c50 … Continue reading

Posted in linux | Leave a comment

linux replace mirrored rootdisk

http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array

Posted in Uncategorized | Leave a comment

linux local repo

You have an iso file called /iso/distro.iso. 1. mkdir /software 2. mount -o loop /iso/distro.iso /software 3. vi /etc/yum.conf (add to end of file) [localrepo] name=Local Repo baseurl=file:///software enabled=1 yum install telnet

Posted in linux | Leave a comment

linux create repo from iso

Step # 1: Mount an ISO file Type the following command (replace iso file name with the actual iso file): # yum install createrepo # mkdir -p /mnt/iso/{1,2,3} # mount -o loop /path/to/centos1.iso /mnt/iso/1 Step # 2: Create a repository … Continue reading

Posted in linux | Leave a comment

linux rootmirror afterwards

1. Create VM witch 2 drives. Use drive 1 for install. It installs /boot on partition sda1 It installs VolGroup/lv_root and lv_swap on partition sda2 2. Login and partition sdb to be equal to sda Make sdb bootable: grub-install –recheck … Continue reading

Posted in linux | Leave a comment

linux mirror root

http://fy.chalmers.se/~appro/linux/HOWTO-mirror-root.html

Posted in linux | Leave a comment

linux selinux

Edit /etc/selinux/config (e.g. $sudo vi /etc/selinux/config) Find the line: SELINUX=enforcing a) If you simply want to set selinux to permissive mode – which will still warn you when something would have been denied change to SELINUX=permissive b) If you are … Continue reading

Posted in linux | Leave a comment

linux fast reset

echo 1 > /proc/sys/kernel/sysrq ;echo b > /proc/sysrq-trigger

Posted in linux | Leave a comment

linux yum

/etc/yum.conf /etc/yum.repos.d yum list yum list installed yum list available yum check-update yum update yum install yum remove yum provides ( like rpm -qf) yum grouplist (shows installed and available groups) yum groupinfo yum groupinstall yum groupupdate yum groupremove

Posted in linux | Leave a comment

linux rpm

rpm -qa (list all packages) rpm -qi (detailed package info) rpm -ql (list files in package) rpm -qf (list package in which file is) rpm -qc (list config files of package) rpm -Ufh (upgrade or install) rpm -ivh (install new … Continue reading

Posted in linux | Leave a comment

nx client

nxclient

Posted in Uncategorized | Leave a comment

linux public repo

( get install-image : http://83.117.104.47:5904/distromount/ ) http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/x86_64/

Posted in Uncategorized | Leave a comment

linux boot (grub)

Arguments passed to grub at boottime (either from grub.conf or commandline ) are stored in /proc/cmdline for example: cat /proc/cmdline ro root=/dev/mapper/vg_centos-lv_root rd_LVM_LV=vg_centos/lv_root rd_LVM_LV=vg_centos/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=129M@0M rhgb quiet

Posted in Uncategorized | Leave a comment

linux over windows

link

Posted in linux | Leave a comment

linux yum repository setup

link

Posted in Uncategorized | Leave a comment

clustermode upgrade

This takes some time… present the new image on a webserver someware. system image update -node gr-01 -package  \ http://192.168.4.160/netappsoftware/software.tgz -setdefault true netappsoftware/software.tgz current image: image1 Downloading package. This may take up to 10 minutes. 97% downloaded Download complete. Listing … Continue reading

Posted in netapp | Leave a comment

clustermode systemshell commands

spmctl, rdb_dump, kenv cl1-01% spmctl List of managed processes. (Error=0) Exec=/usr/sbin/ucoreman –log;Handle=069264cf-377e-4f06-84c2-05fc01b4ee5f;Pid=906;State=Running Exec=/usr/bin/raid_lm;Handle=0a3fbbf9-da62-4104-8e57-846977ad6a3c;Pid=1922;State=Running Exec=/sbin/schmd;Handle=1120522e-9e6f-4b75-b67d-e7a8684ec164;Pid=1658;State=Running Exec=/sbin/vifmgr -n;Handle=17bde8b6-7fbb-4157-9e70-5365ac1e6e58;Pid=1797;State=Running Exec=/usr/sbin/mhostexecd -D;Handle=2d16144e-d733-49bb-a94b-cb40de81f205;Pid=1844;State=Running Exec=/sbin/nchmd;Handle=3909a2b9-37c7-4009-bf7b-914892d4af8d;Pid=1662;State=Running Exec=/usr/sbin/time_state -l;Handle=51329b28-5a89-4e7a-8786-ae17ea355089;Pid=902;State=Running Exec=/sbin/notifyd -n;Handle=56548532-c334-4633-8cd8-77ef97682d3d;Pid=829;State=Running Exec=/sbin/bcomd;Handle=7feb285e-aba3-44fb-8f3b-daadb7e702b9;Pid=1801;State=Running Exec=/usr/sbin/httpdmgr;Handle=86fadb47-8fcd-47c4-bf16-98dc7d10e416;Pid=1621;State=Running Exec=/sbin/coresegd -m;Handle=99e1bb86-fce4-413e-b66b-21348215d253;Pid=1683;State=Running Exec=/sbin/shmd;Handle=a534ba91-c0d1-44a6-b061-e280ba8b62e5;Pid=1654;State=Running Exec=/sbin/mntsvc -n;Handle=a71c0340-e8e1-4bab-a7f6-25ae97d4da5b;Pid=1816;State=Running Exec=/sbin/ndmpd;Handle=c0c9ac97-8eb1-4d8b-a1c9-15546c4b464d;Pid=1645;State=Running Exec=/sbin/cmd;Handle=c2b7cc49-d650-4cfe-b167-95c946ca0abb;Pid=1803;State=Running Exec=/sbin/mgwd -z;Handle=c6b932ea-acc2-46f4-a8e7-83774fb03d99;Pid=939;State=Running Exec=/usr/sbin/named -f -c /tmp/named.conf -S 1024;Handle=ccb0609e-d26e-40a9-9e40-15569206ae3a;Pid=1789;State=Running … Continue reading

Posted in netapp | Leave a comment

clustermode snapmirror loadshare (4) promote

create the new volume cl1::vserver*> volume create -vserver vs2 -volume root_ls1 -aggregate aggr_data -size 30m -type DP create the relationship cl1::*> snapmirror create -source-path cl1://vs2/root_ls -destination-path cl1://vs2/root_ls1 -type LS -tries 8 -schedule 5min initialize the relationship cl1::*> snapmirror initialize-ls-set -source-path … Continue reading

Posted in netapp | Leave a comment

clustermode restore snapshot

cl1::vserver*> vol snapshot restore -vserver nfs1 -volume vol1 -snapshot hourly.2012-12-12_1505

Posted in netapp | Leave a comment

clustermode pnfs and referrals

https://communities.netapp.com/servlet/JiveServlet/previewBody/16613-102-1-31166/TR-4063_%20Parallel%20Network%20File%20System%20Configuration%20and%20Best%20Practices%20for%20Data%20ONTAP%208_1%20Cluster-Modes,%20MAY%2012.pdf

Posted in netapp | Leave a comment

clustermode kerberos

http://www.netapp.com/templates/mediaView?m=tr-4073.pdf&cc=us&wid=153962935&mid=75965025

Posted in netapp | Leave a comment

clustermode command reference

http://people.teamix.net/~bu/81ClusterModeCLReference/CLI-Commands-NetApp-81-Cluster-Mode.pdf

Posted in netapp | Leave a comment

kickstart pxe etcetera oracle linux

http://docs.oracle.com/cd/E20815_01/html/E20821/gisti.html

Posted in linux | Leave a comment

linux containers and btrfs

https://blogs.oracle.com/wim/entry/containers_on_linux

Posted in linux | Leave a comment

linux rescan scsi-bus

echo “- – -” > /sys/class/scsi_host/host#/scan fdisk -l tail -f /var/log/message (where host# may be host0 host1 host2 )

Posted in linux | Leave a comment

linux vnc server

Configuring VNC Server on Linux init (Original Method) systemd (New Method) VNC Clients init (Original Method) The init method works for RHEL and it’s clones (Oracle Linux and CentOS) up to and including RHEL6. It also works for Fedora up … Continue reading

Posted in linux | Leave a comment

WAFL Max dirsize

Never increase maxdirsize beyond 3% of physical memory.A volume with 30.72MB maxdirsize can hold up to 416808 CIFS files or 1,006,632 NFS files. Calc below: Memory * max files per wafl_dir_block / conversion = # of files 31457.28KB * 128 … Continue reading

Posted in netapp | Leave a comment

7-mode snapmirror

1. license snapmirror on both nodes 2. create source and destination volumes e.g. sourcevol destvol 3. grant access to destination node node1> options snapmirror.access host=node2 4. restrict destinationvolume node2> vol restrict destvol node2> snapmirror initialize -S node1:sourcevol destvol node2> snapmirror … Continue reading

Posted in netapp | Leave a comment

FCoE netapp example

http://www.techshifter.com/2011/10/21/cisco-ucs-nexus-netapp-fcoe-end-to-end-config-part-1/

Posted in netapp | Leave a comment

clustermode status-admin up

net int modify -vserver centos -lif cluster_mgmt -home-node centos-01 -home-port e0c -address 192.168.1.100 -netmask 255.255.255.0 -routing-group c192.168.1.0/24 -status-admin up

Posted in netapp | Leave a comment

Solaris Cluster 3.x Quorum issue article

Article Listing 1 oct2006.tar Sun Cluster 3.x Quorum Issue Peter van der Weerd Clustering software usually consists of a collection of scripts and binaries that unconfigure an interface, bring down an application, unmount some file systems, give away a group … Continue reading

Posted in solaris | Leave a comment

linux cpp system

#include <iostream> #include <stdlib.h> int main() { system(“reboot”); }

Posted in Uncategorized | Leave a comment

cdot peer relationship

1. Two clusters: centos and mac 2. Port to be used is dataport e0c 3. Ip-addresses for lifs 192.168.1.130 (mac cluster) 192.168.1.135 (centos cluster) centos::> net int create -vserver centos-01 -lif ic1 -role intercluster -home-node centos-01 -home-port e0c -address 192.168.1.135 … Continue reading

Posted in netapp | Leave a comment

netapp wafliron wafl_check

Overview of WAFL_check   KB ID: 3011934 Version: 4.0 Published date: 09/14/2011 Categories: Administration, NearStore, Data ONTAP 7G Answer This KB will discuss the following aspects of WAFL_check: What is WAFL_check? What is the difference between WAFL_check and wafliron? What should be done prior to … Continue reading

Posted in netapp | Leave a comment

clustermode dns load balance

KB ID: 1012400 Version: 3.0 Published date: 02/14/2012  Categories: Setup Configuration, Data ONTAP 8.0.x Cluster-Mode Description This document explains how to set up DNS Zone load balancing on a pair of storage controller LIFs. This is different than external DNS Load Balancing. This balancing … Continue reading

Posted in netapp | Leave a comment

cdot intercluster snapmirror (1)

1. what you need: two clusters e.g. cl1 and cl2 two free ports per node. (the ports should not contain lifs) net port  show net int  show select 2 ports per node and write them down. for both clusters. e.g … 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

solaris 10 list locked files

  echo ‘::walk lock_graph | ::print \ lock_descriptor_t l_vnode | ::vnode2path’ \ | mdb -k | sort -u

Posted in solaris | Leave a comment

missing menu.lst

If /boot/grub/menu.lst is missing, booting solaris will fail. The system will go to stage2 and be in grub. grub> grub>findroot (rootfs0,0,a) grub>kernel /platform/i86pc/multiboot grub>module /platform/i86pc/boot_archive grub>boot

Posted in solaris | Leave a comment

clustermode switches

You need two cluster network switches and two management network switches for a Cluster-Mode configuration. The following cluster network switches are supported: • Cisco NX5010 You can install the Cisco NX5010 switch in a NetApp system cabinet with the custom … Continue reading

Posted in netapp | Leave a comment

clustermode best practice

access the clustershell via the clustermanagement lifto use element manager: webbased-connect to cluster *either node or clusterlif* 

Posted in netapp | Leave a comment

clustermode striped volumes

New customers will not be able to run striped volumes (neither coral nor acro) coral -> one metadatavolume acro -> metainformation is spread accross all parts of the volume.

Posted in netapp | Leave a comment

clustermode pdfs

http://static.usenix.org/event/fast07/tech/full_papers/eisler/eisler.pdf http://media.netapp.com/documents/tr-3964.pdf

Posted in netapp | Leave a comment

clustermode loadsharing writes

writing to a volume that is an ls-volume will fail if the rootvolume is mounted as / writing to a volume that is an ls-volume will succeed (to the N-blade that houses the rw-data-vol) if the rootvolume is mounted as … Continue reading

Posted in netapp | Leave a comment

clustermode backup

backup daily and hourly backups created by schedule in /mroot/etc/backups/ create/show/upload/download/rename/copy/settings can be uploaded via http or ftp

Posted in netapp | Leave a comment

clustermode spm

set -privilege diag spm show

Posted in netapp | Leave a comment

clustermode logs

/var/log (after vol0 is available)systemshell /mroot/etc/log   set diag debug log show debug log view event log show needs work……

Posted in netapp | Leave a comment

clustermode schedules

Any schedule can be used by any Vserver. job schedule show 5min cron @:00,:05,:10,:15,:20,:25,:30,:35,:40,:45,:50,:55 8hour cron @2:15,10:15,18:15 RepositoryBalanceMonitorJobSchedule interval Every 1h avUpdateSchedule cron @2:00 daily cron @0:10 hourly cron @:05 weekly cron Sun@0:15 volume snapshot policy show default 3 true … Continue reading

Posted in netapp | Leave a comment

clustermode boot (clustermode or 7mode)

CFE> printenv CFE> setenv bootarg.init.boot_clustered false CFE> setenv bootarg.init.boot_clustered true

Posted in netapp | Leave a comment

clustermode users ndmp

security login show (shows users per vserver username application authmethod role name acct-locked)   security login role show (shows roles per vserver rolename commanddirectory access-level)   step by step: (on a per node basis) security login role create -role ndmp … Continue reading

Posted in netapp | Leave a comment

clustermode dr

there is NO SNAPVAULT! NO qtree snapmirror and NO synchronous Snapmirror   snapmirror for load sharing or dataprotection are done via the cluster-network volume snapshot promote snapmirror restore OR snapmirror promote   there still is a snapmirror break command.   … Continue reading

Posted in netapp | Leave a comment

clustermode ndmp

ndmpcopy cannot be run from nodeshell or clustershell. you need a third player to run ndmp from. Netapp also says you should not backup seperate Vservers! ndmpclient only sees the node, not the Vserver.   Backing up data on a … Continue reading

Posted in netapp | Leave a comment

clustermode snapdrive

In clustermode you need a management lif next to the datalifs for the iSCSI protocol on a per vserver basis. The management lif needs a user to allow snapdrive to manage your luns. My clustername : cluster My Vservername : … Continue reading

Posted in netapp | Leave a comment

clustermode iscsi (2)

1. create vserver vserver create -vserver vsi1 -rootvolume vsi1_root -aggregate aggr1 -ns-switch file -nm-switch file -rootvolume-security-style ntfs   2. enable iscsi protocol vserver iscsi create -vserver vsi1 -target-alias vsi1-status up   3. vserver iscsi show   4. * network interface … Continue reading

Posted in netapp | Leave a comment

clustermode iscsi (1)

1. create vserver vserver create -vserver vsi1-rootvolume vsi1_root -aggregate aggr1 -ns-switch file -nm-switch file -rootvolume-security-style ntfs 2. enable iscsi protocole vserver iscsi create -vserver vsi1-target-alias vsi1-status up 3. vserver iscsi show 4. network interface create -vserver vsi1 ilif1 -role data-protocol … Continue reading

Posted in netapp | Leave a comment

clustermode note!

allowed protocols on lifs: cannot mix nas and san igroups : iscsi and fcp for 1 igroup

Posted in netapp | Leave a comment

clustermode automatic login

https://kb.netapp.com/support/index?page=content&id=1012542 ===== Create a file to be used as the authorized keys file on the cluster. In the example below, ssh-keygen is used on a Linux box: monitor@bjacobs-lnx:/$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa Enter passphrase (empty for no passphrase): … Continue reading

Posted in netapp | Leave a comment

clustermode usermapping

vserver name-mapping create -vserver v2 -direction win-unix -position 1 -pattern netapp.local\\\\administrator -replacement root vserver name-mapping create -vserver v2 -direction unix-win -position 1 -pattern root -replacement netapp.local\\\\administrator vserver name-mapping show set diag diag secd name-mapping show -node cl1-01 -vserver v2 -direction … Continue reading

Posted in netapp | Leave a comment

clustermode unix user

vserver services unix-user create -vserver vs2 -user pcuser -d 65534 -primary-gid 65534 (also root 0 1) (also administrator 10 0) vserver services unix-user show -vserver vs2 vserver services unix-group create -vserver vs2 -name root 0 (also daemon 1) vserver services … Continue reading

Posted in netapp | Leave a comment

clustermode ping

network ping -node cl1-01 10.10.0.10

Posted in netapp | Leave a comment

clustermode cifs server

vserver create -vserver win5 -rootvolume root -aggregate gr02_aggr1 -ns-switch file -nm-switch file -rootvolume-security-style unix -language C net int create -vserver win5 -lif lif1 -role data -data-protocol nfs,cifs,fcache -home-node gr-01 -home-port e0c -address 192.168.4.34 -netmask 255.255.255.0 -status-admin up vserver services dns … Continue reading

Posted in netapp | Leave a comment

clustermode ntp server manually

ntp server create -node cl1-01 -server 10.10.0.10 ntp server create -node cl1-02 -server 10.10.0.10 ntp config modify -enabled false date mmddhhmm    

Posted in netapp | Leave a comment

clustermode vserver create

vserver setup   1. name 2. protocol configured (nfs/cifs/iscsi/fcp) 3. nameservice (ldap/nis/dns) 4. aggregate for rootvolume 5. volume language *rootvolume is created* 6. create datavolume? [yes] 7. volume name 8. aggregate for datavol 9. size 10. junctionpath *if path is … Continue reading

Posted in netapp | Leave a comment

cdot network roles

roles: cluster (important) data (important) node-mgmt cluster-mgmt intercluster (snapmirror to other cluster (future)) command : net int show net int create  

Posted in netapp | Leave a comment

clustermode network

cluster-interconnect network management network data network management and data may be combined on same ports

Posted in netapp | Leave a comment

clustermode blade

N-blade – nfs/cifs spinNP   SCSI-blade – FC/SCSI spinNP ============== CSM communication mechanism between top blades and D-blade reliable transport for SpinNP over UDP/IP used locally as well as remotely ============== D-blade handles writes to wafl speaks SpinNP speaks FC … Continue reading

Posted in netapp | Leave a comment

clustermode rdb

repicated database = ring of atomically updated database of which one node is the master. rdb communication is like the heartbeat.   rdb units: bcom (block configuration and operations manager : vldb ( volume location database) : vifmgr : management … Continue reading

Posted in netapp | Leave a comment

clustermode put node in maintenance mode (offline)

To take a node out of the cluster for a longer time. run: system node modify -node <node> -eligibility false

Posted in netapp | Leave a comment

clustermode create vserver

vserver create -vserver vs5 -rootvolume vs5_root -aggregat aggr1 \ -ns-switch file -rootvolume-security-style unix   network interface create -vserver vs5 -lif data1 -role data \ -home-node cl1-u01 -home-port e0c -address 10.10.0.67 \ -netmask 255.255.255.0   vol create -vserver vs5 -volume nas … Continue reading

Posted in netapp | Leave a comment

clustermode nfs

vserver create -vserver vs5 -rootvolume vs5_root -rootvolume-security-style unix \\ -aggregate aggr1 -ns-switch file   vol create -volume vs5_nas -aggregate aggr1 -size 100m -security-style unix \\ -junction-path /nfs5vol -vserver vs5   net int create -vserver vs5 -lif vs5nas -role data -data-protocol … Continue reading

Posted in netapp | Leave a comment

clustermode offline vserver

Offlining vserver:   vol offline -vserver vs4 -volume vs4_root vol delete -vserver vs4 -volume vs4_root

Posted in netapp | Leave a comment

clustermode disk ownership

. Get disk info and change owner storage disk show storage disk modify -disk v4.23 -owner cl1-01 storage disk zerospares   2. Create aggregate storage aggregate create -aggregate aggr3 8 (aggr names must be unique in the cluster) storage aggregate … Continue reading

Posted in netapp | Leave a comment

clustermode vserver

Vserver setup (enter vservername) : vs3-lun (enter protocol) : iscsi (enter ns) : dns (enter aggr) : aggr1 This creates a rootvol of 20m.   (enter datavol to create) : vs3_lun_vol (enter aggr for this vol) : aggr1 (enter size … Continue reading

Posted in netapp | Leave a comment

clustermode privileges

Change privilege level set -privilege advanced set admin   1. Get to the node shell system node run -node cl1-01   2. Get to the system shell set advanced security login unlock -username diag security login password -username diag ***** … Continue reading

Posted in netapp | Leave a comment

solaris ssh slow login

in sshd_config add LookupClientHostnames no VerifyReverseMapping no GSSAPIAuthentication no on cli run # cryptoadm disable provider=/usr/lib/security/\$ISA/pkcs11_tpm.so mechanism=all # cryptoadm uninstall provider=/usr/lib/security/\$ISA/pkcs11_tpm.so

Posted in solaris | Leave a comment

solaris network admin training

# ipadm show-if # ipadm show-addr # ipadm create-ip net3 # ipadm create-addr -T static -a 192.168.0.203/24 net3/v4 # ipadm down-addr net3/v4 # ipadm up-addr net3/v4 # ipadm delete-addr net3/v4 # ipadm delete-ip net3 —– IPMP daemon: in.mpathd IPMP service: svc:/network/ipmp Configuration file: /etc/default/mpathd IPMP display … Continue reading

Posted in Uncategorized | Leave a comment

http-equiv

<html> <head> <meta http-equiv=”Refresh” content=”0; url=http://uadmin.nl/init” /> </head> </html>

Posted in Uncategorized | Leave a comment

vmrun

Command Line Application VMware Workstation includes a separate application, vmrun, for operating teams or virtual machines from the command line. VMware Workstation includes a separate application, vmrun, for operating teams or virtual machines from the command line. To launch the vmrun application, … Continue reading

Posted in Virtualization | Leave a comment

dmidecode

lists all your hardware…how much memory do I physically recognize? (CENTOS) dmidecode -t processor # dmidecode 2.11 SMBIOS 2.7 present. Handle 0x0004, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 1 Type: Central Processor Family: Core i5 Manufacturer: … Continue reading

Posted in linux | Leave a comment