Solaris : Access LDOM console remotely

The vntsd service defaults to listening for connections on localhost (IP address 127.0.0.1), so you canonly access domain consoles from the control domain by telnet to localhost. However, by changing the service con?guration you can enable remote access. This example recon?gures the console service for remote access: #svccfg svc:>select  ldoms/vntsd svc:/ldoms/vntsd> listprop vntsd    application vntsd/timeout_minutes  

Solaris : Access LDOM console remotely Read More »

Configuring and Installing Solaris 8 and Solaris 9 ( Containers / Zones )

Preparation Install Solaris 10 5/08 or higherNOTE : If you install Solaris 10 8/07,you need patch 127111-01 or higher Download Solaris 8 Container Software Download Solaris 9 Container Software Installation The following procedure is for Solaris 8 containers only. Follow the same steps to install Solaris 9container Step 1 Install Solaris 10 5/08 # cat

Configuring and Installing Solaris 8 and Solaris 9 ( Containers / Zones ) Read More »

Sun T3-1 / T3-2 / T3-4 Server RAID configration

1) First find the right controller.  You can use the built in device alias.   Tip:  Use ‘devalias’ to show the devices to find the scsi controllers: {0} ok> devalias disk7 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p3 disk6 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p2 disk5 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p1 disk4 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p0 cdrom /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p6 scsi1 /pci@400/pci@2/pci@0/pci@4/scsi@0 disk3 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p3 disk2 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p2 disk1 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p1 disk0 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p0 disk /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p0 scsi0 /pci@400/pci@1/pci@0/pci@4/scsi@0 2)

Sun T3-1 / T3-2 / T3-4 Server RAID configration Read More »

Solaris: Zone memory capping

First you have to have created a zone with memory capping enabled. This would be done during the zonecfg setup: zonecfg:s8-zone-solar97> add capped-memory zonecfg:zone:capped-memory> set physical=50m zonecfg:zone:capped-memory> set swap=100m zonecfg:zone:capped-memory> set locked=30m zonecfg:zone:capped-memory> end Once you zone is configured installed and running, you can view the resources of a zone: # /bin/prctl -n zone.max-swap `pgrep

Solaris: Zone memory capping Read More »

How to check number of "Physical CPU and core"?

number of physical cpu: “psrinfo -p” number of cores: “kstat cpu_info|grep core_id|sort -u|wc -l” number of threads: “psrinfo -pv” Code: # echo “`psrinfo -p` socket(s)” 2 socket(s) Code: # echo “`kstat -m cpu_info|grep -w core_id|uniq|wc -l` core(s) ” 8 core(s) Code: # echo “`psrinfo|wc -l` logical (virtual) processor(s)” 64 logical (virtual) processor(s) so (core(s) with

How to check number of "Physical CPU and core"? Read More »

How to manage RHEL / CentOS / OEL Linux Services

Redhat enterprise Linux comes with two nice commands ntsysv – simple TUI (text based interface) interface for configuring runlevels. chkconfig – chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. Turn on sshd service on

How to manage RHEL / CentOS / OEL Linux Services Read More »

How to see the process threads / lwpid on HP-UX

# pstack <process id>   # pstack 7604   ——————————–  lwpid : 7463580   ——————————- 0: 60000000c0379e50 : __ksleep() + 0x30 (/usr/lib/hpux32/libc.so.1) 1: 60000000c013aa10 : __mxn_sleep() + 0xaf0 (/usr/lib/hpux32/libpthread.so.1) 2: 60000000c00d1f50 : pthread_cond_wait() + 0xdd0 (/usr/lib/hpux32/libpthread.so.1) 3: 60000000c00d1210 : pthread_cond_wait() + 0x90 (/usr/lib/hpux32/libpthread.so.1) 4: 60000000c9d4ba20 : _ZN2os4Hpux5Event4downEv() + 0x100 (/gmac01/oraas/mid/jdk/jre/lib/IA64N/server/libjvm.so) 5: 60000000c9d4f650 : _ZN13ObjectMonitor4waitExbP6Thread() + 0x1280 (/gmac01/oraas/mid/jdk/jre/lib/IA64N/server/libjvm.so)

How to see the process threads / lwpid on HP-UX Read More »

Scroll to Top