DevTech101

DevTech101

solaris10

Solaris SPARC SAN Boot

After mirroring the device or zfs send install the bootblock installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0 First we need to get the lun paths, just run the below to get that {0} ok show-disks a) /pci@500/pci@0/pci@c/SUNW,qlc@0,1/fp@0,0/disk b) /pci@500/pci@0/pci@c/SUNW,qlc@0/fp@0,0/disk c) /iscsi-hba/disk q) NO SELECTION Next get the disk id’s, just run the below to get that. …

Solaris SPARC SAN Boot Read More »

Solaris 11 Metaset – Allow Remote Rpcbind

Solaris 11 metaset – allow remote rpcbind By default remote rpc bind is disabled in Solaris 11 (secure by default). Note: The remote workaround can be used with older versions of Metaset to form a cluster like working, or if you use Sun Cluster but its not working properly. To modify the remote rpc propriety. …

Solaris 11 Metaset – Allow Remote Rpcbind Read More »

Best Practices – Top Ten Tuning Tips Updated for LDOMs

Best Practices – Top Ten Tuning Tips Updated By jsavit on Mar 28, 2014 This post is one of a series of "best practices" notes for Oracle VM Server for SPARC (formerly called Logical Domains). This is an update to a previous entry on the same topic. Top Ten Tuning Tips – Updated Oracle VM …

Best Practices – Top Ten Tuning Tips Updated for LDOMs Read More »

How To Measure Network Latency With Ping And Dtrace in Solaris.

Measuring Network Latency In Solaris Use the below dtrace script (SuperPing.d) to measuring Network Latency. #!/usr/sbin/dtrace -s #pragma D option quiet #pragma D option switchrate=10hz mib:::rawipOutDatagrams /pid == $target/ { start = timestamp; } mib:::icmpInEchoReps /start/ { this->delta = (timestamp – start) / 1000; printf(“dtrace measured: %d us\n”, this->delta); @a[“\n ICMP packet delta average (us):”] …

How To Measure Network Latency With Ping And Dtrace in Solaris. Read More »

Solaris privlges

To find out what privileges are stopping you from running a command, you should run it under ppriv -eD command. For example: You can then use usermod -K … to assign the necessary privileges to a user. For example: $ usermod -K defaultpriv=basic,sys_resource,cpc_cpu username