Monthly Archives: May 2012

solaris 11 etherstubs

etherstubs # dladm create-etherstub stub0 # dladm create-vnic -l stub0 vnic0 # dladm show-vnic LINK OVER SPEED MACADDRESS MACADDRTYPE VID vnic0 stub0 0 2:8:20:73:24:59 random 0 # dladm show-link LINK CLASS MTU STATE OVER net0 phys 1500 up — nic1 … Continue reading

Posted in solaris | Leave a comment

solaris 11 network configuration

NCP-network configuration profile DefaultFixed of Automatic DefaultFixed is manual config Automatic is then userconfigured of previously configured is used commands: netcfg netadm (if DefaultFixed is enabled) # netadm list netadm: DefaultFixed NCP is enabled; automatic network management is not available. … Continue reading

Posted in solaris | Leave a comment

network solaris 11

# svcadm disable nwam # svcadm enable network/physical:default # dladm show-phys # dladm show-link # ipadm create-ip bge0 # dladm show-link # ipadm show-if # ipadm create-if bge0 # dladm show-link # ipadm show-if # ipadm create-addr -T dhcp bge0/v4 … Continue reading

Posted in solaris | Leave a comment

solaris zfs manual replication (scripted)

#!/usr/bin/ksh echo “source pool/fs (no leading slash) : \c ” read s echo “destination pool/fs (no leading slash) : \c ” read d echo “cleaning up destination.” zfs destroy -f $d 2> /dev/null; echo “done.” echo creating base snapshot zfs … Continue reading

Posted in solaris | Leave a comment

solaris zfs replication with mbuffer

mbuffer and incremental snapshots: download and compile mbuffer on source, create pool filesystem and snapshot. -=-=-=-=-=-=-=-=-=-= zpool create source disk1 zfs create source/f1 zfs snapshot source/f1@a -=-=-=-=-=-=-=-=-=-= on destination, create pool and filesystem. -=-=-=-=-=-=-=-=-=-= zpool create dest disk1 zfs create … Continue reading

Posted in solaris | Leave a comment

zones quick and dirty

Create new local zones using the clone of a snapshotted zfs filesystem, 1. create a zpool that will hold the zones 2. create master filesystem that will be cloned 3. configure masterzone and install 4. snapshot master filesystem 5. clone … Continue reading

Posted in solaris | Leave a comment

solaris cluster broken node

Node Replacement Sun Cluster 3.2 Q&D restore 1. Install Solaris on new hardware 2. Install Cluster packages using the installer 3. copy the /etc/cluster directory from surviving node 4. Adjust node-id in /etc/cluster/nodeid 5. copy /etc/vfstab from surviving node in … Continue reading

Posted in solaris | Leave a comment

solaris cluster add node and remove node

1. set up resource group and resources on 2-node cluster 2. install clustersoftware on third node 3. add third node to cluster claccess allow -h ‘new-node’ 4. change quorum clq add ‘new quorum device’ clq disable ‘old quorum device’ clq … Continue reading

Posted in solaris | Leave a comment

solaris cluster 3.2 zonefailover

1. Create diskgroup and volume 2. Register the diskgroup 3. Create filesystem 4. vfstab 5. Test 6. Create zone 7. Test 8. Install ResourceTypes and register 9. Create RG to hold the zone, and zone 1. Create a diskgroup and … Continue reading

Posted in solaris | Leave a comment

solaris cluster 3.2 application failover

creating a simple application-failover for SC3.2 Normally you would want to create a script that is called by the start_method to initiate the application, and a script that is called by the monitor_method to check whether your application is still … Continue reading

Posted in solaris | Leave a comment

clustermode security

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 security login unlock -username diag security login password -username diag system node systemshell -node cl1-01

Posted in netapp | Leave a comment

Training

2011 – Replace sick trainer for D7ADM in San Fransisco

Posted in netapp | Leave a comment

Troubleshoot

2011 – Troubleshoot failing exchange backups in snapmirror/snapvault relationships (Garantibank – Amsterdam)

Posted in projects | Leave a comment

installation

2011 – rackmounted, cabled, installed and configured two Netapp 3xxx filers running a snapmirror between two sites. (Zoetermeer Fugro)

Posted in projects | Leave a comment