Installing the Audit Server Files
This section describes the steps to install the audit server logging executable files on various operating systems. Copy the installation files from the product CD or download them from the site ftp.netscaler.com. Run the installations from the root user account.
The following table lists the minimum system requirements for configuring external audit server logging for Windows, Linux, and FreeBSD:
Operating System :
Windows
Linux
FreeBSD
For Windows / Linux / FreeBSD
Software Requirements :
• Windows XP Professional - Version 2002
• Windows 2003 server
• Windows 2000/NT
• Red Hat Enterprise Linux AS release 4 (Nahant) - Linux version 2.6.9-5.EL
• Red Hat 3.4.3-9.EL4 - Linux version 2.6.9-5.ELsmp
• Red Hat Linux 3.2.2-5 - Linux version 2.4.20-8
FreeBSD 4.9
Hardware Requirements :
• Processor - Intel x86 ~501MHz
• RAM - 512 MB
• Controller - SCSI
Installing Audit Server on the Linux Operating System
The following section describes the procedure to install the audit server executable and other files on a system that runs Red Hat Linux.
To install on a Linux operating system
1. At a command prompt, type the following command to copy the NSauditserver.rpm file to a temporary directory:
cp <path_to_cd>/Utilities/auditserver/Linux/NSauditserver.rpm
/tmp
2. Type the following command to install the NSauditserver.rpm file:
rpm -i NSauditserver.rpm
This command extracts the files and installs them in:
• /usr/local/netscaler/etc
• /usr/local/netscaler/bin
• /usr/local/netscaler/samples
Uninstalling Audit Server on the Linux Operating System
This section describes the procedure to uninstall audit server logging on a server that runs on the Linux operating system.
To uninstall audit server logging
At a command prompt, type the following command to uninstall the audit server logging feature:
rpm -e NSauditserver
For more information about the NSauditserver RPM file, use the following command:
rpm -qpi *.rpm
To view the installed audit server files use the following command:
rpm -qpl *.rpm
*.rpm: Specifies the file name.
Installing Audit Server on the FreeBSD Operating System
This section describes the procedure to install the audit server executable and other files on the FreeBSD 4.4 operating system.
To install on a FreeBSD operating system
1. Copy the NSauditserver.tgz file to a <target directory> using the command:
cp <path_to_cd>/Utilities/auditserver/Freebsd/ NSauditserver.tgz /<target directory>
<path_to_cd>: Specifies the system path to the CD drive where the CD device is mounted.
<target directory>: Specifies the path to the directory to which the file should be copied.
2. Change to the <target directory>:
cd /<target directory>
3. Use the following command to install the package:
pkg_add NSauditserver.tgz
This command extracts the files and installs them in:
• /usr/local/netscaler/etc
• /usr/local/netscaler/bin
• /usr/local/netscaler/samples
4. At a command prompt, type the following command to check whether the package is installed:
pkg_info | grep NSauditserver
Uninstalling Audit Server on the FreeBSD Operating System
This section describes the procedure to uninstall audit server logging on a server that runs on the FreeBSD operating system.
To uninstall audit server logging
At a command prompt, type the following command to uninstall the audit server logging package:
pkg_delete NSauditserver
Installing Audit Server on the Windows Operating System
This section describes the procedure to install the audit server executable and other files on the Windows operating system.
To install on a Windows operating system
1. Extract the audserver.exe file from the NSauditserver.zip compressed file into a temporary directory. When the files are extracted, the following directories are created:
• \NS\BIN
• \NS\ETC
• \NS\SAMPLES
2. To install audit server logging as a service, run the following command from \NS\BIN directory:
audserver -install -f <directorypath> \auditlog.conf
<directorypath>: Specifies the path where the auditlog.conf file is available.
Uninstalling Audit Server on the Windows Operating System
This section describes the procedure to uninstall audit server logging on a server that runs on the Windows operating system.
To uninstall audit server logging
1. At a command prompt, change to the following directory:
cd \NS\BIN
2. Type the following command to uninstall the audit server logging feature:
audserver -remove
Audit Server Options
The following table describes the options you can use with the audserver command to configure audit server options.:
Audit Server Options :
Audit Server Commands :
audserver -help
audserver -addns -f <path to configuration file>
audserver -verify -f <path to configuration file>
audserver -start -f <path to configuration file>
audserver -stop
audserver -install -f <path to configuration file>
audserver -startservice
audserver -stopservice
audserver -remove
Specifies :
Lists all the available Audit Server options data.
On execution of the command, you are prompted to enter the IP address of the system.
Enter the Userid and Password of the system.
Checks for syntax or semantic errors in the configuration file, for example, auditlog.conf file.
Starts audit server logging based on the configuration settings in the configuration file, for example, auditlog.conf file.
Linux only:
To start the audit server as a background process, type & at the end of the command.
Stops audit server logging when audit server is started as a background process. Alternatively, use the Ctrl+C key to stop audit server logging.
Windows Only:
Installs the audit server logging client as a service on Windows.
Windows Only
Starts the audit server logging service, when you enter this command at a command prompt.
You can also start audit server logging from Start > Control Panel > Services option.
Windows Only
Removes the audit server logging service from the registry.
Run the audserver command from the directory in which the audit server executable is present:
• On Windows: \ns\bin
• On Solaris and Linux: \usr\local\netscaler\bin
The audit server configuration files are present in the following directories:
• On Windows: \ns\etc
• On Linux: \usr\local\netscaler\etc
The audit server executable is started as ./auditserver in Linux and FreeBSD.
No comments:
Post a Comment