Creating zone with VNIC and link aggregation

May 15, 2018 2:42 PM

A Solaris Container is the combination of system resource controls and the boundary separation provided by zones. Zones act as completely isolated virtual servers within a single operating system instance. By consolidating multiple sets of application services onto one system and by placing each into isolated virtual server containers, system administrators can reduce cost and provide most of the same protections of separate machines on a single machine [Wikipedia]. 

Solaris zone is a powerfull virtual server with easy to create, easy to configure, and easy to maintain. In networking technology, we can construct the zone using virtual network intefaces and link aggregation.

Boot Environment (BE) Administration

Jan 6, 2017 5:41 PM

Logically, there were an environment that packs all component into one environment. These components I mean are software installed, patch level, kernel, etc. That environment is called a Boot Environment (BE). 

Boot Environment can be check with 'list' argument, here is default boot enviroment :

root@war49:~# beadm list
BE      Flags Mountpoint Space  Policy Created
--      ----- ---------- -----  ------ -------
solaris NR    /          11.18G static 2017-01-04 16:35


Add, resize and activate swap in solaris zfs

Aug 27, 2016 6:40 AM

Precheck swap info :
# zfs get volsize rpool/swap
NAME        PROPERTY  VALUE    SOURCE
rpool/swap  volsize   16G      local
Resize swap :
# swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 228,2        16  8388592  8388592

# zfs set volsize=4g rpool/swap
# zfs get volsize rpool/swap
NAME        PROPERTY  VALUE    SOURCE
rpool/swap  volsize   4G       local
>> To activated new size must reboot OS

Mounting Storage LUN into Solaris ZFS Storage Pool and Dataset

Aug 26, 2016 1:14 AM

Hey, It's a simply way to mount your external disks (storage LUN) to your solaris box using ZFS. For example we have one LUN from storage box. The storage communicates to server over FC connection that sanswitch is at there. Bellow the simply diagram : |storage box|-------------|sanswitch|--------------|solaris box| In server, should be check wwn number. This number is used by sanswitch to construct zone configuration. In solarisbox we can use 'fcinfo' command to check wwn on FC card which state is online. In sanswitch check the port status, is it online or not?

Redhat Cluster - Fencing, what is it about?

Aug 13, 2016 7:25 AM

 ▄████▄   ██▓     █    ██   ██████ ▄▄▄█████▓▓█████  ██▀███
▒██▀ ▀█  ▓██▒     ██  ▓██▒▒██    ▒ ▓  ██▒ ▓▒▓█   ▀ ▓██ ▒ ██▒
▒▓█    ▄ ▒██░    ▓██  ▒██░░ ▓██▄   ▒ ▓██░ ▒░▒███   ▓██ ░▄█ ▒
▒▓▓▄ ▄██▒▒██░    ▓▓█  ░██░  ▒   ██▒░ ▓██▓ ░ ▒▓█  ▄ ▒██▀▀█▄
▒ ▓███▀ ░░██████▒▒▒█████▓ ▒██████▒▒  ▒██▒ ░ ░▒████▒░██▓ ▒██▒
░ ░▒ ▒  ░░ ▒░▓  ░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░  ▒ ░░   ░░ ▒░ ░░ ▒▓ ░▒▓░
  ░  ▒   ░ ░ ▒  ░░░▒░ ░ ░ ░ ░▒  ░ ░    ░     ░ ░  ░  ░▒ ░ ▒░
░          ░ ░    ░░░ ░ ░ ░  ░  ░    ░         ░     ░░   ░
░ ░          ░  ░   ░           ░              ░  ░   ░   
░ +Suwardi-Wed 10/Aug/2016 09:40 +Centenial Tower 12th fl+


What is Fencing? Fencing is a statement from cluster to cut off / disconnect a node from cluster. A node that to be disconnected, it will be cut off from share storage device connection. This function is handled by fenced daemon. 

Configure IPMP Interface Solaris 11 in easy steps

Aug 3, 2016 1:49 PM

