DevTech101

DevTech101

os

Testing DNS performance – perl script

Use the perl script below to check your DNS performance. Make sure to replace the search string and your DNS provider IP address. #!/usr/bin/perl @ns = @ARGV; push(@ns,’8.8.8.8′, ‘4.2.2.1’) unless @ns; $domain = “www.devtech101.com”; use Net::DNS; use Time::HiRes; # high resolution timing required use Time::Stopwatch; use Number::Format qw(:subs); use Statistics::Descriptive; tie my $time, ‘Time::Stopwatch’; # …

Testing DNS performance – perl script Read More »

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 »

How to install Linux (OEL) on SPARC

How to configure OVM for SPARC(LDOMS) for (OEL) Below is a OVM for SPARC(LDOMS) configuration to run Linux (OEL) on a SPARC server (T5/T7). Note: The T5-x or T7-x might require the latest firmware for this to work. ldm add-vcc port-range=5000-5100 primary-vcc0 primary svcadm enable svc:/ldoms/vntsd:default ldm set-core 28 primary ldm set-memory 256g primary ldm …

How to install Linux (OEL) on SPARC Read More »

How To Add Fonts in Solaris 11

How To Add Fonts in Solaris 11 Adding Fonts This section describes how to add fonts for all users or for an individual user. How to Add a Font for All Users Copy the font file to one of the directories in the /etc/fonts/fonts.conf file. Typically, fonts are stored in the /usr/share/fonts/ directory. The fontconfig …

How To Add Fonts in Solaris 11 Read More »

OEL + KVM

Make sure to install yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client virt-install virt-viewer yum -y install kvm libvirt python-virtinst virt-top virt-manager virt-v2v virt-viewer vim pv Make sure to start/enable – Note: a reboot might be required servicectl start/enable libvirtd.service libvirtd.socket libvirt-guests.service Now run virt-manager

Xsigo Linux – Manually Installing

Installing the Oracle OVN (Xsigo) Linux driver First, Install the firmware. For example: rpm -ivh .noarch.rpm Then, Install the kernel module. For example: rpm -ivh Next, Install the Oracle Virtual Networking user space application. For example: rpm -ivh oclovn-user.x86_64.rpm When the kernel is installed on the host, and the correct kernel and OFED version are …

Xsigo Linux – Manually Installing 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 »