SlideShare a Scribd company logo
1 of 17
VCX 7.1 Disk Build HOWTO
Page 1 of 17
VCX 7.1 Disk Build HOWTO
Release Date 10/18/2006
This document is intended for use with VCX 7.1 and VCX Linux 5.X.
It was last updated for: VCX Linux 5.5.0, VCX build 7_1_29_29. This document is not updated with
every new build, but rather when procedures have changed or there is new information.
If using an earlier release, please consult the appropriate previous version of this document. If using a
later release, check Docushare to see if a newer version is available.
1 Overview..................................................................................................................................................................3
1.1 What’s New for 7.1.........................................................................................................................................3
1.1.1 New Hardware Support.........................................................................................................................3
1.1.2 UPS Monitoring .....................................................................................................................................4
1.1.3 Audit Trails changes..............................................................................................................................4
1.1.4 Backup and Restore...............................................................................................................................4
1.1.5 Other changes .........................................................................................................................................4
1.2 About the Installation .....................................................................................................................................4
2 FTP Server/File Locations ....................................................................................................................................4
2.1 VCX Linux 5.X ...............................................................................................................................................5
2.2 Oracle ................................................................................................................................................................5
2.3 VCX Installation Tarballs ..............................................................................................................................5
3 Starting the Installation (non-W1) .......................................................................................................................5
3.1 Check that only 1 disk is installed................................................................................................................6
3.2 Check BIOS settings.......................................................................................................................................6
3.3 Initialize SAS disk (x3650 only) ..................................................................................................................6
3.4 Boot from Knoppix CD..................................................................................................................................6
3.4.1 Boot options – Knoppix 3.6 .................................................................................................................6
3.4.2 Boot options – Knoppix 4.0.2 / 5.0.1..................................................................................................7
3.4.3 A Note on SCSI disks............................................................................................................................7
3.5 Configure Networking if necessary .............................................................................................................7
4 Starting the Installation (W1 only) ......................................................................................................................7
4.1 Installing using a working W1......................................................................................................................7
4.1.1 Setting Up................................................................................................................................................7
4.1.2 Installation...............................................................................................................................................8
4.1.3 Post-installation......................................................................................................................................8
4.2 Installing using a PC.......................................................................................................................................8
4.2.1 Dismounting the W1 disk.....................................................................................................................8
4.2.2 Setting up the PC....................................................................................................................................8
4.2.3 Booting.....................................................................................................................................................9
This is an Internal Installation Guide!
This document is written for use by 3Com internal users. The procedures described
are not necessarily suited for field use and are not intended to be performed by
customers. Access to 3Com internal networks and accounts on restricted servers
may be required. Failure to follow all procedures exactly may result in a VCX
server which does not work properly and may not be supported by 3Com.
VCX 7.1 Disk Build HOWTO
Page 2 of 17
4.2.4 Installation...............................................................................................................................................9
4.2.5 Post Installation ......................................................................................................................................9
4.3 Copying a W1 master disk using a W1 .......................................................................................................9
5 Installation Procedure...........................................................................................................................................10
5.1 Fetch the installation script..........................................................................................................................10
5.2 Run vcxSetup.sh............................................................................................................................................10
6 Booting & Configuration.....................................................................................................................................11
6.1 Before You Reboot.......................................................................................................................................12
6.1.1 Attach Serial Console..........................................................................................................................12
6.1.2 DHCP related warnings.......................................................................................................................12
6.1.3 No extra hardware ................................................................................................................................12
6.2 Hardware Detection......................................................................................................................................12
6.3 Expected errors on first boot.......................................................................................................................13
6.4 Log in ..............................................................................................................................................................13
6.5 Temporarily Configure Networking ..........................................................................................................13
7 VCX Installation ...................................................................................................................................................13
7.1 Retrieve Required Files................................................................................................................................13
7.2 Install vcx-users and Oracle ........................................................................................................................14
7.3 VCX Applications Installation....................................................................................................................14
7.4 W1 Only: Select configuration type...........................................................................................................14
7.5 Ready For Use ...............................................................................................................................................14
8 Odds and Ends.......................................................................................................................................................14
8.1 What’s that beeping noise?..........................................................................................................................14
8.2 Behavior before configtype is selected......................................................................................................15
8.2.1 No HTTPD............................................................................................................................................15
8.2.2 No Common Agent..............................................................................................................................15
8.2.3 Default firewall (all ports blocked) ...................................................................................................15
8.2.4 vcx-showconfigtype.............................................................................................................................15
9 AppendixA: Building a FRU disk.....................................................................................................................15
9.1 What is a FRU disk? .....................................................................................................................................15
9.1.1 Differences from a “SKU disk” .........................................................................................................15
9.2 Install the OS..................................................................................................................................................16
9.3 Load software content..................................................................................................................................16
9.3.1 Overview ...............................................................................................................................................16
9.3.2 Directory Structure...............................................................................................................................16
9.3.3 DESCRIPTION.xml files ...................................................................................................................16
9.3.4 setupFruDisk.sh....................................................................................................................................16
9.4 FRU disk usage..............................................................................................................................................17
Revision History
24-Jan-2006 Brett B. Bonner Created based on VCX 7.0 Disk Build HOWTO
08-Feb-2006 Brett B. Bonner Add boot options for 306/346 Knoppix 4.0.2, reference UPS
Monitoring feature & functional spec
18-Oct-2006 Brett B. Bonner Add x3650 support information
VCX 7.1 Disk Build HOWTO
Page 3 of 17
1 Overview
This document describes how to build a VCX systemdisk, including installation of the OS and VCX
components. These instructions are suitable for use in building Master Disks for use by customers, as well as
for building systems for internal use.
In addition, Appendix A describes the procedure for building a “FRU disk”. A FRU (“Field Replaceable Unit”)
disk is a different form of master disk, which has the ability to be configured to any supported software version
and configuration type in the field.
1.1 What’s New for 7.1
1.1.1 New Hardware Support
VCX is now supported on the IBM x306m hardware platform. This is a new IBM model which replaces the
venerable x306. The x306m compares to the x306 as follows:
 The x306m is a "next generation" redesign from IBM. The CPU is still a 3.2GHz "Prescott" CPU, the
same as in the x306.
 There is a different chipset, but this is transparent to VCX
 The x306m uses faster memory (PC4200 vs. PC2700), which may help performance slightly
 There is no built in floppy disk. VCX does not use a floppy, so this has no impact.
 The x306m offers IPMI support (Intelligent Platform Management Interface) - this gives us the
capability to monitor hardware status,with the right driver and tools. Support for this is not specified
as a 7.1 requirement, however.
 The disk subsystemis slightly different. The x306m that we are specifying (model 8849-30U) is still a
"simple swap SATA" disk but the disk controller (part of the chipset)is different and the disks are not
physically interchangeable with the x306 because the carriers are different. We are expecting to move
to a larger, 160GB disk on this platform, because the cost is about the same as an 80G disk. Note that
other models of x306m offer SAS (Serial Attached SCSI) disks, which use a very different controller.
These are not supported for use with VCX.
 There is a different Ethernet controller - a Broadcom chip is used in place of the x306's Intel e1000.
 The x306m has faster PCI/X slots - this doesn't matter to VCX as we do not use any PCI cards.
Starting with VCX Linux version 5.5.0, VCX is also supported on the IBM x3650 hardware platform. This is a
new IBM model which replaces the x346. The chosen model for VCX is a 7979-51U. The x3650 compares to
the x346 as follows:
 The 3650 offers one or two, dual core, Intel Xeon 5140 “Woodcrest” processors,with a much faster
1333MHz FSB. This offers the potential of up to four processing cores. The “global workhorse”
model which we are using for VCX uses 2.33GHz processors,but the dual cores, faster FSB, and
architecture changes should provide improved performance over the x346.
 The systemuses DDR2-667 PC2-5300 fully buffered memory.
 Disk drives are SAS (Serial Attached SCSI) instead of U320-SCSI. Note that although some models
of x3650 support 2.5” SAS drives, the -51U model uses 3.5” disks.
 There is no built in floppy disk.
 There is a different Ethernet controller (Broadcom 5708 “NetXtreme II”)
 The systemno longer offers “legacy” PS/2 keyboard and mouse connectors,but expects use of a USB
keyboard and mouse. The may affect some users; however, a serial port is still available and will be
configured as the default console for customers.
 As with the x346 and x306m, a BMC (baseboard management controller) with IPMI support is
included. See the notes on IPMI under the x306m section,above.
VCX 7.1 Disk Build HOWTO
Page 4 of 17
 Although the base unit has basic hardware RAID (0/1/10) capability, we do not plan on supporting this
for VCX at this time, since the existing VCX RAID implementation offers good performance and the
benefit of consistency across all platform types.
 Other differences, such as PCI slot configuration, exist but are not relevant to VCX usage.
VCX Linux and VCX are, of course, still supported on prior platforms including the x306, x346, x345, and
V6000 (W1). However, VCX 7.1 will ship on new systems only on the x306m, x346, and V6000. A transition
from x346 to x3650 will occur in late 2006/early 2007.
1.1.2 UPS Monitoring
UPS Monitoring is supported in build 7_1_2_2 and newer. This feature allows one or more VCX systems to
monitor one or more UPS systems over the network, and to shut down cleanly if the UPS power is running out.
See the UPS Monitoring Functional Specification (http://docushare.ne.3com.com/dsweb/Get/Document-
227074) for details.
1.1.3 Audit Trails changes
VCX Linux now uses the “syslog-ng” (“next generation”) daemon for principal systemlogging including
/var/log/messages and /var/log/secure. In accordance with the Audit Trails Functional Specification,a
“parallel” log is kept in XML format for use in presenting these via the Provisioning interface. Additionally:
 Per the specification, 1 month (5 weeks) of logs are kept. Previously, logrotate was configured to
preserve 52 weeks of logs.
 The Linux Auditing Subsystem(LAuS) is enabled by default.
