DevTech101

DevTech101

solaris

How to create a Solaris IPS PKG

The below example creates a Solaris pkg from the Nagios application, you can then publishes the pkg to a Solaris repository. Note: To see how-to publish this pkg to a Solaris repository click here Extract legacy pkg to temp directory mkdir nrpe-pkg-source nagios-plugins-pkg-source pkgtrans nagios-plugins-1.4.16-sol10-i386-local nagios-plugins-pkg-source pkgtrans nrpe-2.14-sol10-i386-local nrpe-pkg-source Create a directory with all files …

How to create a Solaris IPS PKG Read More »

OpenStack / Solaris 11.3 (Kilo) – Part one

First we need to create a Virtual Router and Load Balancer Note: The Full Kilo setup can be found here – How To Install Openstack Kilo On Solaris-12 With OVS Will use vrrp v3 (solrias tech) Install needed packages pkg install vrrp Disable redirects ipadm set-prop -p send_redirects=off ipv4 on first node The example below …

OpenStack / Solaris 11.3 (Kilo) – Part one Read More »

Solaris NodeJS zone install and configuration

Solaris NodeJS zone install and configuration First, lets Compile NodJS from source, get the source from the NodeJS website. Something like the below should work to compile. env CC=gcc ./configure –prefix=/opt/node-v6.2.2 # for 8 cpu’s gmake -j 8 gmake install Next, lets modify the zone properties and distribute the compiled bundle to all the Solaris …

Solaris NodeJS zone install and configuration Read More »

Solaris 11.3 – openstack install / juno 2014.2 – part2

Creating openstack zone archive zonecfg -z openstack_install create # or for kernel zone zonecfg -z openstack_kz create -t SYSsolaris-kz zoneadm -z openstack_install install zoneadm -z openstack_install boot Prepare the zone for uploading to Glance by first creating SSH authentication credentials to enable root SSH for OpenStack root login access Enable root ssh with key root@zone-name# …

Solaris 11.3 – openstack install / juno 2014.2 – part2 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 »

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 »

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