Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sun Apr 18, 2021 3:13 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - How to copy files between two SRX cluster nodes - remote procedure
Author Message
Post subject: How to copy files between two SRX cluster nodes - remote procedure  |  Post Posted: Fri Jan 23, 2015 7:03 pm
A Juniper SRX chassis cluster is formed by joining two (max) devices that act as a single chassis. Some of the enterprise networks allow management of both nodes via the management port fxp0 management interface. But sometimes, the environment allows managing the cluster via the revenue port, specifically the redundant (reth) ethernet interface.

The trick with these reth interfaces is that they are formed of members physical fe/ge/xe interfaces of both nodes and each reth is assigned to only one redundancy group in the cluster. Each redundancy group is active only on one node at a time. So far this is not an issue (specially if there are two redundancy groups for the data plane - RG1 and RG2).

The inconvenience comes when there are files that need to be copied to/from both nodes of the cluster: request support information (RSI) files, archived logs or something else. Some would convenient to move RG0 (the routing engine) to each node individually and copy the necessary files via the reth interface. With only static routes this is not a problem. When dynamic routing protocols are configured (without graceful restart).

The more interesting approach is to use the cli “>file copy” operational command or “rcp” unix shell command. Let’s look at both methods.

Transferring files between SRX cluster nodes with file copy.


Code:
{primary:node0}
user@srx> file copy ~/tmpfile node1:

Transferring files between SRX cluster nodes with rcp.


Code:
{primary:node0}
user@srx> start shell
user@srx% rcp -Ji ~/tmpfile node1:
user@srx%

Both of the above commands copy files to the other cluster node, they are being pushed. In order to copy files from the other node, the arguments have to be reversed.
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO