Category Archives: Solaris

Solaris automount autofs home area howto | how to setup autofs home areas on solaris.

I spent a few days trying to figure out how to setup automount on Solaris.

Although its very well documented on the Solaris website, its doe not have and end to end document howto. Here it is.

This will not include the NFS server details, I already have a howto for that here.

Lets get started

 

Create a directory where our new network mountable home area will be located.

Edit the auto_master file

Ensure this line exists.

Edit the auto_home file

ensure the following exists, these are the two users we’ll be testing with.

Create the users on the local system, you can avoid having to do this if you setup LDAP/NIS. For this howto i want to keep it simple, please ensure the users are setup with the same UID as the NFS server, otherwise you will face permission problems.

Lets see if automount is working, if it is you will see the following. If nothing appears, you need to start automount (next step)

Lets start automount with verbose logging for faultfinding.

Your done, enjoy.

Solaris setup a NFS client and server | making a NFS client server environment in solaris

A quick howto for setting up NFS on a Solaris server.

This is relatively easy process, sometimes can be problematic due to firewall rules and services running on the system

Lets enable and start the services.

This will create the create and share it to the world, for this exercise I didnt specify source IP’s. You can do that later once you have everything working.

To confirm the share is now active

Ok now jumping on the client side, lets mount the share.

Lets see the mount

Done! Enjoy!

Solaris Beginner working with boot up and zones | solaris beginners zoneadm startup boot sequence

I needed to work on a Solaris environment recently, something I have not done in a long time. The servers themselves were all in a faulty state in the datacentre, so I thought Id document the process as to what I did to bring them to life again. 

Basically its a little Solaris howto, getting the boot process kicked off and auditing what zones are on the system and booting them too.

Connecting to the lights out management card via ssh reveals the following prompt. The default username and password for the console is root / changeme.

Typing the following give you the console

If the machine has not booted, type the following.

You should now see the machine begin the boot process.

Now you want to SSH directly into the OS. We want to quickly perform an audit to determine what we are dealing with. Lets work out what version of Solaris we are dealing with.

Now lets see what storage is mounted and available space.

Its good to know how long the system has been running and what kind of average load is on the system

Lets figure out the networking of the system

We also need to work out if there are any zone alive on this physical host, using the following command.

One of the zone may be in an off state, you can bring it to life by.

and you can shut down live system with the following.

If you know the IP of the zone, you may SSH directly to it. Alternatively you can bring its console up by using the following.

 

 

 

Solaris Error: ERROR: The following devices are disabled: MB/PCIE-IO/USB

I inherited a Solaris server farm which was almost entirely broken. This was a constant problem when trying to stand up the environment. These are the command required for the repair.

This was the error displayed on console while trying to boot.

First we must SSH to the console IP. The default console username and password is as follows.

Username: root

Password: changeme

Once connected, the console prompt should look like this

Once confirmed, lets set to enabled.

And restart the system.