Category Archives: Uncategorized

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 | Leave a 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

clustermode smtape

by Gerard Bosman Snapmirror remote baseline Overzicht: License snapmirror Pas Hosts file aan Zet de access options Kies welk pad je voor de backup file gaat gebruiken ( moet op src en dest gelijk zijn ) Stap voor stap Begin … Continue reading

Posted in Uncategorized | Leave a comment

clustermode raidgroups and disks

ssh admin@node disk show -raid| grep gr02_aggr1| sort -k 4 gr-02:v4.17 aggregate – data rg0 gr02_aggr1 gr-02:v4.18 aggregate – data rg0 gr02_aggr1 gr-02:v4.19 aggregate – data rg0 gr02_aggr1 gr-02:v5.19 aggregate – data rg0 gr02_aggr1

Posted in Uncategorized | Leave a comment

ssh tunnel for http

ssh root@83.111.104.47 -L 2000:localhost:80

Posted in Uncategorized | Leave a comment

clustermode raid-options

gr::storage raid-options> show Node Option Value Constraint ——– ————————————- ———— ———– gr-01 raid.background_disk_fw_update.enable on only_one gr-01 raid.disk.copy.auto.enable on only_one gr-01 raid.disktype.enable off only_one gr-01 raid.media_scrub.rate 600 only_one gr-01 raid.min_spare_count 1 only_one gr-01 raid.mirror_read_plex_pref local only_one gr-01 raid.reconstruct.perf_impact medium only_one gr-01 … Continue reading

Posted in Uncategorized | Leave a comment

clustermode ndmpcopy from 7-mode -> clustermode

Situation: volume on 7mode with data (/vol/old) volume on clustermode without data (vserver1:/new) wish to migrate 7mode data to clustermode note: use clustermode node-lif:/vservername/volumename note: volume new should be hosted on the node you connect to clustermode: ndmpd password -node … Continue reading

Posted in Uncategorized | Leave a comment

clustermode statistics (2)

statistics show -node gr-02 -object volume -instance rootls -vserver ls Node: gr-02 Object.Instance.Counter Value Delta ———————————————– ————- ————- volume.rootls.avg_latency 411us -136 volume.rootls.instance_name rootls (snipped) statistics show -node gr-02 -object volume -instance rootls -vserver ls -counter read_ops Node: gr-02 Object.Instance.Counter Value … Continue reading

Posted in Uncategorized | Leave a comment

clustermode export-policy rule

basic setup for an nfs share. Linux client has IP 192.168.4.160 Vserver will have IP 192.168.4.87 Vservername “march” (clusterhell) vserver create -vserver march -rootvolume root_vol -aggregate gr01_aggr1 -ns-switch file -nm-switch file -rootvolume-security-style unix -language C -snapshot-policy default -antivirus-on-access-policy default net … Continue reading

Posted in Uncategorized | Leave a comment

clustermode ntp

system services ntp config modify -enabled true server create -node gr-01 -server 192.168.4.120 server modify -node gr-01 -server 192.168.4.120 -preferred true server create -node gr-02 -server 192.168.4.120 server modify -node gr-02 -server 192.168.4.120 -preferred true ntp server show (system services … Continue reading

Posted in Uncategorized | Leave a comment

clustermode things to know

Things to know about 8.1 cluster mode. Posted by AGUMADAVALLI in 8.1 Cluster mode – Things to know on Aug 6, 2012 11:12:43 AM Networking: DNS Load Balancing: DNS load balancing helps in selecting an appropriately loaded data LIF and … Continue reading

Posted in Uncategorized | Leave a comment

clustermode systemshell list logfiles

gr-01% pwd /var/log gr-01% ls apache_access.log debug.log.00000000000000000007 mlogd_stats.0.log snapmirror.log.00000000000000002060 apache_access.log.00000000000000000007 lastlog mlogd_stats.1.log snapmirror.log.00000000000000002061 apache_access.log.00000000000000000008 memsnap.log mlogd_stats.2.log spmd.log.00000000000000000008 apache_error.log messages.log.00000000000000000023 ndmpd.log.00000000000000000001 spmd.log.00000000000000000009 apache_error.log.00000000000000000001 messages.log.00000000000000000024 netapp_mgmt.log userlog apache_error.log.00000000000000000002 mgwd-start.log notifyd.log.00000000000000000146 vifmgr.log.00000000000000000022 bcomd.log.00000000000000000015 mgwd-start.log.1 notifyd.log.00000000000000000147 vifmgr.log.00000000000000000023 bcomd.log.00000000000000000016 mgwd.log.00000000000000000576 secd.log.00000000000000000006 vldb.log.00000000000000000017 command-history.log.00000000000000000001 mgwd.log.00000000000000000577 secd.log.00000000000000000007 … Continue reading

Posted in Uncategorized | Leave a comment

netapp 7-mode lun failover

This procedure describes a method to activate your iscsi lun in from a snapmirror destination if the source fails or is taken offline. 1. you have an iscsi lun mapped to a host; the lun resides in svolume on sfiler. … Continue reading

Posted in Uncategorized | Leave a comment

netapp simulator syncmirror

aggr create aggr_mirror -m -f -d v4.20 v4.21 v4.22 v4.28 -d v4.24 v4.25 v4.26 v4.27

Posted in Uncategorized | 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

linux replace mirrored rootdisk

http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array

Posted in Uncategorized | 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 yum repository setup

link

Posted in Uncategorized | Leave a comment

linux cpp system

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

Posted in Uncategorized | 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

solaris 7410 hsp

Hybrid Storage Pools in the 7410 The Sun Storage 7000 Series launches today, and with it Sun has the world’s first complete product that seamlessly adds flash into the storage hierarchy in what we call the Hybrid Storage Pool. The HSP … Continue reading

Posted in Uncategorized | Leave a comment

solaris 7000 replication

1. on source -> configuration -> replication create target 2. on source -> create project and share 3. on source -> select project and edit -> replication this will replicate the project. 4. on source -> create new shares in … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 zones and etherstubs

How to Script Oracle Solaris 11 Zones Creation for a Network-In-a-Box Configuration November 2011 by Jeff McMeekin Through this “network-in-a-box” example, learn how to efficiently create Oracle Solaris Zones by cloning them and use scripts to set up a virtual … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 distribution constructor

How to Create a Customized Oracle Solaris 11 Image Using the Distribution Constructor by Isaac Rozenfeld Learn how to create and distribute customized Oracle Solaris 11 images by following an example that shows the process from beginning to end. September … Continue reading

Posted in Uncategorized | Leave a comment

solaris 11 set nodename

# svccfg -s svc:/system/identity:node setprop config/nodename = astring: nodename # svcadm refresh svc:/system/identity:node # svcadm restart svc:/system/identity:node

Posted in Uncategorized | Leave a comment