Posts Tagged ‘ Solaris ’

Nslookup resolves address but ping is unable to resolve hostname on Unix server

November 17, 2010
By

I came across this issue on my newly built Solaris 10 server. I was able to ping a remote machine by Ip address, but not by its hostname. This indicated that I had the correct route and gateway. Using nslookup and dig I verified that the DNS servers were resolving the hostname to IP...
Read more »

Tags: , , , , ,
Posted in Software | 3 Comments »

How to map to a remote NFS directory from a VMware ESX 4 server.

November 16, 2010
By

I ran into this error while trying to mount a NFS directory on a remote server from my Vmware ESX4 server. My Vmware esx server is called esx4-server and the remote NFS server is called remote-server. I executed the mount commant and got the below error. # mount -t nfs remote-server:/home/andrew/mnt mount.nfs: Input/output...
Read more »

Tags: , , ,
Posted in Software | No Comments »

Sun Sparc commands to power on and boot up the server.

November 15, 2010
By

Booting up the Sun Sparc M3000 server. After logging into the XSCF console, power on the server. XSCF> poweron -d 0 DomainIDs to power on:00 Continue? :y Switch to the server console. XSCF> console -d 0 Connect to DomainID 0? :y Devalias will list all devices which can be booted. {0} ok devalias...
Read more »

Tags: , , ,
Posted in Hardware | 2 Comments »

Booting up Solaris 10 from a SAN replicated LUN on a different Sun SPARC server

July 9, 2010
By

The quickest way to recover from a total disaster is to have some sort of replication implemented. There are two different methods of real-time replication, hardware and software. My experiences with software replication such as Symantec Veritas Volume replicator for AIX was not pleasing. It required constant maintenance and troubleshooting. The best is hardware...
Read more »

Tags: , , ,
Posted in Hardware, Software | 1 Comment »

How to get the network card speed in Solaris 9

May 12, 2010
By

To determine the network card speed in Solaris 9 use the ndd utility. First list the NIC installed and active on the Solaris 9 server. # ifconfig -a lo0: flags=1000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: flags=1000843 mtu 1500 index 2 inet 162.10.1.11 netmask ffff0000 broadcast 162.10.255.255 ether 8:0:20:c4:8c:87 There is...
Read more »

Tags: ,
Posted in Software | 1 Comment »

How to relocate the /export and /export/home filesystems on Solaris 10.

April 8, 2010
By

By default Solaris installs the /export and /export/home filesystems in the root zfs pool, if you picked ZFS and not UFS as the filesystem. I wanted to relocate /export and /export/home to a larger ZFS pool other than the root pool as I wanted to separate the user’s data from the OS. The first...
Read more »

Tags: ,
Posted in Software | 1 Comment »

How to rebuild a Solaris 10 server using the ZFS Root Pool Snapshots

March 12, 2010
By

Solaris 10 has provides the ability to recover from a disk drive failure using ZFS root pool snapshots. The snapshot can also be used to quickly rebuild a new server in the event of a disaster. Snapshot is different from flash archive which can also be used to rebuild a server. If the flash...
Read more »

Tags: , ,
Posted in Software | No Comments »

Changing the default boot device on a Sparc server

March 2, 2010
By

You can display and change the default boot device on a SUN Sparc server from the eeprom console. List the bootable devices with the devalias command, ok devalias cdrom /pci@0,600000/pci@0/pci@0/scsi@0/disk@4,0:f net /pci@0,600000/pci@0/pci@1/pci@0/network@4 disk /pci@0,600000/pci@0/pci@0/scsi@0/disk@0 name aliases List the current boot device. ok printenv boot-device boot-device = disk Change the boot device from disk to...
Read more »

Tags: , ,
Posted in Hardware | No Comments »

How to list the status of swap in Solaris

February 26, 2010
By

List the status of all swap areas. # swap -l swapfile dev swaplo blocks free dev/dsk/c0t0d0s1 32,9 16 8425712 8425712 The output has five columns: path The path name for the swap area. dev The major/minor device number in decimal if it is a block special device; zeroes otherwise. swaplo The swaplow value for...
Read more »

Tags: , , ,
Posted in Software | 1 Comment »

How to change the IP address in Solaris 10

February 25, 2010
By

Here is a list of files that you need to edit when changing the IP address of an interface in Solaris 10. /etc/hosts /etc/hostname.interface-name /etc/nodename /etc/defaultrouter /etc/resolv.conf /etc/netmasks Add the ip address and server name to the host file. vi /etc/hosts 10.0.0.10 server-name Select the interface you want, your server may have more than...
Read more »

Tags: ,
Posted in Software | No Comments »