12
OpsCenter and OpsCenter Analytics Hands-On Lab Description Gain hands-on experience working with OpsCenter and OpsCenter Analytics for NetBackup 7.5. See and operate the latest features including NetBackup Search and its search and hold capabilities, Operational Restore for finding and restoring information super quick and easy, and View Based Access Control for defining granular end-user permissions. There are no prerequisites for this lab. At the end of this lab, you should be able to Know how to perform minor NetBackup management tasks with OpsCenter Understand an overview of the basic reporting structure Get some hands on experience with Custom Tabular reporting available with an OpsCenter Analytics key Understand what is required for Search and Hold and be able to create a Search, create a Hold, and see the reports Get hands on with Operational Restores to see how easy it is to perform restores using the new OpsCenter interface Understand what a View is and how to use a View to limit access to certain parts of the environment Be able to combine a View and Access Control to limit how much of the environment a user can see and control

OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

  • Upload
    others

  • View
    25

  • Download
    0

Embed Size (px)

Citation preview

Page 1: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

OpsCenter and OpsCenter Analytics Hands-On Lab

Description Gain hands-on experience working with OpsCenter and OpsCenter Analytics for NetBackup 7.5. See and operate the latest features including NetBackup Search and its search and hold capabilities, Operational Restore for finding and restoring information super quick and easy, and View Based Access Control for defining granular end-user permissions.

There are no prerequisites for this lab.

At the end of this lab, you should be able to

Know how to perform minor NetBackup management tasks with OpsCenter

Understand an overview of the basic reporting structure

Get some hands on experience with Custom Tabular reporting available with an OpsCenter Analytics key

Understand what is required for Search and Hold and be able to create a Search, create a Hold, and see the reports

Get hands on with Operational Restores to see how easy it is to perform restores using the new OpsCenter interface

Understand what a View is and how to use a View to limit access to certain parts of the environment

Be able to combine a View and Access Control to limit how much of the environment a user can see and control

Page 2: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

2 of 12

Notes This HOL is partly instructor led and partly self-guided. The instructor will walk you through some of the options on the main screen. If there is time after you have completed a module feel free to go back and try to create some of the information shown on the screen for yourself (i.e. feel free to play around with the OpsCenter instance!)

It will be similar to a classroom where a scenario is set up, then the Excercises will be done to solve the scenario in a self-guided manner. Then we will move on to the next Activity

The Activities will be timed. If you are falling behind, you can take the guide with you, set up OpsCenter at your location and use the guide on your own OC instance (remember, OC is included with NetBackup – except for custom reporting no license key is needed!)

The lab machine has been forced to start on April 16, 2012 at 17:30 to provide the best reporting options. This is done using edits in the .VMX file.

These labs are run on VMware Workstation to facilitate the Hands On Lab. Please do not run OpsCenter in a VMware workstation at your location. ESX installations are fine as long as hardware can be dedicated for use by OpsCenter

The Login to OpsCenter is “admin/password” which is the default when you install the product

Page 3: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

3 of 12

Activity 1 – Instructor Led – Quick PPT and Demo of “Why Use OpsCenter?”

Introduction to the basic OpsCenter product (included with NetBackup) and why you should be using it. On main screen

10 minutes

Activity 2: Instructor Overview then Self-Paced Excercise - OpsCenter Report Templates

There are a number of Report Templates that can be customized to report on what you need. The first five minutes of this Activity are a quick overview from the instructor. The rest of the time will be spent building a report and modifying it.

15 minutes

Exercise 1 – Instructor led overview of OpsCenter Reporting on overhead Exercise 2 – Generating and Customizing a Report This exercise will walk you through using a customized version of the Advanced Success Rate report to provide the needed info. Use Case – You want a report that can help you;

To know your success rate but only want to see the last backup – so if the backup has failed multiple times in the

window but completes successfully before the window closes that is successful –

To show only FULL backups in the success rate calculation and not incrementals.

To ensure that Status Code 1 (open files) are counted as successful rather than failures (default).

To save the report and have it emailed to you every morning to show the success rate for the past seven days of

backups.