1.1.4 Backup and Restore
Configuration backup and restore allows all VCX configuration files to be backed up to one file, with a single
command. Note that this does not include database orvoicemail, which have their own backup commands and
procedures. See the VCX 7.1 Configuration Backup/Restore Functional Specification & High Level Design
document for details.
1.1.5 Other changes
Shadow passwords are now used in VCX Linux. When VCX Linux 5.x is installed as an upgrade, the
passwords will be converted to the shadowformat automatically and shadowpasswords will be used in the 5.x
OS.
1.2 Aboutthe Installation
The installation procedure is automated and uses a script to perform nearly all of the operations required for
installation. This is fast and easy. Be aware, however, that this script will completely reconfigure the disk
and is therefore not suitable for development or other systems which have partitions that must be preserved.
In addition to reading this document, please consult the ERRATA.txt file (if one exists) for the current
VCX Linux release, which describes changes,known problems and, where possible,solutions/workarounds.
This can be retrieved from the same location as the VCX Linux image.
2 FTP Server/File Locations
Several files will be required to perform the VCX Linux installation. These are located on an FTP server and
FTP will be used during the installation to retrieve the files.
VCX Linux is primarily distributed from the same server (usand006w2k.ne.3com.com)used fordistributing
VCX builds. Note that access to this server is restricted; a PVT login is required.
A Rolling Meadows mirror is available on mselvarag.wan.3com.com. There will be a time lag between the
release of a version to usand006w2k and the time it appears on mselvarag. Access to this serverrequires a
Matrix account.
VCX Linux may also be mirrored on other servers. However, use of other servers for installation is not
qualified by the infrastructure group.
VCX 7.1 Disk Build HOWTO
Page 5 of 17
2.1 VCX Linux 5.X
The standard locations for VCX Linux 5.X files are :
ftp://usand006w2k.ne.3com.com/vcx/vcx-linux/
ftp://mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/
Beneath this directory are additional directories, one per version of VCX Linux. In this document, the
convention <version> will be used to indicate the version you are installing, for example 5.0.0.
There is a file, VERSIONS.txt, in the vcx-linux directory which lists which Linux versions correspond to which
VCX builds. This file also lists which Linux versions are “shipped”,which are “development”, and which are
“obsolete”.
It is recommended that any mirrors of VCX Linux follow the same convention,e.g. a ‘vcx-linux’ directory with
per-version subdirectories.
2.2 Oracle
The standard location for Oracle files is :
ftp://usand006w2k.ne.3com.com/vcx/oracle/
ftp://mselvarag.wan.3com.com/var/ftp/pub/oracle/
Within this directory may be multiple Oracle rpms. Be sure to retrieve the correct version for your installation.
(Typically this is the highest-numbered version.)
2.3 VCX InstallationTarballs
The standard location for VCX installation tarballs is :
ftp://usand006w2k.ne.3com.com/vcx/releases/7.1/<build-number>
ftp://mselvarag.wan.3com.com/var/ftp/pub/7.1/<build-number>
The particular <build-number> directory will vary with the build. Choose the one which corresponds to the
build you are installing.
3 Starting the Installation (non-W1)
This section does not apply to the W1 system. If you are installing to a W1, skip to section
4.
It is necessary to first boot the systemand configure basic networking using a bootable Linux CD.
For VCX 7.1, new versions of the Knoppix CD are in use. Check the table below.
Server Type Min. Knoppix vers. Notes
x3650 5.0.1
x306m 4.0.2 5.0.1 should work but is not yet tested
x306, x346 3.6 4.0.2 known to work; 5.0.1 should also work but is not yet tested
x345 3.6 Newer versions not tested
The Knoppix ISO images can be downloaded via FTP from:
usand006w2k.ne.3com.com/vcx/vcx-linux/bootCDs/KNOPPIX_V3.6-2004-08-16-EN.iso
usand006w2k.ne.3com.com/vcx/vcx-linux/bootCDs/KNOPPIX_V4.0.2CD-2005-09-23-EN.iso
usand006w2k.ne.3com.com/vcx/vcx-linux/bootCDs/KNOPPIX_V5.0.1CD-2006-06-01-EN.iso
mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/bootCDs/KNOPPIX_V3.6-2004-08-16-EN.iso
mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/bootCDs/KNOPPIX_V4.0.2CD-2005-09-23-EN.iso
mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/bootCDs/KNOPPIX_V5.0.1CD-2006-06-01-EN.iso
VCX 7.1 Disk Build HOWTO
Page 6 of 17
3.1 Check that only 1 disk is installed
The VCX Linux install procedure expects to have a single hard disk present in the system. If multiple disks are
present (particularly if they also have been used for VCX Linux installations) this may cause the installation to
fail. Therefore, especially on platforms with removable disk trays (x306, x306m, x345, x346, x3650), make
sure that only one disk is actually installed.
It is possible to leave a second disk installed if the partition table is erased using the following command, where
<DEVICE> is the physical device (such as /dev/sda):
dd if=/dev/zero of=<DEVICE> bs=512 count=1
You can run this in either of two ways:
 Install and boot the drive to be reused and run the command. WARNING: once the partition table is
erased, the drive will no longer be bootable.
 Install the drive and boot the systemfrom Knoppix, then run the command. (Note that on the x346
you will have to load the correct SCSI driver with the command modprobe aic79xx first.)
Note that VCX Linux 4.2.0 and newer also include an “erasePartitionTable” command that can be used to zero
the partition table in place of the dd command above.
3.2 Check BIOS settings
If installing to a systemwhich has BIOS settings tuned to specific operating systems (such as the HP DL380
server), check that Linux is the selected operating systembefore starting the installation.
3.3 Initialize SAS disk (x3650only)
On the x3650 platform, a brand new disk will not be seen by the OS unless it is first initialized from the SAS
controller. Press Ctrl-A when prompted during boot to enter the Adaptec BIOS screens. From here, select and
initialize the drive.
3.4 Boot from KnoppixCD
The Knoppix CD is actually a full Linux-system-on-a-disk which includes a full desktop GUI and many tools.
However, for our purposes we are using it simply as a bootable CD which provides all of the tools needed to
install VCX Linux.
The Knoppix CD requires some boot options in order to work and properly support various hardware platforms.
These must be specified at the boot: prompt.
If you try to boot Knoppix without options, it is unlikely to work.
3.4.1 Boot options – Knoppix 3.6
The required options for Knoppix 3.6 are as follows:
IBM x306, x345, x346, Intellistation M Pro 6230/41U,
and most other systems
knoppix26 lang=us atapicd 2
HP DL380, IBM Intellistation Z Pro 6221-10U knoppix lang=us nodma 2
IBM x306m NOT SUPPORTED by Knoppix 3.6
Use Knoppix 4.0.2 instead!
For the curious, these options do the following:
knoppix26 Selects the Linux 2.6 kernel, which is needed to support newer hardware
lang=us Selects US keyboard layout
atapicd Needed so that Knoppix works properly with an IDE CDROM under the 2.6 kernel
nodma Disables dma, which causes issues on certain systems
2 Selects runlevel 2, which does not start the Knoppix GUI (X Windows)
VCX 7.1 Disk Build HOWTO
Page 7 of 17
3.4.2 Boot options – Knoppix 4.0.2 / 5.0.1
The required options are as follows:
IBM x306m, x3650 knoppix lang=us 2
IBM x306, x346 knoppix lang=us atapicd 2
3.4.3 A Note on SCSI disks
The device file to use to access the SCSI or SAS disk is /dev/sda, unless you are installing to an HP DL380
server, in which case the device name is /dev/cciss/c0d0. Also, the DL380 disk partitions are referenced with a
“p” in addition to the number, e.g. /dev/cciss/c0d0p1is partition 1.
3.5 ConfigureNetworkingif necessary
Once the systemis up and running on the boot CD, it is necessary that basic networking be operational to
perform the rest of the installation.
If the network to which the systemis connected does not have a DHCP server, you will need to manually
configure an IP address for the systemto use during the install process. This can be done as follows (substitute
your IP parameters where appropriate):
/sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
/sbin/route add default gw 192.168.1.254
If you are uncertain of the values to use, please contact your network administrator for assistance.
If your network has a DHCP server, DHCP may be used during VCX Linux installation. However, in most
cases,you will still want a static IP for the installed system. While VCX Linux for VCX 6.0 and later does
support DHCP as an option,the implementation is designed for a specific use case and requires special server
configuration. Unless you are testing something related to this, it is almost certainly the case that you should
use a static IP address.
The Knoppix 3.6 CD also includes a utility, “network-setup”, which can be used to set up networking for
purposes ofperforming the rest of the installation. If you choose to use this, select the “netcardconfig” option
and follow the prompts.
4 Starting the Installation (W1 only)
This section applies only to the W1. If you are installing any other system type, skip to
section 5.
The W1 poses particular challenges when it comes to initial installation. Not only does the systemnot have a
CDROM, but its BIOS does not support USB or network booting. This means that building a W1 master disk
requires either:
 An already-built W1 systemto use as a host,or
 Removing the W1 hard disk, connecting it to a PC, and installing the OS and bootloaderso that the
disk will boot in the W1.
Both approaches are covered below.
4.1 Installingusinga working W1
The simplest means of building a new W1 disk is to use a working W1 as a host. The working W1 need not be
running the same version you wish to install. The basic approach is to use the working W1 disk to bring up the
unit (in place of the Knoppix CD typically used on other systems),and then specify the other disk device as the
installation target in vcxSetup. The first disk is not modified by this procedure.
4.1.1 Setting Up
Check that power is off on both the W1 you will be using as a host (we’ll call this W1-A) and the W1 whose
disk you need to build (W1-B).
VCX 7.1 Disk Build HOWTO
Page 8 of 17
Wear a grounding wrist strap while working on the W1. The units are very sensitive to ESD and are
easily damaged.
Loosen the 2 screws and 2 thumbscrews holding the disk in W1-B and pull out the disk module. Remove the
blank cover plate on the 2nd disk slot of W1-A (you’ll find this next to the installed disk, on the back of the
unit). Install the disk module in this slot.
4.1.2 Installation
Boot W1-A and login as root.
Note: if the W1-B disk previously had VCX installed on it, strange errors may be seen at boot,including
messages about duplicate labels,read-only partitions,various [FAILURE] messages, and a long pause while
starting syslog. These are the result of the two disks having duplicate partition labels. If this occurs, erase the
partition table on the W1-B disk using the command:
dd if=/dev/zero of=/dev/hdc bs=512 count=1
and then reboot.
Ensure that networking is operational. If not, configure it.
cd to the /tmp directory and proceed with the installation as documented in section 5.
 Be very certain that you specify the correct device – this should be /dev/hdc in this case. This
instructs the script to install the new VCX Linux version on the 2nd drive, and will not disturb the
version already installed on /dev/hda (on which the systemis running).
 When asked if this is a W1, say yes.
Do not reboot once the OS is installed. When “Reboot now?” is asked, say “no” and then do a
shutdown –h now
to shut the systemdown.
4.1.3 Post-installation
Once the OS is installed, remove the W1-B disk module from W1-A and reinstall it in W1-B, being sure to
wear your grounding strap. The W1 should now be able to boot from the disk and you can carry on with the
rest of the VCX installation.
4.2 Installingusinga PC
Installation using a PC requires:
 A PC with ATA100 or ATA133 IDE controller, network card, and CDROM
 A W1 hard disk, dismounted from its carrier module
 A “notebookhard drive” adapterallowing connection of the 2.5” “notebook” disk of the W1 to a
“desktop” IDE controller.
 An ATA100 IDE cable. An ATA100 cable has about twice as many wires in the same width as the
older ATA cables, resulting in a more “fine grained” appearance.
4.2.1 Dismounting the W1 disk
Ensure power is off. Locate the W1 disk module on the back of the unit, next to the CPU.
Wear a grounding wrist strap while working on the W1. The units are very sensitive to ESD and are
easily damaged.
Loosen the two screws and two thumbscrews holding the disk module, and pull it out.
Remove the four screws holding the disk in place. Lift it and remove the clip which prevents the ribbon cable
from being removed. Gently disconnect the ribbon cable.
4.2.2 Setting up the PC
A grounding wrist strap is recommended while working inside a PC.
Disconnect all drives except the CDROM. Locate the other ATA100 connector(the one not used for the
CDROM). Connect an ATA100 cable to this connectorand to the notebookhard drive adapter. The W1 disk
VCX 7.1 Disk Build HOWTO
Page 9 of 17
should be the only device on the bus. Connect a spare disk power Molex connectorto the power connectoron
the notebookhard drive adapter. Plug in the W1 disk.
4.2.3 Booting
Enter the BIOS and ensure that the drives are configured to allow booting from the CDROM and access to the
IDE bus you have connected the W1 to. The details will vary depending on the PC used!
Boot the Knoppix CDROM. If you are not sure which options to use, section 3.4.1 may provide a useful
starting point.
Configure networking following the instructions in section 3.5.
4.2.4 Installation
Follow the instructions in section 5.
 The installation device to use varies depending which IDE bus you connected the drive to. If you used
the first or primary bus, it is /dev/hda; the secondary bus is /dev/hdc.
 When asked if this is a W1, say yes.
Do not reboot onto the disk once the OS is installed. When “Reboot now?” is asked, say “no” and then do a
shutdown –h now to shut the systemdown.
4.2.5 Post Installation
Power down and disconnect the W1 disk from the PC. Remount it to its carrier and reinstall the carrier in the
W1 (be sure to wear your grounding strap). The W1 should now be able to boot from the disk and you can
carry on with the rest of the VCX installation.
4.3 Copying a W1 masterdisk using a W1
If you need multiple W1 master disks, it is possible to build one and then copy it.
Install the working disk in the first disk module slot (next to the CPU) and the blank disk in the second module
slot.
Note: if the W1-B disk previously had VCX installed on it, strange errors may be seen at boot,including
messages about duplicate labels,read-only partitions,various [FAILURE] messages, and a long pause while
starting syslog. These are the result of the two disks having duplicate partition labels. If this occurs, erase the
partition table on the W1-B disk using the command:
dd if=/dev/zero of=/dev/hdc bs=512 count=1
OR, for VCX linux 4.2.0 and newer, you may use:
erasePartitionTable /dev/hdc
and then reboot.
To carry out the disk copy, you must be in single usermode. To reach single user mode you can either:
 Boot the unit, log in as root, and drop to single user mode by issuing the command “telinit 1”.
OR
 Boot the unit into single-user mode as follows:
