HP Integrity rx1620 SmartSetup Scripting Toolkit Deployment Guide: HP Integrit - Page 16

Configuring the Repository, Using Repository Creation Scripts - network drivers

Page 16 highlights

Configuring the Repository Every server that boots to the SSTK environment must have access to the repository of configuration files, scripts, utilities, OS files, driver files, and application files. The Linux boot loader configuration file, which must be manually edited as described in Chapter 4 (page 33), specifies the default location of the repository. It can be modified to specify a repository location of your choosing thereby customizing the SSTK environment. If you host the repository on the workstation, the repository must be accessible to the HP Integrity servers being deployed. If, for example, your workstation is on a public network and the servers are on a private isolated network, the SSTK cannot work. If you host the repository on a boot device, be sure the device has enough capacity to hold both the SSTK environment and the OS. Using Repository Creation Scripts The following scripts are provided to aid you in the creation of your repository: - mkrep.sh - mkrep-sles10sp1.sh - mkrep-sles10sp1-dvd.sh - mkrep-sles10sp2.sh - mkrep-sles10sp2-dvd.sh - mkrep-sles11-dvd.sh - mkrep-rhel4up4.sh - mkrep-rhel4up5.sh - mkrep-rhel4up6.sh - mkrep-rhel4up7.sh - mkrep-rhel4up8.sh - mkrep-rhel5.sh - mkrep-rhel5-dvd.sh - mkrep-rhel5up1.sh - mkrep-rhel5up1-dvd.sh - mkrep-rhel5up2.sh - mkrep-rhel5up2-dvd.sh - mkrep-rhel5up3.sh - mkrep-rhel5up3-dvd.sh - getmediacode.sh These scripts are located in the utilities/linux/ directory within the SSTK package. To use either of the repository creation scripts, use the following steps: 1. As root, extract the SSTK-LinuxIntegrity-3.3.tgz package, located on your HP Integrity CD, into the directory location that to host the repository. For example, creating the repository in the repository directory you would use the following commands: cp SSTK-LinuxIntegrity-3.3.tgz /repository cd /repository tar zxvf SSTK-LinuxIntegrity-3.3.tgz 2. Edit the /etc/fstab configuration file and append the following line to it: /dev/cdrom /mnt/cdrom udf,iso9660 defaults 0 0 3. Run the repository creation script, mkrep.sh, as follows: # cd SSTKLnx3.3/repository/utilities/linux 16 Overview

  • 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

Configuring the Repository
Every server that boots to the SSTK environment must have access to the repository of
configuration files, scripts, utilities, OS files, driver files, and application files. The Linux boot
loader configuration file, which must be manually edited as described in
Chapter 4 (page 33)
,
specifies the default location of the repository. It can be modified to specify a repository location
of your choosing thereby customizing the SSTK environment.
If you host the repository on the workstation, the repository must be accessible to the HP Integrity
servers being deployed. If, for example, your workstation is on a public network and the servers
are on a private isolated network, the SSTK cannot work. If you host the repository on a boot
device, be sure the device has enough capacity to hold both the SSTK environment and the OS.
Using Repository Creation Scripts
The following scripts are provided to aid you in the creation of your repository:
mkrep.sh
mkrep-sles10sp1.sh
mkrep-sles10sp1-dvd.sh
mkrep-sles10sp2.sh
mkrep-sles10sp2-dvd.sh
mkrep-sles11-dvd.sh
mkrep-rhel4up4.sh
mkrep-rhel4up5.sh
mkrep-rhel4up6.sh
mkrep-rhel4up7.sh
mkrep-rhel4up8.sh
mkrep-rhel5.sh
mkrep-rhel5-dvd.sh
mkrep-rhel5up1.sh
mkrep-rhel5up1-dvd.sh
mkrep-rhel5up2.sh
mkrep-rhel5up2-dvd.sh
mkrep-rhel5up3.sh
mkrep-rhel5up3-dvd.sh
getmediacode.sh
These scripts are located in the
utilities/linux/
directory within the SSTK package.
To use either of the repository creation scripts, use the following steps:
1.
As
root
, extract the
SSTK-LinuxIntegrity-3.3.tgz
package, located on your HP
Integrity CD, into the directory location that to host the repository.
For example, creating the repository in the
repository
directory you would use the
following commands:
cp SSTK-LinuxIntegrity-3.3.tgz /repository
cd /repository
tar zxvf SSTK-LinuxIntegrity-3.3.tgz
2.
Edit the
/etc/fstab
configuration file and append the following line to it:
/dev/cdrom
/mnt/cdrom
udf,iso9660 defaults
0 0
3.
Run the repository creation script,
mkrep.sh
, as follows:
#
cd SSTKLnx3.3/repository/utilities/linux
16
Overview