To provide a redundancy network connection, solaris11 provide IPMP feature which combine more than one ethernet physical connection in to one logical interface as known as ip network multipathing. IPMP is layer 3 protocol which has feature as failure detection, transparent access failover, and packet load spreading. What is benefit when you use a ipmp interface?. There was an unexpected situation on network, like network interface is suddenly unconnected, disabled, failure, etc which impacted to your network connection becomes unavailable. When you face with the situations in one physical/logical interface only, it will drive you to be disconnected from network.

Simply way to create Multipath MPxIO/STMS for SAN connection on Solaris 11

Aug 2, 2016 11:24 AM

When we have more than one physical connection from a server to a storage for access a same LUN. We should define a MPxIO for the SAN connection. With this refference, we would like to introduce a simply way on how to configure MPxIO for SAN in Solaris 11. If you not configure MPxIO, the LUN will appears duplicated in format output. So, configure MPxIO is must for multipath connection.

Configure Oracle Solaris Cluster Resource Group

Jun 6, 2016 11:35 AM

Bellow these steps for how to configure the resource group. About the resource group concept, you can read at Oracle documentation at https://docs.oracle.com/cd/E23623_01/html/E24500/toc.html

1. Register agent
    - Register HA Storage Plus Agent

    # clresourcetype register SUNW.HAStoragePlus

    - Register GDS Agent
   
    # clresourcetype register SUNW.gds
   

Removing ISCSI Connection

May 24, 2016 11:17 AM

Bellow the simply way to remove iscsi connection.

Check availability disks :

bash-3.2# echo | format
Searching for disks...

AVAILABLE DISK SELECTIONS:
       0. c0d0 <▒x▒▒▒▒▒▒▒▒▒@▒▒▒ cyl 6524 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
       1. c3t6589CFC0000005D031823E839C658847d0
          /scsi_vhci/disk@g6589cfc0000005d031823e839c658847
Specify disk (enter its number): Specify disk (enter its number):


Connecting ISCSI bock device from Solaris

10:53 AM

.___ .________._______ .________.___
: __||    ___/:_.  ___\|    ___/: __|
| : ||___    \|  : |/\ |___    \| : |
|   ||       /|    /  \|       /|   |
|   ||__:___/ |. _____/|__:___/ |   |
|___|   :      :/         :     |___|
               :                    


I have shared a 8 GB LUN as ISCSI block with ISCSI target is iqn.2016-05.org.freenas.ctl, I am using freenas. I am configured a freenas address at 192.168.100.131 with default port 3260. For initiator, I am allow all initiator connection and all authorized network. There was no CHAP authentication for the ISCSI connection, so everyone can connect over network connection.

Setup Oracle Solaris Cluster (part2)

May 23, 2016 11:20 AM

_________ .____     ____ ___  _________________________________________ 
\_   ___ \|    |   |    |   \/   _____/\__    ___/\_   _____/\______   \
/    \  \/|    |   |    |   /\_____  \   |    |    |    __)_  |       _/
\     \___|    |___|    |  / /        \  |    |    |        \ |    |   \
 \______  /_______ \______/ /_______  /  |____|   /_______  / |____|_  /
        \/        \/                \/                    \/         \/ 





This document is only provide technically setup Oracle Solaris Cluster. The install planning, install preparation is not provided by this document. This tutorial was a continued part from previous setup (part1). This installation mode is interactively, there were a step by step configuring your cluster for all nodes. Typically, you must prepare the Cluster name, Cluster nodes, Cluster transport and adapter, quorum configuration and check.

How to Create a Shared Internal Disk on VirtualBox

May 22, 2016 12:20 PM

 __     __    ____     U  ___ u __  __  
 \ \   /"/uU | __")u    \/"_ \/ \ \/"/  
  \ \ / //  \|  _ \/    | | | | /\  /\  
  /\ V /_,-. | |_) |.-,_| |_| |U /  \ u 
 U  \_/-(_/  |____/  \_)-\___/  /_/\_\  
   //       _|| \\_       \\  ,-,>> \\_ 
  (__)     (__) (__)     (__)  \_)  (__)


