You can create an RPM package from the Commvault UNIX installer.
Procedure
-
Log on to the UNIX computer as root.
Note
If the computer does not have a root user defined, you can create a custom package by using a non-root user. However, only a few agents are supported. For more information, see Installation of UNIX Agents by a Non-Root User.
-
Run the following command to launch the installer:
./cvpkgadd -
In the Install Task page, Select Download package to install on a different computer and click Next.
The Download Media Options page appears.
-
To create the RPM, select Download and create Linux/UNIX native package.
-
Click Next.
The Custom Package Type page appears.
-
Select Create an RPM package and click Next.
The Platform Selection page appears.
-
Select the OS type of the system in which you want to deploy the RPM and then, click Next.
-
You can select either to create or join a CommCell, or select an individual package.
The Sign Custom Package page appears.
-
You can optionally sign the custom package and specify the details.
-
In the Create New Signing Key page, specify the details to create a new signing key.
-
Configure the restrict permissions, location of staging, and the directory where the RPM will be created.
-
In Select Maintenance Release, specify the maintenance release.
-
Configure the RPM name, and Instance ID.
-
In the Summary page, review the details.
-
Click Save.
Note
Alternatively, you can create an RPM using the follwing command:
{DownloadManager} -custompackage -type 2 -stagingdirectory {Location of staging directory} -pkgs {Package ID’s} -name {Name of the rpm}