Category Archives: Uncategorized

cdot 8.3 networking diagram

cdot networking 8.3

Posted in Uncategorized | Leave a comment

cdot metrocluster switchback

metrocluster heal -phase aggregates metrocluster heal -phase root-aggregates metrocluster switchback

Posted in Uncategorized | Leave a comment

vaai

vaai for netapp

Posted in Uncategorized | Leave a comment

cdot 8.3.1 licenses

CLUSTERED SIMULATE ONTAP LICENSES +++++++++++++++++++++++++++++++++ These are the licenses that you use with the clustered Data ONTAP version of Simulate ONTAP to enable Data ONTAP features. There are four groups of licenses in this file: – cluster base license – … Continue reading

Posted in Uncategorized | Leave a comment

Cdot Advanced Drive Partitioning how to disable

In order to disable auto-partitioning (ADP), perform the following bootargs at the LOADER prompt before initial setup: 1. Run the following command to disable HDD auto-partitioning: setenv root-uses-shared-disks? false 2. Run the following command to disable SSD storage pool partitioning: … Continue reading

Posted in Uncategorized | Leave a comment

Restoring a vm from a Netapp Snapmirror (DP/XDP) destination

2015 peter van der weerd Restoring a vm from a Netapp Snapmirror (DP/XDP) destination. 1. List the available snapshots on mirrordestination. cl1::> cl1::> snap show -vserver nfs1 -volume linvolmir —Blocks— Vserver Volume Snapshot State Size Total% Used% ——– ——- ——————————- … Continue reading

Posted in Uncategorized | Leave a comment

cdot snmp

original link Enabling SNMP, API access on NetApp cluster mode SVMs In order to get complete monitoring of, and be able delegate access to, Storage Virtual Machines on NetApp Cluster mode, it is necessary to add the SVMs as separate … Continue reading

Posted in Uncategorized | Leave a comment

cdot read logfiles using a browser

cl1::*> security login create -username log -application http -authmethod password Please enter a password for user ‘log’: Please enter it again: cl1::*> vserver service web modify -vserver * -name spi -enabled true Warning: The service ‘spi’ depends on: ontapi. Enabling … Continue reading

Posted in Uncategorized | Leave a comment

cdot setup events

#setup smtpserver and sender, smtpserver should be reachable. event config modify -mailserver smtp.online.nl -mailfrom petervanderweerd@gmail.com #check your settings event config show Mail From: petervanderweerd@gmail.com Mail Server: smtp.online.nl #create destination for critical messages. the recipient will receive #everything sent to the … Continue reading

Posted in Uncategorized | Leave a comment

cdot autosupport test

cluster1::> system node autosupport invoke -type test -node node1

Posted in Uncategorized | Leave a comment

Flexpod UCS

UCS

Posted in Uncategorized | Leave a comment

cdot convert snapmirror to snapvault

Steps Break the data protection mirror relationship by using the snapmirror break command. The relationship is broken and the disaster protection volume becomes a read-write volume. Delete the existing data protection mirror relationship, if one exists, by using the snapmirror … Continue reading

Posted in Uncategorized | Leave a comment

cdot mhost troubleshoot

1. go to the systemshell set diag systemshell -node cl1-01 2. unmount mroot cd /etc ./netapp_mroot_unmount logout 3. run cluster show a couple of times and see that health is false cluster show 4. run cluster ring show to see … Continue reading

Posted in Uncategorized | Leave a comment

cdot lif troubleshoot

1. create a lif net int create -vserver nfs1 -lif tester -role data -data-protocol cifs,nfs,fcache -home-node cl1-01 -home-port e0c -address 1.1.1.1 -netmask 255.0.0.0 -status-admin up 2. go to diag mode set diag 3. view the owner of the new lif … Continue reading

Posted in Uncategorized | Leave a comment

CDOT 8.3 release notes

http://mysupport.netapp.com/documentation/docweb/index.html?productID=61898

Posted in Uncategorized | Leave a comment

openstack compute node on centos7

yum install -y https://rdo.fedorapeople.org/rdo-release.rpm

Posted in Uncategorized | Leave a comment

openstack storagebackends

storage backends

Posted in Uncategorized | Leave a comment

openstack lvm and cinder

If you do not specify a volume group, cinder will create his own volume group called cinder-volumes and use loopback devices for physical volumes. If you do create and specify a volume group, you should specify the volume group to … Continue reading

Posted in Uncategorized | Leave a comment

CDOT 8.3 statistics catalog example

statistics catalog instance show -object lif statistics catalog instance show -object volume statistics catalog counter show -object lif statistics catalog counter show -object volume statistics start -object lif -counter recv_data statistics stop statistics show -object lif

Posted in Uncategorized | Leave a comment

CDOT 8.3 initiator ip in session

To view the ip-addresses in an iSCSI session: cdot83::qos> iscsi session show -vserver iscsi -t Vserver: iscsi Target Portal Group: o9oi Target Session ID: 2 Connection ID: 1 Connection State: Full_Feature_Phase Connection Has session: true Logical interface: o9oi Target Portal … Continue reading

Posted in Uncategorized | Leave a comment

CDOT 8.3 selective lunmapping

Selective lun mapping is a new iscsi feature in cdot 8.3. Selective lun mapping results in that only the two nodes in the HA-pair that hosts the LUN map the lun as ‘reporting-nodes’. This is to reduce the number of … Continue reading

Posted in Uncategorized | Leave a comment

openstack on centos 7

quickstqrt 1. change selinux to permissive setenforce 0 2. run systemctl stop NetworkManager systemctl disable NetworkManager systemctl enable network sudo yum update -y sudo yum install -y https://rdo.fedorapeople.org/rdo-release.rpm sudo yum install -y openstack-packstack packstack –allinone

Posted in Uncategorized | Leave a comment

cdot 8.3 licenses

CLUSTERED SIMULATE ONTAP LICENSES +++++++++++++++++++++++++++++++++ These are the licenses that you use with the clustered Data ONTAP version of Simulate ONTAP to enable Data ONTAP features. There are four groups of licenses in this file: – cluster base license – … Continue reading

Posted in Uncategorized | Leave a comment

openstack restart all

To restart all openstack services: # for svc in api cert compute conductor network scheduler; do service openstack-nova-$svc restart done Redirecting to /bin/systemctl restart openstack-nova-api.service Redirecting to /bin/systemctl restart openstack-nova-cert.service Redirecting to /bin/systemctl restart openstack-nova-compute.service Redirecting to /bin/systemctl restart openstack-nova-conductor.service … Continue reading

Posted in Uncategorized | Leave a comment

ZFS shadow migration exercise

Setting up shadow migration. Solaris 10 has ip-address 192.168.4.159 ZFS appliance has ip-address 192.168.4.220 1. On Solaris10. Create a directory called /mnt/data and put some files in it. # mkdir /mnt/data # cd /mnt/data # cp /var/log/* . Share /mnt/data … Continue reading

Posted in Uncategorized | Leave a comment

ZFS replication_exercise

Controller ZFS1 192.168.4.220 project zfs1_proj is replicated to Controller ZFS2 192.168.4.230. Controller ZFS1 zfs1_proj has share zfs1_proj_fs1 that is mounted by solaris 10 to mountpoint /mnt/fs1 On ZFS1 * create project zfs1_proj and filesystem zfs1_proj_fs1 * * make sure the … Continue reading

Posted in Uncategorized | Leave a comment

ZFS solaris 10 iscsi initiator exercise

On Solaris 1. Determine whether the required software is installed. -bash-3.2# pkginfo |grep iscsi system SUNWiscsir Sun iSCSI Device Driver (root) system SUNWiscsitgtr Sun iSCSI Target (Root) system SUNWiscsitgtu Sun iSCSI Target (Usr) system SUNWiscsiu Sun iSCSI Management Utilities (usr) … Continue reading

Posted in Uncategorized | Leave a comment