There were a simple thing to create a shared disk in VirtualBox for your VM. The shared disk could be shared for sparate VMs. It's possible to create a cluster environment in VirtualBox. I have already tried to create a shared disk using Virtual SAN software or defined storage software using freenas and openfiler. But I have failed due to these virtual SAN software can't be shared to other server of the same volume. But, Virtualbox has a simple way to share an internal disk to other VMs with bellow technique :

How to install Oracle Solaris Cluster (part1)

9:44 AM

________                      .__          
\_____  \____________    ____ |  |   ____  
 /   |   \_  __ \__  \ _/ ___\|  | _/ __ \ 
/    |    \  | \// __ \\  \___|  |_\  ___/ 
\_______  /__|  (____  /\___  >____/\___>
        \/           \/     \/          \/ 








Install Oracle Solaris Cluster in simply way
Login to solaris box, then extract the source of the oracle solaris cluster. Installation beginning with execute installer file as bellow, and this is an interactive installation. I change color of my input selection with violet as bellow :

Working with Predictive Self Healing (PSH) Oracle & Fujitsu Sparc Enterprise Server

Apr 26, 2015 4:49 PM

.... .. ... +^""888h. ~"888h .x888888hx : .xHL 8X. ?8888X 8888f d88888888888hxx .-`8888hxxx~ '888x 8888X 8888~ 8" ... `"*8888%` .H8X `%888*" '88888 8888X "88x: ! " ` .xnxx. 888X ..x.. `8888 8888X X88x. X X .H8888888%: '8888k .x8888888x `*` 8888X '88888X X 'hn8888888*" ?8888X "88888X ~`...8888X "88888 X: `*88888%` ! ?8888X '88888 x8888888X. `%8" '8h.. `` ..x8 H8H %8888 `8888 '%"*8888888h. " `88888888888888f '888> 888" 8888 ~ 888888888!` '%8888888888*" "8` .8" .. 88* X888^""" ^"****""` ` x8888h. d*" `88f !""*888%~ 88 ! `" . "" '-....:~ # Working with Predictive Self Healing (PSH) on Oracle Sparc Enterprise Server # Suwardi - line.console49@gmail.com # @ 26/04/2015 16:49:00 # Copyright (C) Suwardi 2015 |-- 0x0 Background When we maintenance Sparc Enterprise Server for Oracle brand and Fujitsu brand with Solaris OS inside. We will face to a system problem and hardware problem. To indentify, analyzing and repair problems there was a Oracle facility in the devices. That facility is PSH, PSH is a command line facility which deal with system problems. It's very usefull and helpfull.

How To Mount Storage LUNs on Solaris and Linux

Apr 22, 2015 3:42 PM

#>
  _________      .__               .__       
 /   _____/ ____ |  | _____ _______|__| ______
 \_____  \ /  _ \|  | \__  \\_  __ \  |/  ___/
 /        (  <_> )  |__/ __ \|  | \/  |\___ \
/_______  /\____/|____(____  /__|  |__/____  \
        \/                 \/              \/

#!/bin/sh
# Simply Guide of LUN mounting on Solaris & Linux
# Suwardi -> line.console49@gmail.com
# @ 22/4/2015

0x00. Description

Nowdays storage devices are mandatory requirement for Enterprise environment. Using internal disks are limited depends on maximum of server configuration. Storage device with connected to a server, the server enable to add/use external disks. So, we can expand the storage utilization.


Configure Apache in FreeBSD

Sep 20, 2012 9:05 PM

  _______  _________   _______  __________ ____ ____  __________
 /   O   \|    _o___) /   O   \/   /_____//   /_\   \/   /_____/
/___/%\___\___|%%%%%'/___/%\___\___\%%%%%'\___\%/___/\___\%%%%%'
`BB'   `BB'`B'       `BB'   `BB'`BBBBBBBB' `BB' `BB'  `BBBBBBBB'

I think you already know freebsd has ports facility that so much eased sysadmin in installation software. Including apache, php and mysql enable you to install through ports. If you didn't install apache before, or it's the first time apache installation, you can go to /usr/ports/www/apache22 directory. You will build apache from here.

Enable ftp connection using proftpd

Feb 26, 2012 11:13 PM

Enable file transfer using ftp is not difficult task in linux system. After ftp server application installed, then check it: for example in slackware,
$ ls /var/log/packages/ | grep ftpd
proftpd-1.3.3e-i486-1
vsftpd-2.3.4-i486-1

Re-compile the linux kernel and make your own kernel version

Feb 25, 2012 8:54 AM

.____/\ ._______.______  .______  ._______.___    
:   /  \: .____/: __   \ :      \ : .____/|   |   
|.  ___/| : _/\ |  \____||       || : _/\ |   |   
|     \ |   /  \|   :  \ |   |   ||   /  \|   |/\ 
|      \|_.: __/|   |___\|___|   ||_.: __/|   /  \
|___\  /   :/   |___|        |___|   :/   |______/
     \/+Suwardi - Sun Feb 19 09:25:41 2012                                


+++: Introduction

I have easy way to modify and recompile the linux kernel. I will not explain about what is the kernel, you can find huge explaination about kernel in internet or in the kernel documentation. In this article, i just want to show you tips about how to recompile the linux kernel with fun and easy way. 

+++: Step one, you must have the kernel source installed your linux machine. If you didn't have it, you must install. For example a kernel source in rpm.


Connecting wifi in CLI mode

Feb 18, 2012 3:56 PM

          __      __.______________.___         
         /  \    /  \   \_   _____/|   |        
  ______ \   \/\/   /   ||    __)  |   |  ______
 /_____/  \        /|   ||     \   |   | /_____/
           \__/\  / |___|\___  /   |___|        
                \/           \/                 

