Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Frequently asked questions for agent troubleshooting

This topic was edited by a BMC Contributor and has not been approved.  More information.

The following sections list frequently asked questions when troubleshooting agents.

Requirements

 What is the minimum hardware requirement for the BMC Server Automation RSCD Agent?

Resolution: Installation of an RSCD agent requires approximately 200 MB of space on Windows platforms and 450 MB of space on Linux and UNIX platforms. When running, an RSCD agent on any platform requires approximately 60 MB of available disk space on 32-bit platforms and 140 MB on 64-bit platforms. 
Minimum hardware requirements are already published in Installation Guide.

Access, credentials, and permission issues

 What is the usage of the Bladelogic User, which was created during installation?

Resolution: Please refer to Knowledge Article ID: 000090421, or to the following pages in the documentation:

 Why do I see user file entries for roles that are not in the server object's permission list?

When pushing ACLs you might observe that extra roles are added to the users file.  This is because the ACL Push and ACL Preview resolve the permissions for the server object as well as any Component objects linked to the server. Roles that have permission on the associated Component will be resolved in the users file and pushed to the Server. For more information, see Creating or modifying ACL Push Jobs.

 How do I configure an NSH Script so that files copied from Windows server to Linux server have permissions other than 600?

Resolution: Change the umask in /etc/bashrc on the Linux server to 022 and restart the agent before the copy operation takes place. The idea is to change the umask value in the environment of the agent process.

 If I pass the "-profile" switch to the "blcred cred" command, will it override the profile set using BL_AUTH_PROFILE_NAME environment variable?

Resolution: The -profile switch of blcred cred command overrides the profile set using environment variable BL_AUTH_PROFILE_NAME: This override applies only to the process of issuing the credential.

However, it does not act as a profile selection during authentication against the NSH-Proxy. This selection still has to be made separately, either by setting the environment variable BL_AUTH_PROFILE_NAME, or by specifying the profile in the secure file.

 Why do certain RSCD Agent directories have world-writable (777) permissions?

Resolution: Certain RSCD Agent directories (typically within /opt/bmc/bladelogic/RSCD) have world-writable (777) permissions, with a sticky bit. The following table provides information about why these directories (which all reside within the RSCD Agent installation directory) require world-writable permissions. In general, the directories are world-writable so that when roles are mapped to different local user accounts, these accounts are able to write various data into the following directories:

DirectoryReason for world-writable permissions
IPC

Directory used by various custom configuration objects for the storage of temporary data. For example, this directory contains files used as locks for shared memory communication between the RSCD Agent and various artifacts of the deploy process and the custom configuration objects.

logRSCD logging directory
snapshotDirectory used for storage of temporary data for Snapshot Jobs and Audit Jobs during job execution.
tmp

Directory used by agent process that are run by users other than root for storage of temporary files.

Transactions

Storage location for Deploy Job logs and Deploy Job rollback payload and instructions.

World-writable permissions also allow individual Deploy Jobs to speak to each other on the Agent and coordinate certain functionalities. For example, coordination of a reboot between two jobs that are running simultaneously, where one deploy job requires a reboot and the other does not.

 Are the setuid permissions mandatory for the following files? If yes, where are these files used?

Resolution: Yes, the permissions are mandatory for the files listed below. These files are used by Magnicomp's sysinfo executables. The sysinfo executable is used internally by the Hardware Information CO.

  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/bin/.mcsiwrapper
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.6-x86/vxvm
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.6-x86/linuxlvm
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.6-x86/sie
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.6-x86/mntinfo
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.6-x86/nafiler
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.4-x86/vxvm
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.4-x86/linuxlvm
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.4-x86/sie
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.4-x86/mntinfo
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-2.4-x86/nafiler
  • -r-sr-xr-x root|bin /exec/products/bladelogic/NSH/nativetool/libexec/platform/linux-x86/linuxmd

The following additional files in the RSCD Agent bin directory (<installDir>/RSCD/bin/) are also granted the setuid permissions:

  • vsh — a virtual shell that provides keystroke logging
  • lsof — used to set up x-windows forwarding through the NSH>RSCD connection
 The RBAC-role and authorization profile are set at console startup time, yet when the user runs an NSH script, the user is prompted for the RBAC-role.

The scenario: After caching the credentials at the console startup time, when a domain user runs an NSH script as a custom command (which sets up the authorization profile and RBAC-role using the blcli_setoption command), the user is prompted for the RBAC-role, even though the RBAC-role is cached by setting the blcli_setoption, and the environment variable BL_RBAC_ROLE is set.

Resolution: Delete the user and create a new one.

 Pushing ACLs to a Windows target gives "permission Denied" error, when "BLAdmins:*rw,map=<user>" entry exists in the users.local file. What should I do?

Resolution: Ensure <user> belongs to the administrator group.

 How do I restrict NSH access to target servers?

Resolution: Modify the target servers exports file and change * to the IP addresses of targets from which you wish to NSH to the target.
For example:
Anyip1 rw
Anyip2 rw

 How do I resolve BladeLogicRSCD account lock on WIN2008 64 bit server?

Resolution: Use one of the following methods:

  • Upgrade the server to 8.1 SP3.
  • Delete the BladeLogicRSCD user and restart the agent service.
 Why is the BladelogicRSCD created and what are the privileges associated with this user account. Can I change the password of the BladelogicRSCD user?

Resolution: On a Windows machine, BMC Server Automation uses a technique called user privilege mapping, which allows the agent to temporarily grant the local user's group privileges to an unprivileged user account called BladeLogicRSCD (or BladeLogicRSCDDC, in a domain controller environment, as of version 8.5.01.005). This privilege mapping mechanism allows the agent to acquire the mapped local user's group privileges without having to access that user's Windows credentials (user name and password).
The BladeLogicRSCD user is created on the Windows during the installation of RSCD, to obtain the local user privileges on the target server, based on the mapping policies defined in exports, users, and user.local files.  

If entries in the configuration files map the client user to a local user, the agent uses a NetUserGetInfo API call to obtain detailed information about this local user and temporarily acquires the group privileges that the managed server's operating system grants to this local user. In this way BMC Server Automation takes advantage of the access control mechanisms provided by the remote server's operating system.

By default, the SeBatchLogonRight and SeDenyInteractiveLogonRight privileges are granted to BladelogicRSCD user. Additionally, the SeSecurityPrivilege privilege is added when BladelogicRSCD user impersonates a local user. When the incoming request gets mapped to a local user, to be impersonated, its privileges are granted to the BladelogicRSCD user.

At the time of installation, a random password is generated for the BladelogicRSCD user account. The password can be modified using the nsh command "chapw".

 Which ports need to be opened for communicating with a client, residing behind the firewall, and using NSH?

Resolution: By default, primary communication port from Application Server to each managed host is 4750. 
Apart from the above mention port, the following ports are important in BBSA environment. These ports should be opened based upon the configuration on need basis: 

  • 9840 - Authentication Serivce
  • 9841 - Application Server
  • 9842 - NSH Proxy Server
 Which default port do NSH commands use to communicate with the RSCD Agent?

Resolution: 4750 

BladelogicRSCD user account password

 What is the length of the random password created for a BladeLogicRSCD agent user during install time?

A complex password of up to 16 characters, consisting of alphanumeric and special characters. 

 Can customers change the password created for a BladeLogicRSCD agent user ?

Yes. Customers can use chapw -p to create a password of up to 80 characters, after the initial password creation. 

As of product version 8.5.01.005, on a domain controller you can also use the agentctl utility to change the password of the BladeLogicRSCDDC user account, as discussed in Changing the BladeLogicRSCD account password on domain controllers.

 Does chapw -r create a 16-character-long random password like the installer?

No. chapw -r creates a random password of with a length of 15 characters, that contains only alphanumeric characters.

Versions and platforms

 The EPD-published ESX agent (32 bit) is not installing via an ESX provisioning job on a 64 bit system. What agent should be used when provisioning an ESX 4.1 host?

Resolution: The ESX agent on EPD has been certified only till ESX 4 – 32 bits. It is not certified on ESX 64 bit. The Linux 64 bit agent should work, though.
VMware does not allow any third party agents on ESX, if found they will not provide support to the customer on his/her ESX machine.

 Is the BMC Server Automation 8.1 RSCD Agent supported on a version 7.6 Application Server?

Resolution: BMC Server Automation does not support RSCD Agents of higher version than the App Server.

 For example, the following versions are not supported:

  • 8.0 App Server with 8.1 RSCD Agent
  • 7.6 App Server with 8.0 RSCD Agent
 Is OES2, a Novell OS, a modified SuSE Linux distribution, supported by BMC Server Automation NSH and Agent?

Resolution: No. It is not a supported platform.

 After installing an Agent on the VC server and licensing it, agentinfo shows Windows Agent instead of VC Agent.

Resolution: The registry needs to be read to detect if it is a VC Agent. For this, the user mapping must be to an Administrator user. Check the user mapping with the agentinfo command.

 In what language can an NSH script be written? Is there any sample script?

Resolution: NSH is a shell similar to ZSH, BASH, etc. An NSH script can be written using a combination of commands of UNIX-like shell script and BMC Server Automation commands like cp, agentinfo, blcli, blquery, nexec, etc. 

Sample script:  

#!/bin/nsh 

If test "`uname --s`" != "WindowsNT"

then 
UID_GID=`agentinfo 10.20.32.252 | egrep "User Permissions" | awk -F ':' '{print $2}' | awk '{print $1}'`
UID=`echo $UID_GID | cut --d'/' --f1`
GID=` echo $UID_GID | cut --d'/' --f2' 
echo "Mapped User Id = $UID"
echo "Mapped Group Id = $GID" 
fi 

exit 0
 Is the RSCD Agent supported on AIX71 (pSeries)?

Resolution: RSCD Agent & NSH are supported on AIX71 from version 8.1.02

 Which Visual Studio 2005 Runtime library version is used by RSCD agent?

Resolution: The details are as follows:

  • BL version 8.2: 8.0.50727.762
  • BL version 8.1: 8.0.50727.762
  • BL version 8.0: 8.0.50727.762
 Can we uninstall the Visual Studio 2005 Runtime library versions listed above and use the latest one?

Resolution: No. The RSCD Agent will not work if the following runtime llibraryversions are missing:

  • BL version 8.2: 8.0.50727.762
  • BL version 8.1: 8.0.50727.762
  • BL version 8.0: 8.0.50727.762 
 Can I install multiple RSCD Agents on single host?

Resolution: Multiple RSCD Agent installation is supported on UNIX host with an exception of HPUX (using -local option with installer).
On UNIX hosts, you will have to use additional -local option with installer.
For more information, see How to configure two RSCD agents on a single host (user contribution)

 Are there any applications that can be problematic when running on the same machine with the RSCD agent?

Resolution:The following applications may have an impact on the smooth running of RSCD Agent:

  • VC++ 2005 libraries bundled with the agent, which may be a problem if 2008 is the only version authorized on a system by customer's internal policy.
  • Applications configured to use the same port as the BMC Server Automation RSCD agent listening port (4750): The listening port of the agent can be customized if necessary.
  • Anti-virus software which prevents the agent from accessing its own files, or communicating with the application server.
 Which 8.1.02 RSCD Agent installer should I use for a 64-bit UNIX target?

Resolution: Please refer to the complete product compatibility list.

Error and warning messages

 The agentinfo on the Application Server machine gives error message "Can't access host "<target-host>": No authorization to access host" after the push ACL of "usernamerw,map=root".

Resolution: nousers is pushed if the server property PUSH_ACL_NOUSERS_FLAG is set to true (Flag default value = true). 
nousers denies authorization to access the host to any user not specified in the users/users.local file.

 Error: "No authorization to access host"

Resolution: This is one of the most common error messages which specify that you are not allowed to access the remote host. This error message is given in multiple scenarios, so for the exact cause of the error, you will have to see the rscd.log on the remote host. 

 Warning: "Host not authorized"

Resolution: This error is seen in the rscd.log if the host from which you are trying to connect to a remote host doesn't have permission on that remote host.
This will usually happen if you don't have entry for "*" in the exports file.
For more information, see Setting Up Configuration Files in the BMCBladelogicAdministration.pdf.
 

Example:

 On HOST2, if the exports file contains:

 HOST3rw 

 When we try to access HOST2 from HOST1:

 [root@HOST1]$ agentinfo HOST2
 

Can't access host "HOST2": No authorization to access host
 

[root@HOST1]$ 
 

Whereas in the rscd.log on HOST2 we will see:

 05/15/12 04:11:40.802 WARN rscd - HOST1 24646 0/0 (root): agentinfo: Host not authorized 

 User xxx not authorized to create TCP Tunnel

Resolution: The tcptunnel command is allowed to be executed only by a RBAC user.
If you are trying to run it with native OS user like "Administrator", you will see this error in the rscd.log file. In short tcptunnel must be executed by an authenticated user (RBAC user). This RBAC user must be granted the Server.TCPTunnel authorization.

Example:
 

On HOST2, if the users file contains:

 rootrw,commands=tcptunnel 

Now when you run tcptunnel from HOST1 as "Administrator" user

 [Administrator@HOST1] > tcptunnel -c 12345 -s HOST2
Can't access host "HOST2": No authorization to access host
[Administrator@HOST1] > 

 Whereas in rscd.log on HOST2 we will see:

 05/15/12 16:04:22.926 INFO1 rscd - HOST1 12160 SYSTEM (Administrator): tcptunnel: User Administrator not authorized to create TCP Tunnel 

 Warning:"Failed to change the root directory"

Resolution: By using the rootdir option in the configuration file (exports, users or users.local) we can restrict the access to the directory tree on the RSCD Agent. If the RSCD agent can't change the root directory to the configured value, we would see this warning.
For more information, see Setting Up Configuration Files in the BMCBladelogicAdministration.pdf.

Example

:
On HOST2, the /opt/test directory doesn't exist and if the users file contains:

 rootrw,rootdir=/opt/test

Now when we try to access HOST2 from HOST1 like:

 [root@HOST1]$ agentinfo HOST2
Can't access host "HOST2": No authorization to access host
[root@HOST1]$ 

 Whereas in the rscd.log on HOST2 we will see:

 05/15/12 04:24:45.782 WARN rscd - HOST1 25287 0/0 (root): agentinfo: Failed to change the root directory

 Failed to change to alternate user

Resolution: If we want to execute a command on a remote host with the user permissions other than the mapped user on remote host, then we need to use the NSH rsu command.
For more information, see Setting Up Configuration Files in the BMCBladelogicAdministration.pdf. 

This error is primarily seen in the following cases:

  • The alternate user doesn't exist on the remote host
  • The alternate user exists, but the wrong password is entered.

Example:

On HOST2, if the user named USER1 doesn't exist, and we try to run the command from HOST1 as:

[root@HOST1]$ rsu USER1 ls //HOST2/opt
ls: //HOST2/opt: No authorization to access host
[root@HOST1]$ 

On HOST2, we see following warning in the rscd.log

05/15/12 04:51:37.411 WARN rscd - HOST1 26560 0/0 (root): ls: Failed to change to alternate user

 Warning: "command: xxx not authorized"

Resolution: On the remote host command execution can be limited by using the commands option in the configuration files (exports, users or users.local). If this option is not specified, then all NSH commands are allowed. If the command client is trying to execute on the remote host is not available in this commands  option, the command is rejected and we see the error in the rscd.log file.
For more information, see Setting Up Configuration Files in the BMCBladelogicAdministration.pdf. 

Example:

 On HOST2, if the users file contains

 rootrw,commands=ls 

Now from HOST1, if you run a NSH command like:

 [root@HOST1 ]$ du //HOST2/tmp
du: Unable to access file //HOST2/tmp/: No authorization to access host
[root@HOST1 ]$ 

 You will see following error in the rscd.log on HOST2:

 05/15/12 04:03:38.585 WARN rscd - HOST1 24288 0/0 (root): du: command: "du" not authorized 

 Warning: "Failed to map user to local user"

Resolution: The configuration files (users or users.local) provides options (map) to force all incoming client connections to run with permission of local user. If the specified local user doesn't exist on the remote host, we see this error in rscd.log file. For more information, see Setting Up Configuration Files in the BMCBladelogicAdministration.pdf. 

Example:

On HOST2, the local user "USER1" doesn't exist and if the users file contains:

rootrw, map=USER1 

Now from HOST1, if you run a command like:

[root@HOST1] $ agentinfo HOST2
Can't access host "HOST2": No authorization to access host
[root@HOST1] $ 

You will see following error in the rscd.log on HOST2:

05/15/12 05:04:46.073 WARN rscd - HOST1 27173 65534/65533 (root): agentinfo: Failed to map user to local user

 How to resolve "TLS setup failed for agent: Protocol mismatch. Check that client and server 'secure' files match. Exiting and terminating connection" error.

Resolution: This error is reported when the product is not installed correctly or secure file gets corrupted. Reinstallation of RSCD Agent may resolve the issue.

 Failed to map the user to allowed/validuser

Resolution: The configuration files (exports, users, users.local) provides options ( allowed, validusers) to restrict the access to remote host based on the incoming user.
If the user with which you are trying to connect to remote host is not allowed, you see this error in the rscd.log file.
For more information, see Setting Up Configuration Files in the BMCBladelogicAdministration.pdf. 

 Example:

 On HOST2, if the local user USER1 doesn't exist, and if the exports file contains:

 *rw,allowed=USER1 

 Now from HOST1, if you try to access HOST2 like:

[root@HOST1]$ agentinfo HOST2
Can't access host "HOST2": No authorization to access host
[root@HOST1] $ 

 You will see following error in the rscd.log on HOST2:

 05/15/12 05:14:55.330 WARN rscd - HOST1 27633 0/0 (root): agentinfo: Failed to map the user to allowed/validuser

 While running the compliance job on AIX targets servers I get "Encryption Configuration Error"

 Resolution: Check if non-existent/non-reachable servers are listed in the secure file. If yes, remove them.

Miscellaneous issues

 In the scriptutil command "scriptutil -h "TARGET.NAME" -s unauth_world_writable_file -x SCAN_FOLDER", what is the meaning of 'TARGET.NAME' and '-x SCAN_FOLDER'.

Resolution : 'TARGET.NAME' and SCAN_FOLDER are properties that come from the User interface (UI) to scriptutil, when scriptutil is called from within the GUI. 
So it would be something like the example:  

FOO=server1
Scriptutil -h $FOO ...
Scriptutil -h $FOO -s <script> -x arg1 arg2 arg3 

Where arg1, arg2, arg3 are input parameters to script. 

If x is set to -1 then, all directories are searched.

 If the server has an interface which is neither connected to network nor configured, will nnet provide information about that interface.

Resolution: nnet retrieves information of interfaces installed on the system from the kernel, so the relevant information would be present irrespective of the state of interface.

 How does the RSCD Agent respect the limits.conf file?

Resolution: limits.conf only applies to a shell session. These configuration settings do not apply at boot time, because no shell is started at that time.
Thus, if you start the agent at boot time, you will have to define the limits in the agent startup script.
This is standard UNIX practice, nothing to do with BMC Server Automation.

For more information, see http://ubuntuforums.org/showthread.php?t=824966

 How do I pass parameters to an NSH script?

Resolution: See Add NSH Script - Parameters and Add NSH Script - Script Options for details.

The values that you pass in the Value box get passed to the scripts as arguments. If you pass 3 values, inside the script, you can access them with $1, $2 and $3.

 What is the best/fastest way to clean a BMC Server Automation target server for IP change and BMC Server Automation agent connection/licensing?

Resolution: Refer to the Knowledge Article ID: 000080930

Licensing

 What happens to the agent license count if it's decommissioned?

Resolution: If the user decommissions the target server by opting for deregister license from the licensing portal, then that target not counted as licensed.
From the 8.2 release, there is no concept of Automatically License/Deregister License 

 When do we get a 2-week temporary/evaluation license on the RSCD Agent?

Resolution: Post install, the RSCD agent will get evaluation license of two weeks, provided the RSCD agent installed on the target server for the very first time.
From 8.2, there is no concept of temporary license. Post installation, the target server is automatically licensed. 

Connection Issues 

 Unable to connect to an agent running on RHEL 5.0.

Resolution: RHEL 5.0 comes with a firewall ON by default. Firewall could block the communication between the agent running on the RHEL server and BMC Server Automation client/servers. Reconfiguration of firewall to allow communication on agent port could resolve the issue. 

 How does BMC Server Automation connect to remote agents over the repeater? Does the Application Server use the agent name or IP to connect? Are there any pros and cons in regard of using a repeater or an advanced repeater?

 Resolution: Please refer to the page number 880 "Assigning repeaters to target servers" of the BMC Server Automation User Guide and page number 312 in "BMC Bladelogic Admin Guide".

 How to resolve SSL_connect2 error while connecting to an RSCD agent?

Resolution: Perform the following procedure:

  1. Stop the RSCD Agent.
  2. Delete certificate.pem.
  3. Start the Agent.
 How to resolve "RSCD agent: Connection refused" error on Microsoft Windows.

Resolution: Delete the BladeLogicRSCD user and restart the RSCD service. This may occur if the product is not installed appropriately: Reinstallation of the RSCD Agent may be helpful in such situations. 

 What should I do when the Application Server is not able to communicate with target servers after upgrading the agent and agentinfo command returns "Authentication Error"?

Resolution: This issue may arise after incomplete installation or upgrade of the RSCD agent. Reinstalling the RSCD Agent may resolve the issue.

Agent Install/Uninstall/Upgrade

 Is it possible to deploy the RSCD Agent on Windows servers vio GPO?

Resolution: Starting with version 8.2.00, we can deploy RSCD agent on Windows vio GPO.

Use the following installers:

  •  RSCD82-WIN32.msi
  •  RSCD82-WIN64.msi
 As part of the upgrade, what are the steps to make sure the user has a valid and correct RSCD Agent Installation Directory?

Resolution: When an agent is uninstalled, the license file is removed. When the user installs the new agent, because the agent is not licensed, the RSCD_DIR is empty.
Decommission and add the server back by opting for auto-licensing, to populate the RSCD Agent installation directory. 

 What should I do when the RSCD agent does not start after installation?

Resolution: One of the causes for this situation may be that the additional hostname of the RSCD host is not getting resolved to its IP.
Adding the hostname and IP address in the hosts database (for example /etc/hosts) may resolve this issue. 

 During Agent silent installation, how do I configure exports file on the fly?

Resolution: There is no method by which exports file can be edited on the go during the silent install.
Once the installation is complete, it can be edited to have desired entries/user mappings in it. 

 How do I debug/analyze an unresponsive RSCD Agent while it's up and running?

Resolution:

  1. Verify the system event logs (on Windows)
  2. Set the agent log level to debug by one of the following methods:
    1. Manually, by editing log4crc.txt, and then restarting the agent.
    2. From version 8.2 SP1 and later: Use agentctl toggle, to switch between the debug level and the current level.
 What path do I follow for RSCD Agents to upgrade from version 7.4 to version 8.1?

Resolution: In this scenario, the best way to upgrade RSCD agent is from version 7.4 to version 7.6, and then from version 7.6 to version 8.1.
For a detailed explanation, see the BMC BladeLogic Installation Guide.

 During the migration to BSA 8.1, target agents are on 7.6. Is there any functionality lost during transition?

Resolution: No functionality is lost post migration.

 How do I upgrade RSCD agent on Solaris 10 sparse root zone?

Resolution: Use --local flag while installing/upgrading RSCD agent on Solaris 10 sparse root zone.
For example, RSCD82-SOL10-SPARC.sh --local

 How do I upgrade an agent on a server that has the BBSA console, NSH, and RSCD Agent installed?

Resolution: First, upgrade NSH on the server, and then the RSCD Agent. Another way is upgrade both the console and NSH, and then to upgrade the RSCD Agent.

Silent install

 How do I specify the user defined rscd log path during the silent install?

Resolution: As of now there is no way by which the rscd log custom path can be specified during the silent install. Though, after the silent install is complete the user defined rscd log can be specified in the log4crc.txt file which is located at /etc/rsc or /usr/lib/rsc.

 How do I deploy the silent installation of RSCD Agent?

Resolution: Follow the steps:
UNIX:

  1. Log on as root to the server where the RSCD agent installation program resides.
  2. Copy <RSCD version>-<platform>.sh (the RSCD agent installation program) to a temporary directory (for example: /tmp).
  3. Grant executable permissions to <RSCD version>-<platform>.sh.
  4. Use the console to browse to the server to which you copied the RSCD Agent installation program.
  5. Select <RSCD version>-<platform>.sh, right click & choose Deploy files.
  6. For destination directory, enter /tmp.
  7. Choose the servers with agents which needs to be upgraded

Windows:

  1. Copy the RSCD agent installation program (rscd<version>.exe) to <WINDIR>\Temp, where <WINDIR> is typically C:\winnt or C:\Windows.
  2. From the command line, connect to <WINDIR>\Temp.
  3. From the command line, enter rscd<version> -a -r -f1<WINDIR> \Temp\Version-install_type.iss.
    The installation program for the RSCD agent opens. 
  4. Perform an initial RSCD agent installation.
  5. Using the CM Console, browse to the <WINDIR>\Temp directory.
  6. Select and deploy the following files:
    • rscd<version>.exe
    • <version>-upgrade.iss        

The files are deployed to target servers and the installation runs silently.

 How do I deploy the silent installation of RSCD Agent?

Resolution:

  1. Log on as root to the server where the RSCD agent installation program resides.
  2. Copy RSCDversion-platform.sh (the RSCD agent installation program) to /tmp.
  3. Make RSCDversion-platform.sh executable.
  4. Use the console to browse to the server to which you copied the RSCD Agent installation program.
  5. Select RSCDversion-platform.sh, right click & choose Deploy files.
  6. For destination directory, enter /tmp.
  7. Choose the servers with agents being upgraded.

Post-install issues

 The RSCD Agent doesn't start after installation.

Resolution:

If you've just installed an RSCD Agent and are experiencing the following issues:

  • The RSCD Agent doesn't start.
  • Logs are not showing up in the rscd.log file, or the file is not created. 

It may be that the RSCD Agent is not able to resolve your hostname to an IP address. To validate the issue, perform the following procedure:

  1. Run the hostname command.
  2. Run ping <output from above command>.

If the ping command is not able to resolve the hostname to IP address, then it is an issue.

BMC recommends that you follow the policy set by your organization for hostname to IP resolution. However, as a short term solution, you may add an entry in the /etc/hosts file for this hostname and manually restart the RSCD Agent.  

 How do I add an entry in /etc/hosts?
  1. Include the following text:
    127.0.0.1localhost
    <IP address><server name>
  2. Manually restart the RSCD Agent.

Example: For a server with the following credentials:

  • Server name: myserver
  • IP address: 192.168.0.9

You would use:

127.0.0.1localhost
192.168.0.9myserver

 On a Windows-x-64 machine, what would prevent the RSCD Agent from starting?

Resolution: If the registry value for the HKEY_LOCAL_MACHINE\SOFTWARE\BladeLogic\RSCD Agent\AgentHome value is set incorrectly, then there may be the issue while starting RSCD Agent.
This can be easily obtained by looking at the properties of the RSCD service.

 How can I restart a remote RSCD Agent?

Resolution: You can restart the remote RSCD Agent using following command from NSH:
nexec <HOSTNAME> agentctl -b restart

 The installation of an RSCD agent on Linux creates a "nativetool_installer" folder. Is it possible to safely delete the folder post installation?

Resolution: nativetool_installer should not be removed. If removed, the package manager will report the files as missing when package is verified. If anyone doesn't care about the package verification they can feel free to delete the folder.

 What needs to be done post RSCD Agent upgrade?

Resolution: After upgrade, execute the Update Server Properties job against all the upgraded targets. Use the agentinfo command to verify that the targets show the correct agent version.

Files and directories

 What is the default location of users, exports & users.local files?

Resolution: The platform default locations are as follows:

  • Platform: Solaris/Linux/AIX/HPUX Location: /usr/lib/rsc
  • Platform: Windows Location: WINDIR\rsc (WINDIR can be \windows or \winnt.)

This information is covered in the Admin Guide.

 Is the ownership and group on the following directories correct and mandatory? What are these directories are used for?

drwxrwxrwt root|root /exec/products/bladelogic/NSH/Transactions
drwxrwxrwt bin|bin /exec/products/bladelogic/NSH/snapshot 

Resolution: The owner, group,and permissions for both directories are correct.

  •  The Transactions folder stores data related to deploy jobs (logs, roll-back data, and so on).
  • The snapshot folder is used for temporary storage of snapshot data when snapshot jobs are run against a server.
 Who should own the files owned by 'no owner'?

Resolution: The root user should be the owner of these files.

  • drwxr-xr-x 5117|man /exec/products/bladelogic/NSH/blyum/sqlite
  • drwxr-xr-x 5117|man /exec/products/bladelogic/NSH/blyum/python
  • drwxr-xr-x 5117|man /exec/products/bladelogic/NSH/blyum/yum
  • drwxr-xr-x 5117|man /exec/products/bladelogic/NSH/blyum/glib2 
 Where is the location for the users and users.local files for Linux and Solaris clients?

Resolution: Path for RSCD agent configuration files (users, users.local, and so on) is /usr/lib/rsc and /etc/rsc from product version 8.2 and later.

Agents and repeaters

 What is the preferred method to assign the REPEATER_NAME property to newly provisioned machines, so that all the agents use the correct repeater?

Resolution: You can use any rule which you will specify for the repeater routing rule. Here you can select any property, such as Location, Name, and so on.

 Is setting the REPEATER_NAME property the only way to tell agents which repeater to use?

Resolution: No, you can assign any other property value in Repeater rule definition to let the system know which repeater assigned to it.

Was this page helpful? Yes No Submitting... Thank you

Comments