Video Screencast Help
Search Video Help Close Back
to help

cluster

Created: 16 Jan 2013 | Updated: 22 Jan 2013 | 12 comments
nike_new's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

NBU 7.1

Linux OS

 

I have NBU installed in clusters on server A and server B.Virtual name is uv123.

I just wanna know how I will I stop NBU services :

  1. On node A ,so that control does not go to node B
  2. On node A ,so that control does  to node B
  3. What will show in the /usr/openv/netbackup/logs if Transfer occcurs?
Discussion Filed Under:

Comments 12 CommentsJump to latest comment

mikebounds's picture

If you run "hagrp -state" you should see a list of service groups and their state (which system they are online on).  If you run:

hagrp -offline grp_name

This will stop the NBU service and it will NOT switch to another node

If you run:

hagrp -switch grp_name -to sys_name

This will stop the NBU service and start it on "sys_name"

Note offlining the service group will also umount filesystems, deport the diskgroup and unplumb the virtual IP - if you JUST want to stop the NBU service, then you can use:

hares -offline nbu_res_name

 

You can get a list of resource by command "hares -list"

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

0
Login to vote
  • Actions
nike_new's picture

I dont have to run:

/usr/openv/netbackup/bin/goodies/netbackup stop?

0
Login to vote
  • Actions
mikebounds's picture

No - if you do this, then VCS will see this as a failure and switch to other node.  If you want to bring down NBU manually, then you can run:

hagrp -freeze grp_name

and this means VCS will ignore what happens to the resources in grp_name, so you can take down NBU without VCS failing it over to the other node.

When you manually bring NBU back online you can thenn unfreeze:

hagrp -unfreeze grp_name

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

0
Login to vote
  • Actions
nike_new's picture

 

hagrp -switch grp_name -to sys_name

 

If you run:

hagrp -switch grp_name -to sys_name

This will stop the NBU service and start it on "sys_name"

 

I am on node A and my my grp name is grp23 and i run below command from node A

 

hagrp -switch grp23 -to B

In this case ,NBU will be stopped on node A nd will run on Node B?

0
Login to vote
  • Actions
mikebounds's picture

That is correct.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

0
Login to vote
  • Actions
nike_new's picture

 

hagrp -switch grp23 -to A

What will happen in this case?

0
Login to vote
  • Actions
mikebounds's picture

This command will fail if grp23 is online on system A.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

0
Login to vote
  • Actions
nike_new's picture

COMMAND=/opt/VRTS/bin/hagrp -offline SG -any
COMMAND=/opt/VRTS/bin/hastatus summary
COMMAND=/opt/VRTS/bin/hagrp -offline nbu_group -sys A
COMMAND=/usr/openv/netbackup/bin/bpps -a
PWD=/usr/openv/netbackup/logs/cluster ;
COMMAND=/usr/bin/tail -f log.011234

what does above command does?
We did this yesterday.

0
Login to vote
  • Actions
mikebounds's picture

hagrp -offline SG -any - OFFLINE group "SG" REGARDLESS OF WHAT SYSTEM "SG" IS ONLINE ON
hastatus summary - SHOW SUMMARY INFORMATION 
hagrp -offline nbu_group -sys A - OFFLINE nbu_group IF IT IS ONLINE (OR PARTIALLY ONLINE) ON SYSTEM A (THIS COMMAND WILL DO NOTHING IF nbu_group IS ONLINE ON B)
 

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

0
Login to vote
  • Actions
nike_new's picture

hagrp -offline SG -any  and   hagrp -offline nbu_group -sys A

 

What is the difference between these 2?

0
Login to vote
  • Actions
mikebounds's picture

As in last message, using "-sys A" means the group will ONLY be offlined on sys A, so if it is online on sys B, then using "-sys A" will NOT offline group on sys B.  If you use "-any", it will offline the group regardless of which system it is online on.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

SOLUTION
0
Login to vote
  • Actions
nike_new's picture
  1. Under nbu_grp ,what all we defined?
  2. nbu_gp basically contains?
  3. nbu_grp and cluster gp are same?
  4. what log to see if system is offline and online on other node?