November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Find pid in Solaris 10

Find pid in Solaris 10

If you do not know the pid of a process, you can use “pidof” command in Linux. In case of Solaris, its not available.

Here’s how you can find it:

#ps -ef | grep nscd | grep -v grep | cut -c12-19 123

Here, it will find the pid of […]

after Solaris 10 installation

after Solaris 10 installation

1. Set BASH as default shell for root: This is first thing I really do! Because bash has multiple advantages for day to day use and scripting too, over other shells. For this you can simply edit /etc/passwd file and change the shell from very first line. By default it […]

Disabling default GUI Startup Solaris 10

Disabling default GUI Startup Solaris 10

Many of us may not want to use the Solaris 10 Default JAVA or KDE default GUI. To startup Solaris 10 default in command Line mode you can make use of one of following:

1. You can use dtconfig command: To disable GUI: #/usr/dt/bin/dtconfig -d To enable GUI: #/usr/dt/bin/dtconfig […]

Solaris 10 Live Upgrade HowTo

Prepare the disk slice and partition for live upgrade: disk 1 Partition: c0d0s0 / c0d0s1 swap c0d0s2 backup

disk 2 partition:

c0d1s0 /copyroot

the partition on second disk (/copyroot) is same size as the root (/) partition and it must not appear in use in “/etc/vfstab”.

This example explains how to upgrade a Solaris 10 […]

Creating a Jumpstart Server from ISO images

Creating a Jumpstart Server from ISO images

What is Jumpstart ? Jumpstart is a computer network installation tool set used by the Solaris OS. On this post, you will find easy step to perform Jumpstart installation from ISO Solaris OS images.

here are the step-by-step:

first of all, you need to upload Solaris ISO image […]

How to reset the ILOM root password back to the default ‘changeme’ using ipmitool

How to reset the ILOM root password back to the default ‘changeme’ using ipmitool

If the root password on the ILOM is currently unknown, but you have root access to the O/S installed, you can change the ILOM password back to the default “changeme”.

Follow below steps: # which ipmitool /usr/sbin/ipmitool

# /usr/sbin/ipmitool -V ipmitool […]

How to Configure NTP Server and NTP Client on Solaris 10

How to Configure NTP Server on Solaris 10:

[Check NTP services: bash-3.00# svcs ntp STATE STIME FMRI disabled 21:14:03 svc:/network/ntp:default bash-3.00#

NTP services still ‘disabled’, OK leave it disabled state, before enable NTP services, we need to create / edit ntp.conf.

bash-3.00# cp /etc/inet/ntp.server /etc/inet/ntp.conf bash-3.00# vi /etc/inet/ntp.conf [Find two lines: server 127.127.XType.0 fudge 127.127.XType.0 […]

How To Boot Solaris Cluster into Non-Cluster Mode

Shut down the specific Global Cluster

# clnode evacuate # cluster shutdown -g0 -y

For SPARC, drop system to OK Prompt, then type ‘boot -xs’.

ok> boot -xs

For X86: – In the GRUB menu, use the arrow keys to select the appropriate Solaris entry and type e to edit its commands. GNU GRUB version […]

SOLARIS 11 ZFS ROOT RECOVERY:

SOLARIS 11 ZFS ROOT RECOVERY:

* Boot system into single user via network or CDROM. boot net -s boot cdrom -s

* On X86 machine, you need edit grub and append -s on kernel line OR boot CDROM with Solaris-11-Text image/media, then select option “3 shell” on “Welcome to the Oracle Solaris Installation Menu”. * […]

Solaris 10 Remote X11,X-Server or CDE Login Problem

Sometimes I got an error after finishing on Solaris 10 box installation. After make some configuration then suddenly I can’t access my Solaris XDMCP remote session on my laptop.. Usually, I use XManager Enterprise to get Solaris GUI remote session XDMCP. here the step-by-step to troubleshoot if you got the same problem:

*you must run […]