1. Log into OpsCenter web console 2. Click Reports > Backup > Status and Success Rate > Success Rate > Advanced Success Rate

a. The default report that runs shows the past 15 days and shows all backups, Full, Incremental, all attempts and has status code 1 (if there are any) as a failure

b. Take note of how this report looks now, and how it looks after we make the changes below c. Because this is a pristine and small environment there are very few failures. Your environment will probably

show more failures 3. Click Edit Report 4. Change Relative Time Frame to “Previous 7 Days” 5. Click on Master Server under Filters 6. Under Column choose Master Server = visionholmaster

a. This step is to show you how to do this. Since there is only one Master in this lab it is the only choice, however if you are monitoring more than one Master you could report on all of them by leaving this at default, or you can choose one or more Masters to report on

7. Leave Policy at the default a. You could limit this report to a single Policy if you wanted to by choosing this option

8. Click on Job 9. Note the Job Type = Backup.

a. Leave this at the default but note the other options which are available to use for filtering as needed. b. To take this a step further, you could click on Add over on the far right and choose the Column Status Code

and the Operator of != (not equal to) and the Value 150. This will eliminate all operator terminated jobs from the success calculation. You can add other Status Codes by using CTRL click that should not be considered in the success calculation.

10. Click on Success Rate a. This is the most important part of the filtering on this report and requires some knowledge of the fields.

Spend a minute looking at the drop down options for each field. This is where the report can be fine-tuned for date/time and other options

11. Change Aggregation Level = Last Job Success Rate

Page 4: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

4 of 12

a. This is the start of the use case - if a backup failed earlier, but was retried, it will not be counted as a failure. If the last attempt failed, it will show as an overall failure. The comparison here is by client/policy schedule combination.

12. Change Consider Partial Successful job as Successful to = “Yes” a. This will make it so that any Status Code 1 is counted in the Successful count NOTE: You previously had to do

this in a less than intuitive way using the Job filter Job Status and setting it to Partially Successful in previous OpsCenter versions.

13. Change the Schedule/Level Type = Full a. This will remove Incremental backups from the overall count.

14. The Full/Increment Window Parameter and Full/Increment for Duration of (In Hours) settings are for strict SLA settings that would only count as success those jobs that finished in those windows for Full and Incremental backups. All jobs finishing outside the window whether successful or not would be considered failures.

15. Click on Next 16. Change the Description to whatever makes sense to you for this report or leave it at default 17. Leave the Display Unit at MB. This is a very small environment. In your environment it probably makes more sense to

change this to GB. 18. Click Next again and you should see your report. 19. Notice how this report is different from the report in Step 1 above.

Now that the report has been created, modified and saved, we need to create a schedule to email it on a daily basis.

1. Under the Reports tab find Schedules and click the checkmark box next to it 2. Click Add and then type “Daily Success Rate Report” in the “Report Schedule Name” field

a. Note the formats that the report can be sent in PDF, CSV, HTML, XML, TSV b. All reports will be attachments via email except HTML which will be able to be read when the email is

opened. 3. Leave it at PDF and click Next 4. Leave “Create new Time Schedule” checked and click Next 5. Type “Daily Reports 8AM” in the Schedule Name

a. Creating schedules with descriptive names as to their schedule makes them a lot easier to reuse! 6. Change Schedule Time to 08:00 7. Change the Schedule Pattern to Daily

a. This opens up a number of options below on screen that didn’t exist before. 8. Change the starting date to “Today” (at the bottom of the calendar pop up) keeping in mind this HOL date is forced to

April 16, 2012 at 16:00 to provide “current” reporting. This means “today” is not actually todays date. 9. Click Next, put a check in the box next to Email and type in an email address of your choice along with a Subject and

Message a. Note that you can also export to a folder. b. We do not have an active SMTP server on these systems so the email won’t work, but you can still add one

in. 10. Click Next

a. On this screen you can choose the reports you have created. b. This allows you to add more than one report. For instance, if you wanted to see total success, but also had a

report to show total data backed up, total tapes used etc – all could be sent at the same time using the “Daily” schedule.

11. Select “Daily Success Rate Report – Past 7 days” then click Next 12. Click Save

