Tips

To disable sun terminals going to OK prompt during power failure of Terminal servers

01. Edit /etc/default/kbd file and look for line KEYBOARD_ABORT=enable and edit it as follows follows

 KEYBOARD_ABORT=alternate

02. Run the kbd -i command to make the changes immediate.

03. Alternate Sequence for going to OK prompt is ~ followed by ctrl + b

fsstat reports kernel file operation activity by the file system type (fstype) or by the path name, which is converted to a mount point.

To mount the cdrom in solaris

 mount -o ro -f hsfs /dev/dsk/c0t2d0s2 /mnt

To change the Time zone in Solaris

 a) Edit /etc/TIMEZONE
	NOTE: the man page incorrectly states this file is called /etc/timezone
 b) Reboot your server with shutdown or init.

Examples
US/Eastern
US/Central
US/Mountain
US/Pacific

For the full list, look in: /usr/share/lib/zoneinfo/


System Admin Commands list

    http://docs.sun.com/app/docs/doc/816-0211/6m6nc66m6?a=expand

Big Admin home page

   http://www.sun.com/bigadmin/home/index.html

Setting the path variable in Solaris

 /etc/default/login
 /etc/default/su
 /etc/profile

 (eg) PATH=/opt/csw/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin

taking backup and copying directly to other system

 ufsdump 0f - /dev/rdsk/c0t0d0s7 | rsh <remote> "cd /home; ufsrestore xf 

Accessing Fujitsu Primepower 1500 partition's console

01. Login to DCM and find out the SMC for the partition

02. ssh as root to the SMC system

03. Find out the actual name of the partition name by viewing either /etc/hosts file or /etc/FJSVscstargets

04. Run the following command to get connected the partition console

    # /opt/FJSVcsl/bin/get_console -w -n <partition_name>

05. If you want to get into OK prompt

    a. ctrl+] to get the telnet prompt
    b. From telnet prompt, type "send break"  to get OK prompt

Another way of Accessing (GUI) Primepower 1500 partition's console

01. Login to DCM and find out the SMC for the partition

02. ssh as root to the SMC system

03. This one uses GUI tools. So, you need to run x-server software like exceed on your PC. If exceed software is installed on your system, start it now

04. Export the DISPLAY in the SMC server to your local PC

    # DISPLAY=IP_ADDRESS_OF_YOUR_PC:0
    # export DISPLAY

05. Run the following command to get the consoles. You will be presented with a screen with the list of all available partions. You can choose the right partition from there

 # /opt/FJSVscsl/bin/rcmanager

main menu
/opt/FJSVscsl/bin/mainmenu