How to take ignite backup for HP-UX


This post describes  how to  create ignite  backup file  for HP-UX.Ignite   is a well  designed  backup  restore  tool for  root/boot volume backup and restore. You need additional software to  get  backup  except  root  volume  group.

Requirements

  • FTP/TFTP  Connections
  • Port Connections  For(UDP/TCP)
  • Ignite  Server  IP and  Archive  Directory
  • Client  Server Configuration
  • Modified  Ignite  Script

Take  Ignite  Backup

Server Side Configuration

Step 1:Add  Ignite  Server  IP Address to  hosts  file

#echo  "clientIP   Clienthostname" >> /etc/hosts

Step 2:Create  Client  Server directory
#mkdir -p /var/opt/ignite/recovery/archives/clienthostname

#chown bin:bin /var/opt/ignite/recovery/archives/clienthostname

Step 3:Add  Client  Server  Directory  to  NFS Configuration

Before  share new  directory check  if your  client  has  connection to  Ignite Server  NFS and TFTP  ports.

# cat /etc/services|egrep -i 'NFS|TFTP'

tftp 69/udp # Trivial File Transfer Protocol

nfsd-keepalive 1110/udp # Client status info

nfsd-status 1110/tcp # Cluster status info

nfsd 2049/udp nfs # NFS server daemon (clts)

nfsd 2049/tcp nfs # NFS server daemon (cots)

lockd 4045/udp # NFS lockd daemon/manager for udp

lockd 4045/tcp # NFS lockd daemon/manager for tcp

Add  new  directory  to  dfstab.If you need to share  for  only  spesific  client server  change  anon string  like this:  “anon=2,rw=clienthostname”

#echo "/var/opt/ignite/recovery/archives/clienthostname -anon=2" >> /etc/exports

**Older realase  of  HP-UX  like  11.11-23 add  “access=clienthostname” after “-anon=2”  string.

**And  also add  this line to dfstab

#echo "share -F nfs -o anon=2,rw /var/opt/ignite/recovery/archives/clienthostname " >> /etc/dfs/dfstab

Client  Side Configuration

Step 1: Check  this  port  connection to  Ignite  Server

**UDP/TCP  2049

**UDP           69

Step 2:Add  ignite  server to  hosts file

#echo  "IgniteserverIP Igniteserverhostname" >> /etc/hosts

Step 3:Check  Root  disk  Volume group for  ignite  script

#bdf|grep  -w "/"|awk  '{print $1}'|awk  -F  [/] '{print $3}'

If  you don’t  need some directories  which  is  under  Root  VG  you can  exclude them  with  “-x exclude=MountPoint”. So  check and take note  which  mount  points  you don’t need  like  /oracle /appdata etc.

Step 4:Create Ignite  Script

Check all mount  points  which  is  under  Root  Volume grup. In my case  volume group is “vg00” .Then  configure the script which added below.

-x : exclude  mount  point which added.

inc_entire: root  filesystem volume group

#vi  /var/opt/ignite/scripts/make_net_recovery.sh

############################################################

# Description : Ignite Backup Alma Scripti #

# Author : Abdurrahim YILDRIM #

# Date : Tue Nov 10 14:35:03 EET 2015 #

# Version : 1.0 #

# OS Specs : HP-UX #

############################################################

IGNITE_SERVER=igntsrv0

ARCHIVE_DIR=/var/opt/ignite/recovery/archives

/opt/ignite/bin/make_net_recovery -A -v -x inc_entire=vg00 -x exclude=/data/oa -x exclude=/data -x exclude=/debug -x exclude=/oracle -x exclude=/var/adm/crash -s $IGNITE_SERVER -a $IGNITE_SERVER:$ARCHIVE_DIR/`/usr/bin/hostname` -n 3 -d "Recovery Archive of `/usr/bin/hostname` on `/usr/bin/date`"

#chmod  500 /var/opt/ignite/scripts/make_net_recovery.sh
Tagged In:

I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Interbank Card Center Of Turkey(BKM). I provide hardware and software support for the IT Infrastructure and Operations tasks.

195 Total Posts
Follow Me

0 Comments

Leave a Reply