HP StoreOnce D2D4324 HP StoreOnce Backup System CLI Reference Guide (BB877-909 - Page 95

net validate config, If IP addresses are defined, the range for each subnet must be unique.

Page 95 highlights

net validate config NOTE: This command applies to single-node products only. Description of Command Function Validates a configuration. The command checks the data structure according to the rules listed in the net activate config command. However, unlike the activate command, the external network is not configured as defined by the data structure. This command exists to allow a newly created configuration to be tested before configuration is actually activated. For example, if the activation is scheduled to take place at a given time when the backup traffic is low, the command provides confidence the net activate config command will execute successfully. Command Syntax net validate config Command Authority Administrator Command Object Requirements netlabel - This label identifies the network configuration object whose data structure will be used to configure the external network for the cluster. Command Parameter Requirements Not applicable - no parameters exist within this command. Requirements for Command Execution The following list shows some examples but is not a complete list of checks. The system will verify the configuration structure according to the rules below: • A default subnet must exist. • Only one default subnet can exists. • A gateway is required for the default subnet. • The ports defined in a subnets must be valid options. • If more than one port is defined in a subnet, all the ports must be the same type. • The same port cannot be in two different subnets or defined twice in same subnet. • If IP addresses are defined, the netmask and gateway must be valid. • If IP addresses are defined, the range for each subnet must be unique. • If an IP address list exists, it must be large enough for all nodes in the cluster. • If Data VIFs are defined, they must all be valid in the IP address structure. • If Data VIFs are defined, the range for each subnet must be unique. • If a Cluster VIF is defined, it can only be defined on one subnet. Successful Command Output Upon successful completion of the command, information on the external network configuration is displayed. Command Operation during Abnormal Conditions If the command fails, the system will attempt to configure the external network using the original, current configuration. Example # net validate config management net validate config 95

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

net validate config
NOTE:
This command applies to single-node products only.
Description of Command Function
Validates a configuration. The command checks the data structure according to the rules listed in
the
net activate config
command. However, unlike the activate command, the external
network is not configured as defined by the data structure. This command exists to allow a newly
created configuration to be tested before configuration is actually activated. For example, if the
activation is scheduled to take place at a given time when the backup traffic is low, the command
provides confidence the
net activate config
command will execute successfully.
Command Syntax
net validate config <netlabel>
Command Authority
Administrator
Command Object Requirements
netlabel
– This label identifies the network configuration object whose data structure will be used
to configure the external network for the cluster.
Command Parameter Requirements
Not applicable – no parameters exist within this command.
Requirements for Command Execution
The following list shows some examples but is not a complete list of checks. The system will verify
the configuration structure according to the rules below:
A default subnet must exist.
Only one default subnet can exists.
A gateway is required for the default subnet.
The ports defined in a subnets must be valid options.
If more than one port is defined in a subnet, all the ports must be the same type.
The same port cannot be in two different subnets or defined twice in same subnet.
If IP addresses are defined, the netmask and gateway must be valid.
If IP addresses are defined, the range for each subnet must be unique.
If an IP address list exists, it must be large enough for all nodes in the cluster.
If Data VIFs are defined, they must all be valid in the IP address structure.
If Data VIFs are defined, the range for each subnet must be unique.
If a Cluster VIF is defined, it can only be defined on one subnet.
Successful Command Output
Upon successful completion of the command, information on the external network configuration is
displayed.
Command Operation during Abnormal Conditions
If the command fails, the system will attempt to configure the external network using the original,
current configuration.
Example
# net validate config management
net validate config
95