o Enter the GRUB menu during boot by pressing ESC when the GRUB countdown appears.
o Press ‘e’ to edit the boot options.
o Move to the 2nd line (beginning with ‘kernel’) and press ‘e’ again to edit the kernel boot
options.
o Add “ single” to the end of the line (without the quotes). Note the space beforehand!
o Press ‘Enter’ then press ‘b’ to boot.
Run the command “diskCopy”, specifying /dev/hda as the source and /dev/hdc as the destination drives.
In the event your systemhas an older version of VCX Linux which does not provide the diskCopy command,
download the ‘diskCopy.sh’ script from:
usand006w2k.ne.3com.com/vcx/vcx-linux/utils/diskCopy.sh
VCX 7.1 Disk Build HOWTO
Page 10 of 17
mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/utils/diskCopy.sh
The disk copying process will take most of an hourto complete.
5 Installation Procedure
This procedure uses a shell script which prompts for some minimal information, and takes care of all of the
other steps needed to install VCX Linux automatically. It is suited for installing VCX Linux on SATA, IDE, or
SCSI based systems which are dedicated to VCX. It must not be used on a development or other systemwhich
has partitions that must be preserved, as it will completely repartition and reformat the disk.
5.1 Fetch the installation script
Ensure that you are logged in as root and that networking is configured as described in section 3.5. You may
verify that networking is working by trying to “ping” some othermachine on the network.
Next retrieve the installation script into the /tmp directory as follows. Notes:
 151.104.56.75 is the IP address of usand006w2k; it is unlikely that nameservice will be working at
this point, so we simply use the IP address to reach the server.
 For use of mselvarag, the IP address is 152.67.120.90. Substitute your Matrix login and alternative
paths where appropriate.
 Pay close attention to the specification of username and password; in particular, note that the
backslash must be doubled to “escape” it so that the shell does not interpret it.
cd /tmp
wget ftp://pvtmyusername:mypassword@151.104.56.75/vcx/vcx-linux/<version>/vcxSetup.sh
Alternatively, it is possible to get the script using the “lftp” utility:
cd /tmp
lftp 151.104.56.75 –u pvtmyusername
mypassword
lftp pvtmylogin@151.104.56.75:~> get vcx/vcx-linux/<version>/vcxSetup.sh
5.2 Run vcxSetup.sh
Now run the script:
sh vcxSetup.sh
You will be warned about the impending reconfiguration of your disk and prompted whether you wish to
continue. Say ‘yes’.
You will then be prompted for which device to use.
System Type Disk Type Installation Device
IBM x345, x346, most SCSI SCSI /dev/sda
IBM x3650 SAS /dev/sda1
IBM x306, x306m, Intellstation M Pro 6230/41U SATA /dev/sda2
HP DL380 SCSI (SmartArray) /dev/cciss/c0d0
IBM x305, Intellistation Z Pro 6221/10U, most IDE IDE /dev/hda
W1 (using another W1 as host) IDE /dev/hdc
1 If you get a message about the device not existing, you probably forgot to initialize the disk from the SAS
controller BIOS. See section 3.3.
2 This is not a typo. SATA disks appear as “virtual SCSI” devices.
VCX 7.1 Disk Build HOWTO
Page 11 of 17
W1 (using a PC as host) – device depends on which
bus was used for connection
IDE /dev/hda or /dev/hdc
If you specify a nonexistent device the script will give an error and let you retry. If you specify a device that
exists but can’t be installed to (for example, the CDROM drive) then you will get an error when the script tries
to partition it, and you can simply start over if that occurs.
If installing to an IDE device, you will be asked if this installation is for a V6000 (W1). Answer yes or no as
appropriate.
The script will then partition your disk, format the partitions, and prepare to download the VCX Linux image.
You will be given a menu of choices of FTP servers. Select one or choose “none of these” and enter the IP
address of the remote server. For the predefined FTP servers you will then be prompted with a default path.
Press Enter, or if using some otherserver, enter the ftp path to retrieve the image.
If the remote server does not support anonymous downloads the script will prompt for a user name and
password.
Note: If downloading from a server within the pvt domain, including usand006w2k, specify the username as
‘pvtmyusername’. The password is, of course,your PVT password.
The image will then be retrieved and installed to the correct partition. When partimage completes, a dialog will
appear indicating that the operation succeeded. Press Enter to continue.
The installer will then label the partitions and install the boot loader.
If installing a W1 additional modifications will be made automatically.
The serial port is used as the console by default and MUST be used for any master disk being built for
customer use. If installing to anything other than a W1, you will be asked whether you wish to use the serial
port as the console; the default answer is ‘yes’. If you say ‘no’, then the systemwill be reconfigured to use the
PC’s vga/keyboard ports as the console. This should be done only on systems for internal use.
If on a SCSI, SAS, or SATA system,fstab will be updated appropriately.
Note for those familiar with previous VCX installs: The installer will no longer prompt for whether the
installation device is SATA, because the Knoppix 3.6 CD has SATA support and so devices appear by their
correct names. You do not need to do anything special here for SATA systems any more.
At the end, you will be asked if you want to reboot. Say “yes”.
Note that Hyper-threading must be enabled on systems that support this feature in order for the OS install to
complete successfully.To check this:
 Hit F1 to enter setup when the systemstarts back up.
 Select Advanced Setup
 Select ProcessorControl
 If the item “Hyper-Threading Technology” is available, set it to Enabled.
 Exit setup
When the systemreboots,be sure that the CD is not in the drive.
6 Booting & Configuration
The expectation is that the systemwill arrive at the customer site in a fully-installed but completely-
unconfigured state. The customer runs the “vcx-setup”3 script, which will:
 Select the configuration type which this systemis to provide
 Configure networking using vcx-config-network
3 vcx-setup was formerly called (and is still available as) “setup”. It was renamed for consistency with other
“vcx-“ scripts.
VCX 7.1 Disk Build HOWTO
Page 12 of 17
 Write a configuration file for the installed VCX components using vcx-config-services
 Apply the configuration file to the components (“firstboot configuration”)
 Start up VCX
