How To Install Libgcc 3.4.6 Sol9 Sparc Local
пятница 03 апреля admin 31
Deploying the connector involves the following steps:
Unzip the packages and install the files using the following commands: For the GNU Compiler: # gunzip libgcc-3.4.6-sol9-sparc-local.gz # pkgadd -d libgcc-3.4.6-sol9-sparc-local For Zlib: # gunzip zlib-1.2.3-sol9-sparc-local.gz # pkgadd -d zlib-1.2.3-sol9-sparc-local For OpenSSL: # gunzip openssl-0.9.81-sol9-sparc-local.gz # pkgadd -d openssl-0.9.81-sol9-sparc-local.
Step 1: Verifying Deployment Requirements
The following table lists the deployment requirements for the connector.
| Item | Requirement |
|---|---|
| Oracle Identity Manager | Oracle Identity Manager release 8.5.3 or later |
| Target systems | The target system can be any one of the following:
|
| External code | JSCAPE SSH/SSH Libraries (SSH factory) |
| Other systems | OpenSSH, OpenSSL, operating system patches (HP-UX), and SUDO software (only if the SUDO Admin mode is required) |
| Target system user account | root or sudo user You provide the credentials of this user account while performing the procedure in the 'Defining IT Resources' section. If you do not use a target system user account of the specified type, then an error message similar to the following would be displayed when Oracle Identity Manager tries to exchange data with the target system:
|
Character encoding (en_US) supported by the target system | The target system must support en_US character encoding standards such as UTF-8 and iso8859.Use the following command to check the Note: If the target system does not support any of the |
The supported shell types for various operating systems are given in the following table.
| Solaris | HP-UX | Linux | AIX |
|---|---|---|---|
sh | csh | ksh | csh |
csh | ksh | bash | ksh |
| - | sh | sh | sh |
| - | - | csh | - |
Step 2: Configuring the Target System
Configuring the target system involves the steps described in the following sections:
Platform-Specific Configuration Steps
This section provides instructions to configure the target system on the following platforms:
Configuration Steps for Solaris and Linux
Perform the following steps for Solaris and Linux environments:
Ensure that the
/etc/passwdand/etc/shadowfiles are available on the UNIX server.Ensure that a
passwdmirror file is created on the target server by using a command similar to the following:The same file name with the path must be inserted in the
Passwd Mirror File/User Mirror Fileattribute of the reconciliation scheduled task.Ensure that a shadow mirror file is created on the target server by using a command similar to the following:
The name and path of this file must be specified for the
Shadow Mirror Fileattribute of the reconciliation scheduled task.
Configuration Steps for AIX
Perform the following steps for AIX environments:
Ensure that the
/etc/passwdand/etc/security/userfiles are available on the server.Ensure that a user mirror file is created on the server by using a command similar to the following:
The name and path of this file must be specified for the
Passwd Mirror File/User Mirror File (AIX)attribute of the scheduled task for reconciliation.
Configuration Steps for HP-UX
Perform the following steps for HP-UX environments:
Log in as root and then run the following command:
Select Auditing and Security and System Security Policies. A message is displayed asking if you want to switch to the trusted mode.
Click OK.
If the following message is displayed, then skip the next step:
Ensure that the
/etc/passwdand/etc/shadowdirectories are available on the target server.If the shadow file does not exist, then follow the installation instructions at
All the patches are available in the HP patch database, which you can download from
Installing External Software
This section describes the procedure to install external software.
Installing OpenSSH
Follow these steps to install OpenSSH on Solaris 9 or HP-UX.
For Solaris 8
If SSH is not installed on the Solaris server, then install the appropriate OpenSSH. For Solaris 8, you can download the packages listed in this section from
If the GCC compiler is not installed, then you must install the packages in the following file:
The following packages are included in this file. You must install these packages in the specified order:
prngd-0.9.25-sol8-sparc-local.gz(optional)tcp_wrappers-7.6-sol8-sparc-local.gz(optional, but recommended)zlib-1.2.1-sol8-sparc-local.gzopenssl-0.9.7g-sol8-sparc-local.gzopenssh-4.1p1-sol8-sparc-local.gz
Create a group with the name
sshdand group ID27. Add a user with the namesshadminto this group.To enable root logins, change the value of
PermitRootLoginin the/etc/ssh/sshd_configfile as follows:Note:
Implement this change only if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
For Solaris 9
If SSH is not installed on the Solaris server, then install the appropriate OpenSSH. For Solaris 9, you can download the packages listed in this section from
Note:
If the GCC compiler is not installed, then install the following packages:libgcc-3.4.1-sol9-sparc-local.gzlibiconv-1.8-sol9-sparc-local.gzYou must install these packages in the following order:
prngd-0.9.25-sol9-sparc-local.gztcp_wrappers-7.6-sol9-sparc-local.gzzlib-1.2.1-sol9-sparc-local.gzopenssl-0.9.7d-sol9-sparc-local.gzopenssh-3.9p1-sol9-sparc-local.gz
Create a group with the name
sshdand group ID27. Add a user with the namesshadminto this group.To enable root logins, change the value of
PermitRootLoginin the/etc/ssh/sshd_configfile as follows:Note:
Implement this change only if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
For Solaris 10
By default, OpenSSH is installed on Solaris 10. If it is not installed, then install the OpenSSH server from the operating system installation CD. To enable SSH on Solaris 10, make the following changes in the /etc/ssh/ssh_config file:
Remove the comment character from the
Host *line.To enable root logins, change the value of
PermitRootLoginin the/etc/ssh/sshd_configfile as follows:Note:
Implement this change only if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
For HP-UX
If SSH is not installed on the UNIX server, then install the appropriate OpenSSH:
For HP-UX 11.11, download and install the appropriate patch from
For HP-UX B.11.11, download the file,
PHCO_33711.depotforhpux_800_11.11_11300132-patch.tgz.Use the following command to install it:Download and install OpenSSH. You can download the
T1471AA_A.03.81.002_HP-UX_B.11.11_32+64.depotfile fromAfter the patch is successfully installed, use the following command to install openSSH.
After this is installed, the HP-UX Secure Shell daemon (
sshd) is automatically preconfigured and started.Create a group with the name
sshd.Add a user with the name
sshadminto this group.To enable root logins, change the value of
PermitRootLoginin the/etc/ssh/sshd_configfile as follows:Note:
Implement this change only if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
For Linux
By default, OpenSSH is installed on Red Hat Advanced Server 2.1 and Red Hat Enterprise Linux 3. If it is not installed, then install the OpenSSH server from the operating system installation CD.
For AIX
If SSH is not installed on the AIX 5.2 server, then perform the following steps:
Download and install OpenSSL.
Download the
openssl-0.9.7d-aix5.1.ppc.rpmfile fromThen, enter the following command to install OpenSSL:
In this command,
/root/downloadis the location on the AIX server where theopenssl-0.9.7d-2.aix5.1.ppc.rpmfile is stored.Download and install PRNG.
Download the
prngd-0.9.23-3.aix4.3.ppc.rpmfile fromThen, enter the following command to install PRNG:
In this command,
/root/downloadis the location on the AIX server where theprngd-0.9.23-3.aix4.3.ppc.rpmfile is stored.Download and install OpenSSH.
Download the
openssh-3.8.1p1_52.tar.gzfile fromThen, enter the following commands to install openSSH:
In these commands,
/root/downloadis the location on the AIX server where theopenssh-3.8.1p1_52.tar.gzfile is stored.To enable root logins, change the value of
PermitRootLoginin the/etc/ssh/sshd_configfile as follows:Note:
Implement this change only if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
Installing and Configuring SUDO
If you want to use the SSH connector in the SUDO Admin mode, then perform the following steps to install and configure SUDO:
For Solaris

