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 |
|
- Global Shell examples
- Opening a Global Shell session
- Finding servers in the OGFS
- Getting server information from the OGFS
- Browsing a server’s file system or registry
- Managing custom attributes
- Copying files within the OGFS
- Copying files between the OGFS and a development server
- Logging on to a managed server with rosh
- Running OGFS scripts on managed servers with rosh
- Running native programs on managed servers with rosh
Copying files between the OGFS and a development server
You can securely copy files between the OGFS and a server that is not part of Server Automation. To copy the files:
- On a host that is not an SA core server or a managed server, open a terminal window.
- In the terminal window, enter either the
scp
,sftp
, orrsync
command and specify port 2222, your SA user name, and the host running the OGFS.
The following three scp
examples perform the same operation: They copy the file myscript.sh
from the local machine to the file /home/jdoe/myscript.sh
in the OGFS. The SA user is jdoe
and the host running the OGFS is 192.168.166.178.
scp -P 2222 myscript.sh jdoe@192.168.166.178:myscript.sh
scp -P 2222 myscript.sh jdoe@192.168.166.178:/home/jdoe
scp -P 2222 myscript.sh jdoe@192.168.166.178:
The following example copies myscript.sh
from the home directory of jdoe
in the OGFS to the local machine:
scp -P 2222 jdoe@192.168.166.178:myscript.sh myscript.sh
The following sftp
example copies myscript.sh
from the local machine to the OGFS:
sftp -oPort=2222 jdoe@192.168.166.178
Connecting to 192.168.166.178...
Global Shell
jdoe@opsware's password:
sftp> put myscript.sh
. . . .
The following rsync
example transfers files from /path
on the local machine to /other/path
in the OGFS:
rsync -av -e "ssh -p 2222" /path \
jdoe@192.168.166.178:/other/path
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: