Archive

Posts Tagged ‘Solaris’

How to change the IP Address in solaris

August 31st, 2010 No comments

Changing the ip address in Solaris is straight forward. But its not a one or two click methods like in Windows. There is one important advantage in solaris 10 is that there is no need of reboot of the server against its predecessor solaris 9 where you need to reboot to make the changes permemnant. In order to change the IP temperorily in both Solaris 9 and 10 is

# ifconfig <interface> <ip_address> <netmasks> <broadcast address>

You can figure out the interface name by using ifconfig command. Now to change the IP under solaris 9 and older version, just open /etc/hosts file and add or edit the entry for the IP address and the hostname. You need to reboot the server so that the changes will take place.

In Solaris 10 there is one more file you need to edit which is /etc/inet/ipnodes (ipnodes file is for IPv6, without adding an entry to the file, the IP address (IPv4) will not active but SUN has fixed this issue).  Next restart the network services and the changes will take place

#svcadm restart newtork/physical

No reboot, no downtime. Cool !

Categories: Solaris Tags:

Solaris Zones Cheat Sheet

June 1st, 2010 1 comment

As a zone is a light-weight VM created within a single instance of the Solaris Operating System, you can boot zone, login into zone, etc as if this is a separate computer. The original instance of Solaris is called a global zone. It always has the name global. The global zone run system-wide processes and is used for zone administrative control. A regular user of the global zone can be a root user of the zone and thus can boot the zone, add/delete users, etc. that’s a nice separation of duties in a large enterprise environment.

Solaris Zones can be maintained by System administrator with the help of minimal commands . Let us look at the commands which will help the Sys admins to face the day to day Zone administration.

Read more…

How to Tune kernel parameters in Solaris 10

May 31st, 2010 No comments

Solaris 10 has introduced a lots of new features and one of them is to tune the kernel without rebooting the system. So that you can modify the kernel in a live production system. Many kernel parameters have been replaced by so called resource controls in Solaris 10. It is possible to change resource controls using the prctl command. All shared memory and semaphore settings are now handled via resource controls, so any entries regarding shared memory or semaphores (shm & sem) in /etc/system will be ignored. Before going into details let us check what is semaphore.

Read more…

How to Mount a New File System in Solaris

May 8th, 2010 No comments

To add a new disk to the system, prepare the disk to hold a file system, and mount the file system, perform these general steps:

  1. Set up the disk hardware, which might include setting address switches and connecting cables.
  2. Perform a reconfiguration boot or run the devfsadm utility to add support for the new disk.
  3. Use the format utility to partition the disk into one or more slices.
  4. Create a new file system on one slice by using the newfs command.
  5. Create a mount point for the file system by using the mkdir command to create a new directory in the / (root) file system.
  6.  Read more...

What is uadmin

March 30th, 2010 No comments

In Solaris there are times you may need to jump into ok prompt. You can do this while booting by pressing CTRL + A , but when you are in Solaris shell you can do it by using uadmin command . Here are the all the options of uadmin

Read more…

Categories: Solaris Tags: ,

How to update Open Boot PROM for Sun SPARC Servers

March 30th, 2010 7 comments

All Sun Servers and workstations have resident boot PROM firmware (called OBP) that provides basic hardware testing and initialization prior to booting. The boot PROM also enables you to boot from a wide range of devices. The boot PROM firmware controls the operation of the system before the OS has been booted and the kernel is available.Before updating we should know what is the existing OBP revision. Read more…