How to Configure Link Based Detection IPMP (Active-Standby)

1. Check Solaris version. At minimum Solaris 9 12/02 is needed.

#uname -a
SunOS XXXXX 5.10 Generic_118833-33 sun4u sparc SUNW,Netra-XXX

2. Set local mac address to true

#eeprom local-mac-address?=true

Read more »

How to Configure Probe Bases IPMP (2 Public IP)

1. Check Solaris version. At minimum Solaris 8 10/00 is needed.

# uname -a
SunOS XXXXX 5.10 Generic_118833-33 sun4u sparc SUNW,Netra-XXX

2. Set local mac address to true

# eeprom local-mac-address?=true

Read more »

How to Configure Probe Based IPMP (1 Public IP)

1. Check Solaris version. At minimum Solaris 8 10/00 is needed.

# uname -a
SunOS XXXXX 5.10 Generic_118833-33 sun4u sparc SUNW,Netra-XXX

2. Set local mac address to true

# eeprom local-mac-address?=true

Read more »

How to Update Sun System Firmware Using Flash Update

** Verifying that the Sun System Firmware supports this utility

The version of Sun System Firmware running on the system to be flash-updated must be 6.1.10 or higher. Consult the Install.info or other system documentation to determine the system’s Sun System Firmware version. If the version of Sun System Firmware is older than 6.1.10, then you must use the default protocol for flash-updating via the System Controller NET MGT port.

** Installing the Sun System Firmware from Solaris

1. Login to the system as root.

2. Change directory to /tmp

# cd /tmp/

3. Create a subdirectory named ‘images‘.

# mkdir images

Read more »

How to Create User in Fedora/Red Hat

1. Create a user

[root@keem ~]# adduser asknadya
[root@keem ~]#

2. Create password for asknadya

[root@keem ~]# passwd asknadya
Changing password for user asknadya.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

3. Verify

[root@keem ~]# finger asknadya
Login: asknadya                         Name: (null)
Directory: /home/asknadya               Shell: /bin/bash
Never logged in.
No mail.
No Plan.

How to Delete a User in Fedora/Red Hat

The userdel command is used to remove or delete user account.

1. View the existent of the user

[root@keem ~]# finger keem
Login: keem                             Name: (null)
Directory: /home/keem                   Shell: /bin/bash
Never logged in.
No mail.
No Plan.

2. Remove user account with home directory & mail spool.

[root@keem ~]# userdel -r keem

3. Verify

[root@keem ~]# finger keem
finger: keem: no such user.

How to Change Hostname in Fedora/Red Hat

Temporary Hostname:

1. Check your hostname

[root@keem ~]# hostname
keem

2. Change the hostname

[root@keem ~]# hostname asknadya

3. Verify

[root@keem ~]# hostname
asknadya

Read more »

How to Create/Delete State Database Replicas

1. Creating the first state database replica

# metadb -a -f c0t1d0s7
# metadb
flags         first blk      block count

a      u         16             8192            /dev/dsk/c0t1d0s7

Note:
The -a option adds the additional state database replica to the system, and the -f option forces the creation of the first replica.

Read more »

How to Check the Status of State Database Replicas (metadb)

1. To view the status of state database replicas.

# metadb -i
flags           first blk       block count
a m  p  luo        16               8192            /dev/dsk/c1t0d0s7
a p  luo        8208             8192            /dev/dsk/c1t0d0s7
W p  luo        16               8192            /dev/dsk/c1t1d0s7
W p  luo        8208             8192            /dev/dsk/c1t1d0s7

Read more »

How to Configure DNS Client in Solaris

1. Open /etc/resolv.conf using vi editor

# vi /etc/resolv.conf

2. Add DNS server IP into the /etc/resolv.conf

nameserver XXX.XXX.XXX.XXX
nameserver XXX.XXX.XXX.XXX

3. Copy the DNS nsswitch file

# cp /etc/nsswitch.dns /etc/nsswitch.conf

4. Test your DNS

# nslookup
> www.asknadya.com

or

# ping www.asknadya.com