When i was work as sysadmin command line interface is a big friend, i always use command line in my live every day. I didn't feel heavy while using it. For the example, when i want to connecting my notebook to the wifi. Ofcourse unix/linux has so much tool for handling wireless connection which is run over GUI. But, connecting wifi using command line was more fun. Did you not believe? I will show you the tips.

It just for fun connecting notebook to wifi using command line interface. First of all, your wireless interface must be detected by your kernel. Unless, you must configure your wireless driver, for this issue see my article: "Howto configure ndiswrapper for broadcom driver in linux slackware".

Howto build SMS server with gammu

Feb 10, 2012 6:16 AM


  ▄████  ▄▄▄       ███▄ ▄███▓ ███▄ ▄███▓ █    ██ 
 ██▒ ▀█▒▒████▄    ▓██▒▀█▀ ██▒▓██▒▀█▀ ██▒ ██  ▓██▒
▒██░▄▄▄░▒██  ▀█▄  ▓██    ▓██░▓██    ▓██░▓██  ▒██░
░▓█  ██▓░██▄▄▄▄██ ▒██    ▒██ ▒██    ▒██ ▓▓█  ░██░
░▒▓███▀▒ ▓█   ▓██▒▒██▒   ░██▒▒██▒   ░██▒▒▒█████▓ 
 ░▒   ▒  ▒▒   ▓▒█░░ ▒░   ░  ░░ ▒░   ░  ░░▒▓▒ ▒ ▒ 
  ░   ░   ▒   ▒▒ ░░  ░      ░░  ░      ░░░▒░ ░ ░ 
░ ░   ░   ░   ▒   ░      ░   ░      ░    ░░░ ░ ░ 

      ░       ░  ░       ░          ░      ░  

There are many companies and organizations need tool to spread information to their members or partners. Short message service (SMS) is a simple, cheap, and fast service for that requirement. One of the tool for this sms engine called gammu. Gammu is a sms engine, which control for sending and receiving messages. Gammu is open source tool that provides abstraction layer access for cell phones. It covers wide range of phones, focussing on AT compatible and nokia phones.

Article list :