DevTech101

DevTech101

os

Solaris Dynamic Zone Resource Capping With Examples

Contents 1 To add/remove CPU on a ruining zone (dedicated-cpu) 1.1 First get the pset name 1.2 Before the change just 4 cpu are configured 1.3 To add/modify the numbers of CPU to 8 1.4 After the change 2 To add/modify CPU on a ruining zone (capped-cpu) 2.1 Before the change 2.2 To make the …

Solaris Dynamic Zone Resource Capping With Examples Read More »

MAC NFS auto mount configuration

Run from commend line (per user) – This will change to not create temp .DS_STORE files defaults write com.apple.desktopservices DSDontWriteNetworkStores true /etc/autofs.conf Add in brows AUTOMOUNTD_MNTOPTS AUTOMOUNTD_MNTOPTS=nosuid,nodev,brows Add to /etc/nfs.conf nfs.client.mount.options = intr,locallocks,nfc To add to automount at boot time Ad to /etc/auto_master /-              auto_nas Then add to /etc/auto_nas /video_archive  -vers=3,rw,bg,intr,tcp  nas1b-srv.domain.com:/export/video_archive To refresh the …

MAC NFS auto mount configuration Read More »

How to Create a Custom Solaris Live CD + latest SRU

Creating a custom Solaris Live CD Tip: You will need the full Solaris repository for this process to work (4 ISO from Oracle’s web site 4+Gb). Create the local repo directory. mkdir /export/support-repo/ &&b cd /export/support-repo/ ./install-repo.ksh -d /export/support-repo/ Create cd, usb, rep, etc cd /tmp cp /usr/share/distro_const/dc_livecd.xml dc_livecd.xml vi dc_livecd.xml and change the repo …

How to Create a Custom Solaris Live CD + latest SRU Read More »

informix smf authorization and service

<?xml version='1.0'?> <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> <service_bundle type='manifest' name='export'>   <service name='application/informix' type='service' version='0'>     <create_default_instance enabled='true'/>     <single_instance/>     <dependency name='multi-user-server' grouping='require_any' restart_on='error' type='service'>       <service_fmri value='svc:/milestone/multi-user-server:default'/>     </dependency>     <exec_method name='start' type='method' exec='/usr/informix/bin/oninit -v' timeout_seconds='600'>       <method_context>         <method_credential user='informix' group='informix'/>           <method_environment>             <envvar name='INFORMIXDIR' value='/usr/informix' />             <envvar name='INFORMIXSERVER' value='devtech101prod4' /> …

informix smf authorization and service Read More »

SSH connection to Solaris 11 is sometimes slow…

We migrated the first box to Solaris 11 and we experienced the first bug, as soon as we login onto the server, it would wait and wait and continue to wait…. As these delays are quite common when SSH’d is configured with the default settings, we quickly modified the lines below to help with the …

SSH connection to Solaris 11 is sometimes slow… Read More »

Oracle Solaris ZFS health / scrubbing check script

The ZFS script will check ZFS pool health and do scheduled scrubbing. Get ZFS script Modify the below values in the script to your mail admin and mail address. my $mydomain = $hostname; my $mailfrom = “sysadmin\@$hostname.domain.com”; my $mailto = “admin\@domain.com”; my $mailhost = “10.10.10.10”; # switch to ip or real mail host