That’s all there is to modifying a Report Template, saving it and creating a schedule to email it. Now, every day a customized Advanced Success Rate report will be delivered to the recipients you have selected.

Page 5: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

5 of 12

Activity 3: OpsCenter Analytics Custom Reporting

An OpsCenter Analytics license key unlocks two new custom report options in addition to unlocking the amount of history available for reporting to more than 60 days. This Activity will walk you through creating a custom Tabular report to get you familiar with the Custom Reporting process available with OpsCenter Analytics.

20 minutes

The first part of this section will be an overview using the instructor machine. Please do not get started on this section until asked to do so by the instructor. Part of this HOL is to help you understand some of the finer details of the Custom Reporting so even if you are familiar with Tabular reporting, please follow along with the instructor. Exercise 3 – Watch an overview of custom Tabular reporting on the instructor overhead Exercise 4 – Create a Tabular Report for the Use Case below Use Case – Your internal compliance division has asked you to

Develop a SOX compliant report that shows

o Client Name(s) of what systems we are protecting

o Policy Name(s) of what NetBackup Policies we are using to protect the Clients

o Whether the job was successful or not

o When the job started and finished

o How large the backup was

We will now build this report in this Exercise. Based on the above use case, we will need to show:

Client Name

Policy Name

Job Status

Job Start Time

Job End Time

Total Kbytes

1. Click Reports > Create New Report > Create a Custom Report > Next 2. Leave the Category and Subcategory at default and change the Report View Type to “Tabular” 3. Click Next 4. Change the Relative Time Frame to Previous 8 days

a. This will show a week and one day to overlap the report

If we had SOX Clients that needed to be validated they would probably be added to a View (A “View” is a “Group” in OpsCenter) and we would choose that View to report on. For the purposes of this lab we will just use the default View and look at all the jobs

5. Under Job, change to Job Type = Backup

6. Click Next

7. Add a Description if desired

8. Change Display Unit to MB since this is a very small environment

a. In your production environment you would want to leave this at GB

9. Under Available Columns put a check next to the following headings (you will have to scroll to find them all but these

should be in order):

a. Job End Time

b. Job Size

c. Job Start Time

d. Job Status

Page 6: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

6 of 12

e. Policy Name

f. Client Name

10. Once you have selected the Columns, click ADD to move them to the right side

11. Click Client Name and then use the arrows on the far right to move it to the top of the list

a. Move Policy Name to position 2

b. Move Job Start Time to position 3

12. Use the Sort Order drop downs to perform the following:

a. Client Name = Ascending

b. Policy Name = Ascending

c. Job Start Time = Ascending

13. Click Next to see the report

The thing that you may notice is that perhaps we have too many Policies that are not needed for SOX compliance (based on our Use Case) so how do we limit this report to a handful of Policies? (again, you may be using a View in your environment which could also be used to limit the scope of the report. However, for the purposes of this lab we will not be using a View to report on.)

14. The Policy that we need to use is called (in our example) User_Backups

15. Click Back twice to get to the Select Parameters screen

16. Click Policy > Policy Name = visionholmaster-> User_Backups

a. Note that you could click ADD on the right to add more Policy Names if you wanted to

17. Click Next twice to re-run the report

So this is better – we are only seeing the Policy that we need for our Use Case but there are quite a few Rows representing Jobs. This is because this Policy is being run multiple times during the window which is something that may be done in a production environment. So thinking through this, what do we care about for SOX compliance? We need to make sure that a backup for a Policy has completed successfully once per day (for example). While there are a number of ways to do this, we are going to use a “Maximum” on the Job Size which will give us the largest backup on that day (which is probably the most important). In your production environment this could be very differnet therefore the purpose of this lab is just to demonstrate the options. You would want to consult the manual to get information on the Operator options.

18. Click Back

19. Change the Job Size - Operation field to “Maximum”

20. Click Next

Now this is showing just one Successful backup per day and while there is a Failure listed we can see that we also had a successful Job on that day so we are still SOX compliant.

