HP rp3440 HP Integrity and HP 9000 iLO MP Operations Guide, Fifth Edition - Page 115

Installing Snap-Ins, Extending Schema, Verifying Snap-In Installation and Schema Extension

Page 115 highlights

To ensure you have the correct version of JRE installed on your system, follow these steps: 1. To determine the Java version, execute the following command: # java -version The Java version installed on your system is displayed. 2. If Java is not installed on your system, execute the following command: # rpm -iv j2re-1_4_2_04-linux-i586.rpm NOTE: You can download this rpm file from Java website at http://java.sun.com. 3. Execute the following command if: • Java is installed and the version is older than 1.4.2. • You want to upgrade the Java version and uninstall an older version. # rpm -Uv j2re-1_4_2_04-linux-i586.rpm 4. Add the entry /usr/java/j2re1.4.2_04/bin to the .bash_profile file. Installing Snap-Ins Create the HP directory under the /usr/ConsoleOne/snapins/ directory, and copy the two .jar snap-in files, hpqLOMv100.jar and hpqMgmtCore.jar, to the HP directory. When the hpdsse.sh file is executed, the HP directory is automatically created and the two .jar files are copied to it. NOTE: The hpdsse.sh file is obtained when the Schema.tar tarball is extracted. This process is explained in the Schema Extension section. You can download schema extensions from the HP website athttp://h18013.www1.hp.com/products/servers/management/directorysupp/index.html Select Software and Drivers, and the operating system for the schema extension you want to install. Extending Schema To obtain the hpdsse.sh file, follow these steps: 1. Download the tar file to the Linux system where eDirectory is installed. 2. Extract the tar file to obtain the hpdsse.sh file by executing the following command: # tar -xvf Schema. tar 3. Run this file by executing the following command: # ./hpdsse.sh This command displays instructions. As indicated in the instructions to extend the schema, provide the server name, admin DN, and admin password as command-line arguments. 4. To see the results, view the schema.log file, (created after the schema extension is complete). The log file lists the created classes and attributes. In addition, it indicates if the results succeeded. If the objects already exist, the message Already Exists appears in the log file. The Already Exists message appears only when you try to run the same .sh file after the schema extension is complete. The SSL port (636) is used during the schema extension. You can verify this by running the netstat -nt | grep :636 command while the hpdsse.sh file is being executed. Verifying Snap-In Installation and Schema Extension To verify the installation of snap-ins and the schema extension, follow these steps: Directory Services for eDirectory 115

  • 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

To ensure you have the correct version of JRE installed on your system, follow these steps:
1.
To determine the Java version, execute the following command:
#
java -version
The Java version installed on your system is displayed.
2.
If Java is not installed on your system, execute the following command:
#
rpm
iv j2re-1_4_2_04-linux-i586.rpm
NOTE:
You can download this
rpm
file from Java website at
http://jav
a.sun.com
.
3.
Execute the following command if:
Java is installed and the version is older than 1.4.2.
You want to upgrade the Java version and uninstall an older version.
#
rpm
Uv j2re-1_4_2_04-linux-i586.rpm
4.
Add the entry
/usr/java/j2re1.4.2_04/bin
to the
.bash_profile
file.
Installing Snap-Ins
Create the HP directory under the
/usr/ConsoleOne/snapins/
directory, and copy the two
.jar
snap-in files,
hpqLOMv100.jar
and
hpqMgmtCore.jar
, to the HP directory. When the
hpdsse.sh
file is executed, the HP directory is automatically created and the two
.jar
files
are copied to it.
NOTE:
The
hpdsse.sh
file is obtained when the
Schema.tar
tarball is extracted. This process
is explained in the Schema Extension section. You can download schema extensions from the
HP website
at
Select Software and Drivers, and the operating system for the schema extension you want to
install.
Extending Schema
To obtain the
hpdsse.sh
file, follow these steps:
1.
Download the tar file to the Linux system where eDirectory is installed.
2.
Extract the tar file to obtain the
hpdsse.sh
file by executing the following command:
#
tar
xvf Schema. tar
3.
Run this file by executing the following command:
#
./hpdsse.sh
This command displays instructions. As indicated in the instructions to extend the schema,
provide the server name, admin DN, and admin password as command-line arguments.
4.
To see the results, view the
schema.log
file, (created after the schema extension is complete).
The log file lists the created classes and attributes. In addition, it indicates if the results
succeeded. If the objects already exist, the message Already Exists appears in the log file.
The Already Exists message appears only when you try to run the same
.sh
file after the schema
extension is complete.
The SSL port (636) is used during the schema extension. You can verify this by running the
netstat
nt | grep :636
command while the
hpdsse.sh
file is being executed.
Verifying Snap-In Installation and Schema Extension
To verify the installation of snap-ins and the schema extension, follow these steps:
Directory Services for eDirectory
115