solaris 10 initiator

# svcadm enable iscsi_initiator # iscsiadm add discovery-address 192.168.248.213:3260 # iscsiadm modify discovery –sendtargets enable # devfsadm -i iscsi

Posted in Uncategorized | Leave a comment

7000 iscsi

On 7000 cli: configuration san iscsi targets create set alias=a1 set interfaces=e1000g0 commit On linux: cat /etc/iscsi/initiatorname.iscsi InitiatorName=iqn.1994-05.com.redhat:3add18fcc55c On 7000 cli: configuration san iscsi initiators create set alias=lin1 set initiator=InitiatorName=iqn.1994-05.com.redhat:3add18fcc55c On 7000 cli: shares select default lun lin1 set volsize=1g … Continue reading

Posted in Uncategorized | Leave a comment

linux btrfs

http://www.funtoo.org/BTRFS_Fun funtoo linux Go Actions Tools Account BTRFS Fun Support Funtoo and help us grow! Donate $15 per month and get a free SSD-based Funtoo Virtual Container. 5 spots left. Important BTRFS is still experimental even with latest Linux kernels … Continue reading

Posted in Uncategorized | Leave a comment

linux ifcfg keywords

/usr/share/doc/initscripts*/sysconfig.txt 11.1 About Network Interfaces Prev Chapter 11 Network Configuration Next 11.1 About Network Interfaces Each physical and virtual network device on an Oracle Linux system has an associated configuration file named ifcfg-interface in the /etc/sysconfig/network-scripts directory, where interface is … Continue reading

Posted in Uncategorized | Leave a comment

cdot vifproblems

