
Add this to your .profile or .bash_profile to increase the history size to 10000
export HISTFILESIZE=10000
On your Solaris boxes here, you’d need to do
last -10 reboot to actually get the times that the system was rebooted.
As it shows the system down messages, as well as the boot messages.
root@immam # last -10 reboot reboot system boot Sun Aug 16 10:53 reboot system down Sun Jun 14 08:50 reboot system boot Sun Jun 14 08:17 reboot system down Mon Mar 2 12:44 reboot system boot Mon Jan 27 10:23 reboot system down Sun Jan 26 13:15 reboot system boot Sun Jan 26 12:36 reboot system down Wed Jan 22 14:40 reboot system boot Mon Jan 20 13:55 reboot system down Mon Jan 20 12:59
Switching between ALOM and ILOM is applicable on SPARC Servers (T-Series)
SWITCH FROM ILOM TO ALOM :
If you have logged to ilom as a root user (you may be logged in as different user) and you want to switch to ALOM then run this below command, logout and log back in.
->set /SP/users/root cli_mode=alom
SWITCH FROM ALOM TO ILOM :
If you have logged to alom shell as a root user (you may be logged in as different user) and you want to switch to ILOM shell then run the below command, logout and log back in.
sc>userclimode root default
Step 1: Check /etc/resolv.conf file
/etc/resolv.conf file includes the primary and secondary DNS server IP address for Solaris system.
Step 2: Open & Edit /etc/resolv.conf
#vi /etc/resolv.conf
Add the following lines to it:
nameserver 10.xx.xx.223 nameserver 10.xx.xx.224 search domaindns.oracle.com
Step 3: Enable the name resolving using DNS
#cp /etc/nsswitch.dns /etc/nsswitch.conf
Step 4: Test new name server
#/usr/sfw/sbin/nslookup dns.oracle.com
Output:
Server: xx.oracle.com Address: 10.xx.xx.223 Non-authoritative answer: Name: dns.oracle.com Address: 10.xx.xx.224