Application awareless of virtual storage unit in clustered SAN media server using Enterprise client license in NBU 7.5
Dear Expers,
The setup is NBU 7.5.0.1 clustered master server, a media server and 4 clustered SQL servers with multiple instances online on each node of cluster. I have created a virtual storage unit and configured each node as SAN media server and an Enterprise client license and Database agent is installed on each node. The policies for SQL will be created with virtual name of the SQL instances.
My concern is I want to make sure that the backup happens local directly to the SAN. In other words the media server used for the backup SHOULD be the node which is Active for that perticular instance.
Regards,
Step 1: Make sure you share a storage between NodeA and NodeB. Tape or Disk. Read my first post about it.
Step 2: Add all NodeA, NodeB, VHostA, VHostB and VHostC to::
- Master's host properties' server list
- NodeA's host properties' server list
- NodeB's host properties' server listStep 3:
nbemmcmd -addhost -machinename VHostA -machinetype app_cluster
nbemmcmd -updatehost -add_server_to_app_cluster -machinename NodeA -machinetype media -clustername VHostA -netbackupversion 7.5 -masterserver NbuMaster
nbemmcmd -updatehost -add_server_to_app_cluster -machinename NodeB -machinetype media -clustername VHostA -netbackupversion 7.5 -masterserver NbuMaster
nbemmcmd -addhost -machinename VHostB -machinetype app_cluster
nbemmcmd -updatehost -add_server_to_app_cluster -machinename NodeA -machinetype media -clustername VHostB -netbackupversion 7.5 -masterserver NbuMaster
nbemmcmd -updatehost -add_server_to_app_cluster -machinename NodeB -machinetype media -clustername VHostB -netbackupversion 7.5 -masterserver NbuMaster
nbemmcmd -addhost -machinename VHostC -machinetype app_cluster
nbemmcmd -updatehost -add_server_to_app_cluster -machinename NodeA -machinetype media -clustername VHostC -netbackupversion 7.5 -masterserver NbuMaster
nbemmcmd -updatehost -add_server_to_app_cluster -machinename NodeB -machinetype media -clustername VHostC -netbackupversion 7.5 -masterserver NbuMasterAfter Step 3 your master server would think you have added 3 new media servers VHostA, VHostB and VHostC. (We know they are not "normal" media servers, they are "app_cluster media servers").
Then just configure storage for each, just like you would for normal media servers.
You don't have to worry about which Node's storage the Device Config Wizard is actually scanning, because it is the same storage regardless of which Node you scan it from.
In other words, you won't have to worry about which VHost is on which Node.Step 4:
Create a storage unit for each of the 3 "media servers".
Set the storage units up such that all 3 storage units point to the same storage. (E.g., they all point to the exact same tape library that has been SSO shared.)
We call them virtual storage units because they are not associated to physical hosts such as NodeA, they are associated to virtual application names such as VHostB, and that these virtual application names can "travel" between the underlying Nodes during a failover.
So for example, you now have 3 virtual storage units with the following names:
1. VHostA-TLD0
2. VHostB-TLD0
3. VHostC-TLD0Step 5:
Create a policy for each VHost you want to backup. For example:
- Policy1: Storage unit is VHostA-TLD0, client list is VHostA, selection list is the DBs you want to backup.
- Policy2: Storage unit is VHostB-TLD0, client list is VHostB, selection list is the DBs you want to backup
- Policy3: Storage unit is VHostC-TLD0, client list is VHostC, selection list is the DBs you want to backup
That's it really. There is absolutely NO WAY that the backups would NOT run LOCALLY, unless you messed up the SSO tape/AdvancedDisk shared storage part.
To explain with an example:
VHostA is currently "on" NodeA, Policy1 runs, VHostA's DBs are to be backed up to the virtual storage unit VHostA-TLD0, as configured in the policy's attributes.
Where does VHostA-TLD0 point to?
To whatever Node that VHostA is currently "on" when the backup starts.
In is case, it is pointing to NodeA's LOCALLY CONNECTED TAPE LIBRARY.
What that means is, VHostA backs up LOCALLY to NodeA's tape library."What if VHostA fails over from NodeA to NodeB?" I heard you asked.
The following happens:
VHostA is currently "on" NodeB, Policy1 runs, VHostA's DBs are to be backed up to the virtual storage unit VHostA-TLD0, as configured in the policy's attributes.
Where does VHostA-TLD0 point to?
To whatever Node that VHostA is currently "on" when the backup starts.
In is case, it is pointing to NodeB's LOCALLY CONNECTED TAPE LIBRARY.
What that means is, VHostA backs up LOCALLY to NodeB's tape library.As you can see, all data travels locally from any Node to the same storage. VHost failovers would not break this. No data will travel through the LAN from one Node to another.
RLeon