You may have a situation where an interface is configured in the RDB (VifMgr) but no longer present in the local userinterface. 1. create a new interface 2. delete the userinterface entry 3. try to create it again (fails because … Continue reading

Posted in Uncategorized | Leave a comment

Mac Locale warnings after OS update

vi $HOME/.ssh/config SendEnv LANG LC_*

Posted in Uncategorized | Leave a comment

netapp 7-mode lun usage -s and lun clone dependency

create a lun and create a busy lun situation. by default snapshot_clone_dependency is switched to off If you switch it to on before the below actions then you can delete a snapshot even if there are more recent snapshots having … Continue reading

Posted in Uncategorized | Leave a comment

netapp 7-mode snapvault restore files from backuplun

1. filer1 is primary filer and has aggr aggr1. 2. filer2 is secondary filer and has aggr aggr1. 3. windows is connected with iSCSI to filer1 and filer2 the igroup on both filers is called wingroup. 4. create a sourcevolume,qtree,lun … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 zfs ARC

1. The Adaptive Replacement Cache An ordered list of recently used resource entries; most recently used at the top and least recently used at the bottom. Entries used for a second time are placed at the top of the list … Continue reading

Posted in Uncategorized | Leave a comment

Performance seconds

cpu regs 300ns SSL 25us 250us Disk 5 ms – 20ms Optical 100ms nanosecond to second is as second to 31.710 years microsecond to second is as second to 11.574 days

Posted in Uncategorized | Leave a comment

Solaris remove empty lines in vi

:v/./d

Posted in Uncategorized | Leave a comment

netapp sim upgrade

By Ron Havenaar/Dirk Oogjen This is how it works with a new simulator: 1. Download the NetApp CDOT 8.2.1 simulator from support.netapp.com 2. Unzip it to a directory of choice. 3. From that directory, import the DataONTAP.vmx file in VMware. … Continue reading

Posted in Uncategorized | Leave a comment

clustermode temproot

1. Bootmenu 2. create_temp_root tempvol disk1

Posted in Uncategorized | Leave a comment

clustermode dns loadbalancing

Setup DNS loadbalancing clustermode. The lifs belonging to the same dns-zone should be in the same vserver. The vserver is in fact the dns-zone. 1. Create vserver vserver create nfs -rootvolume rootvol -aggregate aggr1_n2 -ns-switch file -nm-switch file -rootvolume-security-style unix … Continue reading

Posted in Uncategorized | Leave a comment

clustermode upgrade

1. put image.tgz on webserver. clustershell: system image update -node <nodename> http://<webserver>/image.tgz or 2. put image.tgz in /mroot/pkg/ clustershell: system image update -node file:///mroot/pkg/image.tgz

Posted in Uncategorized | Leave a comment

solaris 10 nocacheflush

Solaris 10 Set Dynamically (using the debugger): echo zfs_nocacheflush/W0t1 | mdb -kw Revert to Default: echo zfs_nocacheflush/W0t0 | mdb -kw Set the following parameter in the /etc/system file: set zfs:zfs_nocacheflush = 1

Posted in Uncategorized | Leave a comment

7-mode upgrade 32bit to 64bit

filer1> priv set diag filer1*> aggr 64bit-upgrade start aggr4 -mode grow-all

Posted in Uncategorized | Leave a comment

solaris 11 who uses which port.

# mkdir /scripts # vi /scripts/ports #!/bin/ksh line=’———————————————‘ pids=$(/usr/bin/ps -ef | sed 1d | awk ‘{print $2}’) if [ $# -eq 0 ]; then read ans?”Enter port you would like to know pid for: ” else ans=$1 fi for f … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 custom zone install

Adding Additional Packages in a Zone by Using a Custom AI Manifest The process of adding extra software in a zone at installation can be automated by revising the AI manifest. The specified packages and the packages on which they … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 zonereplication and start

Migrate the zone to other machine using replication. example: zonename azone; zonepath root zones/azone # zfs snapshot -r zones/azone@0 # zfs send -R zones/azone@0 | ssh root@othermachine zfs receive zones/azone Run script on other machine #./script zones/azone/rpool ————————————– #!/bin/bash zfsfs=$1 … Continue reading

Posted in Uncategorized | Leave a comment

netapp 7-mode linux iscsi

Steps: 1. on filer create a volume (lunvol1) 2. on filer create a lun in the volume (lunlin) 3. on linux install the iscsi-initiator-utils 4. on linux determine initiatorname 5. on filer create igroup with linux iqn (lingroup) 6. on … Continue reading

Posted in Uncategorized | Leave a comment

clustermode domain-tunnel

To have the administrator of the AD domain login to the administration vserver and manage the cluster, create a domain-tunnel. The name of the admin-vserver: cl1 security login create -vserver cl1 -username netapp\administrator -application ssh -authmethod domain -role admin create … Continue reading

Posted in netapp, Uncategorized | Leave a comment

clustermode networkdiagram

Posted in Uncategorized | Leave a comment

solaris 11 zones repository IPS

ips timfoster ips

Posted in Uncategorized | Leave a comment

solaris 11 zfs recordsize

oracle blog

Posted in solaris, Uncategorized | Leave a comment

clustermode ports failovergroups interfaces roles firewall-policy

show image

Posted in Uncategorized | Leave a comment

ceph

ceph

Posted in Uncategorized | Leave a comment

clustermode switch to switchless

view pdf

Posted in netapp, Uncategorized | Leave a comment

solaris 11 exercise ips (1)

1. Log in to your machine. ssh user1@192.168.4.151 switch to root # sudo bash Password: e1car0 2. Your machine has the Full Repository iso mounted. # df -h | grep media /dev/dsk/c3t0d0s2 6.8G 6.8G 0K 100% /media/SOL_11_1_REPO_FULL Check the available … Continue reading

Posted in solaris, Uncategorized | Leave a comment

Windows MPIO iscsi

mpio

Posted in Uncategorized | Leave a comment

netapp 7-mode upgrade simulator (exercise)

This is just an exercise for installing a second image on your simulator and boot from it. First the existing image is tarred and zipped and put on the root volume. Then the update is done and after that you … Continue reading

Posted in Uncategorized | Leave a comment

cdot exercises

1. Your cluster has 2 cluster-interfaces per node. Find an available network port per node and add a third cluster-interface on each node to increase the bandwidth on the cluster-network. example 2. Create a new user (user1) in a vserver … Continue reading

Posted in Uncategorized | Leave a comment

clustermode 8.2.1 qtree export

Support for qtree nfs-exports. A new qtree volume qtree create -vserver vserver_name -qtree-path /vol/volume_name/qtree_name -export-policy export_policy_name An existing qtree volume qtree modify -vserver vserver_name -qtree-path /vol/volume_name/qtree_name -export-policy export_policy_name

Posted in Uncategorized | Leave a comment

mysql phpmyadmin install

phpmyadmin_installation Step #1: Turn on EPEL repo phpMyAdmin is not included in default RHEL / CentOS repo. So turn on EPEL repo as described here: $ cd /tmp $ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm Step #2: Install phpMyAdmin on … Continue reading

Posted in Uncategorized | Leave a comment

mysql reset lost rootpassword

source: reset lost rootpassword # /etc/init.d/mysql stop Output: Stopping MySQL database server: mysqld. Step # 2: Start to MySQL server w/o password: # mysqld_safe –skip-grant-tables & Output: [1] 5988 Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[6025]: started Step # … Continue reading

Posted in Uncategorized | Leave a comment

clustermode nice documents

documents

Posted in Uncategorized | Leave a comment

clustermode get rid of snap because of smaller disks in vm environment

system node run -node cluster1–01 vol options vol0 nosnap on system node run -node cluster1–02 vol options vol0 nosnap on cluster1::> system node run -node cluster1–01 snap reserve vol0 0 cluster1::> system node run -node cluster1–02 snap reserve vol0 0

Posted in Uncategorized | Leave a comment

netapp 7-mode licenses 8.2

7-Mode Data ONTAP Feature Licenses ================================== Licenses for the ESX build (Serial Number 4079432752) —————————————————– Use these licenses with the VMware ESX build. Feature License Code Description ——————- —————————- ——————————————– CIFS WMNZAUTQACAAAAXAGAAAAAAAAAAA CIFS protocol FCP UBJDCUTQACAAAAXAGAAAAAAAAAAA Fibre Channel Protocol FlexClone … Continue reading

Posted in Uncategorized | 1 Comment

netapp 7-mode systemshell

7-mode systemshell

Posted in Uncategorized | Leave a comment

solaris11 distro_const

distribution constructor pfexec pkg install SUNWdistro-const mkdir -p /ips/manifests cp /usr/share/distro_const/dc_text_x86.xml /ips/manifests/ distro_const build /ips/manifests/dc_text_x86.xml

Posted in Uncategorized | Leave a comment

testje

ssh hello

Posted in Uncategorized | Leave a comment

solaris11 ai_installer non_global zones

installing non-global zones with ai

Posted in solaris, Uncategorized | Leave a comment

solaris 11 exercise smf (3) system identity

# svccfg –s svc:/system/identity:node setprop config/nodename = “myhost” # svcadm refresh svc:/system/identity:node # svcadm restart svc:/system/identity:node Configuring console keyboard layout: # svccfg –s keymap:default setprop keymap/layout = UK-English # svcadm refresh keymap # svcadm restart keymap Configuring system locale: # … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 exercise zfs (2) and intentlog (zil)

sync=standard This is the default option. Synchronous file system transactions (fsync, O_DSYNC, O_SYNC, etc) are written out (to the intent log) and then secondly all devices written are flushed to ensure the data is stable (not cached by device controllers). … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 exercise zfs (6) encryption

example with key zfs create -o encryption=on rpool/cryptfs Enter passphrase for ‘rpool/cryptfs’: Enter again: zfs snapshot rpool/cryptfs@snap1 zfs clone rpool/cryptfs@snap1 rpool/cryptclone Enter passphrase for ‘rpool/cryptclone’: Enter again: example with keyfile # pktool genkey keystore=pkcs11 keytype=aes keylen=128 label=mykey Enter PIN for … Continue reading

Posted in Uncategorized | Leave a comment

solaris11 flowadm (1)

Simple flowadm example. server1 – 192.168.4.142, nic-name – net0 client1 – 192.168.4.161 client2 – 192.168.4.6 On server1 that runs solaris 11 run the following commands: # flowadm add-flow -l net0 -a remote_ip=192.168.4.161 ssh-1 # flowadm add-flow -l net0 -a remote_ip=192.168.4.6 … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 crossbow

crossbow

Posted in Uncategorized | Leave a comment

solaris11 integrated load balancer (2)

Configuring ILB This section describes the steps for setting up ILB to use a half-NAT topology to load balance traffic among two servers. See the NAT topology implementation in ILB Operation Modes. How to Configure ILB Assume a role that … Continue reading

Posted in Uncategorized | Leave a comment

solaris11 integrated load balancer (1)

How to Enable ILB Before You Begin Make sure that the system’s role-based access control (RBAC) attribute files have the following entries. If the entries are not present, add them manually. File name: /etc/security/auth_attr solaris.network.ilb.config:::Network ILB Configuration::help=NetworkILBconf.html solaris.network.ilb.enable:::Network ILB Enable … Continue reading

Posted in Uncategorized | Leave a comment

solaris11 zone delegation

Delegation of Solaris Zone Administration By darrenm on Jul 04, 2012 In Solaris 11 ‘Zone Delegation’ is a built in feature. The Zones system now uses finegrained RBAC authorisations to allow delegation of management of distinct zones, rather than all … Continue reading

Posted in Uncategorized | Leave a comment

solaris11 linkprop

From the global zone enable link protection on vnic0: We can set different modes: ip-nospoof, dhcp-nospoof, mac-nospoof and restricted. ip-nospoof: Any outgoing IP, ARP, or NDP packet must have an address field that matches either a DHCP-configured IP address or … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 FMA event classes

(svccfg setnotify -g mailto:) For convenience, the tags problem- {diagnosed,updated,repaired,resolved} describe the lifecycle of a problem diagnosed by the FMA subsystem – from initial diagnosis to interim updates and finally problem closure. These tags are aliases for underlying FMA protocol … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 svcadm listcust -M

Deleting a service from the SMF repository. 1. svcadm disable newsvc 2. svccfg delete newsvc (this will not really delete the service but it ‘MASKS’ it. 3. svcs newsvc (no instances will be found) 4. svccfg listcust -M | grep … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 zones and more

Best Way to Update Software in Zones Part III of Software Management Best Practices for Oracle Solaris 11 Express By Ginny Henningsen, August 2011 Part I – Best Way to Update Software with IPS Part II – Best Way to … Continue reading

Posted in Uncategorized | 1 Comment

solaris 11 pkg build-branch

Oracle Solaris Package Versioning Package Identifier: FMRI described the pkg.fmri attribute and the different components of the version field, including how the version field can be used to support different models of software development. This section explains how the Oracle … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 fat packages

Setting up Solaris IPS servers for multiple architecture (fat) packages Monday, August 6, 2012 This is part 2 of a three-part series on building and packaging matplotlib as a multi-architecture, Solaris IPS package. Compiling matplotlib 1.1.0 for Solaris on SPARC … Continue reading

Posted in Uncategorized | Leave a comment

Solaris privileges in perspective (2)

System Security in SolarisTM 10: Privileges and Zones in Perspective — Part 2 Peter van der Weerd In part one, I discussed the improvements made to system security by using privileges as opposed to using the su-command. It showed that priviliges can … Continue reading

Posted in Uncategorized | Leave a comment

Solaris privileges in perspective (1)

System Security in SolarisTM 10: Privileges and Zones in Perspective — Part 1 Peter van der Weerd In Unix distributions through the ages, security has been based on two entities: IDs and file permissions. Every file has a UID (user … Continue reading

Posted in Uncategorized | Leave a comment

solaris suncluster quorum issue

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 of disks, and reverse … Continue reading

Posted in Uncategorized | Leave a comment

clustermode 8.2 licenses

CLUSTERED SIMULATE ONTAP LICENSES +++++++++++++++++++++++++++++++++ These are the licenses that you use with the clustered Data ONTAP version of Simulate ONTAP to enable Data ONTAP features. There are four groups of licenses in this file: – cluster base license – … Continue reading

Posted in Uncategorized | Leave a comment

opensuse grub2

grub2

Posted in Uncategorized | Leave a comment

mac osx burn usb

$ diskutil list Figure out what your USB device is called with mount or sudo dmesg | tail (e.g. /dev/disk1) and unmount the partitions on the device (i.e., /dev/disk1s1) while keeping the device proper (i.e., /dev/disk1): $ diskutil unmountDisk /dev/disk1 … Continue reading

Posted in Uncategorized | Leave a comment

suse openvpn cert

Setting Up Your VPN Server Using Certificate Authority This section explains how to build a VPN server that allows more than one connection at the same time. This is done with a public key infrastructure (PKI). A PKI consists of … Continue reading

Posted in Uncategorized | Leave a comment

7000 get projects from node

#!/usr/bin/bash #get projects set `ssh root@192.168.73.141 shares list` counter=0 while test $# -gt 0 do let counter=$counter+1 shares[$counter]=$1 shift done #count projects count=`echo ${#shares[@]}` echo $0: $count projects found #get data item=1 while test $item -le $count do ssh root@192.168.73.141 … Continue reading

Posted in Uncategorized | Leave a comment

linux suse kiwi

kiwi cookbook

Posted in Uncategorized | Leave a comment

7000 snmp

The SNMP Service on a Sun Storage 7000 Appliance By pmonday on Dec 16, 2009 Without a doubt, SNMP rules the playground in terms of monitoring hardware assets, and many software assets, in a data center monitoring ecosystem. It is … Continue reading

Posted in Uncategorized | Leave a comment

7000 cli networking (1)

configuration net interfaces select e1000g0 set admin=true configuration net interfaces select e1000g0 set v4addrs=192.168.4.136/24

Posted in Uncategorized | Leave a comment

7000 command line

configuration version show maintenance hardware show

Posted in Uncategorized | Leave a comment

linux su to specific user

cat /etc/pam.d/su #%PAM-1.0 auth sufficient pam_rootok.so auth [default=1 success=ok ignore=ignore] pam_wheel.so trust use_uid group=group1 auth [success=2 default=die] pam_listfile.so item=user sense=allow onerr=fail file=/etc/security/su-group1-access auth [default=die success=ok ignore=ignore] pam_wheel.so trust use_uid group=group2 auth requisite pam_listfile.so item=user sense=allow onerr=fail file=/etc/security/su-group2-access auth include system-auth … Continue reading

Posted in Uncategorized | Leave a comment

linux block su

to allow only certain users to use ‘su’ uncomment this line in /etc/pam.d/su auth required pam_wheel.so use_uid add any user you want to allow to run ‘su’ to the wheel group in /etc/group: wheel:x:10:user1,user2

Posted in Uncategorized | Leave a comment

linux zfs

$ cat /etc/redhat-release CentOS release 6.2 (Final) The build process is quite easy. Prior to compiling source code you will need to install a few dependencies: $ yum install kernel-devel zlib-devel libuuid-devel libblkid-devel libselinux-devel parted lsscsi Once these are installed … Continue reading

Posted in Uncategorized | Leave a comment

clustermode automatic login (from linux) to systemshell of clusternode

On clustermode: You have configured automatic login for the clustershell On linux: You have installed expect (# yum install expect expectk) create an expect script. mind you: grcm1 is my clustername and gr-01 is the name of my first clusternode. … Continue reading

Posted in Uncategorized | Leave a comment

clustermode vol move parent volume

Moving a volume that has a flexclone -child- , will leave the parent volume in the aggregate in tact. Moving the flexclone -child- volume will split the clone, move it and destroy the ‘old’ volume.  

Posted in Uncategorized | Leave a comment