How to add zfs dataset to non-global zone

May 15, 2018 11:28 AM

Solaris zone is powerfull virtualization for unix platform. There many many flexibilities in use hardware resource. For example, you want to assign a dedicated zfs dataset to a zone. 

Solaris zone configuration utility (zonecfg) has a zone property to accomodate this requirement. Enter to zone configuration and specify the dataset name so the dataset will be active in the zone when it running. 

Database Oracle11g Listener Can't Start Due to TNS Permission Denied

Feb 6, 2017 4:35 PM


There is a problem with Oracle database. The database is failed to start and the listner failed too. Bellow the step of diagnosis and troubleshooting I have already taken.
 
1 Symptom : 
TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied

Reset / Recovery Root Password VMWare ESXi 6.0

Dec 22, 2016 4:24 PM

Forgot your ESXi root password? don't worry. Here are a simply way to recover / reset you ESXi 6.0 root password. But, you must have physical access to the device.

Requirement :
a. Linux live cd/dvd
b. Text editor

How to replace a broken disk on Solaris Volume Manager (SVM)

Sep 5, 2016 5:38 PM

We have Solaris box in hardware Fujitsu Sparc M3000 with 4 internal disks configured on SVM. Bellow the internal disks information : # echo | format AVAILABLE DISK SELECTIONS: 0. c0t0d0 <fujitsu-mbd2147rc-3701 14087="" 24="" 2="" 848="" alt="" cyl="" hd="" sec=""> /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 <fujitsu-mbd2147rc-3701 14087="" 24="" 2="" 848="" alt="" cyl="" hd="" sec=""> /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c3t2d31 <sun-universalxport-0735 2="" 64="" 8="" alt="" cyl="" hd="" sec=""> /pci@1,700000/pci@0/pci@9/SUNW,emlxs@0/fp@0,0/ssd@w202500a0b868b254,1f 3. c4t0d31 <sun-universalxport-0735 2="" 64="" 8="" alt="" cyl="" hd="" sec=""> /pci@1,700000/pci@0/pci@9/SUNW,emlxs@0,1/fp@0,0/ssd@w202400a0b868b254,1f
There were a problem with with disk c0t0d0 in "Maintenance" status at sub-mirror d11. This tutorial will give step by step how to replace disk c0t0d0 in SVM environment.

svc:/system/filesystem/local:default goes to maintenance status, find root cause and how to solve

Aug 26, 2016 3:44 PM

svc:/system/filesystem/local handles filesystem mounting related. And it has many dependency services. When this service got a problem, many services will impacted with Offline status. For example network service, ssh service, etc. While service system/filesystem/local is not online status the other service status are offline. Issue: Many services are not started with Offline status (ssh, .. etc) Cause: svc:/system/filesystem/local:default service state is Maintenance Impact: 42 Dependencies service is not running

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
   

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.

Matikanlah fasilitas share dokumen saat berada di public wifi!!

Nov 11, 2014 7:19 PM

 _________  _________   _______  _________ 
/__     __\|    _o___) /   O   \/    O___ \
`%%|___|%%'|___|\____\/___/%\___\_____\  \/
    `B'     `BB' `BBB'`BB'   `BB'`BBBBB\__\
                                                    `   
Bagi anda yang selalu terkoneksi ke internet menggunakan wifi, mohonberhati-hati saat sharing dokumen, karena data anda bisa dilihat dan diambil orang tanpa anda sadari. Di dunia kerja, share data/file sudah biasa karena data anda juga sering dibutuhkan oleh rekan kerja yang lain. Di area kerja bisa bebas share file karena berada di Private Network (trusted area). Ketika laptop kerja yang anda pakai, anda gunakan untuk terkoneksi internet via wifi di tempat umum. Maka anda sudah masuk ke area yang tidak lagi Private/Trusted.

Artikel ini akan menjelaskan dan menggambarkan saat terkoneksi dengan wifi tanpa kita sadari ada folder/direktori anda yang dishare, kemudian file-file di folder anda bisa dipantau bahkan diambil secara ilegal. 

Matikanlah share folder saat berada di public wifi!!

6:48 PM

    .....                                               
 .H8888888h.  ~-.                                       
 888888888888x  `>    .u    .                           
X~     `?888888hx~  .d88B :@8c        u         .u@u    
'      x8.^"*88*"  ="8888f8888r    us888u.   .zWF8888bx 
 `-:- X8888x         4888>'88"  .@88 "8888" .888  9888  
      488888>        4888> '    9888  9888  I888  9888  
    .. `"88*         4888>      9888  9888  I888  9888  
  x88888nX"      .  .d888L .+   9888  9888  I888  9888  
 !"*8888888n..  :   ^"8888*"    9888  9888  `888Nx?888  
'    "*88888888*       "Y"      "888*""888"  "88" '888  
        ^"***"`                  ^Y"   ^Y'         88E  
                                                   98>  
                                                   '8   
                                                    `   
Bagi anda yang selalu terkoneksi ke internet menggunakan wifi, mohonberhati-hati saat sharing dokumen, karena data anda bisa dilihat dan diambil orang tanpa anda sadari. Di dunia kerja, share data/file sudah biasa karena data anda juga sering dibutuhkan oleh rekan kerja yang lain. Di area kerja bisa bebas share file karena berada di Private Network (trusted area). Ketika laptop kerja yang anda pakai, anda gunakan untuk terkoneksi internet via wifi di tempat umum. Maka anda sudah masuk ke area yang tidak lagi Private/Trusted.

Artikel ini akan menjelaskan dan menggambarkan saat terkoneksi dengan wifi tanpa kita sadari ada folder/direktori anda yang dishare, kemudian file-file di folder anda bisa dipantau bahkan diambil secara ilegal. 

Reset Mysql Root Password

Aug 7, 2012 1:33 PM

Root Password is a vital part on mysql database. Root user has privilege to manage all mysql resources. This user can make/modify database user account, manipulates database setting, etc. So, root password is a very important. But, how does it account lost?.

This article will explain how to recovery your mysql root password with a simple way. It's easy way to reset lost mysql root password.

Get Unix Memory And CPU Statistic

Mar 21, 2012 3:46 PM

,_________________________________________________________________________,
,                 Get Memory And CPU Performance Statistic                ,
,                 ========================================                ,
,_________________________________________________________________________,

Every Unix system has amount of physical memory (RAM). With this physical memory, Unix doing addressing and break it up into chunks or "pages" of memory. 
Pages of memory is the fixed length contiguous block of virtual memory that is the smallest unit of data for memory allocation and transfer [wikipedia]. 
In linux system, we can get the number of bytes per page using function 'getpagesize()' from standar library, for the example as follow:

 #include <unistd.h>
 #include <stdio.h>
 int main(int argc, char *argv[]) {
  printf("Page size: %d\n", getpagesize());
 }

So, how about the tools to measure the performances?. I will show you one greath tool to measure the memory and CPU. The tool are:

Walking through SMB Tracking

Feb 10, 2012 6:25 AM

When you connecting your computer to the public network like restaurant, cafe, airport, and etc. You have to be aware with your personal data. If you forgot to disable file sharing in your PC/notebook, your shared data are in a danger!!!, why???. It can be described from your notebook while it live in your office. While you powered on it machine in your office, it's not a problem to share anything data in a trusted network. Then, when you go to the public area and connecting your notebook to the public network arround you. Don't forget to disable your file share, except you have protected your share with some password. It's a general negligance in the world.

Article list :