In a Production environment we would want to edit this report further to – for example – show backups that are Successful and only show Failure if there is not a successful backup during the backup window. This would require a more indepth Custom Report and possibly Custom SQL which is beyond the scope of this limited HOL environment. BONUS Exercise – Create a Tabular Report that shows how much a Client has backed up in the past month Based on what you have learned from the Custom Reporting, spend 5 minutes and see if you can create a report that shows the following:

How much data all our Clients have backed up over the past four weeks

The solution is on the next page.

Page 7: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

7 of 12

Solution to Bonus Exercise: 1. Reports > Create a New Report > Create a Custom Report > Next 2. Change to Tabular 3. Relative TimeFrame = Previous 4 weeks 4. Job > Job Type = Backup 5. Click Next 6. Description= Monthly Client Backup Total 7. Display Unit MB 8. Add columns Client Name and Job Size 9. Move Client Name up one level to list first 10. Job Size Sort Order = Descending 11. Job Size Operation = Total

That is all there is to it. This could be a very simple and useful report to show your management in your backup environment what clients are producing the largest backups and could even be used for Chargeback billing purposes in a limited way.

Example Report (from a production system)

Activity 4: Search and Hold – Legal Litigation

Search and Hold would be used if you are subject to legal inquiry and you need to stop data that is already on tape or disk from expiring. NetBackup uses a time based retention therefore during a legal process valuable data could be automatically expiring. This new feature allows you to prevent the expiration of the data very quickly.

25 minutes

Note: There is quite a bit more to Search and Hold than what is shown in the OpsCenter console. The feature requires an Indexing server to be set up which currently must reside on a NetBackup Media Server that is properly sized to handle the additional requirements of backup indexing. Once the Indexing server is set up on a NetBackup Media Server, this server must be configured on the Master so it can be chosen as an Indexing server. Indexing is then turned on per Policy, Schedule and Client. Indexing starts from that day forward automatically. If legacy images need to be included this must be done via command line. This is documented in the NetBackup manual. Lab Exercise 5 – Watch an overview demo of Search and Hold on the Instructor overhead

Page 8: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

8 of 12

Lab Exercise 6 – Create a general Search for files you need to Hold Use Case – A company attorney has come to you and told you that the company is being sued due to patent infringement therefore you need to prevent any backups that contain patent information from expiring while the legal process is sorted out. In our demo environment these files are all associated with an Engineer named “Ted” who logs into the file and print server and stores his data under the username “TedEngineering” on the client “visionholclient”. The first part of this exercise will not target a specific user, rather it will look for all files that match the criteria

1. Click the Search & Hold tab on the top bar 2. In the field next to Files and Folders type “*.PDF” to search for ALL PDF files that have been backed up in the past

month (default time frame) 3. Click on Advanced

a. Note the options to limit the Search to a specific Master Server, a specific Client and the ability to use an OpsCenter View (Group) if you have one created

b. In this case, we will leave these alone due to the very small demo environment we are using 4. Click Save

a. This is part of the legal process – you have to be able to show what you have done therefore before you run this Search you have to save it

5. Name the Search “Patent Search 1” a. Note the Comments section – In the event you have to do a Search and Hold in your enviornment you will

want to document them. The Legal process is a slow process and you want to make sure that someone else will understand what you have done if needed. The Search and Hold feature gives you a number of areas to document what you have done and why.

6. Click OK 7. You should now see the Search you have created saved with a Status of “Never Run”. 8. Put a check mark next to it and click Run – this will change the Status to Queued

a. This page refreshes based on the global refresh rate set in the OpsCenter settings. By default it is one minute

9. Hit Refresh to see the results a. The Status has now changed to a hyperlink showing Completed: and a number of hits

10. Click on the hyperlink number of hits a. This page shows the number of files in each backup that match the criteria but more importantly shows the

number and date of IMAGES that are impacted by those results with a new ability to select each backup image and place them on HOLD using the newly available Hold button

b. Since the HOLD process keeps entire images from expiring, you can see how holding too much will cause the NetBackuo catalog to quickly grow from holding all of the associated backup images forever.

Since these results are showing too many files, lets go limit the number by looking at a single user Lab Exercise 7 – Create a Search for files for a specific user

