92
Appendix A Command Line Tools
sg-raid
[
-status
] [
-add
] [
-re-add
] [
-force
]
[
-help
]
Configures a new hard drive on a StoneGate appliance. This
command is only available for StoneGate appliances that
support RAID (Redundant Array of Independent Disks) and have
two hard drives.
-status
option displays the status of the hard drive.
-add
options adds a new empty hard drive.
Use
-add -force
if you want to add a hard drive that already
contains data and you want to overwrite it.
-re-add
adds a hard drive that is already partitioned. This
command prompts for the drive and partition for each degraded
array.
Use
-re-add -force
if you want to check all the arrays.
-help
option option displays usage information.
sg-reconfigure
[
--boot
]
[
--no-shutdown
]
Used for reconfiguring the node manually.
--boot
option applies bootup behavior. Do not use this option
unless you have a specific need to do so.
--no-shutdown
option allows you to make limited
configuration changes on the node without shutting it down.
Some changes may not be applied until the node is rebooted.
sg-status
[
-l
] [
-h
]
Displays information on the engine’s status.
-l
option displays all available information on engine status.
-h
option displays usage information.
sg-toggle-active SHA1 SIZE
|
--force
[
--debug
]
Switches the engine between the active and the inactive
partition. This change takes effect when you reboot the engine.
You can use this command, for example, if you have upgraded
an engine and want to switch back to the earlier engine version.
When you upgrade the engine, the active partition is switched.
The earlier configuration remains on the inactive partition. To
see the currently active (and inactive) partition, see the
directory listing of
/var/run/stonegate
(
ls-l /var/run/
stonegate
.
The
SHA1 SIZE
option is used to verify the signature of the
inactive partition before changing it to active. If you downgrade
the engine, check the checksum and the size of the earlier
upgrade package by extracting the signature and size files from
the sg_engine_[version.build]_i386.zip file.
--debug
option reboots the engine with the debug kernel.
--force
option switches the active configuration without first
verifying the signature of the inactive partition.
sg-version
Displays the software version and build number for the node.
Table A.1 StoneGate-specific Command Line Tools on Engines (Continued)
Command
Description
Содержание stonegate 5.2
Страница 1: ...STONEGATE 5 2 INSTALLATION GUIDE INTRUSION PREVENTION SYSTEM...
Страница 5: ...5 INTRODUCTION In this section Using StoneGate Documentation 7...
Страница 6: ...6...
Страница 12: ...12...
Страница 18: ...18 Chapter 2 Planning the IPS Installation...
Страница 28: ...28 Chapter 4 Configuring NAT Addresses...
Страница 30: ...30...
Страница 50: ...50 Chapter 6 Saving the Initial Configuration...
Страница 59: ...59 INSTALLING SENSORS AND ANALYZERS In this section Installing the Engine on Intel Compatible Platforms 61...
Страница 60: ...60...
Страница 72: ...72 Chapter 8 Installing the Engine on Intel Compatible Platforms...
Страница 73: ...73 UPGRADING In this section Upgrading 75...
Страница 74: ...74...
Страница 88: ...88...
Страница 94: ...94 Appendix A Command Line Tools...