Change Hostname in Solaris 10

Solaris is not is easy to maintain, that from what I experienced up till now +__+. For example if you want to change the name of our computer you have to go through all this stuff, while in Windows you can do it easily :P, but this is the interesting part, you have to try it!!

Change the name in /etc/nodename

Inside here just replace the old name with the name that you wanted

Change the name in /etc/hostname.interface

Inside here just replace the old name with the name that you wanted

Change the name in /etc/hosts

127.0.0.1 localhost

10.0.0.1 new_hostname loghost

After this you can type

hostname new_hostname

After that you can try to reboot and check by ping to your new hostname.

Configure Solaris Container (Zoning) in Solaris 10

Solaris Container is a virtualization technology that come from SUN, from my experience you can only make virtualization for Solaris I don’t know if for another OS. We usually call it with SUN Zone CMIIW. With this container we can manage resource for application and services, another virtualization can do it too, I think…

The bottom line is that my experience with Solaris Container is to deploy some application (Web Application) inside those container in one server, like SUN T5220, so later this server “seems” to have so many OS, each with its own IP address, file, processor, and another resources.

In my case I’m using T5220 which has 64 thread that is equal having 64 CPU, and my application need at least 4 CPU. This would make one T5220 can have around 16 application with their own separated environment (not completely). Because if the server is being shut down, the container is shut down too. But when the server is up we can easily boot, reboot the container. If you want to have the real virtualization, I mean when the server is broken but you don’t want your container broken you have to use SUN Fire E25K server, it will cost you around 1 up to 4 million US dollars 😛 Continue reading

Turn On Your Solaris Sparc Based Server

To make your Sparc based server running is not as easy as you turn on your Intel based processor server, it is not as simply as pushing the power button and run well. You have to make some “writing” in this process

Few weeks ago as I said I received 2 Sun Sparc T5220 with Solaris 10 inside it. So I have to configure everything… But then when I turn on the server, I waited for long enough and I still cannot to telnet that server (Newbie…) So my boss asked me to use Hyper Terminal and COM port cable (it’s a cable with one edge as serial port and the other one as RJ 45 CMIIW).

Continue reading

Export Display in Unix

Export display is quite important for people that work in data center since it is impossible to put every server with a monitor, well actually you can do it with KVM switch, but then you still have to walk to get them. With this way you don’t have to do it, the requirement is only good network connection and strong computer to handle all the GUI 😀

In the case where your server doesn’t have any VGA card, so it’s impossible for you to plug in your monitor and all you can do is to connect by terminal server using COM port, you can try to export your Server’s Desktop into your desktop using export DISPLAY. This also will be useful if you employ a tight security option in your server, for example all of the port in your server is closed but port 22 or 23, then to make a remote desktop connection you can try this option.

Remote Desktop

Continue reading