If SUDO is not installed on the Solaris server, then first download it.
For Solaris 9, download the
sudo-1.6.8p4-sol9-sparc-local.gzfile fromFor Solaris10, download the
sudo-1.6.8p9-sol9-sparc-local.gzfile fromFor Solaris 8, download the
sudo-1.6.8p9-sol8-sparc-local.gzfile from
Use the following command to install SUDO:
Edit the
sudoersfile on the Solaris server to customize it according to your requirements. This file is located in the following directory:For example, if a group named
mqmexists on the Solaris server, and you require all members of the group to act as SUDO users with all possible privileges, then thesudoersfile must contain a line similar to the following:This is only a sample configuration. If you require some other group members or individual users to be SUDO users with specific privileges, then you must edit this file as you did for the sample value
mqm.This connector uses the following commands:
useraddusermodpasswdcatdiffuserdel
Therefore, the SUDO user must have privileges to run these commands.
Note:
Do not use theNOPASSWD: ALLoption for any SUDO user or group.For information about customizing the
sudoersfile, refer toEdit the same
sudoersfile so that every time a command is run in SUDO Admin mode, the SUDO user is prompted for the password. Add the following line under the# Defaults specificationheader:This is a prerequisite for this connector to work successfully.
Log in to the Solaris computer as root, and enter the following commands:
Create a SUDO user. The SUDO user must be created according to the constraints specified in the
sudoersfile.The SUDO user must always be created with its home directory by using a command similar to the following:
In the sudo user's
.profilefile, which is created in the sudo user's home directory, add the following lines to set the value of the PATH environment variable:
For HP-UX
If SUDO is not installed on the HP-UX server, then install the appropriate SUDO. For HP-UX, download the
sudo-1.6.8p6-sd-11.11.depot.gzfile fromEnter the following command to install SUDO:
Edit the
sudoersfile to customize it according to your requirements. This file is located in the following directory:For example, if you have a group named
mqmon the HP-UX server and you want all members of the group to act as SUDO users with all possible privileges, then thesudoersfile must contain the following line:This is only a sample configuration. If you want to make SUDO users with specific privileges out of other group members or individual users, then edit this file as you did for the sample value
mqm.This connector uses the following commands:
useraddusermodpasswdcatdiffuserdel
Therefore, the SUDO user must have the privileges required to run these commands.
Note:
Do not use theNOPASSWD: ALLoption for any SUDO user or group.For information about customizing the
sudoersfile, refer toEdit the same
sudoersfile so that every time a command is run in SUDO Admin mode, the SUDO user is prompted for a password. Add the following line under the# Defaults specificationheader:This is an essential prerequisite for the connector to work successfully.
Copy the
sudoersfile that you edited into the/etcdirectory of the target system. After copying the file, enter the following command:Then, change the name of the file from
sudoers1tosudoers.Log in as root, and enter the following commands on the HP-UX computer:
Create a SUDO user. The SUDO user should be created according to the constraints specified in the
sudoersfile.The SUDO user should always be created with its home directory by using a command similar to the following:
In addition, in the
.profilefile, which is created in the home directory, add the following lines to set the appropriate PATH:
For AIX
If SUDO is not installed on AIX 5.2, then install the appropriate SUDO AIX 5.2 version
sudo-1.6.7p5-2.aix5.1.ppc.rpmfile fromIf RPM Package Manager is not installed on the AIX 5.2 server, then install it from
Enter the following command to install SUDO:
In this command,
/root/downloadis the location on the AIX server where thesudo-1.6.7p5-2.aix5.1.ppc.rpmfile is stored.Edit the
sudoersfile, which is in the/etcdirectory on the AIX server, to customize the file according to your requirements.For example, if you have a group named
mqmin the AIX server and require all members of the group to act as SUDO users with all possible privileges, then thesudoersfile must contain the following line:This is only a sample configuration. If you need other group members or individual users to be SUDO users with specific privileges, then edit this file as was done for the sample value
mqm.This connector uses the following commands:
mkuserchuserpasswdcatdiffusermodrmuser
Therefore, the SUDO user must have the privileges required to run these commands.
Note:
Do not use theNOPASSWD: ALLoption for any SUDO user or group.For information about customizing the
sudoersfile, refer toEdit the same
sudoersfile to configure the system, so that every time a command is run through SUDO Admin mode, the SUDO user is prompted for a password. Add the following line under the# Defaults specificationheader:Defaults timestamp_timeout=0This is a prerequisite for this connector to work successfully.
Create a SUDO user. The SUDO user should be created according to the constraints specified in the
sudoersfile.
For Red Hat Advanced Server 2.1
If SUDO is not installed on the Red Hat Advanced Server 2.1 server, then install the appropriate SUDO. To do this, first download the
sudo-1.6.7p5-1.i686.rpmfile fromThen, enter the following command to install SUDO:
In this command,
/root/downloadis the location on the Linux server where thesudo-1.6.7p5-1.i686.rpmfile is stored.Use the
visudocommand to edit and customize the/etc/sudoersfile according to your requirements.Note:
If you cannot use thevisudocommand to edit thesudoersfile, then:Enter the following command:
Make the required changes in the
sudoersfile.Enter the following command:
For example, if you have a group named
mqmon the Linux server and require all members of the group to act as SUDO users with all possible privileges, then thesudoersfile must contain the following line:This example is only a sample configuration. If you need other group members or individual users to be SUDO users with specific privileges, then edit this file as was done for the sample value
mqm.The commands that this connector uses are:
useraddusermodpasswdcatdiffuserdel
Therefore, the SUDO user must have the privileges required to run these commands.
Note:
Do not use theNOPASSWD: ALLoption for any SUDO user or group.For information about customizing the
sudoersfile, refer toEdit the same
sudoersfile to configure the system, so that every time a command is run in SUDO Admin mode, the SUDO user is prompted for a password. Under the# Defaults specificationheader, add the following line:This is a prerequisite for this connector to work successfully.
Create a SUDO user as follows:
Enter the following command:
In this command:
-
group_nameis the SUDO users group for which there is an entry in the/etc/sudoersfile.-
directory_nameis the name of the directory in which you want to create the default directory for the user.In the
.bash_profilefile, which is created in the/home/directory_namedirectory, add the following lines to set thePATHenvironment variable:
For Red Hat Enterprise Linux 3.x and Red Hat Linux 4.x
If SUDO is not installed on the Red Hat Enterprise Linux 3.x or 4.x server, then install the appropriate SUDO. For Linux Advanced Server 3.0 and 4.1, download the
sudo-1.6.7p5-1.i686.rpmfile fromThen, enter the following command to install SUDO:
In this command,
/root/downloadis the location on the Linux server where thesudo-1.6.7p5-1.i686.rpmfile is stored.Use the
visudocommand to edit and customize the/etc/sudoersfile according to your requirements.Note:
If you cannot use thevisudocommand to edit thesudoersfile, then:Enter the following command:
Make the required changes in the
sudoersfile.Enter the following command:
For example, if you have a group named
mqmon the Linux server and want all of the members of the group to act as SUDO users with all possible privileges, then thesudoersfile must contain the following line:This is only a sample configuration. If you want some other group members or individual users to be SUDO users with specific privileges, you must edit this file as was done for the sample value
mqm.This connector uses the following commands:
useraddMacs fan control mac.
usermodpasswdcatdiffuserdel
Therefore, the SUDO user must have the privileges required to run these commands.
Note:
Do not use theNOPASSWD: ALLoption for any SUDO user or group.For information about customizing the
sudoersfile, refer toEdit the same
sudoersfile to configure the system, so that every time a command is run in SUDO Admin mode, the SUDO user is prompted for a password. Under the# Defaults specificationheader, add the following line:This is a prerequisite for this connector to work successfully.
Create a SUDO user as follows:
Enter the following command:
In this command:
-
group_nameis the SUDO users group for which there is an entry in the/etc/sudoersfile.-
directory_nameis the name of the directory in which you want to create the default directory for the user.In the
.bash_profilefile, which is created in the/home/directory_namedirectory, add the following lines to set thePATHenvironment variable:
Public Key Authentication (SSH Key Generation)
This section discusses the following topics:
Configuring Public Key Authentication
To configure Public Key Authentication:
Copy
SSH/scripts/privateKeyGen.shto any directory on the server.Open this script file in a text editor and specify a working directory path other than the default value given in the file.
If required, enter the following command:
For Solaris or Linux:
For HP-UX:
Run the
privateKeyGen.shscript on the UNIX server. Provide a secure pass phrase when prompted.When these commands are run, the following files are created in the
$HOME/.sshdirectory:id_rsa:This is a private key file.authorized_keys:This file lists public keys that can be used to log in.
When the keys are generated successfully, edit the
sshd_configfile for Public Key Authentication and test login.After successfully testing login, copy the
id_rsafile to the following directory:Note:
This release of the connector has been tested and certified only for RSA keys, and not DSA. In addition, this connector has been tested and certified for only single key configuration and not multiple keys.
Configuring SSH Public Key Authentication
To configure SSH Public Key Authentication:
For Solaris
Set the following parameters in the
/etc/ssh/sshd_configfile:Note:
Change the value ofPermitRootLogintoyesonly if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
To restart the SSH server, enter the following commands:
/etc/init.d/sshd stop/etc/init.d/sshd start
To test login:
This command prompts you for the passkey before setting up the connection.
For HP-UX
Uncomment the following lines in the
/etc/ssh/sshd_configfile:Note:
Change the value ofPermitRootLogintoyesonly if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
To restart the SSH Server, enter the following command:
To test login, enter the following command:
When prompted, enter the passkey to connect to the server.
For Linux
Enter the following commands at the UNIX server prompt:
You are prompted to enter a passphrase when you enter these commands. You can press Enter if you do not want to use a passphrase.
Add the following line in the
/etc/ssh/sshd_configfile:Enter the following commands to restart the UNIX server:
To check if you can connect to the target system using the SSH protocol, directly from the command prompt and without using a password, enter the following command:
Copy the
/.ssh/id_rsafile to the following directory:When you perform the procedure described in the 'Defining IT Resources' section, provide the name and full path of the
id_rsafile as the value of thePrivate Keyparameter:
For AIX
The first step of this procedure depends on the version of AIX that you are using:
For AIX 4.3, use the
/etc/openssh/sshd_configfile to set the following parameters:For AIX 5.2, use the
/etc/ssh/sshd_configfile to set the following parameters:
Open the
/etc/ssh/sshd_configfile, and uncomment the following lines:Note:
Change the value ofPermitRootLogintoyesonly if it does not violate local security policies. If Public Key Authentication is enabled, then you can change the value ofPermitRootLogintowithout-password.Instead of using the root account, if you can use a user account with sudo privileges, then you do not need to perform this step.
To restart the SSH server, enter the following commands:
/opt/ssh/sbin/sshd(For AIX 4.3)/usr/sbin/sshd(For AIX 5.2)
To test the login, enter the following command:
When prompted, enter the passkey to connect to the server.
Note:
This release of the connector does not support Public Key Authentication provisioning if it is implemented through the SUDO Admin mode. The Public Key Authentication used for system access is available for the root user. This point is also mentioned in the Known Issues list in Chapter 5.
Step 3: Copying the Connector Files
The connector files to be copied and the directories to which you must copy them are given in the following table.
Note:
The directory paths given in the first column of this table correspond to the location of the connector files in the following directory on the installation media:Refer to the 'Files and Directories That Comprise the Connector' section for more information about these files.
| File in the Installation Media Directory | Destination Directory |
|---|---|
Files in the resources directory | |
Files in the scripts directory | |
Files and directories in the test directory | |
Files in the xml directory |
Note:
While installing Oracle Identity Manager in a clustered environment, you copy the contents of the installation directory to each node of the cluster. Similarly, you must copy theconnectorResources directory and the JAR files to the corresponding directories on each node of the cluster.Step 4: Configuring the Oracle Identity Manager Server
Configuring the Oracle Identity Manager server involves the following procedures:
Note:
In a clustered environment, you must perform this step on each node of the cluster.Changing to the Required Input Locale
Changing to the required input locale (language and country setting) involves installing the required fonts and setting the required input locale.
You may require the assistance of the system administrator to change to the required input locale.
Clearing Content Related to Connector Resource Bundles from the Server Cache
While performing the instructions described in the 'Step 3: Copying the Connector Files' section, you copy files from the resources directory on the installation media into the OIM_home/xellerate/connectorResources directory. Whenever you add a new resource bundle in the connectorResources directory or make a change in an existing resource bundle, you must clear content related to connector resource bundles from the server cache.
To clear content related to connector resource bundles from the server cache:
In a command window, change to the
OIM_home/xellerate/bindirectory.Note:
You must perform Step 1 before you perform Step 2. If you run the command described in Step 2 as follows, then an exception is thrown:Enter one of the following commands:
On Microsoft Windows:
On UNIX:
Note:
You can ignore the exception that is thrown when you perform Step 2.In this command,
ConnectorResourceBundleis one of the content categories that you can remove from the server cache. Refer to the following file for information about the other content categories:
Enabling Logging
When you enable logging, Oracle Identity Manager automatically stores in a log file information about events that occur during the course of provisioning and reconciliation operations. To specify the type of event for which you want logging to take place, you can set the log level to one of the following:
ALLThis level enables logging for all events.
DEBUGThis level enables logging of information about fine-grained events that are useful for debugging.
INFOThis level enables logging of informational messages that highlight the progress of the application at coarse-grained level.
WARNThis level enables logging of information about potentially harmful situations.
ERRORThis level enables logging of information about error events that may still allow the application to continue running.
FATALThis level enables logging of information about very severe error events that could cause the application to stop functioning.
OFFThis level disables logging for all events.
The file in which you set the log level depends on the application server that you use:
BEA WebLogic
To enable logging:
Add the following line in the
OIM_home/xellerate/config/log.propertiesfile:In this line, replace
log_levelwith the log level that you want to set.For example:
After you enable logging, log information is written to the following file:
IBM WebSphere
To enable logging:
Add the following line in the
OIM_home/xellerate/config/log.propertiesfile:In this line, replace
log_levelwith the log level that you want to set.For example:
After you enable logging, log information is written to the following file:
JBoss Application Server
To enable logging:
In the
JBoss_home/server/default/conf/log4j.xmlfile, locate the following lines:In the second XML code line, replace
log_levelwith the log level that you want to set. For example:
After you enable logging, log information is written to the following file:
OC4J
To enable logging:
Add the following line in the
OIM_home/xellerate/config/log.propertiesfile:In this line, replace
log_levelwith the log level that you want to set.For example:
After you enable logging, log information is written to the following file:
Step 5: Importing the Connector XML Files
To import the connector XML files:
Open the Oracle Identity Manager Administrative and User Console.
Click the Deployment Management link on the left navigation bar.
Click the Import link under Deployment Management. A dialog box for locating files is displayed.
Locate and open the
SSHNonTrustedUser.xmlfile, which is in theOIM_home/xellerate/XLIntegrations/SSH/xmldirectory. Details of this XML file are shown on the File Preview page.Click Add File. The Substitutions page is displayed.
Click Next. The Confirmation page is displayed.
Click Next. The Provide IT Resource Instance Data page for the
SSH server SolarisIT resource is displayed.Specify values for the parameters of the
SSH server SolarisIT resource. Refer to the table in the 'Defining IT Resources' section for information about the values to be specified.Click Next. The Provide IT Resource Instance Data page for a new instance of the
SSH ServerIT resource type is displayed.Click Skip to specify that you do not want to define another IT resource. The Confirmation page is displayed.
See Also:
If you want to define another IT resource, then refer to Oracle Identity Manager Tools Reference Guide for instructions.Click View Selections.
The contents of the XML file are displayed on the Import page. You may see a cross-shaped icon along with some nodes. These nodes represent Oracle Identity Manager entities that are redundant. Before you import the connector XML file, you must remove these entities by right-clicking each node and then selecting Remove.
Click Import. The connector file is imported into Oracle Identity Manager.
After you import the connector XML file, proceed to the next chapter.
Defining IT Resources
You must specify values for the SSH server Solaris IT resource parameters listed in the following table.
| Parameter | Description |
|---|---|
Admin UserId | User ID of the administrator
Here, |
Admin Password/Private file Pwd | Password of the administrator
Here, Note: For the SUDO Admin mode, the private key is not supported. You must not specify a value for this mode. If a private key is used, then the Private Key PassPhrase must be provided as the value of this parameter. |
Server IP Address | Server IP address |
Port | The port at which the SSH service is running on the server Default value: |
Private Key | Private key file name with full path Note: For SUDO Admin administrator, this parameter must be left blank. |
Server OS | Specify one of the following:
|
Shell Prompt | # or $ |
Login Prompt | You can ignore this parameter. This parameter is not used for SSH. |
Password Prompt | You can ignore this parameter. This parameter is not used for SSH. |
Whether Trusted System (HP-UX) | YES (for trusted HP-UX System) or NO (for nontrusted HP-UX system) |
Whether SUDO Admin Mode | NO (for root) or YES (for SUDO Admin mode) |
Target Locale | Target locale (language and country) For the locale that you want to use, you can specify a value similar to the following:
Note: You must not make any change (uppercase or lowercase) in the value that you specify. |
Supported Character Encoding (en_US) - Target | Encoding format for the en_US target localeThe default value is UTF-8. Note: You can check which |
Max Retries | Number of times that the connector must retry connecting to the target server if the connection fails Default value: |
Delay | Delay (in milliseconds) before the connector attempts to retry connecting to the target system, if the connection fails Default value: |
Timeout | Value of the timeout (in milliseconds) for the connection to the target server Default value: |
After you specify values for these IT resource parameters, proceed to Step 9 of the procedure to import connector XML files.
PermalinkJoin GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBranch:master
| Installing syslog-ng on Sun Solaris 10 |
| To successfully install syslog-ng, complete the following simple procedure. Lines starting with # are commands that have to be executed from a command line console. |
| Procedure 4.5. Installing syslog-ng on Sun Solaris 10 |
| 1. |
| Use the your username and password received together with your syslog-ng Premium Edition license to download the following binaries. Make sure to download the package specific for the processor architecture of the host. |
| * |
| The syslog-ng Premium Edition package (syslog-ng-premium-edition_<version>) from |
| http://www.balabit.com/downloads/files/syslog-ng/binaries/premium-edition/pool/s/syslog-ng-premium-edition/ |
| * |
| The libdbi8 package from |
| http://www.balabit.com/downloads/files/syslog-ng/binaries/premium-edition/pool/l/libdbi8/ |
| * |
| If you plan to use an SQL destination, download the package corresponding to your database from |
| http://www.balabit.com/downloads/files/syslog-ng/binaries/premium-edition/pool/l/libdbi8-drivers/ |
| Also download the package corresponding to the database, architecture, and Solaris version you plan to use from http://www.sunfreeware.com. The Sunfreeware.com website includes details on installing the database, and any required dependencies. |
| Note |
| The database packages contain the full database applications, but syslog-ng does not use the databases, only the .so file. Installing the database packages does not start the database services. |
| 2. |
| Download or copy the syslog-ng_<version_number>_sparc.pkg.gz package to your computer running Solaris. |
| Download the following packages from the nearest sunfreeware.com mirrors(solaris9 packages): |
| libiconv-1.11-sol9-sparc-local.gz |
| libgcc-3.4.6-sol9-sparc-local.gz |
| 3. |
| Unpack and install the syslog-ng Premium Edition and the libdbi8 package by issuing the following commands from the command line: |
| # libiconv-1.11-sol9-sparc-local.gz |
| # libgcc-3.4.6-sol9-sparc-local.gz |
| # gunzip syslog-ng_<version_number>_sparc.pkg.gz |
| # gunzip libdbi8_<version>_<arch>.gz |
| # pkgadd -d libiconv-1.11-sol9-sparc-local |
| # pkgadd -d libgcc-3.4.6-sol9-sparc-local |
| # pkgadd -d syslog-ng_<version_number>_sparc.pkg |
| # pkgadd -d libdbi8_<version>_<arch>.pkg |
| 4. |
| If you use an SQL destination, issue the commands corresponding to the database: |
| * |
| For MySQL: |
| Download and install the following packages from sunfreeware.com: |
| - mysql-5.0.41-sol9-sparc-local |
| - openssl-0.9.8e-sol9-sparc-local |
| # gunzip <pkg>.gz; pkgadd -d <pkg> |
| # gunzip libdbd8-mysql_<version>_<arch>.gz |
| # pkgadd -d libdbd8-mysql_<version>_<arch>.pkg |
| * |
| For PostgreSQL: |
| Make sure that the SUNWpostgr-libs package has been installed. It's on the Solaris 10 install DVD. |
| # gunzip libdbd8-pgsql_<version>_<arch>.gz |
| # pkgadd -d libdbd8-pgsql_<version>_<arch>.pkg |
| * |
| For SQLite: |
| Download and install the sqlite-3.3.6-sol9-sparc-local package from sunfreeware.com. |
| # gunzip sqlite-3.3.6-sol9-sparc-local.gz |
| # pkgadd -d sqlite-3.3.6-sol9-sparc-local |
| # gunzip libdbd8-sqlite_<version>_<arch>.gz |
| # pkgadd -d libdbd8-sqlite_<version>_<arch>.pkg |
| 5. |
| Rename the syslog-ng.conf.sample file (located under /opt/syslog-ng/etc/) to syslog-ng.conf. |
| # mv /opt/syslog-ng/etc/syslog-ng.conf.sample |
| /opt/syslog-ng/etc/syslog-ng.conf |
| 6. |
| Modify the syslog-ng.conf.to suit your needs. For details on how to configure syslog-ng, see The syslog-ng Administrator Guide, Chapter 3, Configuring syslog-ng. |
| 7. |
| Disable the original syslogd application. |
| # svcadm -v disable svc:/system/system-log |
| 8. |
| Copy the following files to their proper places by issuing the following commands and modify them if needed. |
| # cp /opt/syslog-ng/doc/syslog-ng.example.xml /var/svc/manifest/system/syslog-ng.xml |
| # cp /opt/syslog-ng/doc/syslog-ng.method /lib/svc/method/syslog-ng |
| 9. |
| Validate and import the syslog-ng.xml file using svccfg. |
| # svccfg |
| svc:> validate /var/svc/manifest/system/syslog-ng.xml |
| svc:> import /var/svc/manifest/system/syslog-ng.xml |
| svc:> quit |
| 10. |
| Enable and start syslog-ng. |
| # svcadm enable -t svc:/system/syslog-ng |
| 11. |
| Verify that syslog-ng is running. |
| # svcs -a grep syslog |
| You should receive a similar output: online 10:15:01 svc:/system/syslog-ng:default |
Copy lines Copy permalink
