Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
SA Core uninstallation
This section describes how to uninstall a Single Core, remove a core from a Multimaster Mesh, and how to uninstall all cores of a Multimaster Mesh.
Uninstall basics
There are several reasons that you might choose to uninstall an SA Core:
- Removing test installations
- Removing demonstration installations
- Merging or modifying a facility’s Multimaster Mesh Cores
- Decommissioning or moving a facility
Make backups of your Model Repository, Software Repository, and your database of cryptographic material unless you are certain that you no longer need that data, because a complete core uninstallation also removes the Model Repository and the cryptographic material database and permanently deletes all the data. You can preserve the SA data in the Model Repository database by doing a database backup before uninstalling. See the Oracle documentation.
Procedures for uninstalling Cores
You can perform any of the following uninstallation procedures according to your requirements:
- Uninstall a single Core
- Uninstalling a Secondary Core in a Multimaster Mesh
- Uninstalling all Cores in a Multimaster Mesh
- Decommissioning a facility
Uninstall a single Core
A single core can have all components installed on one host or may have some core components installed (distributed) on other hosts. To uninstall a single SA Core, perform the following tasks:
- Before uninstalling a single core, you must deactivate all servers that host components for that Core using the SA Client.
- On the server hosting the core’s Infrastructure Component bundle, log in as root.
- Change to the root directory:
cd /
- Run the
uninstall_opsware.sh
script with the-r
(specify response file) argument. You need to use the response file created when you installed the SA Core you are uninstalling:<distro>/opsware_installer/uninstall_ opsware.sh -r <response-file>
where
<distro>
is the full path to the Product Software (primary) media. You must specify the full path the response file. - A menu similar to the following appears:
Welcome to the Opsware Installer.
Please select the components to uninstall.
1 ( ) Software Repository - Content (install once per mesh)
2 ( ) OS Provisioning
3 ( ) Slice
4 ( ) Core Infrastructure Components
5 ( ) Model Repository, First Core
6 ( ) Oracle RDBMS for SA
Select one or more or all components to uninstall:Press
a
to selectall
components. If you must uninstall components one-at-a-time, for example due to a custom installation where core components have been distributed among multiple core component hosts, the components must be uninstalled in the order they appear on the menu above. For example, you would first log on to the SA Provisioning component host, rununinstall_ opsware.sh -r <response-file>
and uninstall that component, then log into the Slice Component bundle host and run the uninstall script to remove that component, and so on down the list.You will be asked if you want to preserve the database of Cryptographic Material. If you enter
y
, the directory containing the database will not be removed during the uninstall.You will also see this prompt:
Are you absolutely sure you want to remove users' OGFS home and audit directories? (home and audit directories will only be removed if they are stored on the Software Repository server) (y/n)?
Select
y
if you want to remove the OGFS home and audit directories. If you pressn
, the directories will not be removed. Note that, if you have placed the OGFS home and audit directories on a server other than the server hosting the Software Repository, the uninstall will not remove those directories even if you pressy
. - After you have uninstalled all core components, you should remove the
/var/opt/opsware/install_opsware
directory.
/var/opt/opsware/crypto
directory. This directory contains the database of your cryptographic material.Uninstalling a Secondary Core in a Multimaster Mesh
To uninstall a single Secondary Core in a Multimaster Mesh:
- Log in to any SA Client available for that Mesh.
- If the Secondary Core to be uninstalled has a Data Access Engine that is currently serving as the Primary Data Access Engine for the core, you must first assign a Data Access Engine in another Core to serve as the Primary Data Access Engine.
See the Reassigning the Data Access Engine to a Secondary Role section in the SA 10.50 Administration Guide.
- Verify that all transactions have propagated to the other facilities in the Multimaster Mesh.
For more information about verifying transaction traffic, see Verifying multimaster transaction traffic.
- If the Secondary Core to be uninstalled has a Data Access Engine that is currently serving as the Primary Data Access Engine for the core, you must first assign a Data Access Engine in another Core to serve as the Primary Data Access Engine.
- Decommission the facility for the core you will uninstall.
- See Decommissioning a facility.
- On the Infrastructure Component bundle host in the core you are decommisioning, run the following command:
/opt/opsware/bin/python2
<distro>/opsware_installer/tools/reload_vaults.pyc --certfile
/var/opt/opsware/crypto/gateway/spin.srv
where<distro>
is the full path to the Product Software (primary) media. Successful output will be similar to this:Core ID Peers IDs Known To This Core
nnn
------- --------------------------------
<> <
nnn>
- Stop and start the Model Repository Multimaster Component in all cores, except for the core that you will be uninstalling, by entering the following command as root on Infrastructure Component bundle host(s):
/etc/init.d/opsware-sas stop vaultdaemon
/etc/init.d/opsware-sas start vaultdaemon
- Stop the Command Center (OCC) component (part of the Slice Component bundle). Log in as root to a Slice Component bundle host and enter the following command:
/etc/init.d/opsware-sas stop occ.server
- Stop all Data Access Engines (part of the Infrastructure Component bundle).
Log in as root to the Infrastructure Component bundle host and enter the following command:
/etc/init.d/opsware-sas stop spin
stop spin
command on all Slice Component bundle hosts.- Stop the Model Repository Multimaster Component.
Log in as root to the Infrastructure Component bundle host and enter the following command:
/etc/init.d/opsware-sas stop vaultdaemon
- On the Infrastructure Component bundle host, stop and start the Data Access Engine that serves as the Primary Data Access Engine by entering the following commands as root:
/etc/init.d/opsware-sas stop spin
/etc/init.d/opsware-sas start spin
- On Infrastructure Component bundle host for the core to be uninstalled, log in as root.
- Change to the root directory:
cd /
- Run the
uninstall_opsware.sh
script:<distro</opsware_installer/uninstall_ opsware.sh -r <response-file>
where
<distro>
is the full path to the mounted media. - At the components prompt, select one or more or all components to uninstall:
Welcome to the Opsware Installer.
Please select the components to uninstall.
1 ( ) OS Provisioning
2 ( ) Slice
3 ( ) Infrastructure
2 ( ) Model Repository
1 ( ) Oracle RDBMS for SASelect a for all. If you want to uninstall components separately, they must be uninstalled in the order they appear on the menu above. To do so, enter the number of the component to uninstall. For example, you would first log on to the SA Provisioning component host, run
uninstall_ opsware.sh -r <response-file>
and uninstall that component, then log into the Slice Component bundle host and run the uninstall script to remove that component, and so on down the list. - You will be asked if you want to preserve the database of Cryptographic Material. If you respond y, the directory containing the database will not be removed during the uninstall.
You will also see this prompt:
Are you absolutely sure you want to remove users' OGFS home and audit directories? (home and audit directories will only be removed if they are stored on the Software Repository server) (y/n)?
Enter
y
if you want to remove the OGFS home and audit directories. If you entern
, the directories will not be removed. If you chose to place the OGFS home and audit directories on a server other than the server hosting the Software Repository, the uninstall will not remove those directories even if you entery
.
- After the uninstall has completed, remove the
/var/opt/opsware/install_opsware
directory.
/var/opt/opsware/crypto
directory. This directory contains the database of cryptographic material.Uninstalling all Cores in a Multimaster Mesh
To uninstall all cores in a Multimaster Mesh:
- Stop the Command Engine (OCC) by logging on as root to a Slice Component bundle host and enter the following command:
/etc/init.d/opsware-sas stop occ.server
- Stop the Data Access Engine (
spin
).Log in as root to the Infrastructure Component bundle host and enter the following command:
/etc/init.d/opsware-sas stop spin
If the Command Engine and the Data Access Engine are installed on different servers, you must also run the
stop spin
command on the Slice Component bundle host(s). - Stop the Model Repository Multimaster Component in all cores by logging in to all Infrastructure Component bundle hosts and running the following command as root:
/etc/init.d/opsware-sas stop vaultdaemon
- In each core, uninstall all SA components on the hosts on which they are installed. On the servers hosting the components to be uninstalled, log in as root.
- Change to the root directory:
cd /
- Run the
uninstall_opsware.sh
script:<distro>/opsware_installer/uninstall_ opsware.sh -r <response-file>
where
<distro>
is the full path to the mounted media. - At the components prompt, select one or more or all components to uninstall:
Welcome to the Opsware Installer.
Please select the components to uninstall.
1 ( ) OS Provisioning
2 ( ) Slice
3 ( ) Infrastructure
2 ( ) Model Repository
1 ( ) Oracle RDBMS for SASelect a for all. If you want to uninstall components separately, they must be uninstalled in the order they appear on the menu above. To do so, enter the number of the component to uninstall. For example, you would first log on to the SA Provisioning component host, run
uninstall_opsware.sh -r <response-file>
and uninstall that component, then log into the Slice Component bundle host and run the uninstall script to remove that component, and so on down the list.You will be asked if you want to preserve the database of Cryptographic Material. If you respond
y
, the directory containing the database will not be removed during the uninstall.You will also see this prompt:
Are you absolutely sure you want to remove users' OGFS home and audit directories? (home and audit directories will only be removed if they are stored on the Software Repository server) (y/n)?
Enter
y
if you want to remove the Global File System (OGFS) home and audit directories. If you entern
, these directories will not be removed. If you placed the OGFS home and audit directories on a server other than the server hosting the Software Repository when you installed the core, the uninstall script will not remove those directories even if you entery
.
- After the uninstall has completed, remove the
/var/opt/opsware/install_opsware
directory.
/var/opt/opsware/crypto
directory. This directory contains the database of cryptographic material.Decommissioning a facility
When you decommission a facility, the facility is still listed in the SA Client; however, it is grayed out. After a short name is used, even if it is decommissioned, that name cannot be reused.
- To decommission a facility with the SA Client, perform the following steps.
- From the SA Client navigation pane, select the Devices tab, then select All Managed Servers. This displays all your managed servers.
- Locate and select the server that is running the core for the facility you want to decommission. You must first deactivate the SA Agent on this server.
- Select the Actions menu or right-click and select Deactivate Agent. This deactivates the SA Agent on that server.
- Select the Administration tab, then select Facilities. This displays all your facilities.
- Select the facility that you want to decommission.
- Select the Actions menu or right-click and select Decommission.
- Confirm your selection. This decommissions the facility.
Removing a decommissioned facility
When you decommission a facility, the facility is still listed in the SA Client; however, it is grayed out. You can remove a facility by performing the following steps:
- From the SA Client navigation pane, select the Devices tab, then select All Managed Servers. This displays all your managed servers.
- Remove all the servers which are managed by the facility you want to delete.
- All customers attached to the facility must be removed before the Facility can be removed.
- Stop all services on the core servers that are part of the facility which will be deleted.
/etc/init.d/opsware-sas stop
- Select the Administration tab, then select Facilities. This displays all your facilities.
- Select the facility you want to remove.
- Select the Actions menu or right-click and select Delete.
- Confirm your selection. This deletes the facility.
- Restart Model Repository Multimaster component on the primary core infrastructure server
/etc/init.d/opsware-sas restart vaultdaemon
- On the primary core infrastructure server, remove the entry corresponding to the facility you just removed from the following file:
/etc/opt/opsware/opswgw-mgw-<primary_facility_name>/opswgw.custom
The line will look similar to:
opswgw.ForwardTCP=<port>:<removed_facility_name>-mm:<secondary_core_db>:<db_port>
For example:
opswgw.ForwardTCP=20002:SLAVE-mm:192.168.100.3:1521
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to hpe_sa_docs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: