View Source

{section}
{column:width=100%}
h3. To Register a Sun xVM Ops Center Proxy With a Server

# Create a temporary directory, for example, {{/var/tmp/xVM}}, to hold the password file that you will create in this procedure.
{code}
# mkdir -p /var/tmp/xVM
{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 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/proxyadm}} command to associate the Sun xVM Ops Center proxy with the Sun xVM Ops Center server. The example below uses the following options:
{panel}
{{-s}} -- Specify the hostname of the satellite with which to register the proxy.
{{-u}} -- Specify the Sun Online Account (SOA) username used for the registration.
{{-p}} -- Specify the absolute pathname of the file that contains the password for the SOA user.
{panel}
For example:
{code}
# /opt/SUNWxvmoc/bin/proxyadm configure -s mumbai -u jfcdoc4@sun.com -p /var/tmp/xVM/mypasswd

Certificate:
Serial Number: 1039546231
Version: 3
Issuer: CN=mumbai_ca
Subject: CN=mumbai_agent
Not valid before: Mon Jun 16 14:43:57 MDT 1969
Not valid after: Sun Apr 16 14:43:57 MDT 2028

Certificate:
Serial Number: 115323132
Version: 3
Issuer: CN=mumbai_ca
Subject: CN=mumbai_ca
Not valid before: Mon Jun 16 14:43:54 MDT 1969
Not valid after: Sun Apr 16 14:43:54 MDT 2028

Accept server's certificate? (y|n)
y
Connection registered successfully.
#
{code}
For more information about the {{proxyadm}} command, see the [{{proxyadm}} man page|http://wikis.sun.com/display/xVM/proxyadm].
# Use the {{/opt/SUNWxvmoc/bin/proxyadm}} command to start the Sun xVM Ops Center proxy services on the system.
{code}
# /opt/SUNWxvmoc/bin/proxyadm start -w
proxyadm: Starting proxy with SMF...
proxyadm: Proxy services have started
#
{code}
# To verify the connection that has been established for this Sun xVM Ops Center proxy configuration, run the {{sc-console list-connections}} command. For example:
{code}
# sc-console list-connections
scn-proxy https://mumbai:443 urn:scn:clregid:338d63d6-26f8-4abe-a90b-84c464fd92c4:20080417040755821
#
{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