We need to limit the number of images associated with our Hold therefore we need to reduce the results and can use the Use Case since we know the user. We could do that by picking and choosing the files listed in the Search above, or just look at a single user. Lets look at a single user.

1. On the left hand side of the GUI, under the yellow icon, click on “New”. This takes us to a fresh Search page 2. Next to the User and Group: box there is a grey box with three dots. Click it.

3. The user we want is on the second page. Click on the 2 or the arrow pointing right to get to the second page 4. Select the user “TedEngineering@VISIONHOLCLIENT” and click OK 5. Under Files and Folders type “*.PDF”

Page 9: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

9 of 12

a. This assumes you know that “Ted” saves his patent files as PDF files. Since you cannot use *.* knowing how the files are saved is important

b. You can use multiple file types separated by a “;” if desired for example “*.PDF; *.DOC” etc c. You could take a look at the new OpsCenter Operational Restore (ORO) interface (in the next section) to see

which file types are used if you didn’t know 6. Click on Advanced to show the options 7. Note the options for limiting the Search to a File Created and File Modified date

a. This could prove useful when you want to comply with a discovery order without providing “too much” information

8. Click Save 9. Name this Patent_Search_Ted and click OK 10. Put a check in the box next to the Search you just created and click Run 11. After about 20 seconds, hit Refresh

a. Now we have a lot fewer results 12. Click on the hyperlink to see the results

a. The total number of Files is much fewer and therefore the total number of Images is fewer.

Lets create a Hold for these files – For the purposes of this lab we are not going to dig too deep into the files and simply hold “everything”

13. At the top of this screen next to the “Backup Taken At” header, click on the box. This will hold everything on this page 14. Click on the “2” hyperlink at the bottom of the list 15. Again, click on the box next to Backup Taken At

a. You can see how this can be used to save all the images, but still gives you the choice of “what to save” b. This will save 40 images – enough for our purposes

16. Click on the Hold icon at the top left of the screen 17. Type “Patent Holds” in the Name: box and add comments if you like

a. Note that you can also use a Hold Group if you like. For example, if you had 10 Engineers and you needed to hold all of their data, you would find them individually but then you could add all of the holds into a Hold Group to allow you to lump them all together

18. Click OK a. You will note that the Status is “In Progress”

Once the status says “Complete” the Hold is finished. This means that hooks have been placed on the NBU Master to prevent the data from being expired. Now, lets take a look at the Hold Reports in the next Exercise.

Lab Exercise 8 – Hold Reporting

There are only three Hold Reports and their purpose is for the NBU Admin to keep track of how much data is on Hold so they can carefully monitor the NetBackup catalog increase. The reports also allow them to periodically go back to the legal team for status updates since in many cases the legal team may not proactively tell the NetBackup team when a Hold can be released.

1. Click on Reports > Hold Reports

2. Click on the Image Retention Summary Report

a. This report shows us how much data is on Hold vs. overall data so you can see what Percentage of your

total data is being held

b. This information is more valuable if you click on the “Show Chart as Table” hyperlink at the bottom of the

report

3. Click on the Top Hold By Size Report

a. This report shows you the Holds by size which would allow you to see which would be good Holds to release

as quickly as possible

4. Click on the Top Hold by Age Report

a. Same concept as the Size report but shows you the oldest Holds. If you have had data held for more than

three months it is a good bet the legal team has forgotten it and you could ask if it can be released

If you are interested in more info on Search and Hold you can attend or view recorded WebEx sessions (View Event Recordings) for NetBackup Search & Hold and Operational Restore on NetBackupDemo.com.please contact your Symantec Sales Engineer. They can arrange for a 1:1 demo where you can get more information and ask questions. Also, if you have the need of this

Page 10: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

10 of 12

functionality Symantec needs to know where you need additional functionality for future releases. Please send this type of information to your Symantec sales team so they can get the information to the NetBackup Product Management teams.

Activity 5: Operational Restores using OpsCenter

Restores with NetBackup have consistent and relatively un-changed for many years. As data centers have become more complex, so have the restore needs. OpsCenter 7.5 offers a new restore experience across your NetBackup environment. It can search and restore files from a single or multiple NetBackup Master servers that are being monitored by OpsCenter. This new OpsCenter Operational Restore (ORO) replaces the classic NetBackup Backup, Archive, Restore (BAR) console for file restores. This Activity will walk you through restores with the new OpsCenter Operational Restore experience.

15 minutes

This new functionality is only available in the OpsCenter 7.5 console and there are no plans to extend it into the legacy existing NetBackup BAR console. It should also be noted that your NBU Masters must be at NetBackup 7.5 for the Operational Restore and Search/Hold features to work due to the new more efficient catalog designs in NetBackup 7.5 to allow this to search for files to occur quickly. Exercise 9 – Instructor overview of the Operational Restore on big screen Exercise 10 – Find global files and add to the Restore Cart Use Case – You need to restore a number of files and want to do so quickly. You need to select which version of the file to restore. In some cases this will be the newest backup, in other cases this will be an older version.

1. Access the new Restore area by clicking on Manage > Restore then the Restore Files and Directories link on the page.

2. In the File or Directory name box type “*.TXT”.

3. Leave the View at default, and since we only have one Master, leave that at default.

a. In a production environment you could use your own Views or could choose multiple Masters

4. Click Browse and Select Clients link.

5. Click on all three Clients that are listed then click OK.

a. In a production environment you would need to know which Clients you wanted to search for files on. You

cannot use “Select All” as this could put too much overhead on searching for the files on the Masters in very

large environments

6. Click Search – this will begin the process of finding the files you have requested.

7. Click on the top file shown which is the latest backup of this file type then click “Add to Restore Cart”

a. For the purpose of this lab the file itself doesn’t matter. This is just to show the functionality.

That’s all there is to a very simple search for a file and selection of the last available backup of that file. Lets go a bit deeper by using our Patent example from before.

Exercise 11 – Find a specific version of a file from a specific client and schedule. 1. Start from a fresh Restore page by clicking on Manage > Restore then the Restore Files and Directories link on the

page line in Exercise 2 above

2. Type *.PDF in the File or Directory Name box.

3. Under Browse and Select Client choose “VISIONHOLCLIENT” as the only client.

4. Click on Advanced Search.

5. In the Backup Type box choose Full to limit the search to Full backups only.

6. Click Search to show the files found.

7. Find the file “Patents 2010.pdf”, then click on the blue Backup History Selection link for this file line.

8. Once the box opens, click on the “Week” tab towards the top of the box and give it a few seconds to refresh.

a. Note the options when it comes to what type of restore to use – Snapshot, Disk and Tape. The icon would be

different depending on where the file is

b. In the case of this small lab setting we only have NetBackup Media Server Deduplication Pools (MSDP) disk

based backups to choose from

9. Click on one of the disk icons next to the MSDP_POOL label. It doenst matter which one.

Page 11: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

11 of 12

a. This will select that backup range and show you the files associated with that disk backup on that date and

time

10. Under “Details of Selection” choose a file to restore (again, doesn’t matter which one) and add it to the Restore Cart

11. This will close the window

12. Click on Restore Cart tab on the top bar

13. Select the file and choose “Restore Now” at the bottom

a. If this were a tape backup you could choose Preview Media to see the tapes needed for a restore

14. This screen is the same as the legacy NetBackup BAR GUI where you can choose where and how to restore the file.

Leave it at default and click “Next” on the bottom

15. Click Restore. You do not need to check the files again. They are ready to go.

This takes us to the Monitor > Jobs screen so we can monitor the status of our restore. It will take a few seconds for the restore to show up. You can use FireFox refresh if you like to show them faster or wait for the 1 minute refresh.

That is all there is to Operational Restores. Hopefully this will save your restore admins some time when it comes to restoring files. In the next Activity we will look at how we can tie View Based Access Control into this process to limit what data a Restore Operator can perform an Operational Restore of.

Activity 6: View Based Access Control – Features and Uses

In complex environments there is usually the need to give an Operator or Admin restore or reporting capability over a group of servers rather than the entire NetBackup environment. This can be accomplished using Views within OpsCenter and then tying that View to a User that has been created using OpsCenter. This Activity will walk you through this process and then show you how this can be used to give an Operator restore capability for a set of machines.

15 minutes

One thing to note is that this is a very small environment so that it can be run on a single system in a VM environment. You will need to use your imagination a bit to see how this can benefit you in your NetBackup installation. Exercise 12 – Instructor overview of Views on big screen Using Views requires an understanding of Views which is beyond the scope of this Hands On Lab. In summary, a “View” is a grouping of “Objects” which are usually Clients or Master servers. Once this View has been created it can be used for a number of things like filtering reports using the View (instead of using “All Masters” for instance). Use Case – You have an Operations person that you want to be able to restore only a handful of servers – for example ONLY Windows Clients in Las Vegas. In this case (small environment) this will be a single system but in the real world it could be any Client associated with a Master Server, OR a handful of Clients associated with a single task (like any Finance server for instance) or geographic location that can cross multiple Masters. OpsCenter Views (Groups) are customizable and user configurable to limit the scope of what a user can see and do inside of OpsCenter. For example, a user could be limited to just reporting on the Las Vegas Client View (Group). This Las Vegas Reporter user needs to be able tp pull reports for any of these servers in the Las Vegas Client View, but not any other server in the environment outside of the Las Vegas View. You could also have a person with the OpsCenter role of Operator who could only perform NetBackup management functions available in OpsCenter for the clients or master servers in the view or views chosen for that operator. The OpsCenter roles that use the View Based Access Control are Operator, Reporter and Restore Operator. All users can go to the Settings -> User Preferences page to set the view that is used by default when you log in to OpsCenter with “Default View” and for reports with “Report Template Default View”. Exercise 13 – Creating a View

1. Click on Settings > Views

2. Click on Add

3. Type “Windows Clients” in the Name field leaving the View Type as Client and click OK

4. Now we need to Populate the View

5. Put a check mark next to the Windows Clients View and click on Manage Nodes and Objects

Page 12: OpsCenter and OpsCenter Analytics Hands On Lab - Veritasvox.veritas.com/legacyfs/online/veritasdata/IM L14.pdf · OpsCenter and OpsCenter Analytics Hands-On Lab ... This exercise

12 of 12

6. Click on the “Objects not in selected View” tab

a. There are only three options in this environment but in your environment you should see all the Clients that

are associated with all the Masters in your OpsCenter environment

7. Choose “VISIONHOLCLIENT” and then at the top click the Add to Node buotton

a. This step is often missed

8. Click Finish in the bottom right hand corner

Our View is now populated and ready for use. To see how it works lets add to this exercise before we add a user. 9. Click Monitor

10. Change the View box below Monitor to the Windows Clients View we just created

a. You will notice that the only Jobs we are seeing are from this Client. This is how we use Views to limit what

we can see for monitoring and reporting.

b. Many large customers may have up to 100 Views

Now lets go add a User and assign them to this View 11. Click Settings > Users

12. Click Add

13. Leave User Creation Type as New User

14. Type your first name into the User Name box

15. Give it a password

16. Change User Role to Operator

a. Operator lets someone pull reports, perform restores and do other minor tasks associated with the View

however does not allow them to make global changes. The other Roles provide different options which are

explained in the OpsCenter User Guide.

17. This opens up the Granted Views box. Choose “Windows Clients” and click Save

a. This has granted the User you created access to the View you created. Now lets test it

18. In the upper right hand corner choose Logout.

19. Type the Username you created in the box (it is case sensitive).

20. Type in the password you created and click Logon.

21. You will notice that all you have access to is the Windows Clients View we created.

Spend a few minutes doing a Restore or pulling a report or two to see how this limits what you can do.

Conclusions

Now you have seen what OpsCenter, OpsCenter Analytics, Operational Restore, View Based Access Controls, and Search and Hold can do for you. If there is time, feel free to log out, and log back in as “admin” (password of “password”) and put your newly learned skills to the test. These labs will not be used again so feel free to play.

Please remember that OpsCenter can be upgraded and at a higher version than NetBackup so there is no reason not to deploy or upgrade to the latest OpsCenter 7.5.0.1 version today.

Thanks for attending and we look forward to seeing you deploy OpsCenter 7.5 in your NetBackup environment.