View Source

{section}
{column:width=100%}
h3. To Manually Install a Sun xVM Ops Center Agent

# On the Sun xVM Ops Center Server, change to the {{/var/opt/SUNWscn/images/agent}} directory and list the agent archives that it contains.
{code}
# cd /var/opt/SUNWscn/images/agent/
# ls
SunConnectionAgent.Linux.i686.1.0.231.zip SunConnectionAgent.SunOS.i386.zip
SunConnectionAgent.Linux.i686.1.0.231.zip.sig SunConnectionAgent.SunOS.i386.zip.sig
SunConnectionAgent.Linux.i686.zip SunConnectionAgent.SunOS.sparc.1.0.231.zip
SunConnectionAgent.Linux.i686.zip.sig SunConnectionAgent.SunOS.sparc.1.0.231.zip.sig
SunConnectionAgent.SunOS.i386.1.0.231.zip SunConnectionAgent.SunOS.sparc.zip
SunConnectionAgent.SunOS.i386.1.0.231.zip.sig SunConnectionAgent.SunOS.sparc.zip.sig
#
{code}
# Identify the agent archive that is appropriate for the system on which you intend to install.
# On the target system, create a directory named {{/var/tmp/xVM}}.
{code}
# mkdir /var/tmp/xVM
{code}
# Use {{scp}} or {{ftp}} to transfer the correct agent archive from the Sun xVM Ops Center server to the {{/var/tmp/xVM}} directory on the target system. For example:
{code}
# scp SunConnectionAgent.SunOS.sparc.1.0.231.zip root@172.20.27.186:/var/tmp/xVM
The authenticity of host '172.20.27.186 (172.20.27.186)' can't be established.
RSA key fingerprint is 3c:4d:22:2d:1d:9f:4a:80:6b:f5:0f:09:71:61:f6:90.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.20.27.186' (RSA) to the list of known hosts.
Password:
SunConnectionAgent.S 100% |*********************************************************************| 29709 KB 00:04
#
{code}
# On the target system, change to the {{/var/tmp/xVM}} directory.
{code}
# cd /var/tmp/xVM
{code}
# Unzip the agent archive. For example:
{code}
# unzip SunConnectionAgent.SunOS.sparc.1.0.231.zip
{code}
# Run the {{install -a}} script in the {{SunConnectionAgent}} directory. For examnple:
{code}
# SunConnectionAgent/install -a
Installing xVM Ops Center 1.0 Agent.

No need to install 119042-09.
No need to install 121901-02.
Installed SUNWjdmk-runtime.

(output omitted)

2 patches skipped.
20 packages installed.
Installation complete.

Detailed installation log is at /var/scn/install/log.
Uninstall using /var/scn/install/uninstall.
{code}
# Create an empty file named {{/var/tmp/xVM/mypasswd}}, and set its permission mode to 400.
{code}
# touch /var/tmp/xVM/mypasswd
# chmod 400 /var/tmp/xVM/mypasswd
{code}
# Edit the {{/var/tmp/xVM/mypasswd}} file so that it contains the password for the Sun Online Account that is used to register the Sun xVM Ops Center server. The following {{echo}} command appends the password to the {{/var/tmp/xVM/mypasswd}} file. (Replace _SOA_Password_ with the correct SOA password.) For example:
{code}
# echo 'SOA_Password' > /var/tmp/xVM/mypasswd
{code}
# Use the {{/opt/SUNWxvmoc/bin/agentadm}} command to associate the Sun xVM Ops Center agent with the Sun xVM Ops Center proxy. The example below uses the following options:
{panel}
{{configure}} -- Causes an agent configuration operation to take place.
{{-u}} -- Specifies the Sun Online Account (SOA) user name used for the registration. Be certain that the password you specified in the {{/var/tmp/xVM/mypasswd}} file is correct for this SOA.
{{-p}} -- Specifies the absolute path name of the file that contains the password for the SOA user.
{panel}
Accept the server's certificate when asked. For example:
{code}
# /opt/SUNWxvmoc/bin/agentadm configure -u jfcdoc4@sun.com -p /var/tmp/xVM/mypasswd -x 172.20.25.18
verified sc_console command is OK
Checking if package 'SUNWcacaome' exists.
scn_agent Common Agent Container environment is OK
End of validation

executing step : workarounds
workaround configuration done.

executing step : sc_console
verified sc_console command is OK

Certificate:
Serial Number: 256686888
Version: 3
Issuer: CN=mumbai_scn-proxy_ca
Subject: CN=mumbai_scn-proxy_agent
Not valid before: Wed Jul 09 17:47:56 MDT 1969
Not valid after: Wed Feb 09 16:47:56 MST 2028

Certificate:
Serial Number: 1862927487
Version: 3
Issuer: CN=mumbai_scn-proxy_ca
Subject: CN=mumbai_scn-proxy_ca
Not valid before: Wed Jul 09 17:47:53 MDT 1969
Not valid after: Wed Feb 09 16:47:53 MST 2028

Accept server's certificate? (y|n)
y

executing step : scn_agent
Checking if package 'SUNWcacaome' exists.
scn_agent Common Agent Container environment is OK
creating scn-agent instance...
micro-agent value is false change it to true
Setting scn-agent jmxmp port for dynamic allocation.
Setting scn-agent parameter micro-agent to true.
Enabling scn-agent instance.
Starting scn-agent instance.
Waiting for instance scn-agent to be up.
scn-agent configuration done.
Setting log level for com.sun.scn.ucemessagelibrary to FINER
Setting log level for com.sun.scn.agentfacade to FINER

executing step : uce_agent
[uce_agent]: INFO: Starting uce_agent ....
UCE Agent is in [offline*] state.
Checking if UCE Agent process is up and running ...
The process is up and running.
UCE Agent is started.

executing step : register_products
End of configuration.
#
{code}
For more information about the {{agentadm}} command, see the [{{agentadm}} man page|http://wikis.sun.com/display/xVM/agentadm].
# Verify that an active agent connection exists. For example:
{code}
# sc-console list-connections
scn-agent https://172.20.25.18:21165 urn:scn:clregid:b13279a7-64b5-4fdd-9db2-8ee20afddab6:20080219232641311
#
{code}

{column}
{section}

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact