Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ node server.js
- [2018-03-09T10:19:25.654Z] INFO client72-12340/BROKER: Moleculer v0.12.1 is starting...
- [2018-03-09T10:19:25.659Z] INFO client72-12340/BROKER: Node ID: client72-12340
- [2018-03-09T10:19:25.660Z] INFO client72-12340/BROKER: Namespace: <not defined>
- [2018-03-09T10:19:25.662Z] INFO client72-12340/REGISTRY: Strategy: RoundRobinStrategy
- [2018-03-09T10:19:25.666Z] INFO client72-12340/BROKER: Transporter: TcpTransporter
- [2018-03-09T10:19:25.678Z] INFO client72-12340/REGISTRY: '$node' service is registered.
- [2018-03-09T10:19:25.681Z] INFO client72-12340/REGISTRY: 'math' service is registered.
- [2018-03-09T10:19:25.685Z] INFO client72-12340/TRANSIT: Connecting to the transporter...
- [2018-03-09T10:19:25.687Z] WARN client72-12340/TRANSPORTER: TCP Transporter is an EXPERIMENTAL transporter. Do NOT use it in production yet!
- [2018-03-09T10:19:25.710Z] INFO client72-12340/TRANSPORTER: TCP server is listening on port 60073
- [2018-03-09T10:19:25.747Z] INFO client72-12340/TRANSPORTER: UDP Multicast Server is listening on 10.129.192.144:4445. Membership: 239.0.0.0
- [2018-03-09T10:19:25.752Z] INFO client72-12340/TRANSPORTER: UDP discovery started.
- [2018-03-09T10:19:25.753Z] INFO client72-12340/TRANSPORTER: TCP Transporter started.
- [2018-03-09T10:19:26.265Z] INFO client72-12340/BROKER: ServiceBroker with 2 service(s) is started successfully.
- mol $ nodes
- ╔════════════════════╤══════════╤═════════╤════════╤════════════════╤══════════╤═════╗
- ║ Node ID │ Services │ Version │ Client │ IP │ State │ CPU ║
- ╟────────────────────┼──────────┼─────────┼────────┼────────────────┼──────────┼─────╢
- ║ client72-12340 (*) │ 2 │ 0.12.1 │ nodejs │ 10.129.192.144 │ ONLINE │ ? ║
- ╚════════════════════╧══════════╧═════════╧════════╧════════════════╧══════════╧═════╝
- mol $ services
- ╔═════════╤═════════╤══════════╤═════════╤════════╤═══════╗
- ║ Service │ Version │ State │ Actions │ Events │ Nodes ║
- ╟─────────┼─────────┼──────────┼─────────┼────────┼───────╢
- ║ $node │ - │ OK │ 5 │ 0 │ 1 ║
- ║ math │ - │ OK │ 1 │ 0 │ 1 ║
- ╚═════════╧═════════╧══════════╧═════════╧════════╧═══════╝
- mol $ [2018-03-09T10:19:33.770Z] INFO client72-12340/REGISTRY: Node 'client72-9900' reconnected.
Advertisement
Add Comment
Please, Sign In to add comment