cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone................

Joe_Despres
Level 6
Partner
Does anyone know how to change the "Active Node Name" in a App Cluster?

In other words force NBU to use Media2 for backups....

I have tried taking NBU down to force the issue...  But when I bring it back up...
it goes back to Media1....

Master = Solaris 6.5.4
Media1 = Solaris 6.5.4
Media2 = Solaris 6.5.4
Virtual name = Media3

SSO being used to share 1 lto3 tape drive between both Media1 & Media2...

nbemmcmd -listhosts -verbose output:
Media3
        MachineName = "Media3"
        MachineDescription = ""
        MachineNbuType = app_cluster (7)
        NetBackupVersion = 6.5.4.0 (654000)
        Active Node Name = "Media1"
Media1
        ClusterName = ""
        MachineName = "Media1"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0xe1
        MachineNbuType = media (1)
        MachineState = active for tape and disk jobs (14)
        MasterServerName = "MasterBlaster"
        NetBackupVersion = 6.5.4.0 (654000)
        OperatingSystem = solaris (2)
        ScanAbility = 5
Media2
        ClusterName = ""
        MachineName = "Media2"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0xe1
        MachineNbuType = media (1)
        MachineState = active for tape and disk jobs (14)
        MasterServerName = "MasterBlaster"
        NetBackupVersion = 6.5.4.0 (654000)
        OperatingSystem = solaris (2)
        ScanAbility = 5

Thanks......

Joe Despres

9 REPLIES 9

Will_Restore
Level 6
nbemmcmd -updatehost  -machinename <hostname>  -activenodename <nodename>

Joe_Despres
Level 6
Partner
Please expand....

Is the hostname the physical name of the active node?

Activenode  is it the virtual name?

Thanks....

Joe Despres

Will_Restore
Level 6
nbemmcmd -updatehost  -machinename media3  -activenodename media2

Joe_Despres
Level 6
Partner
Looks like it's looking for a machinetype.............

{cscnb01 jdespres}#nbemmcmd -updatehost  -machinename media3 -activenodename media2
NBEMMCMD, Version:6.5.4
The following option is required and was not specified:
machinetype
Usage:
nbemmcmd -updatehost  [-activenodename <string>] [-add_server_to_app_cluster] [-brief]
[-clustername <string>] [-delete_server_from_app_cluster]
[-displayname <string>] [-emmname <string>] [-emmport <unsigned integer>]
[-globaldriveseed <string>] [-localdriveseed <string>]
[-machinedescription <string>] -machinename <string>
[-machinestateop <clr_admin_pause | clr_admin_pause_and_set_active | clr_disk_active | clr_ltid_restarted | clr_master_server_connectivity | clr_tape_active | reset_all | set_admin_pause | set_disk_active | set_master_server_connectivity | set_tape_active>]
[-machinetype <api | app_cluster | client | cluster | disk_array | master | media | ndmp | virtual_machine>]
[-masterserver <string>]
[-netbackupversion <<level>.<major level>.<minor level>.<hot fix>>]
[-operatingsystem <hpux | linux | rs6000 | sgi | solaris | tru64 | windows>]
[-scanability <unsigned integer>]
Command did not complete successfully.

Will_Restore
Level 6
-machinetype app_cluster

it may ask for
-netbackupversion
and
-operatingsystem
too!

Joe_Despres
Level 6
Partner
NBEMMCMD, Version:6.5.4
The active node name field only applies to cluster nodes.
Usage:
nbemmcmd -updatehost  [-activenodename <string>] [-add_server_to_app_cluster] [-brief]
[-clustername <string>] [-delete_server_from_app_cluster]
[-displayname <string>] [-emmname <string>] [-emmport <unsigned integer>]
[-globaldriveseed <string>] [-localdriveseed <string>]
[-machinedescription <string>] -machinename <string>
[-machinestateop <clr_admin_pause | clr_admin_pause_and_set_active | clr_disk_active | clr_ltid_restarted | clr_master_server_connectivity | clr_tape_active | reset_all | set_admin_pause | set_disk_active | set_master_server_connectivity | set_tape_active>]
[-machinetype <api | app_cluster | client | cluster | disk_array | master | media | ndmp | virtual_machine>]
[-masterserver <string>]
[-netbackupversion <<level>.<major level>.<minor level>.<hot fix>>]
[-operatingsystem <hpux | linux | rs6000 | sgi | solaris | tru64 | windows>]
[-scanability <unsigned integer>]
Command did not complete successfully.

Thanks.....

Joe Despres

David_McMullin
Level 6
When you run the nbemmcmd you have to include all the appropriate info, so it will keep asking for stuff until it has a complete command.

Just keep adding the info until it runs.

In this case you might need to run this command:

nbemmcmd -updatehost  -activenodename media2 -clustername Media3 -machinename media2 -machinetype cluster -operatingsystem solaris

Joe_Despres
Level 6
Partner
More info:

Customer failed the app over from the A node to the B node.....

Backups were OK while A node was active on the "app_cluster"....
Yet now backups will get either node for the backup(s)... 

If the backup gets the inactive node...  it fails with a error 13....

Thanks....

Joe Despres

Will_Restore
Level 6
If that don't work I'm at a loss. :(