Search This Blog

Sunday, June 5, 2011

How to take the Nickel Backup


In SUN Solaris system we have explorer to collect all system configuration and information, in HP-UX we will be using nickel.

Follow the instruction below to successfully run nickel and collect all your system configuration and information in HP-UX

1. Transfer the nickel.shar file to /tmp directory.
2. Run the following command.

# sh nickel.shar
mkdir - /opt/contrib
mkdir - /opt/contrib/bin
x - /opt/contrib/bin/nickel [compressed]
mkdir - /opt/contrib/man
mkdir - /opt/contrib/man/man1m
x - /opt/contrib/man/man1m/nickel.1m [compressed]

# cd /opt/contrib./bin
# chmod 555 nickel
#./nickel

A file: nickel.yourhostname.tar.gz will be created under /opt/contrib/bin

FTP in “BINARY” mode, nickel.yourhostname.tar.gz to PC ”ASCII” mode will corrupt the .tar.gz file)

View your nickel information with your favorite browser.

What to do if nickel script seems to be hang while running <i.e. taking >30 mins >
If nickel is not giving any output <seems to hung> please follow the steps given below.

Option 1:
  1. Exit Nickel Session
  2. Issue command:

# /sbin/init.d/diagnostic stop
# /sbin/init.d/diagnostic start

  1. Run Nickel again:

# cd /opt/contrib/bin
# ./nickel


Option 2 (Assume option 1 fails, nickel still hangs at *stm*)
1.    Telnet another session

# ps -ef | grep nickel
# kill -9 <process_id_of_cstm>
# kill -9 <process_id_of__stm>

No comments:

Post a Comment