Monthly Archives: September 2014

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