DevTech101

DevTech101

solaris11.2

Solaris 11 Kerberos Master/Slave Configuration

How to configure in Solaris 11 Kerberos Master/Slave Kerberos Server config pkg install system/security/kerberos-5 Note1: Make sure host name is in dns Note2: Make sure ntp is up on master and slave kdcmgr -a kws/admin -r domain.com create master Note: kws is the admin user kdcmgr status Now configure the slave Note: krb-srv-a is the …

Solaris 11 Kerberos Master/Slave Configuration Read More »

Solaris 11.2 and ilb (load balancer)

How to configure iLB(load balancer) on Solaris 11.2 Configuring Load Balancing Load Balancing SSH Sessions ilbadm create-sg -s server=10.10.12.11:22,10.10.12.12:22 ssh ilbadm create-rule -e -i vip=10.10.10.50,port=2222 -m lbalg=rr,type=NAT,proxy-src=10.10.10.50 -o servergroup=ssh ssh Load Balancing LDAP Sessions LDAP Servers ilbadm create-sg -s server=10.10.12.51:1389,10.10.12.52:1389 ldapgroup1 Configuring Health Checks ilbadm create-healthcheck -h hc-timeout=3,hc-count=2,hc-interval=5,hc-test=tcp hc-ldap1 Custom Health Checks ilbadm create-healthcheck -h …

Solaris 11.2 and ilb (load balancer) 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 »

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