### Example cabiautostart.service File Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/install-report-manager/cabi-jasperreports-server/administration/enable-cabi-to-automatically-start-after-a-system-reboot Provides an example of a correctly configured cabiautostart.service file, showing Unit, Service, and Install sections. ```ini [Unit] Description=CA Business Intelligence Services After=network.target [Service] Type=oneshot ExecStart=/opt/CA/SharedComponents/CABI/startServers.sh ExecStop=/opt/CA/SharedComponents/CABI/stopServers.sh RemainAfterExit=yes User=root Group=root WorkingDirectory=/opt/CA/SharedComponents/CABI/ [Install] WantedBy=multi-user.target ``` -------------------------------- ### Start DX NetOps Spectrum on Linux Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/starting-ca-spectrum-and-oneclick-web-server Command to start the DX NetOps Spectrum application on a Linux system. Navigate to the installation's bin directory and execute the provided command. This action initiates the application and brings up the Spectrum Control Panel. ```shell ./SCP ``` -------------------------------- ### Manually Install SDConnector Service on Windows Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/managing-network/secure-domain-manager-sdm/troubleshooting-secure-domain-manager/installation-issues These commands are used to manually install and start the SDConnector service on Windows. Navigate to the SDC Install directory's bin folder, then execute the install command, followed by the start command. This is a workaround for cases where the service is not automatically installed or started. ```bash SdmConnectorService.exe --install ``` ```bash SdmConnectorService.exe --start ``` -------------------------------- ### Correct VCD Setup Initialization Files After Installation (Windows/Linux) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-vcds/editing-setup-initialization-files A procedure to rectify the setup initialization files if edits were not made before VCD creation. This involves updating 'setupnt.ini' and 'setuplin.ini' located within the VCD directory. The placeholder 'YOUR_PRODUCT_NAME_HERE' needs to be substituted with the actual product name. ```text VCD/setupnt.ini VCD/setuplin.ini Replace the words YOUR_PRODUCT_NAME_HERE in the following files: ``` -------------------------------- ### Launch CABI GUI Installer (Shell) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/install-report-manager/cabi-jasperreports-server/installing-ca-business-intelligence-jasperreports-server/installing-with-non-root-or-non-administrator-user This command initiates the CA Business Intelligence (CABI) GUI installer. It is typically run from a specific directory after extracting the installer files. Ensure you have the necessary permissions to execute shell scripts in the target directory. No specific inputs are required beyond executing the script. ```shell sh ./setup.sh ``` -------------------------------- ### Manually Install SRAdmin Daemon (Linux) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/sradmin-installation-methods This code snippet demonstrates the command to start the SRAdmin installation wizard on Linux when performing a manual installation. It requires navigating to a specific directory. ```bash ./srainstall.bin ``` -------------------------------- ### Edit Setup Initialization Files for VCD Installation (Windows/Linux) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-vcds/editing-setup-initialization-files Instructions for modifying 'setupnt.ini' on Windows and 'setuplin.ini' on Linux within the <$SPECROOT>/INSDK/CD directory. This process is crucial for ensuring your product name appears during the VCD installation. Replace 'YOUR_PRODUCT_NAME_HERE' with your specific product name. ```text Windows: setupnt.ini Linux: setuplin.ini In each file, replace the words YOUR_PRODUCT_NAME_HERE with the name of your product, and then save and close the file. ``` -------------------------------- ### Example GET Action Request for Finding Device Models by IP Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/web-services-api-reference/how-to-use-the-ca-spectrum-web-services-api/restful-resources-nouns/action An example of a GET request to the Action resource to initiate the 'FIND_DEV_MODELS_BY_IP' action using specific model handles and IP addresses. ```HTTP http://<:portnumber>/spectrum/restful/action/0x10093?mh=0x400018&attr=0&val=172.22.96.11&attr=1&val=172.22.96.5 ``` -------------------------------- ### Start MDMConnector Service Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/integrating/nortel-preside-mdm/installing-and-configuring-mdmconnector This command starts the MDMConnector service. It should be executed on the MDM server machine as the same user account that started MDM, and from the directory where the MDMConnector files are installed. ```bash ./MDMConnector.sh ``` -------------------------------- ### Install JRE and OpenWebStart on Windows Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/system-requirements-for-installing-ca-spectrum/spectroserver-and-oneclick-requirements/install-jre Steps to install JRE and OpenWebStart on a Windows system to run the DX NetOps Spectrum OneClick Console. This involves accessing the OneClick home page, downloading JRE and OpenWebStart installers, and running them. ```text http://:/ ``` -------------------------------- ### MySQL Fails to Start During Spectrum Install Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/troubleshooting-installation-problems This snippet shows MySQL server logs indicating a failure to start during a Spectrum installation. The error suggests a problem with the InnoDB engine and missing data files, specifically './ddmdb/db_descriptor.ibd'. The solution involves moving the existing MySQL directory and reinstalling. ```log 2023-03-08T17:11:48.450747Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead. 2023-03-08T17:11:48.450777Z 0 [System] [MY-010116] [Server] /opt/CA/Spectrum/mysql/bin//mysqld (mysqld 8.0.31-commercial) starting as process 28037 2023-03-08T17:11:48.456707Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=1073741824. Please use innodb_redo_log_capacity instead. 2023-03-08T17:11:48.462580Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory. 2023-03-08T17:11:48.462632Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2023-03-08T17:11:56.448840Z 1 [ERROR] [MY-012592] [InnoDB] Operating system error number 2 in a file operation. 2023-03-08T17:11:56.448906Z 1 [ERROR] [MY-012593] [InnoDB] The error means the system cannot find the path specified. 2023-03-08T17:11:56.448932Z 1 [ERROR] [MY-012216] [InnoDB] Cannot open datafile for read-only: './ddmdb/db_descriptor.ibd' OS error: 71 2023-03-08T17:11:56.448960Z 1 [Warning] [MY-012019] [InnoDB] Ignoring tablespace `ddmdb/db_descriptor` because it could not be opened. 2023-03-08T17:11:57.091192Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2023-03-08T17:12:11.609046Z 1 [ERROR] [MY-011006] [Server] Got error 197 from SE while migrating tablespaces. 2023-03-08T17:12:11.612566Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed. 2023-03-08T17:12:11.612622Z 0 [ERROR] [MY-010119] [Server] Aborting 2023-03-08T17:12:12.687069Z 0 [System] [MY-010910] [Server] /opt/CA/Spectrum/mysql/bin//mysqld: Shutdown complete (mysqld 8.0.31-commercial) MySQL Enterprise Server - Commercial. ``` -------------------------------- ### Update System and Install X11 Libraries (Linux) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/install-report-manager/cabi-jasperreports-server/installing-ca-business-intelligence-jasperreports-server/installing-with-non-root-or-non-administrator-user These commands update the system's packages and install the necessary X11 libraries required for running graphical installers remotely. This is performed as the root user. ```bash # yum update -y # yum install "@X Window System" -y # exit ``` -------------------------------- ### Install OpenWebStart on Linux Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/system-requirements-for-installing-ca-spectrum/spectroserver-and-oneclick-requirements/install-jre Command to unzip and install the OpenWebStart package on a Linux system. Assumes the OpenWebStart zip file has been downloaded. ```bash unzip OpenWebStart-x.x.x.linux.bin.zip ``` -------------------------------- ### Example Keystore File Paths Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/configure-oneclick-for-secure-sockets-layer These examples show the expected format for the keystoreFile attribute in server.xml for both Windows and UNIX systems. Replace the placeholder path with your actual Spectrum installation directory. ```text C:/win32app/SPECTRUM/custom/keystore/cacerts ``` ```text /usr/SPECTRUM/custom/keystore/cacerts ``` -------------------------------- ### Start WebTomcat on Windows Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/administrating/oneclick-administration/disable--security-for-tomcat-and-webtomcat This command starts the WebTomcat service on Windows, specifying startup parameters and JVM options. It requires replacing '$SPECROOT' with the actual installation path. ```bash ./tomcat9.exe //US//SpectrumWebTomcat --Startup=manual --JvmOptions="-Dcatalina.home=$SPECROOT/webtomcat" ``` -------------------------------- ### Part Description File Specification in Index File Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-index-files/example-index-file This snippet illustrates the syntax for specifying a shippable part description file within a management module's index file. It defines the file's purpose (installation), type (management module part description), source location, and target installation directory. ```shell file: Install mmdesc ? Hub_Jill700.mmd ? ? ``` -------------------------------- ### Hosts File Format Example (Linux) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/prerequisites-for-installing-ca-spectrum/prerequisites-for-linux This example illustrates the correct format for the /etc/hosts file, which is crucial for proper network host resolution during Spectrum installation. It shows the IP address, external IP, and external names for a host. ```bash 10.10.10.10 specrum-machine@mydomain.com spectrum-machine ``` -------------------------------- ### Initialize and Get Type Catalog Information Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/development-api-reference/the-ca-spectrum-developer-kit Initializes necessary components and retrieves type catalog information. This example demonstrates setting up the domain name and constructing helper objects for interacting with the Spectrum API. ```Java import com.aprisma.spectrum.core.idl.*; import com.aprisma.spectrum.core.util.*; import com.aprisma.util.corba.* import com.aprisma.spectrum.core.idl.CsCModelTypePackage.*; import java.io.*; public class GetTypeCatalogInfo { public static void main(String[] args) { Integer mtid = Integer.decode( args[0] ); try { //**************************************************** // Initialize. //**************************************************** String domainName = new String("mySpectroServer"); // Construct helper ``` -------------------------------- ### Describe Shippable SpectroSERVER Database Import File Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-index-files/example-index-file This snippet illustrates the 'file:' directive used to describe a shippable SpectroSERVER database import file. It specifies the file's product, type, source location (using default directory), and target installation path. ```shell file: SS db ? Jill700.e ? ? ``` -------------------------------- ### Spectrum File Entry Examples Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-index-files/index-file-entry-definitions/file-distribution-entries/file-entry This snippet provides practical examples of the 'file:' entry syntax in DX NetOps Spectrum. These examples illustrate how to specify different types of files, including images and configuration files, for inclusion in extension modules. ```text file: OC file ? company.png tomcat/webapps/Spectrum/images/ Background ? ``` ```text file: SS,OC evformat ? CsEvFormat/Event00821000 ? ? ``` ```text file: OC file source hitv-app-config.xml tomcat/webapps/Spectrum/WEB-INF/devman/config/contrib ? ``` -------------------------------- ### Run SSLogger Command Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/managing-client-applications/sslogger/examples-to-use-sslogger This command initiates the SSLogger process, which starts polling and logging the configured device attributes. Ensure you are in the SSLOGGER directory before executing. ```bash ./SSlogger ``` -------------------------------- ### Launch GUI Installer for Response File Generation Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/install-report-manager/cabi-jasperreports-server/installing-ca-business-intelligence-jasperreports-server/silent-installation-as-non-root-user This command initiates the GUI installer for CA Business Intelligence 7.9.x with the '-r' flag to generate a response file. The response file will record the installation selections for future silent installations. ```bash setup.sh -r .properties ``` -------------------------------- ### Sample CABI Install Response File (Properties) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/install-report-manager/cabi-jasperreports-server/installing-ca-business-intelligence-jasperreports-server/silent-installation-as-non-root-user This is a sample response file for a fresh installation of CABI with default components like Tomcat and PostgreSQL. It specifies various installation parameters, including locale, installation directories, ports, database credentials, and component names. Ensure all required parameters are correctly set for your environment. ```properties INSTALLER_LOCALE=en DETECTED_OS=Linux INSTALLER_LAUNCH_DIR=/root/791.15/ca_install/GUI_Install/Linux/Disk1/InstData/VM USER_INSTALL_DIR=/opt/CA/SharedComponents/CA Business Intelligence INSTALL_FRESH_TYPE=fresh DESTINATION_DIR=/opt/CA/SharedComponents/CA Business Intelligence ENCRYPTION_ENABLED=true INSTALLER_TYPE=FRESH APPSERVER_SERVER_PORT=8080 APPSERVER_SHUTDOWN_PORT=8005 APPSERVER_AJP_PORT=8009 WEBAPP_PROTOCOL=http IS_BUNDLED_TOMCAT=true WEBAPP_NAME=jasperserver-pro DB_PORT=5432 DB_PASSWORD=1QAZ2wsx DB_USER=postgres DB_NAME=postgres REPOSITORY_NAME=jasperserver DB_TYPE=postgresql DB_EXISTING_USERNAME=postgres DB_EXISTING_PASSWORD=1QAZ2wsx IS_BUNDLED_POSTGRES=true SAMPLES=Yes SUGARCRM_NAME=sugarcrm FOODMART_NAME=foodmart REMOVE_DB=false DB_MASTER_PASSWORD= CASH_COMP=/opt/CA/SharedComponents SET_CASH_COMP=1 ``` -------------------------------- ### fdir: Entry Example for File Distribution Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-index-files/index-file-entry-definitions/file-distribution-entries/fdir-entry An example demonstrating the 'fdir:' entry syntax for distributing files. This specific example targets OC files with a '.xml' extension from a source directory and places them in a Tomcat web application directory. ```plaintext fdir: OC file source/devman \.xml$ tomcat/webapps/spectrum/WEB-INF/devman ? ``` -------------------------------- ### Default Target Directory and Requirement for Part Description Files Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-index-files/example-index-file This configuration snippet defines the default target directory ('tdir') and installation requirement for management module part description files within the mkmm.sys file. It mandates that 'mmdesc' files used during 'Install' must be installed into the 'Install-Tools/MMD' directory, with 'req=yes' ensuring this target cannot be overridden. ```ini deflt: Install mmdesc tdir Install-Tools/MMD req=yes ``` -------------------------------- ### Compile and Run Spectrum Development API Example Program (Java) Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/development-api-reference/prerequisites-for-programming-with-the-development-api This snippet demonstrates how to compile and run a Java example program using the DX NetOps Spectrum Development API. It requires the JDK and Spectrum SDK to be installed and configured. The `javac` command compiles the source file, and the `java` command executes the compiled program, which communicates with the SpectroSERVER. ```bash cd SDK/examples/SSORB/DevelopmentAPI javac GetDomainID.java java GetDomainID ``` -------------------------------- ### Set Default Source Directory for SpectroSERVER Database Files Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/programming/extension-integration-sei-developer-reference/creating-index-files/example-index-file This snippet demonstrates how to define the default source directory for SpectroSERVER database import files using the 'deflt:' directive. It shows the syntax with the $SPECROOT environment variable and its expansion to a specific installation path. ```shell deflt: SS db sdir $SPECROOT/SS/db ``` ```shell deflt: SS db sdir /usr/devarea/spectrum/SS/db ``` -------------------------------- ### Start/Stop OneClick Web Server on Linux Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/administrating/oneclick-administration/oneclick-web-server-administration/start-and-stop-the-oneclick-web-server-from-the-command-line Commands to manage the OneClick web server on Linux. This includes starting, stopping, and restarting the Tomcat server used by Spectrum. Ensure you are logged in as the install user and the SPECROOT environment variable is set correctly. ```bash <$SPECROOT>/tomcat/bin/startTomcat.sh ``` ```bash <$SPECROOT>/tomcat/bin/stopTomcat.sh ``` ```bash <$SPECROOT>/tomcat/webapps/spectrum/restart.sh ``` -------------------------------- ### Configuring AlarmNotifier Instance Parameters Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/managing-client-applications/alarmnotifier/operating-alarmnotifier/start-alarmnotifier-with-the-process-daemon Example of how to configure specific parameters within an install ticket file for a new AlarmNotifier instance, including PARTNAME, APPNAME, LOGNAMEPATH, and ARGV. ```properties PARTNAME;ALARMNOTIFIER_OPERATORS; APPNAME;AlarmNotifier_Operators; LOGNAMEPATH;$WORKPATH/AlarmNotifier_Operators.OUT; ARGV;$SPECROOT/Notifier/AlarmNotifier -r .alarmrc_operators -n AlarmNotifier_Operators ``` -------------------------------- ### Run DX NetOps Spectrum Distributed Installation Client on Windows Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/sradmin-installation-methods Executes the distributed installation client on a Windows system to install Spectrum components on remote hosts. Requires host and password files for authentication and can optionally perform a test run before the actual installation. ```batch \sdicnt.exe -h -p -test ``` ```batch \sdicnt.exe -h -p [-accept] ``` -------------------------------- ### Install SDC using SdmConnectorService.exe Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/managing-network/secure-domain-manager-sdm/installing-and-configuring-secure-domain-manager-processes/install-the-sdconnector-process/configure-multiple-sdc-secure-domain-connector-processes-on-a-single-server This command installs the SDC as a service. Ensure you are in the correct directory before running. ```bash SdmConnectorService.exe --install ``` -------------------------------- ### Example Save File Naming Convention Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/administrating/database-management/spectroserver-database-maintenance/ca-spectrum-database-tools/ssdbload Illustrates the naming convention for save files generated by the Spectrum modeling catalog installation. These files are used for database initialization and restoration. The naming includes a date stamp and a sequential counter. ```text db_20001014,1.after.ssdb db_20001014,2.after.SSdb db_20001014,3.after.SSdb ``` -------------------------------- ### Access CA Service Desk Manager Home Page Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/integrating/ca-service-desk-and-ca-spectrum/how-to-install-and-configure-the-integration/configure-the-ca-service-desk-manager-server/create-a-contact-service-desk-ticket-template-service-desk-web-services-policy-and-service-desk-notification-method This code snippet provides the URL to access the CA Service Desk Manager home page, which is the starting point for configuring the integration. ```text http:///CAisd/pdmweb.exe ``` -------------------------------- ### Create Host Installation Information File for Spectrum Source: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/24-3/installing-and-upgrading/fresh-install/sradmin-installation-methods This section describes the creation of a Host Installation Information (HII) file, which is used by the Distributed Installer (distinst.exe) for silent Spectrum installations. The file contains parameters for each target host. ```text Create a text file using a text editor for the host installation information. Alternatively, you can use the hostargs.