In order to ensure consistent results and propertesting of the entire first-time-setup sequence,all systems should
be built as though they are customer disks.
6.1 Before You Reboot
6.1.1 Attach Serial Console
If you selected the default choice of using a serial console, then you must have a terminal device or terminal
emulator attached to the serial port when you reboot. All GRUB output,kernel boot messages, and other
systemoutput will be directed to this port.
If using a PC with terminal emulator (the most common scenario), use a null-modem (“crossover”)serial cable
to connect the VCX serial port to the PC’s serial port. A W1 requires use of the AudioCodes three-pin-to-DB9
connectorcable.
Any terminal emulator capable of proper VT100 emulation should work. On Linux, the ‘minicom’ program is a
good choice. On Windows, ‘hyperterm’ can be used in a pinch, but there are (much) better choices. ‘Tera
Term’ is one good, and free, alternative; an updated version which supports UTF8 and SSH2 can be found at:
http://sleep.mat-yan.jp/~yutaka/windows/index.html . Anotherdecent choice is PuTTY
(http://www.chiark.greenend.org.uk/~sgtatham/putty)
The port settings are 9600, 8-N-1, no flow control, EXCEPT for the W1, which uses 115200, 8-N-1. Your
terminal type must be set to VT100 (or a close cousin such as VT102); note that Windows Hyperterm defaults
to an “auto” terminal type which will not work properly with some applications. If you see strange characters,
misformatted output,etc. check the terminal type.
6.1.2 DHCP related warnings
While VCX Linux now supports DHCP as part of automatic remote configuration, the implementation is
designed for a very specific use case and requires that the DHCP server be carefully configured to provide the
proper options. If you are not specifically testing remote autoconfiguration, you should not attempt to use
DHCP on your VCX system. A standard “corporate” DHCP server will not work.
If you are building an actual MasterDisk for duplication, you MUST NOT have a DHCP server on your
network when you bring up the VCX Linux system. Because the use case is designed for infinite leases,it is
possible that a lease left on the disk during MasterDisk construction,could interfere with proper operation at a
customer site.
6.1.3 No extra hardware
When building a master disk, it is vital that the systembe configured just like the customers’ systems will be.
Otherwise, when the disk is duplicated and used in a customer system,‘kudzu’ will detect the differences and
pop up asking to make appropriate changes,which is something customers should not see. To ensure this is the
case, do not have any extra hardware attached,such as a mouse, extra Ethernet card, etc.
6.2 HardwareDetection
This section does not apply to the W1.
Upon reboot, the “kudzu” hardware detection program starts and asks if you want to configure hardware. Enter
any key within 30 seconds to do the hardware detection,as it is required.Go through the screens and select
remove for any device it asks to remove, and select configure for any device it asks you to configure. (You can
press F2 to “configure all”.)
At the prompt would you like to migrate existing network configuration say no
One of the devices it finds should be yournetworking device.
Upon completion of hardware detection,startup will continue.
VCX 7.1 Disk Build HOWTO
Page 13 of 17
6.3 Expectederrorson first boot
In order to support LOCSA deployments, systems now default to using DHCP. If no DHCP serveris present
(see section 6.1.2), network startup will fail. This is OK. In fact, even if a DHCP server is present,DHCP will
very likely fail because VCX Linux specifies a number of “required” fields which are needed for remote
deployment, but not commonly provided by DHCP servers.
NTP startup will also fail until basic networking is functional, and one or more NTP servers configured.
6.4 Log in
<hostname> login: root
Password: pvadmin
6.5 TemporarilyConfigureNetworking
When building a VCX disk, it is necessary to ensure that the systemwill still have proper default values and no
existing configuration at first boot. Therefore:
 Do not use DHCP.
 Do not run the setup or vcx-config-network scripts to configure networking.
 The systemwill start with default network values.
 Set up basic network connectivity using the ifconfig and route commands. Substitute the correct
values for your network for the ones shown below.
/sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
/sbin/route add default gw 192.168.1.254
 Complete installation of the rest of VCX as documented below.
Because the wizard was not run, and the network values were changed interactively rather than by editing
configuration files, the systemwill retain its default values and will come up in a fully-installed but completely-
unconfigured state, as it should.
7 VCX Installation
This section contains instructions for installing the rest of the VCX systemso that it is ready for initial
configuration and use.
Because “single SKU” support means that selection of configuration type is done at first time setup, there are
no longerseparate instructionsfor different config types. All systems should use the instructions listed here.
7.1 Retrieve Required Files
Retrieve the vcx-users and Oracle rpms, and the vcx-all tarfile for the version of VCX you are installing, from
the FTP server. usand006w2k is used in this example; for mselvarag you must specify the appropriate Matrix
login, server name, and paths.
cd /opt/installtemp
lftp –u pvtmyusername usand006w2k.ne.3com.com
mypassword
cd vcx/vcx-linux/supportRPMs
get vcx-users-1.0.0-1.i386.rpm
cd ../../oracle
get oracle-9.2.0.4-6.i386.rpm
cd ../releases/<current VCX build>
get vcx-all-<version>.tar
quit
VCX 7.1 Disk Build HOWTO
Page 14 of 17
7.2 Install vcx-users and Oracle
Install the vcx-users and Oracle RPMs using the vcx-install command. The oracle rpm contains both oracle and
a cwbes database.It is very large and can take a while to install !
cd /opt/installtemp
vcx-install vcx-users-1.0.0-1.i386.rpm
vcx-install oracle-9.2.0.4-6.i386.rpm
7.3 VCX Applications Installation
tar xfv vcx-all-<version>.tar
cd upgrade-<version>
./install-upgrade
You may notice some changes from previous versions of install-upgrade:
 During the install-upgrade script you will be prompted to select an OEM version. Most systems
should choose the ‘3Com’ OEM package (‘oem-a’). Any testing for the JVCO should use the ‘JVCO’
OEM package (‘oem-b’).
 The vcx assembly process isno longer run as part of the initial installation. Assembly is deferred until
a configuration type is chosen during first-time setup.
 A disk space check is performed prior to installing any packages. Nothing will be installed if there is
not enough space for the new RPMs.
Note that it is not necessary to reboot after VCX applications are installed.
7.4 W1 Only:Selectconfiguration type
The W1 only supports an all-in-one configuration. Preselect this with the command:
vcx-setconfigtype –-configtype all
(Or alternatively, simply run vcx-setconfigtype and select the “IP Telephony and Messaging” option.)
7.5 Ready For Use
Installation is now complete. You may start configuration with the vcx-setup command, or shut down and
duplicate the disk if you need additional copies for other systems.
8 Odds and Ends
This section contains notes about things that were worthy of inclusion, but did not have a place elsewhere in the
document.
8.1 What’s that beeping noise?
The First Time Setup Functional Specification for VCX 6.0 specifies the generation of “beep codes” to indicate
the success orfailure of automatic setup at a remote branch, where there is no console attached to the system.
Because all systems are configured with DHCP as the default, you will very likely encounterthis feature once a
VCX assembly is installed. Here are some details about what to expect:
 Beep codes are generated only on systems with an all-in-one or unknown configuration. The former is
because this is the install type used for branches; the latter indicates either a new OS install with no
assembly present (common inside 3Com) or an error condition (on a shipped system). Since in VCX
7.0 no configuration type is initially selected, all systems will beep at first boot!
 All-in-one configurations will generate beep codes whether ROCSA or LOCSA, because at initial boot
(prior to configuration) the systemdoes not know whether it will be used in a region or a branch.
 Systems with static IP addresses (DHCP disabled) will not generate beep codes.
VCX 7.1 Disk Build HOWTO
Page 15 of 17
 Beep codes are generated only for first-time setup,not upgrades,even on remotely managed branch
offices.
 Continuous beeping indicates a failure of automatic setup. Logging in will stop the beeping.
 A beep-beep-pause-pause sequence repeated severaltimes indicates successfulautomatic setup.
8.2 Behaviorbeforeconfigtype is selected
Before a configuration type is first selected, the systemis not fully installed. Because many things on the
systemdepend on files within /opt/3com/VCX/... you may note the following behaviors.
8.2.1 No HTTPD
The Apache (httpd) web server is not started when no assembly is present. During the boot sequence (or if
‘/etc/init.d/httpd start’is invoked manually) a message is printed which says:
Starting httpd: (no active VCX version – not started)
This is normal behavior. HTTPD will be started when a config type is chosen.
8.2.2 No Common Agent
Common Agent does not run until an assembly is chosen. CA will be started once an assembly is made.
8.2.3 Default firewall (all ports blocked)
The firewall assumes its default configuration with all ports blocked until an assembly (with associated firewall
scripts) is chosen.
8.2.4 vcx-showconfigtype
If vcx-showconfigtype is called, instead of printing a config type code (or “unknown”) it detects the
unconfigured state and reports:
not-selected : 6 available
(Where ‘6’ is the number of possible config types,e.g. selectable VSBOM files.) Once an assembly is made the
behavior reverts to normal.
9 Appendix A: Building a FRU disk
This section describes the creation of a “FRU disk” for VCX. Most readers will not need these procedures –
FRU disk creation will be of interest only to those who are specifically involved in creating actual FRU disks,
or in testing the FRU disk feature.
9.1 What is a FRU disk?
A “FRU” is a “Field Replaceable Unit”, and a “FRU Disk” is a replacement hard drive to be used in the field in
the event of a drive failure. VCX has been very difficult to support with FRU disks since each combination of
platform + release + configuration type required a different disk. Starting with VCX 7.0 a method has been
devised to provide a single disk for each platform, which contains everything required to build a selection of
releases and configuration types. In the field, a technician can select the version and config type needed, and
the right software will be installed (and the rest deleted). This will greatly reduce the number of disks that must
be stocked. As new releases are introduced they will simply be ECO’d onto the existing FRU disk.
9.1.1 Differences from a “SKU disk”
A FRU disk contains a VCX Linux OS in partition A, and a collection of software (RPMs and othercontent) in
a well defined location in /opt. No VCX or Oracle software is installed. The installed OS is used simply to boot
the systemand run a script which carries out installation of the required OS version (into partition B) and set of
third-party and VCX application software. It then switches to OS B and reboots.
The procedure to build such a disk is therefore very similar to any other master disk, up until the point the VCX
Linux OS is installed.
VCX 7.1 Disk Build HOWTO
Page 16 of 17
9.2 Install the OS
The disk must first have VCX Linux 4.X installed onto it following the procedures up to and including section
6. Once the OS is installed, booted,and networking temporarily configured, FRU disk configuration can be
done.
9.3 Load software content
9.3.1 Overview
FRU disk creation requires the following steps,which are carried out using an automated script:
 Create required directory structure
 Download required content from the Releases server (Oracle, release tarballs, etc.)
 Arrange required content within the directory structure
 Tweak the OS to set up for FRU disk use
9.3.2 Directory Structure
The FRU disk content goes in /opt/3com/release-files. Beneath this are a COMMON directory for shared
content,and a per-release subdirectory. Each release subdirectory has subdirectories for each configuration
type, its associated OS, and “preinstall” RPMs. Symlinks are generously used to reduce disk usage. In
addition, a single XML file per release describes the available configuration types and provides other
information needed by the installation scripts.
The directory structure is created and populated automatically by setupFruDisk.sh.
9.3.3 DESCRIPTION.xml files
DESCRIPTION.xml files are simple xml files which list the attributes and available configuration types for a
given release. These are used by the FRU installation scripts.
DESCRIPTION files have been created for those releases which are to be included on the FRU disk and are
posted with the corresponding releases on usand006w2k. They are retrieved by setupFruDisk.sh.
NOTE: Although one 7.0 release is included, the intention is not to provide an updated DESCRIPTION for
each and every 7.0 development build – the FRU disks are intended to contain released content,and so although
it is necessary to test that 7.0 can be installed, it is not necessary to have the latest 7.0 content every week. The
included 7.0 build will be updated occasionally or as-needed,and of course for the final 7.0 release build.
9.3.4 setupFruDisk.sh
setupFruDisk.sh is, like vcxSetup.sh, a separate script which is downloaded and run to perform disk
configuration. It takes care of setting up everything necessary on a FRU disk.
This script contains release specific information (e.g. which releases are to be put on the FRU disk). Like the
DESCRIPTION file, the intention is to update it periodically (but not weekly) during the 7.0 development
cycle.
setupFruDisk.sh is posted at the following location:
ftp://usand006w2k.ne.3com.com/vcx/vcx-linux/utils
Download the script and run it with the command:
sh setupFruDisk.sh
It will be necessary to provide a username and password when prompted, so that the script can access
usand006w2k.
W1 does not support any release prior to 7.0. If setupFruDisk.sh is run on an IDE systemit will ask whether the
disk is for a W1. If “yes”, then no releases before 7.0 will be put on the disk.
Once the script has completed the FRU disk is ready for use.
VCX 7.1 Disk Build HOWTO
Page 17 of 17
9.4 FRU disk usage
When the FRU disk is booted it will automatically launch vcx-fruinstall, which provides the menu
selection and carries out the software installation. If you do not want to carry out the selection process,simply
answer “no” when asked “Do you wish to perform configuration now?” and the script will exit. You can then
log into the systemnormally. If you later want to configure the disk simply run vcx-fruinstall, or reboot.
Note that FRU disk selection is a one time process. Once a selection is made it is not possible to change the
selection of version or configuration type.

More Related Content

Similar to VCX 7.1 DiskBuild HOWTO Redone

Virtual box documentação tecnica
Virtual box documentação tecnicaVirtual box documentação tecnica
Virtual box documentação tecnicaALEXANDRE MEDINA
 
VirtualBox - User manual
VirtualBox - User manualVirtualBox - User manual
VirtualBox - User manualMariana Hiyori
 
Data Pre Processing Using Python.pdf
Data Pre Processing Using Python.pdfData Pre Processing Using Python.pdf
Data Pre Processing Using Python.pdfImranAslam707926
 
Manual de usuario de virtualbox
Manual de  usuario de virtualboxManual de  usuario de virtualbox
Manual de usuario de virtualboxRuben A Lozada S
 
Virtual box usermanual
Virtual box usermanualVirtual box usermanual
Virtual box usermanualfmartins_esas
 
V sphere 5-upgrade-best-practices-guide[1]
V sphere 5-upgrade-best-practices-guide[1]V sphere 5-upgrade-best-practices-guide[1]
V sphere 5-upgrade-best-practices-guide[1]gerdev
 
V sphere 5-upgrade-best-practices-guide
V sphere 5-upgrade-best-practices-guideV sphere 5-upgrade-best-practices-guide
V sphere 5-upgrade-best-practices-guidegerdev
 
Construction ofanoracle10glinuxserver 0.5
Construction ofanoracle10glinuxserver 0.5Construction ofanoracle10glinuxserver 0.5
Construction ofanoracle10glinuxserver 0.5sopan sonar
 
Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482Banking at Ho Chi Minh city
 
IBM PowerVM Virtualization Introduction and Configuration
IBM PowerVM Virtualization Introduction and ConfigurationIBM PowerVM Virtualization Introduction and Configuration
IBM PowerVM Virtualization Introduction and ConfigurationIBM India Smarter Computing
 
Testdocument
TestdocumentTestdocument
Testdocumentactiwire
 
Getting Started with OpenStack and VMware vSphere
Getting Started with OpenStack and VMware vSphereGetting Started with OpenStack and VMware vSphere
Getting Started with OpenStack and VMware vSphereEMC
 
Jasper server ce-install-guide
Jasper server ce-install-guideJasper server ce-install-guide
Jasper server ce-install-guidewoid
 

Similar to VCX 7.1 DiskBuild HOWTO Redone (20)

Virtual box documentação tecnica
Virtual box documentação tecnicaVirtual box documentação tecnica
Virtual box documentação tecnica
 
VirtualBox - User manual
VirtualBox - User manualVirtualBox - User manual
VirtualBox - User manual
 
Ubuntu manual
Ubuntu manualUbuntu manual
Ubuntu manual
 
Data Pre Processing Using Python.pdf
Data Pre Processing Using Python.pdfData Pre Processing Using Python.pdf
Data Pre Processing Using Python.pdf
 
Manual de usuario de virtualbox
Manual de  usuario de virtualboxManual de  usuario de virtualbox
Manual de usuario de virtualbox
 
Oracle VM VirtualBox User Manual
Oracle VM VirtualBox User ManualOracle VM VirtualBox User Manual
Oracle VM VirtualBox User Manual
 
Virtual box usermanual
Virtual box usermanualVirtual box usermanual
Virtual box usermanual
 
V sphere 5-upgrade-best-practices-guide[1]
V sphere 5-upgrade-best-practices-guide[1]V sphere 5-upgrade-best-practices-guide[1]
V sphere 5-upgrade-best-practices-guide[1]
 
V sphere 5-upgrade-best-practices-guide
V sphere 5-upgrade-best-practices-guideV sphere 5-upgrade-best-practices-guide
V sphere 5-upgrade-best-practices-guide
 
Construction ofanoracle10glinuxserver 0.5
Construction ofanoracle10glinuxserver 0.5Construction ofanoracle10glinuxserver 0.5
Construction ofanoracle10glinuxserver 0.5
 
Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482Experiences with oracle 10g database for linux on z series sg246482
Experiences with oracle 10g database for linux on z series sg246482
 
IBM Flex System Interoperability Guide
IBM Flex System Interoperability GuideIBM Flex System Interoperability Guide
IBM Flex System Interoperability Guide
 
IBM PowerVM Virtualization Introduction and Configuration
IBM PowerVM Virtualization Introduction and ConfigurationIBM PowerVM Virtualization Introduction and Configuration
IBM PowerVM Virtualization Introduction and Configuration
 
Install
InstallInstall
Install
 
RD2
RD2RD2
RD2
 
Testdocument
TestdocumentTestdocument
Testdocument
 
Superdome
SuperdomeSuperdome
Superdome
 
Tortoise svn 1.7-en
Tortoise svn 1.7-enTortoise svn 1.7-en
Tortoise svn 1.7-en
 
Getting Started with OpenStack and VMware vSphere
Getting Started with OpenStack and VMware vSphereGetting Started with OpenStack and VMware vSphere
Getting Started with OpenStack and VMware vSphere
 
Jasper server ce-install-guide
Jasper server ce-install-guideJasper server ce-install-guide
Jasper server ce-install-guide
 

More from Justin Goldberg

Can Bitcoin Be Palestine’s Currency of Freedom?
Can Bitcoin Be Palestine’s Currency of Freedom?Can Bitcoin Be Palestine’s Currency of Freedom?
Can Bitcoin Be Palestine’s Currency of Freedom?Justin Goldberg
 
beos vs osx - scot hacker.pdf
beos vs osx - scot hacker.pdfbeos vs osx - scot hacker.pdf
beos vs osx - scot hacker.pdfJustin Goldberg
 
3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...
3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...
3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...Justin Goldberg
 
AdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System CcnceptsAdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System CcnceptsJustin Goldberg
 
AdvFS ACLs and Property Lists
AdvFS ACLs and Property ListsAdvFS ACLs and Property Lists
AdvFS ACLs and Property ListsJustin Goldberg
 
AdvFS User File Pre-Allocation
AdvFS User File Pre-AllocationAdvFS User File Pre-Allocation
AdvFS User File Pre-AllocationJustin Goldberg
 
AdvFS Storage (domain) Threshold Alerts
AdvFS Storage (domain) Threshold AlertsAdvFS Storage (domain) Threshold Alerts
AdvFS Storage (domain) Threshold AlertsJustin Goldberg
 
AdvFS Storage allocation/reservation
AdvFS Storage allocation/reservationAdvFS Storage allocation/reservation
AdvFS Storage allocation/reservationJustin Goldberg
 
AdvFS Snapshots (kernel)
AdvFS Snapshots (kernel)AdvFS Snapshots (kernel)
AdvFS Snapshots (kernel)Justin Goldberg
 
AdvFS Space-Efficient Small file support
AdvFS Space-Efficient Small file supportAdvFS Space-Efficient Small file support
AdvFS Space-Efficient Small file supportJustin Goldberg
 
Hpux AdvFS On Disk Structure Scoping
Hpux AdvFS On Disk Structure ScopingHpux AdvFS On Disk Structure Scoping
Hpux AdvFS On Disk Structure ScopingJustin Goldberg
 
Hitchhiker's guide to Tru64's AdvFS
Hitchhiker's guide to Tru64's AdvFSHitchhiker's guide to Tru64's AdvFS
Hitchhiker's guide to Tru64's AdvFSJustin Goldberg
 
Advfs command line and api interface.
Advfs command line and api interface.Advfs command line and api interface.
Advfs command line and api interface.Justin Goldberg
 
Advfs system calls & kernel interfaces
Advfs system calls & kernel interfacesAdvfs system calls & kernel interfaces
Advfs system calls & kernel interfacesJustin Goldberg
 
Advfs 3 in-memory structures
Advfs 3 in-memory structuresAdvfs 3 in-memory structures
Advfs 3 in-memory structuresJustin Goldberg
 
Advfs 2 ondisk Structures
Advfs 2 ondisk StructuresAdvfs 2 ondisk Structures
Advfs 2 ondisk StructuresJustin Goldberg
 
Salesforce Lightning discovers/issues
Salesforce Lightning discovers/issuesSalesforce Lightning discovers/issues
Salesforce Lightning discovers/issuesJustin Goldberg
 
Streaming AllWorx Call Detail Records To External Devices
Streaming AllWorx Call Detail Records To External DevicesStreaming AllWorx Call Detail Records To External Devices
Streaming AllWorx Call Detail Records To External DevicesJustin Goldberg
 

More from Justin Goldberg (20)

Can Bitcoin Be Palestine’s Currency of Freedom?
Can Bitcoin Be Palestine’s Currency of Freedom?Can Bitcoin Be Palestine’s Currency of Freedom?
Can Bitcoin Be Palestine’s Currency of Freedom?
 
beos vs osx - scot hacker.pdf
beos vs osx - scot hacker.pdfbeos vs osx - scot hacker.pdf
beos vs osx - scot hacker.pdf
 
3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...
3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...
3com® University Instructor-Led Training A GUIDE TO TECHNICAL COURSES Tech - ...
 
AdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System CcnceptsAdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System Ccncepts
 
AdvFS ACLs and Property Lists
AdvFS ACLs and Property ListsAdvFS ACLs and Property Lists
AdvFS ACLs and Property Lists
 
AdvFS 1024 ACLs
AdvFS 1024 ACLsAdvFS 1024 ACLs
AdvFS 1024 ACLs
 
AdvFS User File Pre-Allocation
AdvFS User File Pre-AllocationAdvFS User File Pre-Allocation
AdvFS User File Pre-Allocation
 
AdvFS Storage (domain) Threshold Alerts
AdvFS Storage (domain) Threshold AlertsAdvFS Storage (domain) Threshold Alerts
AdvFS Storage (domain) Threshold Alerts
 
AdvFS Storage allocation/reservation
AdvFS Storage allocation/reservationAdvFS Storage allocation/reservation
AdvFS Storage allocation/reservation
 
AdvFS Snapshots (kernel)
AdvFS Snapshots (kernel)AdvFS Snapshots (kernel)
AdvFS Snapshots (kernel)
 
AdvFS Space-Efficient Small file support
AdvFS Space-Efficient Small file supportAdvFS Space-Efficient Small file support
AdvFS Space-Efficient Small file support
 
Hpux AdvFS On Disk Structure Scoping
Hpux AdvFS On Disk Structure ScopingHpux AdvFS On Disk Structure Scoping
Hpux AdvFS On Disk Structure Scoping
 
Hitchhiker's guide to Tru64's AdvFS
Hitchhiker's guide to Tru64's AdvFSHitchhiker's guide to Tru64's AdvFS
Hitchhiker's guide to Tru64's AdvFS
 
AdvFS DirectIO
AdvFS DirectIOAdvFS DirectIO
AdvFS DirectIO
 
Advfs command line and api interface.
Advfs command line and api interface.Advfs command line and api interface.
Advfs command line and api interface.
 
Advfs system calls & kernel interfaces
Advfs system calls & kernel interfacesAdvfs system calls & kernel interfaces
Advfs system calls & kernel interfaces
 
Advfs 3 in-memory structures
Advfs 3 in-memory structuresAdvfs 3 in-memory structures
Advfs 3 in-memory structures
 
Advfs 2 ondisk Structures
Advfs 2 ondisk StructuresAdvfs 2 ondisk Structures
Advfs 2 ondisk Structures
 
Salesforce Lightning discovers/issues
Salesforce Lightning discovers/issuesSalesforce Lightning discovers/issues
Salesforce Lightning discovers/issues
 
Streaming AllWorx Call Detail Records To External Devices
Streaming AllWorx Call Detail Records To External DevicesStreaming AllWorx Call Detail Records To External Devices
Streaming AllWorx Call Detail Records To External Devices
 

Recently uploaded

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

VCX 7.1 DiskBuild HOWTO Redone

  • 1. VCX 7.1 Disk Build HOWTO Page 1 of 17 VCX 7.1 Disk Build HOWTO Release Date 10/18/2006 This document is intended for use with VCX 7.1 and VCX Linux 5.X. It was last updated for: VCX Linux 5.5.0, VCX build 7_1_29_29. This document is not updated with every new build, but rather when procedures have changed or there is new information. If using an earlier release, please consult the appropriate previous version of this document. If using a later release, check Docushare to see if a newer version is available. 1 Overview..................................................................................................................................................................3 1.1 What’s New for 7.1.........................................................................................................................................3 1.1.1 New Hardware Support.........................................................................................................................3 1.1.2 UPS Monitoring .....................................................................................................................................4 1.1.3 Audit Trails changes..............................................................................................................................4 1.1.4 Backup and Restore...............................................................................................................................4 1.1.5 Other changes .........................................................................................................................................4 1.2 About the Installation .....................................................................................................................................4 2 FTP Server/File Locations ....................................................................................................................................4 2.1 VCX Linux 5.X ...............................................................................................................................................5 2.2 Oracle ................................................................................................................................................................5 2.3 VCX Installation Tarballs ..............................................................................................................................5 3 Starting the Installation (non-W1) .......................................................................................................................5 3.1 Check that only 1 disk is installed................................................................................................................6 3.2 Check BIOS settings.......................................................................................................................................6 3.3 Initialize SAS disk (x3650 only) ..................................................................................................................6 3.4 Boot from Knoppix CD..................................................................................................................................6 3.4.1 Boot options – Knoppix 3.6 .................................................................................................................6 3.4.2 Boot options – Knoppix 4.0.2 / 5.0.1..................................................................................................7 3.4.3 A Note on SCSI disks............................................................................................................................7 3.5 Configure Networking if necessary .............................................................................................................7 4 Starting the Installation (W1 only) ......................................................................................................................7 4.1 Installing using a working W1......................................................................................................................7 4.1.1 Setting Up................................................................................................................................................7 4.1.2 Installation...............................................................................................................................................8 4.1.3 Post-installation......................................................................................................................................8 4.2 Installing using a PC.......................................................................................................................................8 4.2.1 Dismounting the W1 disk.....................................................................................................................8 4.2.2 Setting up the PC....................................................................................................................................8 4.2.3 Booting.....................................................................................................................................................9 This is an Internal Installation Guide! This document is written for use by 3Com internal users. The procedures described are not necessarily suited for field use and are not intended to be performed by customers. Access to 3Com internal networks and accounts on restricted servers may be required. Failure to follow all procedures exactly may result in a VCX server which does not work properly and may not be supported by 3Com.
  • 2. VCX 7.1 Disk Build HOWTO Page 2 of 17 4.2.4 Installation...............................................................................................................................................9 4.2.5 Post Installation ......................................................................................................................................9 4.3 Copying a W1 master disk using a W1 .......................................................................................................9 5 Installation Procedure...........................................................................................................................................10 5.1 Fetch the installation script..........................................................................................................................10 5.2 Run vcxSetup.sh............................................................................................................................................10 6 Booting & Configuration.....................................................................................................................................11 6.1 Before You Reboot.......................................................................................................................................12 6.1.1 Attach Serial Console..........................................................................................................................12 6.1.2 DHCP related warnings.......................................................................................................................12 6.1.3 No extra hardware ................................................................................................................................12 6.2 Hardware Detection......................................................................................................................................12 6.3 Expected errors on first boot.......................................................................................................................13 6.4 Log in ..............................................................................................................................................................13 6.5 Temporarily Configure Networking ..........................................................................................................13 7 VCX Installation ...................................................................................................................................................13 7.1 Retrieve Required Files................................................................................................................................13 7.2 Install vcx-users and Oracle ........................................................................................................................14 7.3 VCX Applications Installation....................................................................................................................14 7.4 W1 Only: Select configuration type...........................................................................................................14 7.5 Ready For Use ...............................................................................................................................................14 8 Odds and Ends.......................................................................................................................................................14 8.1 What’s that beeping noise?..........................................................................................................................14 8.2 Behavior before configtype is selected......................................................................................................15 8.2.1 No HTTPD............................................................................................................................................15 8.2.2 No Common Agent..............................................................................................................................15 8.2.3 Default firewall (all ports blocked) ...................................................................................................15 8.2.4 vcx-showconfigtype.............................................................................................................................15 9 AppendixA: Building a FRU disk.....................................................................................................................15 9.1 What is a FRU disk? .....................................................................................................................................15 9.1.1 Differences from a “SKU disk” .........................................................................................................15 9.2 Install the OS..................................................................................................................................................16 9.3 Load software content..................................................................................................................................16 9.3.1 Overview ...............................................................................................................................................16 9.3.2 Directory Structure...............................................................................................................................16 9.3.3 DESCRIPTION.xml files ...................................................................................................................16 9.3.4 setupFruDisk.sh....................................................................................................................................16 9.4 FRU disk usage..............................................................................................................................................17 Revision History 24-Jan-2006 Brett B. Bonner Created based on VCX 7.0 Disk Build HOWTO 08-Feb-2006 Brett B. Bonner Add boot options for 306/346 Knoppix 4.0.2, reference UPS Monitoring feature & functional spec 18-Oct-2006 Brett B. Bonner Add x3650 support information
  • 3. VCX 7.1 Disk Build HOWTO Page 3 of 17 1 Overview This document describes how to build a VCX systemdisk, including installation of the OS and VCX components. These instructions are suitable for use in building Master Disks for use by customers, as well as for building systems for internal use. In addition, Appendix A describes the procedure for building a “FRU disk”. A FRU (“Field Replaceable Unit”) disk is a different form of master disk, which has the ability to be configured to any supported software version and configuration type in the field. 1.1 What’s New for 7.1 1.1.1 New Hardware Support VCX is now supported on the IBM x306m hardware platform. This is a new IBM model which replaces the venerable x306. The x306m compares to the x306 as follows:  The x306m is a "next generation" redesign from IBM. The CPU is still a 3.2GHz "Prescott" CPU, the same as in the x306.  There is a different chipset, but this is transparent to VCX  The x306m uses faster memory (PC4200 vs. PC2700), which may help performance slightly  There is no built in floppy disk. VCX does not use a floppy, so this has no impact.  The x306m offers IPMI support (Intelligent Platform Management Interface) - this gives us the capability to monitor hardware status,with the right driver and tools. Support for this is not specified as a 7.1 requirement, however.  The disk subsystemis slightly different. The x306m that we are specifying (model 8849-30U) is still a "simple swap SATA" disk but the disk controller (part of the chipset)is different and the disks are not physically interchangeable with the x306 because the carriers are different. We are expecting to move to a larger, 160GB disk on this platform, because the cost is about the same as an 80G disk. Note that other models of x306m offer SAS (Serial Attached SCSI) disks, which use a very different controller. These are not supported for use with VCX.  There is a different Ethernet controller - a Broadcom chip is used in place of the x306's Intel e1000.  The x306m has faster PCI/X slots - this doesn't matter to VCX as we do not use any PCI cards. Starting with VCX Linux version 5.5.0, VCX is also supported on the IBM x3650 hardware platform. This is a new IBM model which replaces the x346. The chosen model for VCX is a 7979-51U. The x3650 compares to the x346 as follows:  The 3650 offers one or two, dual core, Intel Xeon 5140 “Woodcrest” processors,with a much faster 1333MHz FSB. This offers the potential of up to four processing cores. The “global workhorse” model which we are using for VCX uses 2.33GHz processors,but the dual cores, faster FSB, and architecture changes should provide improved performance over the x346.  The systemuses DDR2-667 PC2-5300 fully buffered memory.  Disk drives are SAS (Serial Attached SCSI) instead of U320-SCSI. Note that although some models of x3650 support 2.5” SAS drives, the -51U model uses 3.5” disks.  There is no built in floppy disk.  There is a different Ethernet controller (Broadcom 5708 “NetXtreme II”)  The systemno longer offers “legacy” PS/2 keyboard and mouse connectors,but expects use of a USB keyboard and mouse. The may affect some users; however, a serial port is still available and will be configured as the default console for customers.  As with the x346 and x306m, a BMC (baseboard management controller) with IPMI support is included. See the notes on IPMI under the x306m section,above.
  • 4. VCX 7.1 Disk Build HOWTO Page 4 of 17  Although the base unit has basic hardware RAID (0/1/10) capability, we do not plan on supporting this for VCX at this time, since the existing VCX RAID implementation offers good performance and the benefit of consistency across all platform types.  Other differences, such as PCI slot configuration, exist but are not relevant to VCX usage. VCX Linux and VCX are, of course, still supported on prior platforms including the x306, x346, x345, and V6000 (W1). However, VCX 7.1 will ship on new systems only on the x306m, x346, and V6000. A transition from x346 to x3650 will occur in late 2006/early 2007. 1.1.2 UPS Monitoring UPS Monitoring is supported in build 7_1_2_2 and newer. This feature allows one or more VCX systems to monitor one or more UPS systems over the network, and to shut down cleanly if the UPS power is running out. See the UPS Monitoring Functional Specification (http://docushare.ne.3com.com/dsweb/Get/Document- 227074) for details. 1.1.3 Audit Trails changes VCX Linux now uses the “syslog-ng” (“next generation”) daemon for principal systemlogging including /var/log/messages and /var/log/secure. In accordance with the Audit Trails Functional Specification,a “parallel” log is kept in XML format for use in presenting these via the Provisioning interface. Additionally:  Per the specification, 1 month (5 weeks) of logs are kept. Previously, logrotate was configured to preserve 52 weeks of logs.  The Linux Auditing Subsystem(LAuS) is enabled by default. 1.1.4 Backup and Restore Configuration backup and restore allows all VCX configuration files to be backed up to one file, with a single command. Note that this does not include database orvoicemail, which have their own backup commands and procedures. See the VCX 7.1 Configuration Backup/Restore Functional Specification & High Level Design document for details. 1.1.5 Other changes Shadow passwords are now used in VCX Linux. When VCX Linux 5.x is installed as an upgrade, the passwords will be converted to the shadowformat automatically and shadowpasswords will be used in the 5.x OS. 1.2 Aboutthe Installation The installation procedure is automated and uses a script to perform nearly all of the operations required for installation. This is fast and easy. Be aware, however, that this script will completely reconfigure the disk and is therefore not suitable for development or other systems which have partitions that must be preserved. In addition to reading this document, please consult the ERRATA.txt file (if one exists) for the current VCX Linux release, which describes changes,known problems and, where possible,solutions/workarounds. This can be retrieved from the same location as the VCX Linux image. 2 FTP Server/File Locations Several files will be required to perform the VCX Linux installation. These are located on an FTP server and FTP will be used during the installation to retrieve the files. VCX Linux is primarily distributed from the same server (usand006w2k.ne.3com.com)used fordistributing VCX builds. Note that access to this server is restricted; a PVT login is required. A Rolling Meadows mirror is available on mselvarag.wan.3com.com. There will be a time lag between the release of a version to usand006w2k and the time it appears on mselvarag. Access to this serverrequires a Matrix account. VCX Linux may also be mirrored on other servers. However, use of other servers for installation is not qualified by the infrastructure group.
  • 5. VCX 7.1 Disk Build HOWTO Page 5 of 17 2.1 VCX Linux 5.X The standard locations for VCX Linux 5.X files are : ftp://usand006w2k.ne.3com.com/vcx/vcx-linux/ ftp://mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/ Beneath this directory are additional directories, one per version of VCX Linux. In this document, the convention <version> will be used to indicate the version you are installing, for example 5.0.0. There is a file, VERSIONS.txt, in the vcx-linux directory which lists which Linux versions correspond to which VCX builds. This file also lists which Linux versions are “shipped”,which are “development”, and which are “obsolete”. It is recommended that any mirrors of VCX Linux follow the same convention,e.g. a ‘vcx-linux’ directory with per-version subdirectories. 2.2 Oracle The standard location for Oracle files is : ftp://usand006w2k.ne.3com.com/vcx/oracle/ ftp://mselvarag.wan.3com.com/var/ftp/pub/oracle/ Within this directory may be multiple Oracle rpms. Be sure to retrieve the correct version for your installation. (Typically this is the highest-numbered version.) 2.3 VCX InstallationTarballs The standard location for VCX installation tarballs is : ftp://usand006w2k.ne.3com.com/vcx/releases/7.1/<build-number> ftp://mselvarag.wan.3com.com/var/ftp/pub/7.1/<build-number> The particular <build-number> directory will vary with the build. Choose the one which corresponds to the build you are installing. 3 Starting the Installation (non-W1) This section does not apply to the W1 system. If you are installing to a W1, skip to section 4. It is necessary to first boot the systemand configure basic networking using a bootable Linux CD. For VCX 7.1, new versions of the Knoppix CD are in use. Check the table below. Server Type Min. Knoppix vers. Notes x3650 5.0.1 x306m 4.0.2 5.0.1 should work but is not yet tested x306, x346 3.6 4.0.2 known to work; 5.0.1 should also work but is not yet tested x345 3.6 Newer versions not tested The Knoppix ISO images can be downloaded via FTP from: usand006w2k.ne.3com.com/vcx/vcx-linux/bootCDs/KNOPPIX_V3.6-2004-08-16-EN.iso usand006w2k.ne.3com.com/vcx/vcx-linux/bootCDs/KNOPPIX_V4.0.2CD-2005-09-23-EN.iso usand006w2k.ne.3com.com/vcx/vcx-linux/bootCDs/KNOPPIX_V5.0.1CD-2006-06-01-EN.iso mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/bootCDs/KNOPPIX_V3.6-2004-08-16-EN.iso mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/bootCDs/KNOPPIX_V4.0.2CD-2005-09-23-EN.iso mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/bootCDs/KNOPPIX_V5.0.1CD-2006-06-01-EN.iso
  • 6. VCX 7.1 Disk Build HOWTO Page 6 of 17 3.1 Check that only 1 disk is installed The VCX Linux install procedure expects to have a single hard disk present in the system. If multiple disks are present (particularly if they also have been used for VCX Linux installations) this may cause the installation to fail. Therefore, especially on platforms with removable disk trays (x306, x306m, x345, x346, x3650), make sure that only one disk is actually installed. It is possible to leave a second disk installed if the partition table is erased using the following command, where <DEVICE> is the physical device (such as /dev/sda): dd if=/dev/zero of=<DEVICE> bs=512 count=1 You can run this in either of two ways:  Install and boot the drive to be reused and run the command. WARNING: once the partition table is erased, the drive will no longer be bootable.  Install the drive and boot the systemfrom Knoppix, then run the command. (Note that on the x346 you will have to load the correct SCSI driver with the command modprobe aic79xx first.) Note that VCX Linux 4.2.0 and newer also include an “erasePartitionTable” command that can be used to zero the partition table in place of the dd command above. 3.2 Check BIOS settings If installing to a systemwhich has BIOS settings tuned to specific operating systems (such as the HP DL380 server), check that Linux is the selected operating systembefore starting the installation. 3.3 Initialize SAS disk (x3650only) On the x3650 platform, a brand new disk will not be seen by the OS unless it is first initialized from the SAS controller. Press Ctrl-A when prompted during boot to enter the Adaptec BIOS screens. From here, select and initialize the drive. 3.4 Boot from KnoppixCD The Knoppix CD is actually a full Linux-system-on-a-disk which includes a full desktop GUI and many tools. However, for our purposes we are using it simply as a bootable CD which provides all of the tools needed to install VCX Linux. The Knoppix CD requires some boot options in order to work and properly support various hardware platforms. These must be specified at the boot: prompt. If you try to boot Knoppix without options, it is unlikely to work. 3.4.1 Boot options – Knoppix 3.6 The required options for Knoppix 3.6 are as follows: IBM x306, x345, x346, Intellistation M Pro 6230/41U, and most other systems knoppix26 lang=us atapicd 2 HP DL380, IBM Intellistation Z Pro 6221-10U knoppix lang=us nodma 2 IBM x306m NOT SUPPORTED by Knoppix 3.6 Use Knoppix 4.0.2 instead! For the curious, these options do the following: knoppix26 Selects the Linux 2.6 kernel, which is needed to support newer hardware lang=us Selects US keyboard layout atapicd Needed so that Knoppix works properly with an IDE CDROM under the 2.6 kernel nodma Disables dma, which causes issues on certain systems 2 Selects runlevel 2, which does not start the Knoppix GUI (X Windows)
  • 7. VCX 7.1 Disk Build HOWTO Page 7 of 17 3.4.2 Boot options – Knoppix 4.0.2 / 5.0.1 The required options are as follows: IBM x306m, x3650 knoppix lang=us 2 IBM x306, x346 knoppix lang=us atapicd 2 3.4.3 A Note on SCSI disks The device file to use to access the SCSI or SAS disk is /dev/sda, unless you are installing to an HP DL380 server, in which case the device name is /dev/cciss/c0d0. Also, the DL380 disk partitions are referenced with a “p” in addition to the number, e.g. /dev/cciss/c0d0p1is partition 1. 3.5 ConfigureNetworkingif necessary Once the systemis up and running on the boot CD, it is necessary that basic networking be operational to perform the rest of the installation. If the network to which the systemis connected does not have a DHCP server, you will need to manually configure an IP address for the systemto use during the install process. This can be done as follows (substitute your IP parameters where appropriate): /sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 /sbin/route add default gw 192.168.1.254 If you are uncertain of the values to use, please contact your network administrator for assistance. If your network has a DHCP server, DHCP may be used during VCX Linux installation. However, in most cases,you will still want a static IP for the installed system. While VCX Linux for VCX 6.0 and later does support DHCP as an option,the implementation is designed for a specific use case and requires special server configuration. Unless you are testing something related to this, it is almost certainly the case that you should use a static IP address. The Knoppix 3.6 CD also includes a utility, “network-setup”, which can be used to set up networking for purposes ofperforming the rest of the installation. If you choose to use this, select the “netcardconfig” option and follow the prompts. 4 Starting the Installation (W1 only) This section applies only to the W1. If you are installing any other system type, skip to section 5. The W1 poses particular challenges when it comes to initial installation. Not only does the systemnot have a CDROM, but its BIOS does not support USB or network booting. This means that building a W1 master disk requires either:  An already-built W1 systemto use as a host,or  Removing the W1 hard disk, connecting it to a PC, and installing the OS and bootloaderso that the disk will boot in the W1. Both approaches are covered below. 4.1 Installingusinga working W1 The simplest means of building a new W1 disk is to use a working W1 as a host. The working W1 need not be running the same version you wish to install. The basic approach is to use the working W1 disk to bring up the unit (in place of the Knoppix CD typically used on other systems),and then specify the other disk device as the installation target in vcxSetup. The first disk is not modified by this procedure. 4.1.1 Setting Up Check that power is off on both the W1 you will be using as a host (we’ll call this W1-A) and the W1 whose disk you need to build (W1-B).
  • 8. VCX 7.1 Disk Build HOWTO Page 8 of 17 Wear a grounding wrist strap while working on the W1. The units are very sensitive to ESD and are easily damaged. Loosen the 2 screws and 2 thumbscrews holding the disk in W1-B and pull out the disk module. Remove the blank cover plate on the 2nd disk slot of W1-A (you’ll find this next to the installed disk, on the back of the unit). Install the disk module in this slot. 4.1.2 Installation Boot W1-A and login as root. Note: if the W1-B disk previously had VCX installed on it, strange errors may be seen at boot,including messages about duplicate labels,read-only partitions,various [FAILURE] messages, and a long pause while starting syslog. These are the result of the two disks having duplicate partition labels. If this occurs, erase the partition table on the W1-B disk using the command: dd if=/dev/zero of=/dev/hdc bs=512 count=1 and then reboot. Ensure that networking is operational. If not, configure it. cd to the /tmp directory and proceed with the installation as documented in section 5.  Be very certain that you specify the correct device – this should be /dev/hdc in this case. This instructs the script to install the new VCX Linux version on the 2nd drive, and will not disturb the version already installed on /dev/hda (on which the systemis running).  When asked if this is a W1, say yes. Do not reboot once the OS is installed. When “Reboot now?” is asked, say “no” and then do a shutdown –h now to shut the systemdown. 4.1.3 Post-installation Once the OS is installed, remove the W1-B disk module from W1-A and reinstall it in W1-B, being sure to wear your grounding strap. The W1 should now be able to boot from the disk and you can carry on with the rest of the VCX installation. 4.2 Installingusinga PC Installation using a PC requires:  A PC with ATA100 or ATA133 IDE controller, network card, and CDROM  A W1 hard disk, dismounted from its carrier module  A “notebookhard drive” adapterallowing connection of the 2.5” “notebook” disk of the W1 to a “desktop” IDE controller.  An ATA100 IDE cable. An ATA100 cable has about twice as many wires in the same width as the older ATA cables, resulting in a more “fine grained” appearance. 4.2.1 Dismounting the W1 disk Ensure power is off. Locate the W1 disk module on the back of the unit, next to the CPU. Wear a grounding wrist strap while working on the W1. The units are very sensitive to ESD and are easily damaged. Loosen the two screws and two thumbscrews holding the disk module, and pull it out. Remove the four screws holding the disk in place. Lift it and remove the clip which prevents the ribbon cable from being removed. Gently disconnect the ribbon cable. 4.2.2 Setting up the PC A grounding wrist strap is recommended while working inside a PC. Disconnect all drives except the CDROM. Locate the other ATA100 connector(the one not used for the CDROM). Connect an ATA100 cable to this connectorand to the notebookhard drive adapter. The W1 disk
  • 9. VCX 7.1 Disk Build HOWTO Page 9 of 17 should be the only device on the bus. Connect a spare disk power Molex connectorto the power connectoron the notebookhard drive adapter. Plug in the W1 disk. 4.2.3 Booting Enter the BIOS and ensure that the drives are configured to allow booting from the CDROM and access to the IDE bus you have connected the W1 to. The details will vary depending on the PC used! Boot the Knoppix CDROM. If you are not sure which options to use, section 3.4.1 may provide a useful starting point. Configure networking following the instructions in section 3.5. 4.2.4 Installation Follow the instructions in section 5.  The installation device to use varies depending which IDE bus you connected the drive to. If you used the first or primary bus, it is /dev/hda; the secondary bus is /dev/hdc.  When asked if this is a W1, say yes. Do not reboot onto the disk once the OS is installed. When “Reboot now?” is asked, say “no” and then do a shutdown –h now to shut the systemdown. 4.2.5 Post Installation Power down and disconnect the W1 disk from the PC. Remount it to its carrier and reinstall the carrier in the W1 (be sure to wear your grounding strap). The W1 should now be able to boot from the disk and you can carry on with the rest of the VCX installation. 4.3 Copying a W1 masterdisk using a W1 If you need multiple W1 master disks, it is possible to build one and then copy it. Install the working disk in the first disk module slot (next to the CPU) and the blank disk in the second module slot. Note: if the W1-B disk previously had VCX installed on it, strange errors may be seen at boot,including messages about duplicate labels,read-only partitions,various [FAILURE] messages, and a long pause while starting syslog. These are the result of the two disks having duplicate partition labels. If this occurs, erase the partition table on the W1-B disk using the command: dd if=/dev/zero of=/dev/hdc bs=512 count=1 OR, for VCX linux 4.2.0 and newer, you may use: erasePartitionTable /dev/hdc and then reboot. To carry out the disk copy, you must be in single usermode. To reach single user mode you can either:  Boot the unit, log in as root, and drop to single user mode by issuing the command “telinit 1”. OR  Boot the unit into single-user mode as follows: o Enter the GRUB menu during boot by pressing ESC when the GRUB countdown appears. o Press ‘e’ to edit the boot options. o Move to the 2nd line (beginning with ‘kernel’) and press ‘e’ again to edit the kernel boot options. o Add “ single” to the end of the line (without the quotes). Note the space beforehand! o Press ‘Enter’ then press ‘b’ to boot. Run the command “diskCopy”, specifying /dev/hda as the source and /dev/hdc as the destination drives. In the event your systemhas an older version of VCX Linux which does not provide the diskCopy command, download the ‘diskCopy.sh’ script from: usand006w2k.ne.3com.com/vcx/vcx-linux/utils/diskCopy.sh
  • 10. VCX 7.1 Disk Build HOWTO Page 10 of 17 mselvarag.wan.3com.com/var/ftp/pub/vcx-linux/utils/diskCopy.sh The disk copying process will take most of an hourto complete. 5 Installation Procedure This procedure uses a shell script which prompts for some minimal information, and takes care of all of the other steps needed to install VCX Linux automatically. It is suited for installing VCX Linux on SATA, IDE, or SCSI based systems which are dedicated to VCX. It must not be used on a development or other systemwhich has partitions that must be preserved, as it will completely repartition and reformat the disk. 5.1 Fetch the installation script Ensure that you are logged in as root and that networking is configured as described in section 3.5. You may verify that networking is working by trying to “ping” some othermachine on the network. Next retrieve the installation script into the /tmp directory as follows. Notes:  151.104.56.75 is the IP address of usand006w2k; it is unlikely that nameservice will be working at this point, so we simply use the IP address to reach the server.  For use of mselvarag, the IP address is 152.67.120.90. Substitute your Matrix login and alternative paths where appropriate.  Pay close attention to the specification of username and password; in particular, note that the backslash must be doubled to “escape” it so that the shell does not interpret it. cd /tmp wget ftp://pvtmyusername:mypassword@151.104.56.75/vcx/vcx-linux/<version>/vcxSetup.sh Alternatively, it is possible to get the script using the “lftp” utility: cd /tmp lftp 151.104.56.75 –u pvtmyusername mypassword lftp pvtmylogin@151.104.56.75:~> get vcx/vcx-linux/<version>/vcxSetup.sh 5.2 Run vcxSetup.sh Now run the script: sh vcxSetup.sh You will be warned about the impending reconfiguration of your disk and prompted whether you wish to continue. Say ‘yes’. You will then be prompted for which device to use. System Type Disk Type Installation Device IBM x345, x346, most SCSI SCSI /dev/sda IBM x3650 SAS /dev/sda1 IBM x306, x306m, Intellstation M Pro 6230/41U SATA /dev/sda2 HP DL380 SCSI (SmartArray) /dev/cciss/c0d0 IBM x305, Intellistation Z Pro 6221/10U, most IDE IDE /dev/hda W1 (using another W1 as host) IDE /dev/hdc 1 If you get a message about the device not existing, you probably forgot to initialize the disk from the SAS controller BIOS. See section 3.3. 2 This is not a typo. SATA disks appear as “virtual SCSI” devices.
  • 11. VCX 7.1 Disk Build HOWTO Page 11 of 17 W1 (using a PC as host) – device depends on which bus was used for connection IDE /dev/hda or /dev/hdc If you specify a nonexistent device the script will give an error and let you retry. If you specify a device that exists but can’t be installed to (for example, the CDROM drive) then you will get an error when the script tries to partition it, and you can simply start over if that occurs. If installing to an IDE device, you will be asked if this installation is for a V6000 (W1). Answer yes or no as appropriate. The script will then partition your disk, format the partitions, and prepare to download the VCX Linux image. You will be given a menu of choices of FTP servers. Select one or choose “none of these” and enter the IP address of the remote server. For the predefined FTP servers you will then be prompted with a default path. Press Enter, or if using some otherserver, enter the ftp path to retrieve the image. If the remote server does not support anonymous downloads the script will prompt for a user name and password. Note: If downloading from a server within the pvt domain, including usand006w2k, specify the username as ‘pvtmyusername’. The password is, of course,your PVT password. The image will then be retrieved and installed to the correct partition. When partimage completes, a dialog will appear indicating that the operation succeeded. Press Enter to continue. The installer will then label the partitions and install the boot loader. If installing a W1 additional modifications will be made automatically. The serial port is used as the console by default and MUST be used for any master disk being built for customer use. If installing to anything other than a W1, you will be asked whether you wish to use the serial port as the console; the default answer is ‘yes’. If you say ‘no’, then the systemwill be reconfigured to use the PC’s vga/keyboard ports as the console. This should be done only on systems for internal use. If on a SCSI, SAS, or SATA system,fstab will be updated appropriately. Note for those familiar with previous VCX installs: The installer will no longer prompt for whether the installation device is SATA, because the Knoppix 3.6 CD has SATA support and so devices appear by their correct names. You do not need to do anything special here for SATA systems any more. At the end, you will be asked if you want to reboot. Say “yes”. Note that Hyper-threading must be enabled on systems that support this feature in order for the OS install to complete successfully.To check this:  Hit F1 to enter setup when the systemstarts back up.  Select Advanced Setup  Select ProcessorControl  If the item “Hyper-Threading Technology” is available, set it to Enabled.  Exit setup When the systemreboots,be sure that the CD is not in the drive. 6 Booting & Configuration The expectation is that the systemwill arrive at the customer site in a fully-installed but completely- unconfigured state. The customer runs the “vcx-setup”3 script, which will:  Select the configuration type which this systemis to provide  Configure networking using vcx-config-network 3 vcx-setup was formerly called (and is still available as) “setup”. It was renamed for consistency with other “vcx-“ scripts.
  • 12. VCX 7.1 Disk Build HOWTO Page 12 of 17  Write a configuration file for the installed VCX components using vcx-config-services  Apply the configuration file to the components (“firstboot configuration”)  Start up VCX In order to ensure consistent results and propertesting of the entire first-time-setup sequence,all systems should be built as though they are customer disks. 6.1 Before You Reboot 6.1.1 Attach Serial Console If you selected the default choice of using a serial console, then you must have a terminal device or terminal emulator attached to the serial port when you reboot. All GRUB output,kernel boot messages, and other systemoutput will be directed to this port. If using a PC with terminal emulator (the most common scenario), use a null-modem (“crossover”)serial cable to connect the VCX serial port to the PC’s serial port. A W1 requires use of the AudioCodes three-pin-to-DB9 connectorcable. Any terminal emulator capable of proper VT100 emulation should work. On Linux, the ‘minicom’ program is a good choice. On Windows, ‘hyperterm’ can be used in a pinch, but there are (much) better choices. ‘Tera Term’ is one good, and free, alternative; an updated version which supports UTF8 and SSH2 can be found at: http://sleep.mat-yan.jp/~yutaka/windows/index.html . Anotherdecent choice is PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty) The port settings are 9600, 8-N-1, no flow control, EXCEPT for the W1, which uses 115200, 8-N-1. Your terminal type must be set to VT100 (or a close cousin such as VT102); note that Windows Hyperterm defaults to an “auto” terminal type which will not work properly with some applications. If you see strange characters, misformatted output,etc. check the terminal type. 6.1.2 DHCP related warnings While VCX Linux now supports DHCP as part of automatic remote configuration, the implementation is designed for a very specific use case and requires that the DHCP server be carefully configured to provide the proper options. If you are not specifically testing remote autoconfiguration, you should not attempt to use DHCP on your VCX system. A standard “corporate” DHCP server will not work. If you are building an actual MasterDisk for duplication, you MUST NOT have a DHCP server on your network when you bring up the VCX Linux system. Because the use case is designed for infinite leases,it is possible that a lease left on the disk during MasterDisk construction,could interfere with proper operation at a customer site. 6.1.3 No extra hardware When building a master disk, it is vital that the systembe configured just like the customers’ systems will be. Otherwise, when the disk is duplicated and used in a customer system,‘kudzu’ will detect the differences and pop up asking to make appropriate changes,which is something customers should not see. To ensure this is the case, do not have any extra hardware attached,such as a mouse, extra Ethernet card, etc. 6.2 HardwareDetection This section does not apply to the W1. Upon reboot, the “kudzu” hardware detection program starts and asks if you want to configure hardware. Enter any key within 30 seconds to do the hardware detection,as it is required.Go through the screens and select remove for any device it asks to remove, and select configure for any device it asks you to configure. (You can press F2 to “configure all”.) At the prompt would you like to migrate existing network configuration say no One of the devices it finds should be yournetworking device. Upon completion of hardware detection,startup will continue.
  • 13. VCX 7.1 Disk Build HOWTO Page 13 of 17 6.3 Expectederrorson first boot In order to support LOCSA deployments, systems now default to using DHCP. If no DHCP serveris present (see section 6.1.2), network startup will fail. This is OK. In fact, even if a DHCP server is present,DHCP will very likely fail because VCX Linux specifies a number of “required” fields which are needed for remote deployment, but not commonly provided by DHCP servers. NTP startup will also fail until basic networking is functional, and one or more NTP servers configured. 6.4 Log in <hostname> login: root Password: pvadmin 6.5 TemporarilyConfigureNetworking When building a VCX disk, it is necessary to ensure that the systemwill still have proper default values and no existing configuration at first boot. Therefore:  Do not use DHCP.  Do not run the setup or vcx-config-network scripts to configure networking.  The systemwill start with default network values.  Set up basic network connectivity using the ifconfig and route commands. Substitute the correct values for your network for the ones shown below. /sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 /sbin/route add default gw 192.168.1.254  Complete installation of the rest of VCX as documented below. Because the wizard was not run, and the network values were changed interactively rather than by editing configuration files, the systemwill retain its default values and will come up in a fully-installed but completely- unconfigured state, as it should. 7 VCX Installation This section contains instructions for installing the rest of the VCX systemso that it is ready for initial configuration and use. Because “single SKU” support means that selection of configuration type is done at first time setup, there are no longerseparate instructionsfor different config types. All systems should use the instructions listed here. 7.1 Retrieve Required Files Retrieve the vcx-users and Oracle rpms, and the vcx-all tarfile for the version of VCX you are installing, from the FTP server. usand006w2k is used in this example; for mselvarag you must specify the appropriate Matrix login, server name, and paths. cd /opt/installtemp lftp –u pvtmyusername usand006w2k.ne.3com.com mypassword cd vcx/vcx-linux/supportRPMs get vcx-users-1.0.0-1.i386.rpm cd ../../oracle get oracle-9.2.0.4-6.i386.rpm cd ../releases/<current VCX build> get vcx-all-<version>.tar quit
  • 14. VCX 7.1 Disk Build HOWTO Page 14 of 17 7.2 Install vcx-users and Oracle Install the vcx-users and Oracle RPMs using the vcx-install command. The oracle rpm contains both oracle and a cwbes database.It is very large and can take a while to install ! cd /opt/installtemp vcx-install vcx-users-1.0.0-1.i386.rpm vcx-install oracle-9.2.0.4-6.i386.rpm 7.3 VCX Applications Installation tar xfv vcx-all-<version>.tar cd upgrade-<version> ./install-upgrade You may notice some changes from previous versions of install-upgrade:  During the install-upgrade script you will be prompted to select an OEM version. Most systems should choose the ‘3Com’ OEM package (‘oem-a’). Any testing for the JVCO should use the ‘JVCO’ OEM package (‘oem-b’).  The vcx assembly process isno longer run as part of the initial installation. Assembly is deferred until a configuration type is chosen during first-time setup.  A disk space check is performed prior to installing any packages. Nothing will be installed if there is not enough space for the new RPMs. Note that it is not necessary to reboot after VCX applications are installed. 7.4 W1 Only:Selectconfiguration type The W1 only supports an all-in-one configuration. Preselect this with the command: vcx-setconfigtype –-configtype all (Or alternatively, simply run vcx-setconfigtype and select the “IP Telephony and Messaging” option.) 7.5 Ready For Use Installation is now complete. You may start configuration with the vcx-setup command, or shut down and duplicate the disk if you need additional copies for other systems. 8 Odds and Ends This section contains notes about things that were worthy of inclusion, but did not have a place elsewhere in the document. 8.1 What’s that beeping noise? The First Time Setup Functional Specification for VCX 6.0 specifies the generation of “beep codes” to indicate the success orfailure of automatic setup at a remote branch, where there is no console attached to the system. Because all systems are configured with DHCP as the default, you will very likely encounterthis feature once a VCX assembly is installed. Here are some details about what to expect:  Beep codes are generated only on systems with an all-in-one or unknown configuration. The former is because this is the install type used for branches; the latter indicates either a new OS install with no assembly present (common inside 3Com) or an error condition (on a shipped system). Since in VCX 7.0 no configuration type is initially selected, all systems will beep at first boot!  All-in-one configurations will generate beep codes whether ROCSA or LOCSA, because at initial boot (prior to configuration) the systemdoes not know whether it will be used in a region or a branch.  Systems with static IP addresses (DHCP disabled) will not generate beep codes.
  • 15. VCX 7.1 Disk Build HOWTO Page 15 of 17  Beep codes are generated only for first-time setup,not upgrades,even on remotely managed branch offices.  Continuous beeping indicates a failure of automatic setup. Logging in will stop the beeping.  A beep-beep-pause-pause sequence repeated severaltimes indicates successfulautomatic setup. 8.2 Behaviorbeforeconfigtype is selected Before a configuration type is first selected, the systemis not fully installed. Because many things on the systemdepend on files within /opt/3com/VCX/... you may note the following behaviors. 8.2.1 No HTTPD The Apache (httpd) web server is not started when no assembly is present. During the boot sequence (or if ‘/etc/init.d/httpd start’is invoked manually) a message is printed which says: Starting httpd: (no active VCX version – not started) This is normal behavior. HTTPD will be started when a config type is chosen. 8.2.2 No Common Agent Common Agent does not run until an assembly is chosen. CA will be started once an assembly is made. 8.2.3 Default firewall (all ports blocked) The firewall assumes its default configuration with all ports blocked until an assembly (with associated firewall scripts) is chosen. 8.2.4 vcx-showconfigtype If vcx-showconfigtype is called, instead of printing a config type code (or “unknown”) it detects the unconfigured state and reports: not-selected : 6 available (Where ‘6’ is the number of possible config types,e.g. selectable VSBOM files.) Once an assembly is made the behavior reverts to normal. 9 Appendix A: Building a FRU disk This section describes the creation of a “FRU disk” for VCX. Most readers will not need these procedures – FRU disk creation will be of interest only to those who are specifically involved in creating actual FRU disks, or in testing the FRU disk feature. 9.1 What is a FRU disk? A “FRU” is a “Field Replaceable Unit”, and a “FRU Disk” is a replacement hard drive to be used in the field in the event of a drive failure. VCX has been very difficult to support with FRU disks since each combination of platform + release + configuration type required a different disk. Starting with VCX 7.0 a method has been devised to provide a single disk for each platform, which contains everything required to build a selection of releases and configuration types. In the field, a technician can select the version and config type needed, and the right software will be installed (and the rest deleted). This will greatly reduce the number of disks that must be stocked. As new releases are introduced they will simply be ECO’d onto the existing FRU disk. 9.1.1 Differences from a “SKU disk” A FRU disk contains a VCX Linux OS in partition A, and a collection of software (RPMs and othercontent) in a well defined location in /opt. No VCX or Oracle software is installed. The installed OS is used simply to boot the systemand run a script which carries out installation of the required OS version (into partition B) and set of third-party and VCX application software. It then switches to OS B and reboots. The procedure to build such a disk is therefore very similar to any other master disk, up until the point the VCX Linux OS is installed.
  • 16. VCX 7.1 Disk Build HOWTO Page 16 of 17 9.2 Install the OS The disk must first have VCX Linux 4.X installed onto it following the procedures up to and including section 6. Once the OS is installed, booted,and networking temporarily configured, FRU disk configuration can be done. 9.3 Load software content 9.3.1 Overview FRU disk creation requires the following steps,which are carried out using an automated script:  Create required directory structure  Download required content from the Releases server (Oracle, release tarballs, etc.)  Arrange required content within the directory structure  Tweak the OS to set up for FRU disk use 9.3.2 Directory Structure The FRU disk content goes in /opt/3com/release-files. Beneath this are a COMMON directory for shared content,and a per-release subdirectory. Each release subdirectory has subdirectories for each configuration type, its associated OS, and “preinstall” RPMs. Symlinks are generously used to reduce disk usage. In addition, a single XML file per release describes the available configuration types and provides other information needed by the installation scripts. The directory structure is created and populated automatically by setupFruDisk.sh. 9.3.3 DESCRIPTION.xml files DESCRIPTION.xml files are simple xml files which list the attributes and available configuration types for a given release. These are used by the FRU installation scripts. DESCRIPTION files have been created for those releases which are to be included on the FRU disk and are posted with the corresponding releases on usand006w2k. They are retrieved by setupFruDisk.sh. NOTE: Although one 7.0 release is included, the intention is not to provide an updated DESCRIPTION for each and every 7.0 development build – the FRU disks are intended to contain released content,and so although it is necessary to test that 7.0 can be installed, it is not necessary to have the latest 7.0 content every week. The included 7.0 build will be updated occasionally or as-needed,and of course for the final 7.0 release build. 9.3.4 setupFruDisk.sh setupFruDisk.sh is, like vcxSetup.sh, a separate script which is downloaded and run to perform disk configuration. It takes care of setting up everything necessary on a FRU disk. This script contains release specific information (e.g. which releases are to be put on the FRU disk). Like the DESCRIPTION file, the intention is to update it periodically (but not weekly) during the 7.0 development cycle. setupFruDisk.sh is posted at the following location: ftp://usand006w2k.ne.3com.com/vcx/vcx-linux/utils Download the script and run it with the command: sh setupFruDisk.sh It will be necessary to provide a username and password when prompted, so that the script can access usand006w2k. W1 does not support any release prior to 7.0. If setupFruDisk.sh is run on an IDE systemit will ask whether the disk is for a W1. If “yes”, then no releases before 7.0 will be put on the disk. Once the script has completed the FRU disk is ready for use.
  • 17. VCX 7.1 Disk Build HOWTO Page 17 of 17 9.4 FRU disk usage When the FRU disk is booted it will automatically launch vcx-fruinstall, which provides the menu selection and carries out the software installation. If you do not want to carry out the selection process,simply answer “no” when asked “Do you wish to perform configuration now?” and the script will exit. You can then log into the systemnormally. If you later want to configure the disk simply run vcx-fruinstall, or reboot. Note that FRU disk selection is a one time process. Once a selection is made it is not possible to change the selection of version or configuration type.