存储与备份

覆盖NBU安全策略,SSH到控制台

· 610 字 · 约 2 分钟
 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
fengyuanliu@FengyuanLiu ~ % ssh admin@nbu5240
admin@nbu5240's password:
Last login: Wed Jul 16 09:12:58 2025 from 192.168.128.100


It has been detected that you have not enabled Call Home.

It is strongly recommended that you enable Call Home. Enabling Call Home
helps to connect your appliance with the Veritas AutoSupport server and
upload software information. Veritas Support uses this information to
resolve any issues that you may report.

Appliance  Manage primary and media appliances.
Exit       Log out and exit from the current shell.
Manage     Manage NetBackup appliance.
Monitor    Monitor NetBackup appliance activities.
Network    Network Administration.
Reports    Examine the running and historical state of the host.
Settings   Change NetBackup appliance settings.
Shell      Shell operations.
Support    NetBackup Support.

nbu5240.Main_Menu> Support  #进入支持模式
Entering NetBackup support view...

Checkpoint      Appliance Checkpoint Management.
Cleanup         Clean or reset specific appliance monitoring data.
Collect         Collect appliance details and transmit to Veritas.
DataCollect     Gather appliance DataCollect logs.
Disk            Gather disk information.
Errors          Display NetBackup errors.
Exit            Log out and exit from the current shell.
FactoryReset    Reset this system to factory install image
FibreTransport  Advanced settings.
InfraServices   Show/control infrastructure services.
InstantAccess   Set the operational level of Instant Access and show the status.
iostat          Execute the iostat command.
IPMI            Remote management port configuration.
KillRemoteCall  Terminate running or hung remote calls on peer compute nodes.
LogBrowser      Show/control log transfer console processes.
Logs            Set level, unshare, view, and upload debug logs.
Maintenance     Launch maintenance shell.
Messages        Display the messages file.
NBDNA           Network traces with NBDNA tool (Select Create or Remove).
Nbperfchk       Execute the disk IO or network bandwidth check.
NBSU            Manage NetBackup support data files (Select Create or Remove).
Processes       Show/control NetBackup and Admin Console processes.
Reboot          Reboot the system.
RecoverStorage  View or delete directories backed up during appliance re-image.
Return          Return to the previous menu.
Service         Service management.
ShelfOrdering   View or reset the Expansion Storage Shelf order.
Shell           Shell operations.
Show            Display information.
Shutdown        Shut down the appliance.
Storage         Storage data and configuration
Test            Test the current status of various appliance components.

nbu5240.Support> Maintenance #进入维护模式
<!-- Maintenance Mode --!>
maintenance's password:  #输入Maintenance密码
maintenance-!> /opt/Symantec/sdcssagent/IPS/sisipsoverride.sh
Symantec Data Center Security Server Policy Override

    Agent Version: 6.9.3 (build 2543)
   Current Policy: NetBackup Appliance Prevention Policy, r296
Policy Prevention: Enabled
  Policy Override: Allowed
   Override State: Not overridden

To override the policy and disable protection, enter your login password.
Password:

Choose the type of override that you wish to perform:
 1. Override Prevention except for Self-Protection
 2. Override Prevention Completely
Choice? [1] 2 #选择覆盖策略

Choose the amount of time after which to automatically re-enable:
 1. 15 minutes
 2. 30 minutes
 3. 1 hour
 4. 2 hours
 5. 4 hours
 6. 8 hours
Choice? [1] 6 #选择覆盖多久

Enter a comment. Press Enter to continue.


Please wait while the policy is being overridden.

The policy was successfully overridden.
maintenance-!> elevate  #提升权限
nbu5240:/home/maintenance   #进入到Shell模式