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.
Creating zone with VNIC and link aggregation
May 15, 2018 2:42 PM
Filed Under: confbuild, oracle |0 commentsBoot Environment (BE) Administration
Jan 6, 2017 5:41 PM
Filed Under: confbuild, oracle |0 commentsLogically, 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
Filed Under: confbuild, oracle |0 commentsPrecheck swap info :
Resize swap :# zfs get volsize rpool/swap NAME PROPERTY VALUE SOURCE rpool/swap volsize 16G local
>> To activated new size must reboot OS# 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
Mounting Storage LUN into Solaris ZFS Storage Pool and Dataset
Aug 26, 2016 1:14 AM
Filed Under: confbuild, oracle |0 commentsHey, 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
Filed Under: cluster, confbuild, linux |0 comments ▄████▄ ██▓ █ ██ ██████ ▄▄▄█████▓▓█████ ██▀███
▒██▀ ▀█ ▓██▒ ██ ▓██▒▒██ ▒ ▓ ██▒ ▓▒▓█ ▀ ▓██ ▒ ██▒
▒▓█ ▄ ▒██░ ▓██ ▒██░░ ▓██▄ ▒ ▓██░ ▒░▒███ ▓██ ░▄█ ▒
▒▓▓▄ ▄██▒▒██░ ▓▓█ ░██░ ▒ ██▒░ ▓██▓ ░ ▒▓█ ▄ ▒██▀▀█▄
▒ ▓███▀ ░░██████▒▒▒█████▓ ▒██████▒▒ ▒██▒ ░ ░▒████▒░██▓ ▒██▒
░ ░▒ ▒ ░░ ▒░▓ ░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░ ▒ ░░ ░░ ▒░ ░░ ▒▓ ░▒▓░
░ ▒ ░ ░ ▒ ░░░▒░ ░ ░ ░ ░▒ ░ ░ ░ ░ ░ ░ ░▒ ░ ▒░
░ ░ ░ ░░░ ░ ░ ░ ░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░
░ +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
Filed Under: confbuild, network, oracle, shell, solaris |0 commentsTo 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
Filed Under: confbuild, oracle, shell, solaris, storage |0 commentsWhen 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
Filed Under: cmdline, confbuild, explor, oracle |0 commentsBellow 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
Filed Under: cmdline, confbuild, oracle |0 commentsBellow 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
Filed Under: cmdline, confbuild, oracle |0 comments.___ .________._______ .________.___
: __|| ___/:_. ___\| ___/: __|
| : ||___ \| : |/\ |___ \| : |
| || /| / \| /| |
| ||__:___/ |. _____/|__:___/ | |
|___| : :/ : |___|
:
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
Filed Under: cmdline, confbuild, oracle |0 comments_________ .____ ____ ___ _________________________________________ \_ ___ \| | | | \/ _____/\__ ___/\_ _____/\______ \ / \ \/| | | | /\_____ \ | | | __)_ | _/ \ \___| |___| | / / \ | | | \ | | \ \______ /_______ \______/ /_______ / |____| /_______ / |____|_ / \/ \/ \/ \/ \/
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
Filed Under: confbuild, linux |0 comments __ __ ____ 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
Filed Under: cmdline, confbuild, oracle |0 comments________ .__ \_____ \____________ ____ | | ____ / | \_ __ \__ \ _/ ___\| | _/ __ \ / | \ | \// __ \\ \___| |_\ ___/ \_______ /__| (____ /\___ >____/\___> \/ \/ \/ \/
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
Filed Under: cmdline, confbuild, explor, oracle, shell |0 comments.... .. ... +^""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
Filed Under: cmdline, confbuild, oracle, shell, storage |1 comments#>
_________ .__ .__
/ _____/ ____ | | _____ _______|__| ______
\_____ \ / _ \| | \__ \\_ __ \ |/ ___/
/ ( <_> ) |__/ __ \| | \/ |\___ \
/_______ /\____/|____(____ /__| |__/____ \
\/ \/ \/
#!/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
Filed Under: confbuild, linux |0 comments _______ _________ _______ __________ ____ ____ __________
/ 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
Filed Under: confbuild, linux |0 commentsEnable 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
Filed Under: confbuild, linux |0 comments.____/\ ._______.______ .______ ._______.___
: / \: .____/: __ \ : \ : .____/| |
|. ___/| : _/\ | \____|| || : _/\ | |
| \ | / \| : \ | | || / \| |/\
| \|_.: __/| |___\|___| ||_.: __/| / \
|___\ / :/ |___| |___| :/ |______/
\/+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
Filed Under: confbuild, linux |0 comments/ \ / \ \_ _____/| |
______ \ \/\/ / || __) | | ______
/_____/ \ /| || \ | | /_____/
\__/\ / |___|\___ / |___|
\/ \/
Howto build SMS server with gammu
Feb 10, 2012 6:16 AM
Filed Under: confbuild, linux |0 comments
▄████ ▄▄▄ ███▄ ▄███▓ ███▄ ▄███▓ █ ██
██▒ ▀█▒▒████▄ ▓██▒▀█▀ ██▒▓██▒▀█▀ ██▒ ██ ▓██▒
▒██░▄▄▄░▒██ ▀█▄ ▓██ ▓██░▓██ ▓██░▓██ ▒██░
░▓█ ██▓░██▄▄▄▄██ ▒██ ▒██ ▒██ ▒██ ▓▓█ ░██░
░▒▓███▀▒ ▓█ ▓██▒▒██▒ ░██▒▒██▒ ░██▒▒▒█████▓
░▒ ▒ ▒▒ ▓▒█░░ ▒░ ░ ░░ ▒░ ░ ░░▒▓▒ ▒ ▒
░ ░ ▒ ▒▒ ░░ ░ ░░ ░ ░░░▒░ ░ ░
░ ░ ░ ░ ▒ ░ ░ ░ ░ ░░░ ░ ░
░ ░ ░ ░ ░ ░
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.